ubuntu adb shell configuration

In order to ensure that the computer can burn the device, you first need to add the following command to the /etc/udev/rules.d/51-android.rules file:

   SUBSYSTEM=="usb", ATTR{
    
    idVendor}=="0e8d", ATTR{
    
    idProduct}=="201c", MODE="0666",GROUP="plugdev"
   SUBSYSTEM=="usb", ATTR{
    
    idVendor}=="0bb4", ATTR{
    
    idProduct}=="0c01", MODE="0666",GROUP="plugdev"

Note: If the computer has not been configured with ADB, you also need to add the following command to the /etc/udev/rules.d/51-android.rules file:

SUBSYSTEM=="usb", ATTR{
    
    idVendor}=="18d1", ATTR{
    
    idProduct}=="e447", MODE="0666",GROUP="plugdev"

Finally restart the udev service:

 sudo service udev restart

Guess you like

Origin blog.csdn.net/weixin_41477306/article/details/108166650