Can't use ADB
-
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
-
@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?
-
@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.
-
-
@yk102 Great stuff.
-
@yk102 said in Can't use ADB:
Nothing at all would happen with MTP alone.
Maybe an issue as it should work with MTP.
-
@keneda It likely is a bug, I already reported it on GitHub.