If you don't use Windows or adb has no problem with your device,
please skip this.
If your G1 or HTC Magic is not properly recognized by ADB under
Windows, please read this.

The bottom line: Please make sure to enable Home > Settings >
Applications > Development > USB debugging on your G1 or HTC Magic
*before* you plug it in Windows the very first time.

If you read this after the fact, googling why "adb doesn't recognize
my device under Windows", here are the steps to fix it:

This concerns both the G1 and HTC Magic and all flavors of Windows.

1- Remove existing drivers:
1a- Plug your phone
1b- Open the Device Manager
1c- Remove any driver for [ADB Interface > HTC Composite ADB
Interface] and [Disk Drives > HTC Android Phone USB Device] if you see
them
1d- Unplug phone

2- Edit the registry
2a- Disclaimer: be careful what you do in regedit. If you're not sure,
don't use it :-)
2b- Open the Registry Editor (Start > search/run > regedit)
2c- You _may_ need to be administrator to do that
2d- Search for "vid_0bb4&pid_0c02" in keys or values. It makes take a
while. If you find in a value, delete the whole key folder.
2e- Some keys might be "locked": right-click them and add "everyone:
full control" to the permissions. Then delete the key folder.
2f- Repeat the search till no more instances are found.
2g- Close regedit.

3- Before your plug in your phone:
3a- Make sure to enable Home > Settings > Applications > Development >
USB debugging on your G1 or HTC Magic
3b- Plug the phone in. Windows should now ask you for a driver
3c- Do NOT selected to search the Windows Update. Instead select "I
will choose a driver" or the equivalent.
3d- Make sure to give the *full* path to the x86 or x86_64 driver, e.g:
     SDK/usb_driver/x86/
or  SDK/usb_driver/x86_64/
If you just select "SDK/usb_driver", Windows might take the wrong
architecture and complain the driver can't be installed.


Thanks for those who reported the issue and helped me solve it.

Relevant threads:
http://groups.google.com/group/android-beginners/browse_thread/thread/8f99c245c78af3ab/54f9bf343ada8cfd
http://groups.google.com/group/android-developers/browse_thread/thread/ab6e89c4b51cd905/36d3f4a8dcc0e144

R/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to