ADB is not detecting my android device on Ubuntu

前端 未结 6 1741
悲哀的现实
悲哀的现实 2021-02-06 01:40

Need help, \"adb\" not detect my phone, I do not know what to do; and this was what I did, if I have a mistake or something tell me please.

  1. I l

6条回答
  •  别跟我提以往
    2021-02-06 02:27

    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/
    

    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!

提交回复
热议问题