1. Install adb via Apt-get
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb
Connect your Android device to your computer and the ADB shell will prompt "Error:device not found"
2, connect the Android device to the computer, through the LSUSB to view the USB device, the following red section corresponds to the Android device
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:0024 Intel Corp Integrated rate Matching Hub
Bus 002 Device 002:id 8087:0024 Intel Corp Integrated rate Matching Hub
Bus 001 Device 027:id 1f3a:1002
Bus 002 Device 003:id 046d:c077 Logitech, Inc.
3. Create Adb_usb.ini file, write ID
echo 0x1f3a > ~/.android/adb_usb.ini
4. Add Permissions
sudo vim/etc/udev/rules.d/70-android.rules
Add the following to note that the Red section corresponds to the ID that LSUSB gets
subsystem== "USB", attrs{idvendor}== "1f3a", attrs{idproduct}== "1002", mode= "0666"
5. Restart the USB service
$sudo chmod a+rx/etc/udev/rules.d/70-android.rules
$sudo Service Udev Restart
6. Restart the ADB service, ADB devices has a device stating that the ADB installation was successful
$ADB Kill-server
$sudo adb start-server
$ADB devices
List of devices attached
815105148800601fe42 Device
Ubuntu12.04 installing ADB