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

    My MI A2 is no longer recognised by my computer..

    Scheduled Pinned Locked Moved Xiaomi Mi A2
    30 Posts 9 Posters 5.8k 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.
      • V Offline
        Voltcab
        last edited by

        Hello, my MI A2 no longer goes up on my computer desktop, it is no longer recognised, could someone give me the identifier of the MI A2 in order to force its identification by the ADB commands?

        KenedaK Mario.CHM stropbuS 3 Replies Last reply Reply Quote 0
        • KenedaK Offline
          Keneda @Voltcab
          last edited by Keneda

          @voltcab
          Did you try multiple usb cables/slots ?

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

          V 1 Reply Last reply Reply Quote 0
          • V Offline
            Voltcab @Keneda
            last edited by

            @keneda
            Hello and thank you for your answer, yes, I have tested many cables and pc's under linux and w10 but they don't recognize the phone... I had the same problem with an Opo and with this method (https://docs.ubports.com/fr/latest/userguide/advanceduse/adb.html) my pc managed to display it and I was able to recover my files... I would like to try the same process with an MI A2 but I don't know where to find its identifier. I will have to find out why all my UT phones have the same problem...

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

              @voltcab
              Just to be clearer, one last question.

              Your phone is no longer recognized in adb only or also in MTP when used like a usb storage ?

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

              V 1 Reply Last reply Reply Quote 0
              • V Offline
                Voltcab @Keneda
                last edited by

                @keneda
                It no longer goes up on the desktop and is no longer recognised at all...

                1 Reply Last reply Reply Quote 0
                • Mario.CHM Offline
                  Mario.CH @Voltcab
                  last edited by

                  Hi @voltcab,

                  For more help from the community, the following questions should be answered:
                  Has anything changed on the computer side?

                  • new computer, and which operating system.
                  • old computer, but with upgrade of the operating system, and/or other operating system, and also here which operating system?

                  Greetings
                  Mario

                  📱 Oneplus Nord N100 UT20.40 (OTA5); then Xperia X (since 2020) at last UT 20.04(OTA5), now out of service due to defective camera
                  🐎 When you realize you are riding a dead horse, get off!
                  My languages skill: 🇨🇭🇦🇹 🇩🇪, and only orally: 🇬🇧 🇹🇭

                  V 1 Reply Last reply Reply Quote 0
                  • V Offline
                    Voltcab @Mario.CH
                    last edited by

                    @mario-ch
                    Hi,
                    I will try to be as precise as possible...
                    I have several phones under UT, two MI A2 and a Oneplus one, on these devices, I encounter the same problem of recognition. At the beginning everything is ok they work normally and after a few months they don't connect to the PC anymore... I tried on several computers under Ubuntu 22.04 and windows 10 with several cables including new ones but without success. While searching on the internet I came across this topic (https://docs.ubports.com/en/latest/userguide/advanceduse/adb.html) which used the Oneplus One as an example and the Opo was finally recognized by the PC running Ubuntu 22.04, so I was able to save my files. For the Mi A2 I did not find the ID as indicated in the topic Shell access via ADB, so I can not test this solution. Maybe there are other ways? Thanks for your feedbacks...

                    MrT10001M Mario.CHM 2 Replies Last reply Reply Quote 0
                    • MrT10001M Offline
                      MrT10001 @Voltcab
                      last edited by

                      @voltcab I install Android Studio on my Windows (11) and Ubuntu (22.04) machines. I update it when required and all my devices connect without issue on adb.

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

                      1 Reply Last reply Reply Quote 0
                      • Mario.CHM Offline
                        Mario.CH @Voltcab
                        last edited by

                        Hi @voltcab,

                        Well, first of all, I don't have one of the phones you used, so I can't reproduce it.
                        Secondly, in the normal case (when no one is fiddling with it) nothing should change on its own.

                        After connecting the phone to the computer, you have to enter the pin/password on the phone.

                        So it looks like we have many many possibilities where something is working wrong.

                        ADB (Android Debug Bridge) is a software interface to manage Android devices from the computer. The most important thing is that there are different software and they can get in each other's way if you install both/more on the same computer. For example, the Ubuntu in-house and/or "Android SDK suite" (or others).

                        See also the following links:
                        https://manpages.ubuntu.com/manpages/jammy/man1/adb.1.html
                        or in German (you have to translate it yourself):
                        https://wiki.ubuntuusers.de/adb/

                        And (no guarantee, because here I am not sure) the phone should be enabled as follows:
                        In the developer options, enable ADB debugging and OEM unlocking.

                        In addition, forum members in possession of a phone type like you have would be more helpful, even if they only share or negate your problems.

                        Greetings
                        Mario

                        Translated with www.DeepL.com/Translator (free version)

                        📱 Oneplus Nord N100 UT20.40 (OTA5); then Xperia X (since 2020) at last UT 20.04(OTA5), now out of service due to defective camera
                        🐎 When you realize you are riding a dead horse, get off!
                        My languages skill: 🇨🇭🇦🇹 🇩🇪, and only orally: 🇬🇧 🇹🇭

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

                          Forgot to mention the reason I install Android Studio is I get the latest fastboot and ADB drivers that has so far covered all the devices I have put UT on.

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

                          1 Reply Last reply Reply Quote 1
                          • stropbuS Offline
                            stropbu @Voltcab
                            last edited by

                            @voltcab Easy, connect the phone to the usb on the back of the pc, magic... 🇪🇦

                            Xiaomi Mi A2
                            Leyendo Para Instalar Ubuntu Touch

                            Nexus 5 - Instalado Ubuntu Touch

                            BQ Aquaris E5 HD Ubuntu Phone

                            Zx Spectrum Sir Sive Sinclair rom secure, cheat.

                            KenedaK 1 Reply Last reply Reply Quote -1
                            • KenedaK Offline
                              Keneda @stropbu
                              last edited by

                              @stropbu not sure that kind of answer is of any help...

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

                              stropbuS 1 Reply Last reply Reply Quote 0
                              • stropbuS Offline
                                stropbu @Keneda
                                last edited by

                                @keneda I, if I am sure that it works, it is more, more than once I have verified it, perhaps it is the length of the internal USB cable to the front part, it reduces the voltage and response time to the round trip data, as well as the frequency, that added to the external cable of poor quality = failure. I insist, rear ports of Pc Tower, not portable PC. 🇪🇦

                                Xiaomi Mi A2
                                Leyendo Para Instalar Ubuntu Touch

                                Nexus 5 - Instalado Ubuntu Touch

                                BQ Aquaris E5 HD Ubuntu Phone

                                Zx Spectrum Sir Sive Sinclair rom secure, cheat.

                                AppLeeA 1 Reply Last reply Reply Quote 0
                                • AppLeeA Offline
                                  AppLee @stropbu
                                  last edited by

                                  @stropbu
                                  So the advice would be to try a different USB port or to check the USB cable.
                                  And also maybe they have a hardware issue with their phone...

                                  What @Keneda tried to explain is that there is already some discussion in this thread and your comment didn't add anything of value until your second, more detailed, comment.

                                  Your first message can be understood as "duh you just have to plug it in..." also what works for you doesn't mean it will work for other, there are tons of parameters to take into account, hardware on both side, cable, power grid of the country/city, OS of the computer, ...

                                  1 Reply Last reply Reply Quote 3
                                  • V Offline
                                    Voltcab
                                    last edited by

                                    Hi! Thanks for the leads but unfortunately I still don't have a positive result... I'm using a laptop at the moment, I'll test the connection directly on a tower card but on a laptop I think the connection is direct too... One detail, I had left the developer mode open, I don't know if this can have an impact on the phone settings when using it...

                                    AppLeeA LakotaubpL 2 Replies Last reply Reply Quote 0
                                    • AppLeeA Offline
                                      AppLee @Voltcab
                                      last edited by

                                      @voltcab
                                      It is frequently advised to use USB2 ports instead of USB3.
                                      But your issue is very weird there is no reason it won't work anymore after some time...

                                      1 Reply Last reply Reply Quote 0
                                      • V Offline
                                        Voltcab
                                        last edited by

                                        Given the number of tests on different computers I think I tested USB2 ports but I'll check anyway... I'm going back to the fact that I had the same problem with an Opo and that adding the hardware ID to the ADB commands seems to have unblocked the situation... Do you know where I can find the MI A2 ID?

                                        1 Reply Last reply Reply Quote 0
                                        • V Offline
                                          Voltcab
                                          last edited by

                                          Do you think that using the phone with the developer mode on can change the phone settings ?

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

                                            @voltcab You can leave Dev mode on. I guess you have tried completly removeing adb and drivers and reinstalling? You might have to regrant permission for adb though. Maybe even swop update channels to see if that has an effect. Or even rerun through the installer without the wipe option.
                                            Only other thing is the usb port on the phone clean. I once had a bit of dirt stuck in which stopped a proper conection. Tend to thing if it suddenlt stops and nothing changed start with cables and ports, then the old adb devices in a terminal. Also think you have probably done all that. 🙂

                                            1 Reply Last reply Reply Quote 0
                                            • V Offline
                                              Voltcab
                                              last edited by

                                              Ok, I'm dropping the developer mode story... I found a laptop with USB2 plugs, contact cleaner and new cables... All I have to do is update it and... I cross the fingers ! 😀

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