UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Cannot install, help!

    Scheduled Pinned Locked Moved Google Pixel 2/2 XL
    50 Posts 16 Posters 10.4k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • D Offline
        dhrunia
        last edited by

        @abananaman @Flohack I am having the exact same issue. I have flashed android 9 (PQ3A.190801.002) using flash.android.com, made sure oem unlocking and usb debuggin are enabled on android 9. Installed ubports-installer (0.9.2-beta .deb package) and followed instructions. Now I am in ubports recovery screen on phone and the installer is stuck at mounting partitions...

        KenedaK 1 Reply Last reply Reply Quote 0
        • KenedaK Offline
          Keneda @dhrunia
          last edited by Keneda

          @dhrunia
          Did you also select all the wiping options possible in ubports installer ?
          As your phone come straight from android, better is to select all the wiping options in ubports installer.

          2015-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
          🇲🇫🇬🇧

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            dhrunia @Keneda
            last edited by

            @keneda yes I have selected the wipe option in installer but that didn't help. I have also tried wiping all partitions and formatting data to ext4 using twrp as suggested by @Flohack but that didn't help either. It always gets stuck at the mounting partitions step.

            1 Reply Last reply Reply Quote 0
            • MrT10001M Offline
              MrT10001
              last edited by

              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 - ticked

              I 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.

              Xiaomi Redmi Note 7.... And more...
              I have too many devices...

              D 1 Reply Last reply Reply Quote 1
              • D Offline
                dhrunia @MrT10001
                last edited by

                @mrt10001 I did try with those three options ticked that didn't help either.

                MrT10001M flohackF 2 Replies Last reply Reply Quote 0
                • MrT10001M Offline
                  MrT10001 @dhrunia
                  last edited by

                  @dhrunia OK, that's good to know.

                  Xiaomi Redmi Note 7.... And more...
                  I have too many devices...

                  1 Reply Last reply Reply Quote 0
                  • MrT10001M Offline
                    MrT10001
                    last edited by

                    Have you checked this out?

                    Xiaomi Redmi Note 7.... And more...
                    I have too many devices...

                    A 1 Reply Last reply Reply Quote 0
                    • flohackF Offline
                      flohack @dhrunia
                      last edited by

                      @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?

                      My languages: 🇦🇹 🇩🇪 🇬🇧 🇺🇸

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        dhrunia @flohack
                        last edited by

                        @flohack yes I used calyxos before. Could that be the problem? I thought flashing stock undoes all changes from calyx. wouldn't it?

                        MrT10001M 1 Reply Last reply Reply Quote 0
                        • MrT10001M Offline
                          MrT10001 @dhrunia
                          last edited by MrT10001

                          @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.

                          Xiaomi Redmi Note 7.... And more...
                          I have too many devices...

                          D 1 Reply Last reply Reply Quote 0
                          • KenedaK Keneda referenced this topic on
                          • KenedaK Keneda referenced this topic on
                          • D Offline
                            demise7625 @MrT10001
                            last edited by

                            @abananaman @dhrunia -

                            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!

                            D 1 Reply Last reply Reply Quote 0
                            • D Offline
                              dhrunia @demise7625
                              last edited by

                              @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:

                              1. Try fastboot flashing unlock_critical -> flash android 9 -> run ubports installer
                              2. 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

                              D 1 Reply Last reply Reply Quote 0
                              • D Offline
                                demise7625 @dhrunia
                                last edited by

                                @dhrunia - thanks for the tips!

                                Unfortunately, the "unlock_critical" command doesn't seem to work for me. Oh well. 🙂

                                1 Reply Last reply Reply Quote 0
                                • mateo_saltaM Offline
                                  mateo_salta
                                  last edited by

                                  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.

                                  IanI 1 Reply Last reply Reply Quote 0
                                  • IanI Online
                                    Ian @mateo_salta
                                    last edited by

                                    @mateo_salta It has often been stated 'don't use usb-3 ports for installing' so that stacks up!

                                    A 1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      a8ksh4 @Ian
                                      last edited by

                                      Wow, as soon as I put a USB2 hub between the phone and computer, the installation completed. Nuts.

                                      AppLeeA 1 Reply Last reply Reply Quote 0
                                      • AppLeeA Online
                                        AppLee @a8ksh4
                                        last edited by

                                        @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 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • LakotaubpL Lakotaubp referenced this topic on
                                        • A Offline
                                          adamjonn @MrT10001
                                          last edited by

                                          @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?

                                          MrT10001M 1 Reply Last reply Reply Quote 0
                                          • MrT10001M Offline
                                            MrT10001 @adamjonn
                                            last edited by

                                            @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...

                                            Xiaomi Redmi Note 7.... And more...
                                            I have too many devices...

                                            A 2 Replies Last reply Reply Quote 0
                                            • A Offline
                                              adamjonn @MrT10001
                                              last edited by

                                              @mrt10001 thanks for the quick reply, i flashed it to both partitions via the flash tool

                                              1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post