View Single Post
Old March 19th, 2011, 08:59 AM   #1 (permalink)
SUroot
ROM Developer
Thread Author (OP)
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,324 Times in 3,995 Posts
Default [Guide]ROOTING HTC android 2.2.1 or lower with unrEVOked - Windows (updated 20th December 2012)

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.

THIS IS NOT A STAND-ALONE GUIDE, PLEASE READ THE ROOTING FAQ


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



Downloads





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.

HBOOT 1.02 OR HIGHER

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
SUroot is offline  
Last edited by SUroot; December 20th, 2012 at 05:41 AM.
Reply With Quote
The Following 73 Users Say Thank You to SUroot For This Useful Post:
aabangia (June 6th, 2011), Abdur (November 19th, 2011), Abhishekswarup (May 6th, 2012), AceMathias (July 15th, 2011), agd19682 (March 9th, 2012), Aikunle (December 31st, 2011), andyroo82 (July 15th, 2011), Arctic-Winds (June 4th, 2011), bbgmp (August 7th, 2011), binary050 (August 11th, 2011), Braincrank (August 13th, 2011), Canucklehead (October 24th, 2011), caseta (April 4th, 2012), ceider (September 2nd, 2011), Chilly McFreeze (August 16th, 2011), colheath (July 17th, 2011), consuela (April 2nd, 2011), daivik (July 18th, 2011), dannylill1981 (March 19th, 2011), david_inuk (May 3rd, 2011), DesireMe (October 8th, 2011), dhendy91 (October 9th, 2011), downgrade (October 27th, 2011), Duffster73 (July 14th, 2011), Eris Ed (April 27th, 2011), ethereal (September 5th, 2011), girolez (April 7th, 2012), Gorf123 (August 3rd, 2012), hasnain721 (August 10th, 2011), IceWars (October 30th, 2011), irina1312 (April 14th, 2011), jayphoenix218 (September 29th, 2011), jimmy jones (November 30th, 2011), JoeDread (October 10th, 2012), JonnyDroid (August 1st, 2011), Liamalone (January 11th, 2012), lubba1974 (December 18th, 2011), mark_wuk (August 30th, 2011), mohammadsp (September 24th, 2011), mollymalone (November 9th, 2011), mrlongbeard (August 17th, 2011), Mulan (November 4th, 2011), paddy67 (March 4th, 2012), Paul8944 (November 3rd, 2011), philpic (July 19th, 2011), porter_james (March 28th, 2011), rajbal (October 30th, 2011), rmaxeman (October 31st, 2011), roachy23 (June 27th, 2011), rossw (April 25th, 2011), RustyRussell (June 10th, 2011), saamk (November 13th, 2011), saha14913 (May 19th, 2011), samael (September 18th, 2011), shadow (November 3rd, 2011), SiHa (June 27th, 2011), SJLS101 (July 2nd, 2011), sparkyuiop (November 11th, 2011), speedycolzalez (August 15th, 2011), StripyHorse (March 18th, 2013), tacw (December 20th, 2012), thebillington (June 29th, 2011), the_moodster (October 11th, 2011), tipa (December 2nd, 2011), vlac666 (November 2nd, 2011), vmpsr (June 16th, 2011), Walton1 (April 25th, 2012), wimbo79 (August 2nd, 2011), wyvilledog (June 3rd, 2011), Zinxer (June 23rd, 2013)