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

11 thoughts on “Manually adding Android ADB USB driver in Ubuntu 14.04 LTS

  1. Thanks so much.
    Following official developer guides had me stuck.
    Editing the file (adb_usb.ini) that says “DO NOT EDIT” did the trick.

  2. I am using Ubuntu 14.04 LTS with Samsung Galaxy S4. When I connect to my laptop with phone through cable and type ‘lsusb’ in terminal. I dont see my phone being listed.
    Can you help in resolving this issue.

    Thanks,
    Aashish

    • – Once again, make sure that you have connected your Samsung Galaxy S4 in USB Debugging mode.
      – Some times USB cables other than Samsung’s might cause a problem.

    • You can as many vendor id’s as you want. Please make sure that you add one vendor id per line. 
Sample:
      #Android vendor id list:
0x283b
      0x284b
0x285b

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s