Home linux ADB does not see my phone

ADB does not see my phone

Author

Date

Category

I am using the operating system Kali Linux .
Tried to connect my phone to Android Studio and to ADB directly.
Enabled USB debugging mode.
Here are screenshots from Android Studio :

Android Studio sees the phone, but ADB doesn’t want to see it:

Here is a session with adb :

user @ kali: ~ $ adb devices
List of devices attached
user @ kali: ~ $ adb kill-server
user @ kali: ~ $ adb start-server
user @ kali: ~ $ adb devices
List of devices attached
user @ kali: ~ $ adb kill-server
user @ kali: ~ $ adb start-server
* daemon not running; starting now at tcp: 5037
* daemon started successfully
user @ kali: ~ $ adb devices
List of devices attached
user @ kali: ~ $

lsusb the device sees.

I tried to modify the file /etc/udev/rules.d/51-android.rules , I tried something else, but I didn’t get anything.


Answer 1, authority 100%

The problem was that my USB connection was set to “File Transfer”. I changed it to “Charging” and ADB saw the phone.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions