Termux-ADB icon indicating copy to clipboard operation
Termux-ADB copied to clipboard

Devices list empty after running ADB devices

Open Priyanshu-Kumar1 opened this issue 3 years ago • 4 comments

I m trying to get logcat for my app made using kivymd but it is crashing. I don't have a PC therefore I installed termux-adb but after doing all steps I can't find my mobile in List of devices attached it is completely empty. Please help me

Priyanshu-Kumar1 avatar Feb 19 '21 09:02 Priyanshu-Kumar1

This version of Termux-ADB has old binaries that don't support pairing without a PC.

Alternatively, if you have a device with Android 11, you can use my fork of Termux-ADB with updated binaries. If your device supports wireless debugging, you can use a pairing code to pair Termux-ADB to your device. You can find the repo on my profile.

and101 avatar Feb 22 '21 18:02 and101

I hope you add usb debugging support. Having fastboot without usb support is useless isn't it? How can we use fastboot on another device? I'm trying with a dual usb-c cable.

arkansawdave74 avatar Mar 04 '21 19:03 arkansawdave74

Alternatively, if you have a device with Android 11, you can use my fork of Termux-ADB with updated binaries. If your device supports wireless debugging, you can use a pairing code to pair Termux-ADB to your device.

How is the adb command syntax for pairing with a pairing code?

tristan-k avatar Jan 04 '22 01:01 tristan-k

To answer my own question, it is:

adb pair <host>[:<port>]

tristan-k avatar Jan 05 '22 01:01 tristan-k