2009年5月10日星期日

Connecting and debugging G1 on Ubuntu 9.04

From:http://www.maximyudin.com/

Today, I have updated my Ubuntu on 9.04 version. And my G1 doesnt work, ADB tool dont find it. I have found a solution of this problem on Almond Mendoza blog.

An instruction below:

1) In terminal, type lsusb

Result:
Bus 002 Device 015: ID 0bb4:0c02 High Tech Computer Corp.

2) sudo gedit /etc/udev/rules.d/50-android.rules

Paste the following string to the file (the {idVendor} is “High Tech Computer Corp.)
SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4″, MODE=”0666″

3) sudo gedit /etc/udev/rules.d/90-android.rules

Paste the following string to the file (the {idVendor} is “High Tech Computer Corp.)
SUBSYSTEM==”usb”, ATTR{idVendor}==”0bb4″, MODE=”0666″

3) Run

sudo chmod a+rx /etc/udev/rules.d/50-android.rules

sudo chmod a+rx /etc/udev/rules.d/90-android.rules

Then sudo /etc/init.d/udev restart

4) Go to SDK tools directory and type the following text:

sudo ./adb kill-server

sudo ./adb devices

That’s all :)

没有评论:

发表评论