Adb Is Not Detecting My Android Device on Ubuntu

ADB is not detecting my android device on Ubuntu

from lsusb output I see that your device connected to Bus 004 as a device 005

Here it is
Bus 004 Device 005: ID 1004:6300 LG Electronics, Inc.

I see that you did not create any group.You need to create a group (if permission denied prepend "sudo" following commands):

1) add plugdev group:

 groupadd plugdev

2) add your username to plugdev group (useradd -G {group-name} username):

 useradd -G plugdev orvi

3) restart udev (you may need to log off and log back in to update user group):

 sudo service udev restart

4) Now reload the rules with the following commands:

 sudo udevadm control --reload-rules
sudo service udev restart
sudo udevadm trigger

5) Verify device is now allowing plugdev user group access

ls -l /dev/bus/usb/<bus number from step 4>

It should give something like that:

  crw-rw-rw- 1 root plugdev 189, 329 Jul  3 18:23 074

6) Run adb devices to confirm permissions are correct and enjoy!

ADB unable to detect Android Device on Ubuntu 18.04

First Kill the existing running instace of adb server by:-

adb kill-server

Then, run the adb devices command with sudo as :-

sudo adb devices

This will start the adb daemon and list your android device without permission error.

Android device not shown with adb

Since you've got Chrome Remote debugging working, just make sure that Chrome debugging isn't running when doing things with adb on the command line.

I believe that Chrome has its own version of adb-server so that would conflict with the one used by Android Studio.

Android device does not show up in adb list

Looks like the installed driver was in bad state. Here is what I did to make it work:

  1. Delete the device from Device Manager.
  2. Rescan for hardware changes.
  3. List item "Slate 21" will show up with "Unknown driver" status.
  4. Click on "Update Driver" and select /extras/google/usb_driver

Device Manager will find the driver and warn you about installing it. Select "Yes."
This time the device got installed properly.

Note that I didn't have to modify winusb.inf file or update any other driver.

Hope this helps.



Related Topics



Leave a reply



Submit