Coding

USB Driver for Android with HTC Legend (on windows)

Since ADB Manager has not included the configuration for HTC Legend, it is not possible to install the ADB USB Driver, in order to enable debug on phone directly from Eclipse.
There is a solution to this problem..

Open the path where you have installed Android SDK, make sure that you have downloaded/installed “USB Driver” otherwise start the SDK-Setup.exe and download the package.

When downloaded a directory “usb_driver” is found in the android-sdk path, go into that directory and open the file “android_winusb.inf”.
Search for:
[sourcecode language=”java”]
[Google.NTx86]
[/sourcecode]

and below add at the end of that catagory

[sourcecode language=”java”]
;
;HTC Legend
%SingleAdbInterface% = USB_Install, USB\VID_0BB4PID_0C97&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C97&REV_0226&MI_01
[/sourcecode]

After that, under Device Manager, update the drivers for your HTC Legend and it should detect and install the drivers automatically. Otherwise point out the path to “usb_driver” directory and it will find it.

[ad]

The total catagory would look like this example:
[sourcecode language=”java”]
[Google.NTx86]
; HTC Dream
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C01
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
; HTC Magic
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
;
;Moto Sholes
%SingleAdbInterface% = USB_Install, USB\VID_22B8&PID_41DB
%CompositeAdbInterface% = USB_Install, USB\VID_22B8&PID_41DB&MI_01
;
;Google NexusOne
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_0D02
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_0D02&MI_01
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_4E11
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E12&MI_01
;
;HTC Legend
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C97
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C97&MI_01
[/sourcecode]

8 thoughts on “USB Driver for Android with HTC Legend (on windows)

  1. I couldn’t get windows to install the driver untill I changed the text into this :
    ;
    ;HTC Legend
    %SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C97
    %CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C97&MI_01

    Perhaps the & was causing an issue since changing it into & made it work
    Unfortunatly, my Legend is being recognised as a ADB Interface, but it’s not popping up in Eclipse yet.

  2. @Pawel
    Ok, here’s an update. Adding the script to the inf file and searching for drivers in windows manually did install my Legend as a USB device.

    The problem was that I couldn’t see the device as an available option in the device chooser, even though a check in the command line did recognise my phone. To make the check in windows, go to start -> execute and type cmd. In the command line type cd c:\locationofthesdk\tools Then type adb devices and the phone serial will show if it’s connected.

    In Eclipse all that I needed to do was to MANUALLY select my phone. That’s all, it just didn’t show in the list of available devices atumatically.

  3. Pawel, that is correct. There has been a change to this and should now be:

    ;
    ;HTC Legend
    %SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C97&MI_01
    %CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C97&REV_0226&MI_01

  4. mwahhhh i love u the blog owner..
    its been past 24 hours i was trying and trying and now HTC Legend usb drivers working!!!
    thanks again mate! cheers

  5. when i use the cmd prompt and type adb devices. HTC legend won’t shw up. but when i looked at the device manager everything is fine.

    HELP?

Leave a Reply

Your email address will not be published. Required fields are marked *