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.