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
Fisbein, on

I have the same problem with the ADP on Ubuntu Karmic, I solved changing your udev rule with the HTC vendor ID:


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


Aphyr, on

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.

Jon, on

This is what I used for a motorolla droid on 9.10:


SUBSYSTEM==“usb”, ATTRS{idVendor}==“22b8”, SYMLINK+=“android_adb”, MODE=“0666”

ubuntero, on
El idVendor se obtiene mediante el comando lsusb…

The idVendor is get by lsusb command…

eagle, on

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, on

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.

Brandon, on

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, on

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.

Brandon, on

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

Guilherme, on

Hello there! What does this “GROUP” mean exactly?

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

Aphyr, on

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

Tsung.W, on

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

cutepig, on

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

Novaradix, on

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:

Post a Comment

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

Supports github-flavored markdown for [links](, *emphasis*, _underline_, `code`, and > blockquotes. Use ```clj on its own line to start a Clojure code block, and ``` to end the block.

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