Connect Android Device for Development in Linux (Ubuntu) - marwanAmeen/DroidoYem GitHub Wiki

  • _Create a file from the terminal _

sudo touch /etc/udev/rules.d/51-android.rules

  • Edit the file :

sudo edit /etc/udev/rules.d/51-android.rules

  • _When a file editor pops up _

Use this format to add each vendor to the file:

SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"

List of Vendor Ids

In this example, the vendor ID is for HTC, vendor id of HTC is “0bb4”. The MODE assignment specifies read/write permissions, and GROUP defines which Unix group owns the device node.

You can add multiple device vendor id with creating new line for each venor

SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"

  • _ After , Save the file and run the following command in terminal_

chmod a+r /etc/udev/rules.d/51-android.rules

Restart the eclipse and enjoy the usb debugging in android with ubuntu.

Enjoy

MArwan