MasterDevX / Termux-ADB

Install ADB & FastBoot Tools in Termux!
1.59k stars 274 forks source link

Devices list empty after running ADB devices #42

Open Priyanshu-Kumar1 opened 3 years ago

Priyanshu-Kumar1 commented 3 years ago

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

and101 commented 3 years ago

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.

arkansawdave74 commented 3 years ago

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.

tristan-k commented 2 years ago

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 commented 2 years ago

To answer my own question, it is:

adb pair <host>[:<port>]