Cannot install, help!
-
No issues installing on the Pixel 2 but here are things to try:
Use a Windows PC (yes use a Windows PC) and use the Android Flash tool through Chrome to downgrade the firmware to the correct version from here and click on Flash.
Tick the following before install:
Force flash all partitions - ticked
Disable verification - ticked
Disable verity - tickedI ticked these for an issue on the Pixel 3 and it worked and it may work for the Pixel 2
Then boot into Android, do the usual before rebooting to the bootloader and try the UT installer.
I know not everyone has access to a windows PC or just hates using it, but it is really helpful to have something like this to assist with fault finding and other issues. The other thing I find is most programmers/software people immediately use the CLI, which is fine, but can complicate things. Stepping back and reconsidering things is always worthwhile to resolve an issue. The number of people I have trained who batter the keyboard at a 100miles an hour and make a mistake in syntax, then wonder why they have an issue and take 4 times as long to resolve it. It took me a while to learn to put things aside and sleep on the issue. I would usually resolve it the next day.
-
@mrt10001 I did try with those three options ticked that didn't help either.
-
@dhrunia OK, that's good to know.
-
Have you checked this out?
-
@dhrunia is there a chance that partition layout is not like on stock? Did you have had installed anythng else than Googleยดs Android before?
-
@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!