Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

adb devices ( on android host ) shows no device

Tags:

android

adb

usb

I want to use adb on android - on the device it is installed, but shows an empty list

shell@android:/ $ adb devices
List of devices attached 

shell@android:/ $ 

I see the device with lsusb.

shell@android:/ $ lsusb
18d1:4ee2 (bus 2, device 6)

ADB usb shows "no device found"

shell@android:/ $ adb usb
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found

I tried with several (client) devices - all the same - must be a general problem. I am able to execute stuff with root permissions if needed.

like image 958
ligi Avatar asked Dec 25 '22 05:12

ligi


2 Answers

Try disabling and re-enabling the USB debug option, since the latest Android version the phone will show a prompt asking you if you trust the computer trying to ADB-connect to the device otherwise it'll never show up in that list (nor in Eclipse DMBS).

Sometimes those auth get stuck and turning that option off then on seems to help, or at least it did so for me a couple of times

like image 151
Mdk Avatar answered Jan 06 '23 09:01

Mdk


Ensure you have enabled 'USB Debug' on your device, and that you have the drivers for your device installed on your computer (if applicable).

like image 39
Booger Avatar answered Jan 06 '23 08:01

Booger