Saturday, May 9, 2009

How to detect your android device on Ubuntu 9.04 Jaunty x32

To detect your Android Dev phone on ubuntu 9.04 (Jaunty, x32), do the following:

1. cd /etc/udev/rules.d/

2.a. if you have a file named 50-android.rules, then do:
mv 50-android.rules 51-android.rules

2.b. if you don't have the file, do the following:
vi 51-android.rules (note: it will create a new file)
In this file, add the following:

UBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"

3. Unplug and plug again your device, then type:
adb devices

and you should see something like:
List of devices attached
HT...... device

For more info, check out this post on Android Google Groups:

Ubuntu Jaunty and adb not playing well together