Manually adding Android ADB USB driver in Ubuntu 14.04 LTS

Requirements:
Operating System: Ubuntu 14.04 LTS
Android Developer Tools (ADT) installed

Steps:
Make sure that you have connected your Android device in USB Debugging mode

Open Terminal (Ctrl + Alt + T) and type.
lsusb

Now you might get a similar reply on the screen
Bus 002 Device 013: ID 283b:1024

Note:
“Bus 002 Device 008: ID 283b:1024”
{idVendor}==”283b”
{idProduct}==”1024″

Now enter the following command:
sudo gedit /etc/udev/rules.d/51-android.rules

Add a new line to this file:
SUBSYSTEM==”usb”, ATTRS{idVendor}==”283b”, ATTRS{idProduct}==”1024″, MODE=”0666″ 

Edit idVendor & idProduct values, for your device.
Save and close.

Now enter the following command:
sudo chmod a+rx /etc/udev/rules.d/51-android.rules
sudo service udev restart

Now we have to add the idVendor in adb_usb.ini
Now enter the following command:
cd ~/.android
gedit adb_usb.ini

Add the following value
0x283b

This is nothing but 0x(idVendor value). So replace the value with respect to your device value
Now Save and close the file.

Now enter the following command:
sudo service udev restart

Plug out the Android device and reconnect it again.
Now enter the following command:
adb kill-server
adb devices

There you go! Your device must be listed.

Advertisements