Debugging using my Android mobile phones in Ubuntu 9.10 (Karmic Koala)

Android, gnu/linux, libre software, mswl, mswl-cases

Hi at all!!!

This note should be write long time ago, when i used it for first time, but i always forget to write anything about it, and simply put as my favorites in my web brwoser…

Now i already have my own blog, and how i promised in the beggining i’m going to write any tip that i think is useful for me and others.

Well, how like many of you know, i’m doing my Final Master Thesis that is an Android application, and one way for debugger any Android app is use your Android mobile phone for this.

Before of all, in Ubuntu GNU/Linux you must do one easy-setup in your OS, and this post is based in it .

I have two Android mobile phones, and each of them have one way to doing:

a) Dev Phone (also named HTC G1, but my model is all root manufactured, hardware and software):

In this link explains how to setup, in Ubuntu Dapper (6.10) and Gutsy/Hardy  (7.10 and 8.04), now i have Karmic Koala (9.10) and the way is the same like Gutsy/Hardy:

1) Log in as root and create this file:


2) Edit and save the file with the next line:

SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4",MODE="0666"

3) Change the uses permission executing:

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

And that is all!!

b) Nexus One (yeah… my gift from Google..😉 ):

The original source where i’ve found this tip is in this web site.

The way to follow is very similar to the previous, but with one important change in the vendor id (point 2):

1) Edit this file (if not exist, create it, and open for edit):


2) Edit and save whit this line:

SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"

(how u see the idVendor is different from the Dev Phone one)

3) If the file doesn’t exists previously u must do the same that the previous tip:

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

And,.. how the previous.. that’s all!!!

Well i hope be useful for all of you!!!!

see u!!!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s