1. Are you ready for the Galaxy S20? Here is everything we know so far!

[Guide]ROOTING HTC android 2.2.1 or lower with unrEVOked - Windows (updated 20th December 2012)

Discussion in 'Android Devices' started by SUroot, Mar 19, 2011.

  1. SUroot

    SUroot Extreme Android User
    Thread Starter

    WARNING: Rooting can be dangerous if you do not understand the concepts, risks and procedures involved.

    Although we are often at hand to help, you will receive much better help if you have read the FAQ's and guides several times before undertaking the task of rooting. Not only will you understand the possible causes and fixes for issues you encounter, it will also help you to give US the information we need to help YOU!

    This guide to rooting using unrEVOked for Windows is a companion guide to my Rooting FAQ and is compiled from other guides, my FAQ and the experience of myself and other AF members.

    I take no credit for this work in it's entirety. I simply compiled this guide from sources and experiences.

    I compiled this guide so my Rooting FAQ could always point to an up-to-date UnrEVOked rooting guide for the desire.


    Disclaimer: Rooting your desire is done so at your own risk. Although this process is generally very safe, I cannot guarantee it to be risk free. Anything involving flashing to your phone's memory is not without risk and I take no responsibility if following this guide leads to trouble

    Essential information

    Current Android Software version

    • Settings>About phone. We need to check if your software version is the ARA build (2.xx.415.x) this is the Arab build. Note the 415. This is the identifier here. The x's could be any number, its not important

      If your phone is not from the Arab world, it is unlikely to have the Arab build on it. If you are unsure what the Arab world is, see here

    Hboot version, PVT and Erase size.

    • Boot into Hboot (from off, hold volume down and press power)
    • Make a note of your Hboot version - Must be lower than 1.02 If not READ THIS
    • Make a note of your PVT version. If it is PVT4 you must now check if the erase size is 40,000
    • "Download Terminal emulator" from the market and open it.
    • Type "cat /proc/mtd" and press enter. It will return results of either 20,000 or 40,000


    Prerequisite steps

    • Read the Rooting FAQ to understand what it is you are doing. Also ensure you read the FAQ for information on RUU's and goldcards and how they affect you.
    • Install HTC Sync
    • Remove HTC sync (application only) via Control panel (add remove programs / programs and features) - This should leave the drivers behind, which we need to keep.
    • uninstall any android explorer apps such as myphone explorer and disable AntiVirus (mainly AVG but maybe others)
    • Ensure if you have used a trick to force apps to SD card, you have undone this.
    • Install the Hboot drivers:

    1. Extract your hboot driver files somewhere you will remember.
    2. Boot into Hboot screen (from off, hold volume down and press power)
    3. Connect Desire to PC (the screen will then show "HBOOT USB")
    4. Right click "My computer" > Manage > Device Manager
    5. Expand "Other Devices" in the right-hand pain and locate "Android 1.0 device"
    6. Right click on Android 1.0 and click Update Driver Software
    7. Click on Browse my computer for driver software.
    8. Click on Browse and select the Android USB Driver folder you extracted earlier (press OK to any errors received and Close when complete)
    9. Check Android Bootloader Interface is listed under Android Phone in device manager.

    ***Please note, This Hboot driver only works correctly when the phone is in the Hboot screen. If the device is not at the hboot screen, the driver will not show correctly as essentially the device is not present.

    The Rooting process

    • Boot the desire so it is running android normally. If USB is connected, disconnect it.
    • Enable USB debugging (Settings > Applications > Development)
    • Run UnrEVOked (double click reflash_package.exe) - Note, Windows 7 users with UAC (User Access Control) turned on, may need to right click > Run as administrator on reflash_package.exe to get it to run properly, or turn off UAC

    *For Erase size 40,000 devices, please do this next section before connecting the desire:

    • In UnrEVOked, go to File > Custom recovery
    • Browse to your Amon-RA file (recovery-RA-desire-v2.0.1.img) and press "Open"
    • On the UnrEVOked main page, check the bottom line now says "Recovery image:custom" instead of "recovery image:ClockworkMod RFecovery"

    Although the above MUST be done by 40,000 devices, 20,000 devices can do this if they want Amon-RA recovery instead of ClockworkMod recovery.

    Now you are ready to let the phone go through the rooting process with UnrEVOked. The process is automatic, but I would recommend you watch the screen and the desire's screen carefully through this process.

    [*] connect the usb

    ***DO NOT disconnect your phone from the USB during this process OR remove power from your desire unless advised to do so. This is very dangerous.***

    If you receive any errors during rooting, please re-read the Rooting FAQ

    Confirmation of success

    • Go to the app Drawer. If there is an icon called "superuser" Your ROM has root access
    • Turn off the Phone. Hold Volume down and press power. At the HBoot screen, highlight "recovery" using Volume buttons, and press power to select. If you are evntually faced with a Black screen with green menu items, you have a custom recovery.


    For hboot 1.02 or higher, there is a joint project by the unrevoked and alpharev teams. It is very much in BETA phase at the moment so try this, as always - at your own risk.

    Read Mattb81's guide linked here: S-OFF and root GB 2.3 with revolutionary

    *** Please post here if you believe anything is missing or could be added to this guide. I will happily amend, update and add to this to ensure it is kept up-to-date

    External sources: myhtcdesire.com unrevokedwiki

    Zinxer, StripyHorse, tacw and 67 others like this.
  2. SUroot

    SUroot Extreme Android User
    Thread Starter

  3. SUroot

    SUroot Extreme Android User
    Thread Starter

    Reserved 2
  4. Abdur

    Abdur Android Enthusiast

    Nice, easier than the one at XDA, though they even had a video. :O

    (when I get around to rooting, I'll look at this, thanks mate. :)
    SUroot likes this.
  5. SUroot

    SUroot Extreme Android User
    Thread Starter

    No worries. I will look for a video in the future that matches but I cannot guarantee I will find one ;)
    Abdur likes this.
  6. shauny13

    shauny13 Android Expert

    Good work Dan! :)
    SUroot likes this.
  7. SUroot

    SUroot Extreme Android User
    Thread Starter

    Thanks Shauny. Not so much my work. Its just a compilation of the work of others, in one place where we can all collaborate and improve it.

    Of course, unfortunately only I can edit it :(
  8. Rastaman-FB

    Rastaman-FB Extreme Android User

    the erase size one is a bit confusing as neither matter for erase size if you are using a custom recovery.
    anything other than the ARA firmware can use 3.21 as 3.3x was made with a different method to exploit nand and get unlock for recovery
  9. dannylill1981

    dannylill1981 Member

    just done it works a treat awesome guide thanks
  10. SUroot

    SUroot Extreme Android User
    Thread Starter

    Do you mean aside from amonra, it doesn't matter about version of unrevoked? Only Ara matters?

    If so ill amend
  11. Rastaman-FB

    Rastaman-FB Extreme Android User

    yeah you can use 3.3x to root pvt4 40000 devices just you use custom recovery and choose amonRA (although the clockwork it pushes is compatible with 40000 devices afaik as its not
    ARA you HAVE to use 3.3x as the rageagainstthecage exploit doesnt work with that rom. you cant even use teppics downgrader with it.
  12. SUroot

    SUroot Extreme Android User
    Thread Starter

    Didnt know you couldnt downgrade either,

    re Unrevoked though, 3.32 fully stable now? We have advised some to try 3.21 but I thought that was because it was better.
  13. Rastaman-FB

    Rastaman-FB Extreme Android User

    still the case
    3.21 seems to have a better success rate. tested it recently with some mates devices and 3.32 was having none of it i was just highlighting that the version doesnt matter when it comes to support.
    its more that its just flakey
  14. SUroot

    SUroot Extreme Android User
    Thread Starter

    Ok cool. My last edit still stands then ;)
  15. rob0t

    rob0t Lurker

    so 20000/40000 check and AmonRa change is not needed?
  16. SUroot

    SUroot Extreme Android User
    Thread Starter

    Check if you have 40,000. If you have 40,000 try without but even very recently people had problems with cwm and 40,000.

    I only know for sure that alpharev s-off offers modified cwm to handle 40,000.

    Besides I personally feel that if its not cwm then use amonra anyway. All newer cwm are built from the developers source but not by the developer
    rob0t likes this.
  17. dannylill1981

    dannylill1981 Member

    now that ive rooted my phone, if i need to send it back (for any reason, theres nothing wrong with it but you never know), whats the best way to return phone to factory condition, its a sim free phone, so no branding and no simlock, got it from dial a phone, it came with froyo already installed
  18. Rastaman-FB

    Rastaman-FB Extreme Android User

    you should have checked that before you did it
    which carrier is it with? what was the exact sw version on it
  19. dannylill1981

    dannylill1981 Member

    its with vodafone but its not a branded handset, its running 2.29.405.5 with radio it has hboot 0.93.0001, its a pvt4 ship s-on forgot to add its brand new, not second user and thats the software that was on it whenit arrived. its an 40000 erase size and i used amon-ra recovery instead of clockwork mod.
  20. Rastaman-FB

    Rastaman-FB Extreme Android User

    thats fine, ruu and pbimage are available to flash it back to stock
    dannylill1981 likes this.
  21. dannylill1981

    dannylill1981 Member

    Thanks mate, do i just run the ruu on my pc then, ive already downloaded the latest one, excuse me for being dense but whats pbimage ?
  22. SUroot

    SUroot Extreme Android User
    Thread Starter

    Yes from pc. It's easy. Connect pc and follow instructions.

    Pb99img is part of the RUU. It can be run from sd card in the event the usb port breaks
  23. dannylill1981

    dannylill1981 Member

    Cheers guys much appreciated.
  24. TrebleClef

    TrebleClef Lurker

    hi i have done it, when i click on superuser permissions, its a black screen, anything wrong?

    wat to do after root? how do i know if i had done it correctly?thanks!
  25. SUroot

    SUroot Extreme Android User
    Thread Starter

    its correct. The app lists apps with superuser access. When you open a root app it prompts for access and then it is listed there.

    Some information in the rooting FAQ via the red link in my signature.

HTC Desire Forum

Features and specs are not yet known.

Release Date

Share This Page