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

MI A2 Installing Using the UBports Installer

Scheduled Pinned Locked Moved Solved Xiaomi Mi A2
9 Posts 5 Posters 1.1k Views 1 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.
    • R Offline
      rosenfeldpj
      last edited by rosenfeldpj 11 Mar 2021, 19:07 3 Nov 2021, 19:00

      I have followed all instructions I have unlocked bootloader, downgraded to Android 9 using TWRP but the UBports Installer still gives an error:

      Error: fastboot:format: Error: formatting failed: Error: {"error":{"code":1,"cmd":"fastboot format:ext4 system"},"stderr":"< waiting for any device >\nfastboot: error: Failed to identify current slot"}

      Running from Opensuse Tumbleweed.

      Help please?

      Thank you in advance.

      K M R J 4 Replies Last reply 3 Nov 2021, 19:27 Reply Quote 0
      • K Offline
        Keneda @rosenfeldpj
        last edited by 3 Nov 2021, 19:27

        @rosenfeldpj
        I will be poor help for you but for others you could please tell what version of ubports installer you use ?

        Anyway it seems to be a slot (A/B) finding issue in the log you provide.

        Again, not a good help from me as i can't tell you how to select any slot.

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

        R 2 Replies Last reply 4 Nov 2021, 06:15 Reply Quote 0
        • M Offline
          messayisto @rosenfeldpj
          last edited by 3 Nov 2021, 20:17

          @rosenfeldpj et another poor help. There is an older post with same problem:
          https://forums.ubports.com/topic/5744/installer-fails
          Maybe it could help to ask there if the threadstarter has found a solution...
          good luck!

          1 Reply Last reply Reply Quote 0
          • R Offline
            rosenfeldpj @rosenfeldpj
            last edited by 4 Nov 2021, 06:13

            @rosenfeldpj Thank you, it is version 0.8.9-beta

            1 Reply Last reply Reply Quote 0
            • R Offline
              rosenfeldpj @Keneda
              last edited by 4 Nov 2021, 06:15

              @keneda said in MI A2 Installing Using the UBports Installer:

              @rosenfeldpj
              I will be poor help for you but for others you could please tell what version of ubports installer you use ?

              Anyway it seems to be a slot (A/B) finding issue in the log you provide.

              Again, not a good help from me as i can't tell you how to select any slot.

              Thank you, going to try.

              1 Reply Last reply Reply Quote 0
              • J Offline
                jonlockwood17 @rosenfeldpj
                last edited by 5 Nov 2021, 14:18

                @rosenfeldpj i got the same error, however i changed pc's and boom it installed no problem. are you using a windows or linux pc to try and flash. for the record the machine that was failing was a desktop running ubuntu 21.04, and the machine that worked was a laptop running 21.04. Also try using an older version of the installer.

                R 1 Reply Last reply 6 Nov 2021, 06:52 Reply Quote 0
                • R Offline
                  rosenfeldpj @jonlockwood17
                  last edited by rosenfeldpj 11 Jun 2021, 06:55 6 Nov 2021, 06:52

                  @jonlockwood17 I am using a Laptop (AMD Chipset) with Opensuse Tumbleweed. Thank you I will try with another with Ubuntu and Intel Chipset.

                  Interesting is that I have installed UBports to another mobile using this same machine (AMD Opensuse) and it worked without problems.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rosenfeldpj @Keneda
                    last edited by 13 Nov 2021, 11:33

                    @keneda I have finally installed it I do not know what of this was crucial and what not or not but i put it all here for others to use:

                    Mobile was, after several failed installation attempts in a status in which it only could boot to Fastboot both Recovery and System did not work.

                    i have used a computer with Intel chipset running Ubuntu 20.04. Because in the computer with Opensuse Tumbleweed with AMD chipset it was not working and had led to previous status.
                    I have used a USB 3.0 port with a short (8 cm) cable USB A to USB C.

                    I have installed adb and fastboot using the following (the other ways did not work):

                    sudo apt install fastboot
                    sudo apt install adb

                    I have installed the Android 9 stock image in the way similar to what is described by @scream314, using the image on the link shared in his post https://forums.ubports.com/topic/6951/ubports-quick-and-simple-install-on-xiaomi-mi-a2 (thank you).

                    But

                    • used the 3.3.1-0 version of the TWRP instead. The one shared in the post did not work for me.

                    • Before installing I wiped and formatted the mobile as shown here: https://www.youtube.com/watch?v=sqmng9WQFkI&t=0s 9:11 minutes

                    • I also changed the slot manually between the installation in Slot A and B, in the reset menu of TWRP and I did not reset between the installation in slot A and slot B.

                    • Instead of using sideload I just copied the Image using the files App of Ubuntu and "copy to" as you would do to an USB stick. The Mobile will appear as an storage after formatting it.

                    After installing Android 9, i had to reset the mobile twice before System Android 9 could start and exercise some patience. I did the absolute minimum Android setup.

                    I enabled developer options and USB debugging.

                    (At this point, i tried to install then permanently TWRP in the Recovery (as indicated in the mentioned video), but it did not work, in fact I lost the Android 9 installation by trying to do it it and had to install it all again, but it was not necessary either).

                    Then I downloaded and installed the APP (0.8.9) in the computer, but not from the link in the device page (did not work) from the Ubuntu App store.

                    Then I have followed the instructions of the App with the following details:

                    Did not select Wipe Personal Data
                    Selected 16.04/arm64/android9/rc
                    (/stable did not work and brought the Mobile to a status in which I had to do everything again from the start).

                    After running Ubuntu for the first time,I forgot to install the SIM before and after Mobile Data could not be activated. I solved it by doing an "Erase and Reset All". So suggest do not forget that.

                    Hope it helps and thank you to all from which I grabbed info.

                    J 1 Reply Last reply 9 Feb 2022, 15:52 Reply Quote 1
                    • R rosenfeldpj has marked this topic as solved on 13 Nov 2021, 11:34
                    • R rosenfeldpj referenced this topic on 19 Nov 2021, 12:54
                    • R Rafa referenced this topic on 10 Dec 2021, 07:49
                    • R Rafa referenced this topic on 10 Dec 2021, 07:53
                    • J Offline
                      Josele13 @rosenfeldpj
                      last edited by 9 Feb 2022, 15:52

                      @rosenfeldpj One question, if the phone is new and comes with android 9, do I have to change to the other android 9?

                      Xiaomi Redmi Note 9 pro
                      Oneplus Nord 100
                      Xiaomi Redmi Note 7
                      Nexus 5
                      Bq E4.5 Ubuntu edition .... is dead

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