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

    How to install Ubuntu touch on Mi A2 by simple way?

    Scheduled Pinned Locked Moved Xiaomi Mi A2
    11 Posts 5 Posters 1.8k 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.
      • S Offline
        Sann
        last edited by

        Dear community,
        I already tried with UBports to install Ubuntu touch on my Mi A2. But it is not working yet. UBports doesn't respond anything after choosing vendor.img file and press continue.

        Here is my progress.

        1. Unlocked the phone
        2. Developer Options > Enable USB debugging
        3. Make sure Android 9
        4. Universal ADB Driver Install
        5. UBport installer 0.91 Beta detects automatically Mi A2.
        6. Choose Ubuntu touch OS.
        7. Choose the release version. ( I already try all of them).
        8. Select vendor.img file that I downloaded manually.
        9. Press continue.

        But, UBport doesn't change anything and does not respond.
        Please guide me to other options. If it is not necessary, it is better to not root my phone.

        Best regards
        Sann

        MoemM 1 Reply Last reply Reply Quote 0
        • MoemM Offline
          Moem @Sann
          last edited by

          @sann Try using an older version of the installer. It seems that 0.8.8 is working well for many people.
          Get it here: https://github.com/ubports/ubports-installer/releases/tag/0.8.8-beta

          Is currently using an Op5t
          Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

          S 1 Reply Last reply Reply Quote 1
          • S Offline
            Sann @Moem
            last edited by

            @moem It really works with the 0.8.8 beta installer. I successfully finish installing the Ubuntu touch on the Xiaomi Mi A2 device. Thank you so much.

            MoemM 1 Reply Last reply Reply Quote 0
            • MoemM Offline
              Moem @Sann
              last edited by

              @sann Glad to hear it and I'm happy that I could help! 😊

              Is currently using an Op5t
              Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

              1 Reply Last reply Reply Quote 0
              • A Offline
                anandandlavie
                last edited by

                Can you post here how you installed the 0.8.8. version of ubports-installer via snap?

                I am unable to figure out what options to give to snap to precisely install the 0.8.8 version.

                Many thanks in advance!

                LakotaubpL 1 Reply Last reply Reply Quote 0
                • LakotaubpL Offline
                  Lakotaubp @anandandlavie
                  last edited by

                  @anandandlavie You should just be able to download the installer using the link and install it as normal https://github.com/ubports/ubports-installer/releases/tag/0.8.8-beta Are you having issues with the link?

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    anandandlavie @Lakotaubp
                    last edited by

                    @lakotaubp thank you for your message. I downloaded the linked file " ubports-installer_0.8.8-beta_linux_amd64.deb" and tried to install it on my linux machine with the command:

                    sudo dpkg -i ~/Downloads/ubports-installer_0.8.8-beta_linux_amd64.deb

                    and it gave me the following error:

                    Selecting previously unselected package ubports-installer.
                    (Reading database ... 457343 files and directories currently installed.)
                    Preparing to unpack .../ubports-installer_0.8.8-beta_linux_amd64.deb ...
                    Unpacking ubports-installer (0.8.8-beta) ...
                    dpkg: dependency problems prevent configuration of ubports-installer:
                    ubports-installer depends on libappindicator1; however:
                    Package libappindicator1 is not installed.
                    ubports-installer depends on android-tools-adb; however:
                    Package android-tools-adb is not installed.
                    ubports-installer depends on android-tools-fastboot; however:
                    Package android-tools-fastboot is not installed.
                    ubports-installer depends on heimdall-flash; however:
                    Package heimdall-flash is not installed.

                    dpkg: error processing package ubports-installer (--install):
                    dependency problems - leaving unconfigured
                    Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
                    Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
                    Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
                    Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
                    Rebuilding /usr/share/applications/bamf-2.index...
                    Processing triggers for mime-support (3.59ubuntu1) ...
                    Errors were encountered while processing:
                    ubports-installer

                    I am not sure what dependency problems were encountered during the installation (see above). If you may be able to help with this that would be very appreciated!

                    Many thanks!

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      anandandlavie
                      last edited by

                      Nevermind... I just ran "sudo apt-get install -f" without any package info after the error came up and it resolved the dependencies and installed the dependencies and ubports-installer 0.8.8.

                      However I am still not sure why it would resolve itself by running apt-get install -f without any packages. Experienced people's linux insight would be appreciated.

                      Many thanks!

                      LakotaubpL 1 Reply Last reply Reply Quote 0
                      • LakotaubpL Offline
                        Lakotaubp @anandandlavie
                        last edited by

                        @anandandlavie Sorry for late reply. I have only ever install the installer using the standard download and have had no issue there. For the rest you will need someone with a much better knowledge of these things than me.

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          anandandlavie @Lakotaubp
                          last edited by

                          @lakotaubp, thanks for your help regardless!

                          1 Reply Last reply Reply Quote 0
                          • R Rafa referenced this topic on
                          • R Rafa referenced this topic on
                          • M Offline
                            mkarpicki
                            last edited by

                            I had similar experience on my Ubuntu. Additionally I saw fastboot crashing with message "press any key to shutdown".
                            On some other thread (which I will also look to comment) I saw suggestions about USB port. Changing of port on my laptop did not work as I have only usb 3.0 but I tried to use other laptop (Mac, with installer suggested by @Moem ), and it worked !

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