[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-23 Thread Raphael

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 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
-~--~~~~--~~--~--~---



[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-21 Thread Al Sutton

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-develop...@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 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
-~--~~~~--~~--~--~---



[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-21 Thread Al Sutton

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-develop...@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 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
-~--~~~~--~~--~--~---



[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-21 Thread Cédric Berger
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 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
-~--~~~~--~~--~--~---



[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-20 Thread Al Sutton

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_0BB4PID_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. 

-Original Message-
From: android-developers@googlegroups.com 
[mailto:android-develop...@googlegroups.com] On Behalf Of Raphael
Sent: 19 May 2009 22:57
To: android-developers@googlegroups.com
Subject: [android-developers] 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_0bb4pid_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
-~--~~~~--~~--~--~---



[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-20 Thread Al Sutton

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. 

-Original Message-
From: android-developers@googlegroups.com 
[mailto:android-develop...@googlegroups.com] On Behalf Of Raphael
Sent: 19 May 2009 22:57
To: android-developers@googlegroups.com
Subject: [android-developers] 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_0bb4pid_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
-~--~~~~--~~--~--~---



[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-20 Thread Al Sutton

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. 


-Original Message-
From: Al Sutton 
Sent: 20 May 2009 08:51
To: 'android-developers@googlegroups.com'
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. 

-Original Message-
From: android-developers@googlegroups.com 
[mailto:android-develop...@googlegroups.com] On Behalf Of Raphael
Sent: 19 May 2009 22:57
To: android-developers@googlegroups.com
Subject: [android-developers] 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_0bb4pid_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
-~--~~~~--~~--~--~---



[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-20 Thread John Burton



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 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
-~--~~~~--~~--~--~---