Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to solve "G1/HTC Magic not recognized by ADB under Windows"
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Raphael  
View profile  
 More options May 19 2009, 5:57 pm
From: Raphael <r...@android.com>
Date: Tue, 19 May 2009 14:57:10 -0700
Local: Tues, May 19 2009 5:57 pm
Subject: How to solve "G1/HTC Magic not recognized by ADB under Windows"
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...
http://groups.google.com/group/android-developers/browse_thread/threa...

R/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Sutton  
View profile  
 More options May 20 2009, 3:38 am
From: Al Sutton <a...@funkyandroid.com>
Date: Wed, 20 May 2009 09:38:20 +0200
Local: Wed, May 20 2009 3:38 am
Subject: RE: [android-developers] How to solve "G1/HTC Magic not recognized by ADB under Windows"
This doesn't seem to fix the problem I have on Vista 32 bit.

This could be related to some undeletable keys in the registry called VID_0BB4&PID_0C02 I've tried deleting them and I get and "Error while deleting key", I've tried altering the permissions and I get "Access is denied" (this is when regedit is started from a command prompt that was started with "Run as Administrator"). In Safe mode I get a blanket permission denied message when trying to just edit the keys.

Al.

---

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the
company number  6741909. The registered head office is Kemp House,
152-160 City Road, London,  EC1V 2NX, UK.

The views expressed in this email are those of the author and not
necessarily those of Funky Android Limited, it's associates, or it's
subsidiaries.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Sutton  
View profile  
 More options May 20 2009, 3:50 am
From: Al Sutton <a...@funkyandroid.com>
Date: Wed, 20 May 2009 03:50:46 -0400
Local: Wed, May 20 2009 3:50 am
Subject: RE: [android-developers] How to solve "G1/HTC Magic not recognized by ADB under Windows"
For those having trouble deleting keys in vista, you might want to try the tip at;

http://forums.techarena.in/vista-help/1075752.htm#post4093603

Al.

---

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the
company number  6741909. The registered head office is Kemp House,
152-160 City Road, London,  EC1V 2NX, UK.

The views expressed in this email are those of the author and not
necessarily those of Funky Android Limited, it's associates, or it's
subsidiaries.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Sutton  
View profile  
 More options May 20 2009, 4:00 am
From: Al Sutton <a...@funkyandroid.com>
Date: Wed, 20 May 2009 10:00:19 +0200
Local: Wed, May 20 2009 4:00 am
Subject: RE: [android-developers] How to solve "G1/HTC Magic not recognized by ADB under Windows"
Although even this didn't fix the problem. I still get "Windows was able to successfully install device driver software, but the driver software encountered a problem when it tried to run. The problem code is 10."

Raphael, if you want the "Check for solutions" log file which has all my devices listed let me know and I'll email it to you along with the .inf file windows is trying to use (which is the one from the 1.5_r1 SDK).

Al.

---

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the
company number  6741909. The registered head office is Kemp House,
152-160 City Road, London,  EC1V 2NX, UK.

The views expressed in this email are those of the author and not
necessarily those of Funky Android Limited, it's associates, or it's
subsidiaries.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Burton  
View profile  
 More options May 20 2009, 7:50 am
From: John Burton <john.bur...@jbmail.com>
Date: Wed, 20 May 2009 04:50:57 -0700 (PDT)
Local: Wed, May 20 2009 7:50 am
Subject: Re: [android-developers] How to solve "G1/HTC Magic not recognized by ADB under Windows"

Al Sutton wrote:
> This doesn't seem to fix the problem I have on Vista 32 bit.

I had exactly the same problem on vista, it's not possible to delete
the keys.
What I did was open the device manager in control panel and then turn
on "show all devices" or something like that. I don't have vista handy
so can't fine the exact option but it's on one of the menus.

Then I uninstalled any devices that looked like it belonged to the
phone. I had tried this before but without the option to show
everything turned on and likely missed some. Uninstalling the device
removes the entries in the registry so you can see when it has worked.
Clearly uninstalling random devices isn't the best idea so be careful.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Sutton  
View profile  
 More options May 21 2009, 2:53 am
From: Al Sutton <a...@funkyandroid.com>
Date: Thu, 21 May 2009 08:53:50 +0200
Local: Thurs, May 21 2009 2:53 am
Subject: RE: [android-developers] Re: How to solve "G1/HTC Magic not recognized by ADB under Windows"
I think http://support.microsoft.com/kb/241257 describes the easiest way to make sure you get rid of all the android related devices in device manager.

Al.

---

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the
company number  6741909. The registered head office is Kemp House,
152-160 City Road, London,  EC1V 2NX, UK.

The views expressed in this email are those of the author and not
necessarily those of Funky Android Limited, it's associates, or it's
subsidiaries.

-----Original Message-----
From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of John Burton
Sent: 20 May 2009 12:51
To: Android Developers
Subject: [android-developers] Re: How to solve "G1/HTC Magic not recognized by ADB under Windows"

Al Sutton wrote:
> This doesn't seem to fix the problem I have on Vista 32 bit.

I had exactly the same problem on vista, it's not possible to delete
the keys.
What I did was open the device manager in control panel and then turn
on "show all devices" or something like that. I don't have vista handy
so can't fine the exact option but it's on one of the menus.

Then I uninstalled any devices that looked like it belonged to the
phone. I had tried this before but without the option to show
everything turned on and likely missed some. Uninstalling the device
removes the entries in the registry so you can see when it has worked.
Clearly uninstalling random devices isn't the best idea so be careful.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Sutton  
View profile  
 More options May 21 2009, 3:22 am
From: Al Sutton <a...@funkyandroid.com>
Date: Thu, 21 May 2009 09:22:31 +0200
Local: Thurs, May 21 2009 3:22 am
Subject: RE: [android-developers] Re: How to solve "G1/HTC Magic not recognized by ADB under Windows"
Oh my snakes on a plane... it's working... it's actually working!!!!!

OK, here are the things I did;

1) With the g1 *not* connected, I used the MS knowledgebase article (http://support.microsoft.com/kb/241257) to remove the device and selected the "Remove drivers for this device" checkbox for the ADB bridge driver.

2) Turned off auto driver updates (Right click on my computer, select properties, then System protection (on the left), then the hardware tab, then the "Windows Update Driver Settings" button, then selected "Ask me each time I connect a new device before checking for drivers", the Click OK).

3) Fired up the G1, made sure the "USB debugging" was on and "Stay away" was on as well.

4) While the screen was still active (i.e. not gone into lock or sleep), connected the G1.

5) Hey presto... the device is now there :) :) :).

Thanks to everyone who helped fix this.

Al.

---

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the
company number  6741909. The registered head office is Kemp House,
152-160 City Road, London,  EC1V 2NX, UK.

The views expressed in this email are those of the author and not
necessarily those of Funky Android Limited, it's associates, or it's
subsidiaries.

-----Original Message-----
From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of John Burton
Sent: 20 May 2009 12:51
To: Android Developers
Subject: [android-developers] Re: How to solve "G1/HTC Magic not recognized by ADB under Windows"

Al Sutton wrote:
> This doesn't seem to fix the problem I have on Vista 32 bit.

I had exactly the same problem on vista, it's not possible to delete
the keys.
What I did was open the device manager in control panel and then turn
on "show all devices" or something like that. I don't have vista handy
so can't fine the exact option but it's on one of the menus.

Then I uninstalled any devices that looked like it belonged to the
phone. I had tried this before but without the option to show
everything turned on and likely missed some. Uninstalling the device
removes the entries in the registry so you can see when it has worked.
Clearly uninstalling random devices isn't the best idea so be careful.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cédric Berger  
View profile  
 More options May 21 2009, 8:21 am
From: Cédric Berger <cedric.berge...@gmail.com>
Date: Thu, 21 May 2009 14:21:06 +0200
Local: Thurs, May 21 2009 8:21 am
Subject: Re: [android-developers] Re: How to solve "G1/HTC Magic not recognized by ADB under Windows"

On Thu, May 21, 2009 at 09:22, Al Sutton <a...@funkyandroid.com> wrote:
> 5) Hey presto... the device is now there :) :) :).

> Thanks to everyone who helped fix this.

> Al.

cool.

I had asked HTC if they had drivers...

their answer :-( :

"
You recently wrote us about an issue that you have encountered with your htc
To clarify your issue, you stated that: you would like to install usb driver
in Google android SDK 1.5. – Unfortunately we do not do the developer
support and we are unable to answer your question. If the above steps do not
resolve your issue, we invite you to visit the support area on our Web site.
Please go to: http://www.htc.com/www/support.aspx "
"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raphael  
View profile  
 More options May 24 2009, 12:18 am
From: Raphael <r...@android.com>
Date: Sat, 23 May 2009 21:18:13 -0700
Local: Sun, May 24 2009 12:18 am
Subject: Re: [android-developers] Re: How to solve "G1/HTC Magic not recognized by ADB under Windows"
2009/5/21 Cédric Berger <cedric.berge...@gmail.com>:

> I had asked HTC if they had drivers...
> their answer :-( :
> "
> You recently wrote us about an issue that you have encountered with your htc
> To clarify your issue, you stated that: you would like to install usb driver
> in Google android SDK 1.5. – Unfortunately we do not do the developer
> support and we are unable to answer your question. If the above steps do not
> resolve your issue, we invite you to visit the support area on our Web site.
> Please go to: http://www.htc.com/www/support.aspx "
> "

I'll translate: "No, they are part of the Android SDK" :-p

R/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »