Home » Ubuntu » Linux Android ADB driver

Linux Android ADB driver

development environment changed to Ubuntu, ADB drivers can not always run, the solution is as follows



  1. creates a configuration file under /etc/udev/rules.d/: 51-android.rules

  2. adds the parameter
    under the file
    Sudo VIM /etc/udev/rules.d/50-android.rules


#Acer 0502
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "0502", "", "MODE=", "0666",
#Dell 413c
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "413c", "", "MODE=", "0666",
#Foxconn 0489
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "0489", "", "MODE=", "0666",
#Garmin-Asus 091E
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "091E", "", "MODE=", "0666",
#HTC 0bb4
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "0bb4", "", "MODE=", "0666",
#Huawei 12d1
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "12d1", "", "MODE=", "0666",
#Kyocera 0482
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "0482", "", "MODE=", "0666",
#LG 1004
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "1004", "", "MODE=", "0666",
#Motorola 22b8
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "22b8", "", "MODE=", "0666",
#Nvidia 0955
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "0955", "", "MODE=", "0666",
#Pantech 10A9
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "10A9", "", "MODE=", "0666",
#Samsung 04e8
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "04e8", "", "MODE=", "0666",
#Sharp 04dd
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "04dd", "", "MODE=", "0666",
#Sony Ericsson 0fce
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "0fce", "", "MODE=", "0666",
#ZTE 19D2
SUBSYSTEM== "USB", "", "ATTR{idVendor}==", "19D2", "", "MODE=", "0666",


  1. save, plus permissions

    sudo, Chmod, a+rx, /etc/udev/rules.d/50-android.rules,

    Sudo /etc/init.d/udev restart

    ends, heavy plugging Android devices, see


if you still can't recognize it, maybe the USB device ID is not in the configuration above, you need to add

1. lsusb view device record


simon@simon-pc:~$lsusb
Bus 004 Device 002: ID 8087: 8000 Intel Corp.
Bus 004, Device, 001: ID, 1d6b:0002, Linux, Foundation,, 2.0, root, hub
Bus 003 Device 002: ID 8087: 8008 Intel Corp.
Bus 003, Device, 001: ID, 1d6b:0002, Linux, Foundation,, 2.0, root, hub
Bus 002, Device, 001: ID, 1d6b:0003, Linux, Foundation,, 3.0, root, hub
Bus, 001, Device, 004: ID, 093a:2510, Pixart, Imaging, Inc., Optical, Mouse
Bus, 001, Device, 003: ID, 413c:2003, Dell, Computer, Corp., Keyboard
Bus 001 Device 013: ID 2207: 0010
Bus, 001, Device, 002: ID 0451: 8142, Texas, Instruments, Inc.
Bus 001, Device, 001: ID, 1d6b:0002, Linux, Foundation,, 2.0, root, hub


  1. finds the device and adds the configuration


Bus 001, Device, 013:, ID, 2207:0010,



at the end of the /etc/udev/rules.d/50-android.rules file, adding a row of
in the form
SUBSYSTEM== "USB", ATTR{idVendor}== "2207", MODE= "0666",




over




copyright notice: This article is original article for blogger. Without permission from blogger,.

must not be reprinted

Latest