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

    UBports flashing failed half-way

    Scheduled Pinned Locked Moved Solved Google Pixel 3a/3a XL
    8 Posts 4 Posters 1.5k Views 2 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.
    • P Offline
      PhAndersson
      last edited by

      Hello,
      I got a refurbished Pixel 3a delivered with Android 12 and was able to unlock its bootloader and downgrade it to Android 9 (PQ3B.190801.002) using the web-based Android Flash Tool.
      I then attempted the UT installation using 'ubports-installer' version 0.9.7-beta (upon startup, it suggested that "snap refresh --stable", but snap told me that no update was available).
      I selected channel "20.04/arm64/android9plus/stable" and the UT installation process started (it said "flashing firmware"), then asked me to reboot the phone in recovery, which I tried to do -- the phone seemed stuck on the white "Google" splash screen. 'ubports-installer' was never able to re-establish the communication with the device.
      I tried power-cycling the phone, booting it to bootloader and switching to recovery mode again, but this no longer works -- it returns by itself to the bootloader with a message at the bottom saying "failed to boot boot.img" (or some such).
      Any idea as to how I should proceed? (try to re-flash Android 9? retry immediately with UBP-installer?)
      Also, is version 0.9.7-beta of UBP-installer the recommended one?
      TIA
      Ph. A.

      Xiaomi Mi A2 (16.04 OTA-25/stable) with 2 SIMs
      Daily driver: Google Pixel 3a (20.04 OTA-11/stable) [was: Nokia N900 (Maemo) from 2009].

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

        @PhAndersson Flash back to Android 9 and make sure your phone works. Then use the latest version on the installer (0.10.0) which will be on edge to install UT.

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

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          PhAndersson @MrT10001
          last edited by

          @MrT10001 Thanks -- I'll try that.

          Xiaomi Mi A2 (16.04 OTA-25/stable) with 2 SIMs
          Daily driver: Google Pixel 3a (20.04 OTA-11/stable) [was: Nokia N900 (Maemo) from 2009].

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            PhAndersson @PhAndersson
            last edited by

            For the benefit of the community: due to my failed flashing attempt, the phone was left in a state where only the bootloader could be reached. It displayed a message saying: "no valid slot to boot".

            As suggested by @MrT10001, I was able to get it back to a functioning state by re-flashing it with Android 9 (PQ3B.190801.002) using the 'flash-all.sh' script.

            I'll try again the UT installation using the UBP-installer v0.10.0 this time and report back on the outcome.

            Xiaomi Mi A2 (16.04 OTA-25/stable) with 2 SIMs
            Daily driver: Google Pixel 3a (20.04 OTA-11/stable) [was: Nokia N900 (Maemo) from 2009].

            stanwoodS 1 Reply Last reply Reply Quote 0
            • stanwoodS Offline
              stanwood @PhAndersson
              last edited by

              @PhAndersson If the Snap package doesn't work well, you can get the latest UBports Installer AppImage version here: https://devices.ubuntu-touch.io/installer/ which works like a charm on my Xubuntu laptop.

              If the device fails to reboot in recovery mode, you may try to force the behavior using: (in the terminal)

              adb reboot recovery
              

              Also, ensure you have ticked all the boxes "Wipe data" + "Bootstrap partition", etc...

              Redmi Note 9S Stable
              If God has a computer, it must be a GNU/Linux

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                PhAndersson @stanwood
                last edited by

                @stanwood Thanks a lot for the advice.

                Xiaomi Mi A2 (16.04 OTA-25/stable) with 2 SIMs
                Daily driver: Google Pixel 3a (20.04 OTA-11/stable) [was: Nokia N900 (Maemo) from 2009].

                P 1 Reply Last reply Reply Quote 1
                • P Offline
                  PhAndersson @PhAndersson
                  last edited by

                  I just installed the phone with UBP-installer v0.10.0 -- everything went like a charm this time round.

                  Many thanks to both of you for your support.

                  Xiaomi Mi A2 (16.04 OTA-25/stable) with 2 SIMs
                  Daily driver: Google Pixel 3a (20.04 OTA-11/stable) [was: Nokia N900 (Maemo) from 2009].

                  Vlad NirkyV 1 Reply Last reply Reply Quote 1
                  • P PhAndersson marked this topic as a question on
                  • P PhAndersson has marked this topic as solved on
                  • Vlad NirkyV Offline
                    Vlad Nirky @PhAndersson
                    last edited by

                    @PhAndersson
                    Congrats and welcome!

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post