Cannot install, help!
-
@flohack yes I used calyxos before. Could that be the problem? I thought flashing stock undoes all changes from calyx. wouldn't it?
-
@dhrunia That's what I was thinking about the partitions being changed or corrupted (very common on the Nexus 4 and 5 when Lineage is installed previously). I linked in previous post to XDA forums which show some commands that may help clean up the partitions that installing to stock has not done.
Remember this phone has two slots, slot a and slot b. It depends which slot CalyxOS was flashed to. You can change the active slot using the command fastboot --set-active.Check this out here.
Also make sure you have the latest ADB and fastboot installed.
-
-
-
Did either of you figure this out? I am in the same situation, and also using a Pixel 2 that previously had CalyxOS installed on it. I've gone through the process of installing the recommended 9.0 factory image first but am left always stuck at "mounting partitions..."
I've worked through a lot of the suggestions in this thread, with no luck. Just wondering if you found the magic ingredient.
Thanks!
-
@demise7625 I thought I bricked my pixel 2 xl until yesterday. I tried installing android 8 from flash.android.com since I read somewhere that it might help but it failed while flashing and the device was stuck on fastboot screen. I tried flashing android 9,10,11 after that but it kept failing. I gave up thinking I bricked the device. However, yesterday I managed to flash android 9 manually using a different computer (older). The only thing I did differently is I ran
fastboot flashing unlock_critical
this time. So either that helped or there was some problem with the computer.After that I simply followed ubports installer instructions and everything worked seamlessly. So I would suggest try these, it might help:
- Try
fastboot flashing unlock_critical
-> flash android 9 -> run ubports installer - Try a different computer and use a usb-a to usb-c cable.
I also remember reading that someone managed to get it work by using a usb dock insead of directly plugging into the laptop's usb port.
Sorry for the long answer, just logging my case hoping it might help someone in the futurej
- Try
-
@dhrunia - thanks for the tips!
Unfortunately, the "unlock_critical" command doesn't seem to work for me. Oh well.
-
I too rant into this problem on my new computer, going back to my older computer and flashing worked, is very strange? not sure if it is the android-tools version? or if it was because of usb2 ports -as I think my new computer only has usb3. so only advice right now is try a different computer, and if it works past the mounting step, lets try and get some comparisons of the computers it isn't working on.
-
@mateo_salta It has often been stated 'don't use usb-3 ports for installing' so that stacks up!
-
Wow, as soon as I put a USB2 hub between the phone and computer, the installation completed. Nuts.
-
@a8ksh4
Not nuts, the USB chipset on the phone is probably not able to handle the full speed of USB3 and not even the maxed speed of USB2 while the computer is delivering the full theoretical speed because it can.MTP protocol handle the data transmission but is very slow because of limitations on phone's side, the method used to flash a device was not intended (I guess) for large data transfer and often results to errors.
Makes sense to me at least -
-
@mrt10001 i'm having the same issue also, i downgraded via the android flash tool, then used the ubport tool it gets stuck on google logo screen.
i attempted using different USB ports too with the same result, i'm guessing because i'm coming from Lineage OS 12l where you have to change the partition sizes for Android 12 that's why its not working any more?
-
@adamjonn Have you tried the different slots? Generally installing a stock ROM should put the partition s back to their original size , but not always...
-
@mrt10001 thanks for the quick reply, i flashed it to both partitions via the flash tool
-
@mrt10001 sorry forgot to add just re-flashed lineage os 12L with no problem, i'd be worried if i had to resize the partitions again can't remember the process does anyone know how to flash UBport manually via fastboot commands like how you install Lineage os with twrp?
-
@adamjonn Try installing TWRP for the device and in there format data, and erase cache and system. Then using the Google browser android tool install the correct ROM (it has to be that specific ROM). The try UT installer again.
It could be an issue with the data partition being encrypted (and formatting it in TWRP should solve that issue). -
@mrt10001 thank for the quick reply, i'll give thata bash, is it andriod 9 or andriod 10? thanks again!
-
@adamjonn it will tell you on the ubports devices page and on the installer screens as you start the UT install.
-
@mrt10001 thanks, just attempted that installed Android 9 as i recommends on the installer, booted back to boot loader, boot to TWRP wipe, advanced wipe cache and system, format data. then reran the ubport installer and it did seem to download another 2 files this time so was hopful but still got stuck on the Google logo thanks for the advice though
-
@adamjonn ok, reinstall the correct version of the ROM using the Google browser installer, but there are some extra steps to do from a previous post of mine re getting stuck on the Google logo. It is a bit late but I will look it out to morrow. Once you have completed that don't need to install TWRP, but just go straight to UT install.
Edit, late last night and it was in this forum thread to try:
Tick the following before install:
Force flash all partitions - ticked
Disable verification - ticked
Disable verity - ticked -
@mrt10001 thanks for looking into it, i'll give it a bash sometime soon and feeback, thanks again!
-
@mrt10001 just tried it on the latest build on the android flash tool Android 11 and the Android 9 as recommend on the ubport tool and flashed it again, it still got stuck on the google logo.
this time when install the ubports tool did say newer version is available on arch Linux, currently its on 0.9.6 but couldn't update to the newer version.
if possible is there a bash script to install it and adb fastboot i wounder