Connect to g1 through usb under Ubuntu10.04

Source: Internet
Author: User
In Ubuntu9.04, when g1 is connected through usb and adb is used, the device cannot be found. Solution: 1) When lsusb is run on the terminal, the following similar records are displayed: Bus002Device015: ID0bb4: 0c02HighTechComputerCorp. 2) sudogedit/etc/udev/rules. d/50-Android.rules:

When g1 is connected through usb in Ubuntu 9.04 and adb is used, the device cannot be found. The solution is as follows:
1) Run lsusb on the terminal
The following similar records will be found in the results:
Bus 002 Device 015: ID 0bb4: 0c02 High Tech Computer Corp.

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

Add the following text to the open file:
SUBSYSTEM = "usb", SYSFS {"High Tech Computer Corp." }== "0bb4", MODE = "0666 ″

3) sudo gedit/etc/udev/rules. d/90-android.rules
Add the following text to the open file:
SUBSYSTEM = "usb", ATTR {"High Tech Computer Corp." }== "0bb4", MODE = "0666 ″

4) run the following command:
Sudo chmod a + rx/etc/udev/rules. d/50-android.rules
Sudo chmod a + rx/etc/udev/rules. d/90-android.rules
Sudo/etc/init. d/udev restart

5) run it in the tools directory of the android sdk
Sudo./adb kill-server
Sudo./adb devices
---------------------------- END ---------------------------------

Mainly,
1. Use the device manufacturer name "High Tech Computer Corp." To replace idVendor on the official website. (I guess this is what people mean)
2. Create one more
Sudo gedit/etc/udev/rules. d/90-android.rules content:
SUBSYSTEM = "usb", ATTR {"High Tech Computer Corp." }== "0bb4", MODE = "0666 ″

Then refresh the usb and adb server.

If the image is flushed, you also need a boot image, which is the same as the boot image of the kernel loaded when the Desktop linux is started, the wide spread on the Internet seems to be a recovery in the report issued along with the flash Machine Tool of the window version. img,
Put the image mentioned above in the same directory of fastboot, and then let the mobile phone enter the startup interface of the three android robots (G2 is the bounce key + press at the same time) then run fastboot boot recovery from the terminal. img, after the img file is transferred, the phone will automatically restart, that is, enter the menu of the flash machine, then wipe, update.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.