$ adb devices
List of devices attached
???????????? no permissionsA few things have changed since the Android docs were written. If you want to talk to your Motorola Droid via ADB in Ubuntu 9.10 Karmic, I recommend the following udev rule.
# /etc/udev/rules.d/99-android.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="22b8", SYMLINK+="android_adb", MODE="0666" GROUP="plugdev"Restart udev, unplug and re-plug the device, and it should show up! Make sure USB debugging is enabled on your droid.
$ sudo restart udev
$ adb devices
List of devices attached
0403681F17009017 deviceIf that doesn't work, try restarting the adb server:
$ adb kill-server
$ nohup adb start-server
I have the same problem with the ADP on Ubuntu Karmic, I solved changing your udev rule with the HTC vendor ID:
/etc/udev/rules.d/99-android.rulesSUBSYSTEM==“usb”, ATTRS{idVendor}==“0bb4”, SYMLINK+=“android_adb”, MODE=“0666”
Thanks.
As Joan helpfully noted, you’ll want to specify the correct USB vendor (and, if you’re a stickler for accuracy, device ID as well). You can get both of these from
lsusb–the first half of the ID is the vendor ID, and the second half is the device ID.This is what I used for a motorolla droid on 9.10:
/etc/udev/rules.d/99-android.rules
SUBSYSTEM==“usb”, ATTRS{idVendor}==“22b8”, SYMLINK+=“android_adb”, MODE=“0666”
The idVendor is get by lsusb command…
Hi, i’ve tried your instructions on Ubuntu 10.4, it doesn’t work…So do you have some ideas?
On the site of Android, it’s /etc/udev/rules.d/55-android.rules, so 55 or 99 really matter? In 10.04, it’s another number?
Thank you for your help!
Sorry for the delay Eagle, I’ve been on vacation for a week. I haven’t upgraded to 10.4 yet, but when I do I’ll give it a try and update this page. The number tells udev what order to run the rules in. I like to have my custom rules loaded absolutely last, so I chose 99.
Hello there! I also updated to Ubuntu 10.04. and I’ve checked working well Droid on Ubuntu 10.04 but, the things what I exactly want to connect is Other Vendor, Pantech 10A9, It doesn’t work!! please could you help me what I should modify another thing you not mention???
Hi Eagle. I’ve upgraded to 10.04, and ADB is working just fine. You may want to add GROUP=“plugdev” to the rule, and see if that helps.
Brandon, you might take a look at lsusb. You’ll need to use the right vendor ID for your phone.
Hi there! Thank you for your reply. finally, I connected my phone after adding GROUP=“plugdev”. cheers!!!
Hello there! What does this “GROUP” mean exactly?
I need to know in which device my Droid is, but I can’t find.
Hi Guilherme. Group is the the unix group set for device access by udev.
Thank you, dude. (I just missed plug again) lol
I had same problem on Ubuntu Lucid, my phone is HTC desire cdma. thanks a lot
Connecting android device in ubuntu (Linux) guide. First of all you have to login with root user.
Log in as root and create this file: /etc/udev/rules.d/51-android.rules.
Use this format to add each vendor to the file: SUBSYSTEM==“usb”, ATTR{idVendor}==“0bb4”, MODE=“0666”, GROUP=“plugdev” For more information please look at here:
http://androiddeveloperspot.blogspot.in/2013/01/usb-debugging-in-android-ubuntu.html