Today, the Error:insufficient permissions for device is connected to the tablet USB under Linux and the ADB shell is tried.
And we enter the ADB devices display:
[Email protected]:~$ adb devices
List of devices attached
???????????? Device
So how do we fix it?
First in the terminal to view the USB ID, enter the LSUSB command, we can see we just plug the ID number such as USB, such as:
[Email protected]:~$ Lsusb
Bus 001 Device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub
Bus 002 Device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub
Bus 001 Device 002:id 8087:0020 Intel Corp Integrated rate Matching Hub
Bus 002 Device 002:id 8087:0020 Intel Corp Integrated rate Matching Hub
Bus 001 Device 003:id 0461:4d80 primax Electronics, LTD
Bus 001 Device 004:id 1c7a:0801 lightuning technology INC fingerprint Reader
Bus 002 Device 003:id 5986:0190 Acer, Inc.
Bus 001 Device 019:id 0BB4:0C02 High Tech Computer Corp. Dream/adp1/g1/magic/tattoo (Debug)
The red one is the ID number that we plugged into the USB.
So let's go into the cd/etc/udev/rules.d/and create a new 51-android.rules file (sudo vim 51-android.rules), which is written in this file:
subsystem== "USB", attrs{idvendor}== " 0bb4", attrs{idproduct}== "0c02", mode= "0666 "
Save, and then add permissions for 51-android.rules (sudo chmod a+x 51-android.rules).
Unplug the USB plug on it, such as:
[Email protected]:~$ adb devices
List of devices attached
AB100607 Device
This solves the problem that the USB is not recognized.
Error:insufficient Permissions for device (troubleshooting adb shell issues)