How To Permanently Root HTC Desire HD On Android Froyo

The recent OTA update closed some of the rooting procedures available in the wild. The most commonly used method for rooting the HTC Desire HD is using the tool called “VISIONary”. But many users ran into problems because the automated tool puts a lot of stuff back to flash that cause problems in future. We suggest manual method for getting your Desire HD permanently rooted.

HTC_Desire_HD_permanant_root

ROOT HTC DESIRE HD ON ANDROID 2.2 FROYO

Disclaimer: As in case with all rooting mods, your device voids warranty. Proceed at your own risk. We are not responsible if your device gets bricked or damaged during the process.

PREREQUISITES

1. You need to have Firmware 1.32.405.6 or lower to root your Desire HD. You can check the firmware version on your phone by going to “Settings”—>”About Phone”—> “Firmware Version”. If you have applied the recent OTA update (Dec 2010 update), then you should probably have 1.72 firmware. In such case, first downgrade to version 1.32.405.6. Follow our comprehensive guide on how to downgrade HTC Desire HD to 1.32.405.6 from 1.72.

2. You need to have ADB Setup in your computer. Follow our guide on how tot setup ADB in Windows.

3. Download Temporary Root Package onto your computer and extract it’s contents.

4. Download and install “Terminal Emulator” app on your phone from Android Market.

5. If you have installed “VISIONary” tool, make sure you have completely uninstalled it before proceeding.

6. Download gfree on to your computer and extract it’s contents.

7. Finally, make sure your phone has sufficient battery charge before proceeding.

ROOTING INSTRUCTIONS

The rooting is carried in two phases. First we will achieve temporary root access to inject the exploit for permanent root access. You need to go through entire process. Don’t jump right away to Permanent Rooting instructions!

Temporary Rooting Instructions

1. Move or copy the downloaded Temporary Root Package to the “platform-tools” folder in the Android SDK folder.

2. Put your HTC Desire HD into USB Debugging mode. To do it, go to “Applications”—> “Settings” –> “Applications” –> “Development” –> and check the box “USB debugging”.

3. Connect the HTC Desire HD to computer via USB cable.

4. On the computer, open Command Prompt and the run the following commands one at a time:

adb push su /sdcard/su
adb push Superuser.apk /sdcard/Superuser.apk
adb push rage /data/local/tmp/rage
adb push busybox /data/local/tmp/busybox
adb push root /data/local/tmp/root
adb shell chmod 0755 /data/local/tmp/*

5. Now launch Terminal Emulator app on your Desire HD and run the following command in it:

/data/local/tmp/rage

6. Wait till the process completes. You should see “Forked #### childs”.

7. Then press the “Menu button and select “Reset Term”. The Terminal Emulator will exit out.

8. Launch Terminal Emulator again. It will force close. Launch it once more, and you’ll have a root shell!

You have now successfully completed temporary rooting. Follow the below instructions for achieving permanent root access to your HTC Desire HD.

Permanent Rooting Instructions

You need to first complete temporary rooting instructions (given above) before proceeding with below instructions!

1. Move or copy the gfree contents to the “platform-tools” folder in the Android SDK folder.

2. Put your HTC Desire HD into USB Debugging mode. To do it, go to “Applications”—> “Settings” –> “Applications” –> “Development” –> and check the box “USB debugging”.

3. Connect the HTC Desire HD to computer via USB cable.

4. On the computer, open Command Prompt and the run the following commands one at a time:

adb push gfree /data/local
adb shell chmod 777 /data/local/gfree

5. Launch Terminal Emulator app on your Desire HD and run the following command in it:

/data/local/gfree -f
sync
/data/local/tmp/root

6. You may get an error “mkdir: /system/xbin already exists”. Ignore it and proceed.

Wait for the process to finish.

If gfree gives you a message that it failed to powercycle the eMMC, then your Desire model doesn’t work with the 0.04 version of gfree. In such case download gfree 0.02 and follow the same instructions again.

After the process is complete, reboot your HTC Desire HD. Congrats! You have successfully rooted your HTC Desire HD.

[ XDA Developers]

You may also like...

10 Responses

  1. Joseph says:

    Hi,
    my firmware is 1.32.832.6, will this method work on it or do I still need to downgrade to 1.32.405.6?
    Here are the details of my phone:

    android 2.2

    baseband 12.28b.60.140eU_26.03.02.26_M

    kernel version 2.6.32.21-gf3f553d
    htc-kernel@and18-2 #1
    Thu Oct 28 13:24:11 CST 2010

    build number 1.32.832.6 CL278359 release-key

    software number 1.32.832.6

    browser version WebKit 3.1

  2. dkszone says:

    You need to downgrade to 1.32.405.6 to apply the root.

  3. Dan says:

    Rage – Android / Exploit.RageCage.A trojan …
    I fear that it may infect other files on the phone.
    It is possible to delete all files after the root used
    especially the “rage”
    I thank in advance.

  4. Ray says:

    My firmware is 1.37.771.3, I’m guessing I still have to downgrade, but can I use the same method as if I were downgrading from 1.72? Thanks.

  5. Bicer says:

    When I try to downoad ‘Temporary Root Package’, intenet explorer says; ‘virus found and file was deleted’. could someone light me aboutit please? Is it unsafe to continou?

    • dkszone says:

      It is safe to continue. Disable the antivirus temporarily and complete the process.

    • dkszone says:

      It is safe to continue. It is one of those false positives. Disable the antivirus temporarily and complete the process.

  6. Bicer says:

    Could you please tell me what happens if I fail to succeed to complete this rooting process? Will my phone still work? I am new to HTC and don’t understand anything about these rooting things.

  7. Bicer says:

    Sorry for first of all. Thanks for your answers.

  8. Sammylao13 says:

    hi dkszone, i have an htc desire hd (asia):
    android 2.2
    baseband 12.28a.60.140eu_26.03.02.08_m
    kernel version 2.6.32.21-g29fe312
    htc-kernelu18000-build-149#1
    build number 1.32.707.1 cl270272 release-keys
    software number 1.32.707.1

    should i still downgrade to 1.32.405.6 before i root? will this wipe the contents of my phone?
    sorry i’m new to rooting.
    thanks,
    Sammy