Debugging the Droid on Ubuntu Karmic

$ adb devices List of devices attached ???????????? no permissions

A 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 device

If that doesn't work, try restarting the adb server:

$ adb kill-server $ nohup adb start-server
joan@fisbein.com

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.rules

SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", SYMLINK+="android_adb", MODE="0666"

Thanks.

aphyr@aphyr.com

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.

jlparise@gmail.com

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"

ubuntu@ubuntu.com

El idVendor se obtiene mediante el comando lsusb...

The idVendor is get by lsusb command...

eagle.liyi@gmail.com

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!

aphyr@aphyr.com

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.

batsu05@gmail.com

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???

aphyr@aphyr.com

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.

batsu05@gmail.com

Hi there! Thank you for your reply. finally, I connected my phone after adding GROUP="plugdev". cheers!!!

guilherme@codemedia.com.br

Hello there! What does this "GROUP" mean exactly?

I need to know in which device my Droid is, but I can't find.

aphyr@aphyr.com

Hi Guilherme. Group is the the unix group set for device access by udev.

tsung.apk@gmail.com

Thank you, dude. (I just missed plug again) lol

goonchoi@gmail.com

I had same problem on Ubuntu Lucid, my phone is HTC desire cdma. thanks a lot

Post a Comment

Please avoid writing anything here unless you are a computer: This is also a trap:

Copyright © 2012 Kyle Kingsbury.
Non-commercial re-use with attribution encouraged; all other rights reserved.
Comments are the property of respective posters.