Friday, July 16, 2010

How to root an HTC Desire using Unrevoked on a 64 bit Windows

Just recently, the "Unrevoked" one click rooting program became available from http://unrevoked.com.

The "Unrevoked" root won't run on a Windows 7 64 bit out of the box, on an HTC desire, because of a missing driver. This can be easily fixed in a few steps.

Some of you might have noticed that neither the HTC sync drivers nor the Android SDK have the "Android Bootloader Interface" drivers for a 64 bit Windows. You can't really get them either.

Luckily, the Android SDK drivers have a 64 bit version of the ABI driver. The problem is, that the USB identification of the device is unknown to the driver. To fix it, we need to add the following line to the "android_winusb.inf" file:

[Google.NTamd64]
%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0C94&REV_0100

This line defines that on a 64 bit machine, if the USB device with a vendor ID of 0x0BB4 (HTC) and a product ID of 0x0C94 (Bootloader interface on HTC Desire), then the driver that should be installed is "%SingleBootLoaderInterface%".

After that, install the driver you altered and that's it.

This is how the USB driver identifies itself (when the driver is not installed, you can look at the hardware IDs of the device identified as "Android 1.0" (which is the bootloader interface before the driver is installed).
Just right click the driver, click Properties, go to Details, and look at the "Hardware Ids" section. You can do the same trick for any other Android device which supports ABI.

4 comments:

Vitaly said...

Thanks a lot!

Vitaly said...
This comment has been removed by the author.
Unknown said...

Hi Ron!

I tried tonight using the unrevoked to root my HTC Desire on a Windows 7 64 bit system. I didnt realise until after nothing happened during when unrevoked kept saying "wating for device. Plug in phone now..." for a very long time that this dont work on my type of system. I tried to reinstall the modified drivers (incl androd_winusb.inf) with the added line (it should go in the end right?) but my problem remains, i.e. unrevoked still says "wating for device. Plug in phone now...". What can be wrong? Thx for answering! /Kent

Unknown said...

good day ron..pls help me. how to modified inf file if I want to install unrevoked modified usb driver. im using HTC incredible 2. my laptop is windows 8.1 64 bit. everytime im installing the unrevoked modified usb driver I get a yellow exclamation sign in device manager. cannot run code 10. pls help me..thanks..