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

    Can't use ADB

    Scheduled Pinned Locked Moved Solved Support
    6 Posts 3 Posters 387 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.
      • Y Offline
        yk102
        last edited by yk102

        I just used the UBPorts Installer on my Linux Mint 20.2 PC to install Ubuntu Touch on my Pixel 3a XL

        The process went smoothly, but after enabling developer mode, I can't seem to connect to the phone with ADB because it doesn't show under devices.

        Looking at my PC's kernel journal, it doesn't even see my phone. There are no related USB events when I plug it and unplug it. I think this is the problem, though I don't really know how to fix it.

        By the way, Ubuntu Touch says that I run sargo, which is a Pixel 3a. I use bonito (XL version). I guess they use the same kernel, but I thought I'd mention it just in case.

        hatsumemio@mintpc:~/Downloads$ lsusb
        Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
        Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
        Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
        Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
        Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
        Bus 001 Device 002: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse
        Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
        
        
        MrT10001M 1 Reply Last reply Reply Quote 0
        • MrT10001M Offline
          MrT10001 @yk102
          last edited by MrT10001

          @yk102 Install UT Tweak tool. Open it up and at the top left it will show Behaviour. There are three parallel bars on the far left. Click on them and the drop down menu will give you a choice. Choose system and under USB settings, you will see ADB settings, there you can set MTP (Media Transfer Protocol) or RNDIS.

          You do have the latest ADB and fastboot drivers installed on Mint?

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

          Y 1 Reply Last reply Reply Quote 0
          • Y Offline
            yk102 @MrT10001
            last edited by

            @mrt10001 I have the latest fastboot/adb binaries downloaded straight from Google themselves.

            Switching to RNDIS fixed it, there is now an ADB device but also an MTP device. Nothing at all would happen with MTP alone.

            MrT10001M KenedaK 2 Replies Last reply Reply Quote 0
            • Y yk102 has marked this topic as solved on
            • MrT10001M Offline
              MrT10001 @yk102
              last edited by

              @yk102 Great stuff. :beaming_face_with_smiling_eyes:

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

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

                @yk102 said in Can't use ADB:

                Nothing at all would happen with MTP alone.

                Maybe an issue as it should work with MTP.

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

                Y 1 Reply Last reply Reply Quote 0
                • Y Offline
                  yk102 @Keneda
                  last edited by

                  @keneda It likely is a bug, I already reported it on GitHub.

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