How To: Root the HTC Desire (Unrevoked Method) (Updated 1.18.11)

I. Before You Begin

1. This is the easiest method available to root.

2. This method will also flash a custom recovery image so you can start flashing ROMs immediately.

3. On your computer, go to Start > Control Panel > Programs > and Uninstall HTC Sync if it is installed before you continue.

4. UPDATE (1.18.11) – You must have active service on the phone, an SD card in the phone, and use the latest Unrevoked for your specific device from the download page.

II. Root and Flash a Custom Recovery Image

1. Download the Unrevoked Rooting App

Unrevoked (Updated 09.20.10)

*If the above version of Unrevoked doesn’t work, try this one, Unrevoked 3.31.

2. Double click the Unrevoked program you downloaded. If using Windows, then click on the file that appears called Hboot Driver and follow it’s instructions to install the modified HBoot drivers OR click here and download the drivers and install them manually.

3. Once the drivers are successfully installed, double click the Reflash program to open it.

4. Once the driver is successfully installed, turn off the phone by taking out the battery and putting it back in. Then push power to turn it on and get it to the normal home screen.

5. On your computer, right click the Reflash file and run as administrator. It should open Unrevoked and say “waiting for device”.

6. On your phone, click Menu > Settings > Applications > Development > and make sure USB Debugging is checked ON.

7. Plug in your phone into your computer via usb cable.

8. It should automatically locate your phone that is plugged in and you can just follow the prompts to continue.

9. Done! You are rooted and have a custom recovery image!

III. (UPDATE 12.09.10)(Optional) Gain S-OFF

1. Download Unrevoked Forever after rooting the phone using Unrevoked above.

Unrevoked Forever

2. Plug in your phone via USB cable and mount the sd card so you can transfer files to it.

3. Copy the unrevoked .zip file to the root of your sd card (not in any folders just on the sd card itself).

4. Turn off the phone and boot into recovery mode by holding down Volume Down and Power then selecting Recovery.

5. Click Flash .zip from SD card and choose the Unrevoked Forever .zip file and wait for it to flash. All done, you have S-OFF.

IV. (Optional) Load a Custom ROM

1. Head over to our How To Load a Custom ROM procedure.

Big thanks to the Unrevoked Team!

Reported Issues:

Issue: I installed the HBoot drivers but Unrevoked still can’t see my device.

Solution: Try to install these drivers instead OR these drivers instead for step 2 and try again.

401 thoughts on “How To: Root the HTC Desire (Unrevoked Method) (Updated 1.18.11)”

  1. the only problem i have so far with us cellular unrevoked rooted succesfully but nand flash failed… any ideas and what are nand unlocked advantages… thanks Dan

  2. U r a lifesaver.I tried in vain with countless errors using latest unrevoked like ” communications interrupted unexpectedly”etc…until i tried your method ie back to earlier unrevoked and AMAZING it worked for me(htc desire ),,Thank you,thank you a million!!!

  3. U r a lifesaver.I tried in vain with countless errors using latest unrevoked like ” communications interrupted unexpectedly”etc…until i tried your method ie back to earlier unrevoked and AMAZING it worked for me(htc desire ),,Thank you,thank you a million!!!

  4. I just went through the steps and turns out that my firmware is to new. I have a HTC Desire (CDMA) with Android 2.2. Does anyone know any other way I can try and root my phone or am I going to have to wait. Please Help?

  5. Well it took me a long time to figure it out, a day infact.
    I might mention that it looks no different when you’ve rooted it. My phone already had the superuser permission app before i rooted it.
    (i am using the HTC Desire) Now something that the video does not mention.
    with the HTC Desire and some other devices it connects to USB automatically, So you will NOT have the five options when you’re in the recovery menu.
    Also with the HTC desire it does not automatically go into the recovery menu like shown in the video, (that is where i freaked out)
    You scroll down to “recovery” as you can see in the video and press the power button, you’ll have the same menu as he did,
    Now something else got me there, Nandroid was not available.
    Once again i freaked. This worked for me, see if it works for you guys. The option to completely wipe your phone to factory condition is there. Yes it sounds insane but remember you where with the intention of flashing your phone there is no difference :’)
    After realizing this i went for it. And when i restarted my phone using the Root Checker app you can download free from the market it was confirmed that i have root access 🙂
    So it’s worth a try. i’m not trying to destroy your phone 😛
    I will tell you right now that you will lose all of your apps by doing unless they’re saved to your SD card.
    You will lose some other Data like your texts, and contacts that are not saved to your Sim. So remember to take a note of all this before you try what i did.

  6. ok, so i followed all the steps everything was goin smooth, then toward the end it comes up with internal error: failed to unlock NAND flash. What do i do? i’m on us cellular with android 2.2

    1. jp - US cell 2.2 , 1.6 boot

      same exact as devin…went through the process, says “this was a success” then quickly changes message to “Internal error: failed to unlock NAND flash

  7. Sean T Hirsch

    Here is my problem. Can you help?
    Ace pvt ship s-on rl
    Hboot 0.85.0019
    Microp 0438
    radio 26.06.04.06_m
    emmc-boot
    dec 27 2010, 14:47:30
    Easy to follow. simple step by step but ACE is not yet supported.

  8. Hi everyone… My HTC Desire was in my pocket. It was turned off, i think, but when i took it out of my pocket it showed this:

    BRAVO PVT3 SHIP S-ON
    HBOOT-0.93.0001
    MICROP-051d
    TOUCH PANEL-SYNT0101
    RADIO-5.11.05.27
    Aug 10 2010, 17:52:18

    FASTBOOT

    to previous item

    to select item

    BOOTLOADER
    REBOOT
    REBOOT BOOTLOADER
    POWER DOWN

    … is it possible to cancel this?

  9. I am using the latest unrevoked 3.32
    my Hboot is 0.93.0001
    Bravo PVT3 ship S-on
    radio -5.11.05.14
    froyo 2.2
    the only problem i am seeing is there is no recovery as when i go in hboot with vol down and power then click on recovery only a red traingle comes on black screen

    have u got some idea

    and as well i tried to root my phone again using unrevoked and when it try to push recovery and the error comin is

    Validation error :Backup CID is missing

    have u got some idea how to get root access again n how to install custom recovery

    when i go by reflash_package to root n install custom recovery(which is by default clockworkmod recovery 2.5.0. something) error i am getting is
    Error: failed to get root. is your firmware too new?
    i tried rooting through some temp root appliations, i can get temp root, but after every boot its unroot again

    other prob, when i click on recovery in hboot a red traingle comes nothing else, for backup/restore, install zip/update etc. nothing comes here

    have u got some idea whats wrong
    i want to install custom rom, but can not do it really annoying
    plz help
    thanks

    Must Read – Guide to root Android 2.2 (FroYo) on HTC Desire

  10. Excellent Tutorial! I have a Orange Branded Desire 2.2 AMOLED and this worked perfectly. I got stuck at step 3, as I tried to update the driver, but win7 kept saying ‘The current driver is up-to-date’ then I realised- remember to but the phone into HBOOT USB rather than just connecting it up!

    Other than that it seems fine. I’ve had a problem with S-OFF it says failed, terminating, but I’ll try and do it again.

    Thanks for this Unlockr!

    …Now, to get rid of that annoying orange butterfly boot-screen….

  11. in video, unrevoked is downloaded as a .zip file which he extracts , whereas its downloading .exe file. so what should i do now!?

    1. [HOWTO] Fix the Backup CID Missing Error On UnrEVOked

      http://rootmydroid.co.uk/guides/howto-fix-the-backup-cid-missing-error-on-unrevoked/

      Intro

      As you may already know, unrEVOked 3.2 was pulled shortly after release because some people were having misc issues. Annoyingly, this causes a lot of extra errors, such as the Backup CID Missing error.
      What is misc?

      misc is a partition on your phone. It holds various switches and stuff including your CID. When the CID is missing from misc you get the Backup CID Missing error on unrEVOked. It’s not a major error as far as I know, but it is annoying.
      So How do I Fix It?

      There are two options to fix this error. You can use the test version of unrEVOked, or edit misc.
      Option 1 – unrEVOked 3.2-test

      I managed to find unrEVOked 3.2. If you want to use that as a fast-track then that’s fine, but please read the following carefully:

      DISCLAIMER:
      Please be aware that this build was pulled from unrevoked.com because it was not safe.
      USE AT YOUR OWN RISK!

      If it goes wrong and you point the finger at me, I will laugh at you.
      This is only for ‘Backup CID Missing’ errors. if you use this on any other type of misc error it might brick.

      Download. Run in replace of unrEVOked 3.21.
      Option 2 – Editing misc (NOT FOR CDMA PHONES!)

      (Guide edited from http://home.kennynet.co.uk/~kenny/bcid-fix.txt to be more noob-friendly)

      Warning! Misc is quite an important part of your phone. If it gets severely corrupted you may loose USB access. Me or anyone on our IRC help channel take no responsibility if you fuck up somehow.

      This guide is designed for Windows, Linux users use common sense adapting the instructions and can use a Linux hex editor like ghex. (Works just the same)

      Please ensure you have downloaded the other stuff file on the second post before continuing and have extracted it to C:root.

      First, we need to use adb to grab misc off your phone. We will get temporary root then grab misc.

      1) Open a command prompt on your computer by going to Start > Run and typing cmd then pressing enter. Now type the following pressing enter on each line. (Make sure your phone is connected and you have the drivers installed.)

      cd
      cd rootadb
      adb-windows devices <—- Make sure it finds your phone before continuing
      adb-windows shell <—– You should see a $
      $ /system/__unrevoked_su /sdcard/misc.img <—- Copying misc to your SD Card

      # getprop ro.cid <—– This is your CID. Remember what this says, it should say something like HTC_000 or 1111111 if you have a goldcard
      # exit
      adb-windows pull /sdcard/misc.img misc.img <—- Getting the misc we copied before

      You should now have a file called misc.img in the C:rootadb folder.

      Now come on to the IRC help channel here. We will stick the CID into the misc.img so you can carry on as it really is complicated. You can also post here if nobody is avalible and I will sort it ASAP.

      (If you’ve done hex editing before, all you do is put the CID you got above in at position 0 then add a 00 at the end so the hex string looks something like “48 54 43 5F 5F 30 30 31 00“)

      Make sure you save the file that we give you back to C:rootadb overwriting the original misc.img file.

      Next we’re going to push misc back on to the phone using a similar method to step 1. Have open a command prompt and cd to the correct directory as in step 1 before proceeding.

      2) Type the following in the command prompt:

      adb push misc.img /sdcard/new-misc.img <—- Pushing misc back to your SD card
      adb-windows shell
      $ /system/__unrevoked_su <—- getting temp root again
      # /data/local/flash_image misc /sdcard/new-misc.img <—- Using flash_image to flash the new misc

      # exit

  12. Unrevoked Forever don’t work on Desire (Bravo):

    assert(getprop(“ro.product.device”) == “supersonic” ||
    getprop(“ro.build.product”) == “supersonic” ||
    getprop(“ro.product.device”) == “inc” ||
    getprop(“ro.build.product”) == “inc” ||
    getprop(“ro.product.device”) == “heroc” ||
    getprop(“ro.build.product”) == “heroc”);

  13. The “CID missing” error has bugged me all day (yes, seriously. Nothing but tryn everything.) but finally got to root my HTC Desire.. Followed the more manual approach using the guidelines from http://droid-den.com/phone-guides/phone-guide-how-to-root-the-htc-desire . Had tried the one for theUnlockr at https://theunlockr.com/2010/06/07/how-to-root-the-htc-desire/ but the r6-desire-root.zip seems to be damaged so a dead end just like this.

    All in all, great work theUnlockr for all the info..

    #out

  14. the HTC sync app runs in two steps: first it installs a bunch of drivers, then installs the HTC Sync app itself. This worked for me (based on pointers above): Run the HTC sync installer, go through the first phase, then after it unpacks the actual HTC Sync installer and asks to install, cancel the installation. The required drivers exist but the actual HTC Sync is not installed.

  15. I have followed the instructions and for the first time I saw on the Unrevoked program done! and I can see superuser permission on my HTC desire 2.2, but when I wanted to grant root access to uninstall some sys application my phone hanged and restarted. for the second time I went through the Unrevoked method but any time it gives me error :failed to root is your firmware too new?
    so I dont know if I have rooted my desire or not yet? can any one help on this. thanks in advance

  16. ******NEED S-OFF HELP, phone is stuck

    I have done the unrevoked rooting part successfully. When doing the S-Off, after selecting the zip from sdcard, it is stuck.
    — Installing: SDCARD:unrevoked-forever.zip
    Finding update package…
    Opening update package…
    Installing update…

    unrEVOked forever S-OFF patch v1.1

    Verifying system type…

    Next the screen seems stuck for over 15 minutes. How long does it take? What do I need to do?

    1. I removed battery, and rebooted phone in normal mode. Thankfully, my Desire is working.
      Any suggestions what went wrong during S-OFF?

  17. I kept getting stuck at ‘waiting for device’ – unrevoked just never found my device.

    I solved this by downloading HTC Sync and starting to install it. Before it installs HTC Sync, it installs a bunch of other things including the required drivers. After the drivers are installed, you can cancel the HTC Sync installation (since there’s not much point installing it, then uninstalling it) – that way you get the drivers without HTC Sync.

    As soon as I did that, I plugged the phone in and unrevoked found it instantly.

  18. Noob to rooting here, so as of today, is there a way of rooting htc wildfire running android 2.2.1 ?, if so please post link

  19. Is there another way to root a cdma desire on froyo? I’ve tried this several times and it hasn’t worked. I keep getting the failed to unlock nand flash error.

  20. Rooted my Desire! Thanks! But can’t get S-off even with the above instructions. All i get is ‘installation aborted – error 42’. What could this be? I have at least 500MB on the SD. Would appreciate any help..

    1. Also facing the same issue as well, when try to use the unrevoked-forever to S-off my phone. Would surely appreciate any help as well. Or did you finally succeed, Tannyijaz?

      1. @google-d61124f7dcb24edbd49472948fbb837f:disqus No i haven’t succeeded yet, no-one has really gave an effective suggestion on this.

  21. Dears,

    Please, i need to root my HTC desire FROYO 2.2, can i have a detailed procedures and the most important is how to fallback in case of any issue happend while root the mobile,or, using AL MAISAN arabic support (Custom ROM)

    Thanks

  22. Shaukatali5379

    hi i need your help plz.i installed visionary r14 and now im trying to unroot but it will not let me do it, alot of apps on my fone say R U SURE U HAVE ROOT ,i have uninstalled it alot of times but as soon as i install it again it says your rooted?
    plz help i need to get rid of itr.thanks i have 2.36.405.8 cl47853 is the firmware plz email me at shaukatali5379@googlemail.com

  23. S-OFF failed on my HTC desire with following info.

    unrEVOked forever S-OFF patch v1.1
    Verifying system type…..Got device: @PID: 77,”BRAVO”Got radio version: 5.11.05.27E:unsupported systemE:Update failed.  Check /sdcard/soff.log.

    1. Beckybubbles2011

      s-off failed on my htc desire, it lso stopped at verifying system type! if u mange to install it could you give me some tips, thanks

  24. Jesus_is_a_honkey

    Tips. If you get “Internal Error – Installer package failed” delete some apps and make some space. If half way through you get the “Install new Hardware” box, go through the same steps as you did when installing the drivers (basically install them again from the location you saved them.)

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.