-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't see USB device in termux-adb devices #31
Comments
Btw adb itself works. I can self-adb my phone without a problem using local-wireless debugging
Achieved this with the script:
The thing for self-debugging wasn't "active" during attempts to debug other phone. |
I've tested adb with the same phone and cable setup on my laptop, and it can see the phone as unauthorized and prompts to authorize the laptop on the phone |
ALSO. I installed aShell You from F-Droid (IzzyDroid repo I think) and it also works perfectly with the same setup |
After further testing, it got it, kinda. After some time since I connect the device Termux:API asks permission to device, but the device itself shows in termux-adb only after a couple of minutes. In aShell You it shows instantly. Maybe its a Termux:API issue. |
I’m not actually familiar with that app. Does it work for you as an alternative? I’m sorry to hear about these delays… It would be interesting to try and write a native Android app which taps into the USB APIs directly. Is that what aShell You does? I’m not sure. The whole linux userspace emulation layer in Termux can potentially add its own problems. Anyway, it’s unlikely that I would start such a project in the near future. |
|
So more details: Issue report on termux-api repo: termux/termux-api#714 |
Describe the bug
Device is connected, I can look up it's folders and stuff, adb is enabled, adb message is visible in the notifications on other device, device is visible in termux-usb, but
termux-adb devices
displays nothing. Am I doing something wrong?To Reproduce
Steps to reproduce the behavior: connect a device to other device with a USB cable. In my case its USB-C to USB-A port and from USB-A port its USB-A to microUSB cable
Expected behavior
Idk, show a device, maybe that's just my skill issue
Smartphone (thing that does adb):
Smartphone (thing that receives adb):
The Things:
Additional context
A little demonstration:
Photo of adb message on the other phone (it's all in Ukrainian, but it says that debugging is enabled, proof: trust be bro)
I tried doing
termux-adb usb
, but it just says:sudo
doesn't seem to change anything.The text was updated successfully, but these errors were encountered: