Posts tagged rooted
Yesterday I posted how to root your HTC Desire, which was the first method made available by Paul @ Modaco. Today he’s created a new method which is much easier.
- I take no responsibility for anything that might go wrong. You do this at your own risk
- This method will wipe your phone completely – so backup everything using either SMS Backup Restore/ Call Log Backup Restore / MyBackup Pro / Sprite Backup or any other backup apps available in the market
- You need a microSD card to create a goldcard as per the instructions. At the end of it you won’t be able to use that SD card as a normal memory card. Don’t use your primary SD card, use a spare, smaller card – even 1GB should suffice
- Any problems either post here, in the original Modaco thread (linked above)
Read this whole topic – it contains a ton of useful information as well as the instructions and downloads!
Remember that if you use this guide, you do so entirely at your own risk!
Welcome to my guide on how to root the HTC Desire!
This guide will allow you to root your HTC Desire, provided it has a bootloader version of 0.75 or below. To check this, turn off your device, then turn it back on with the ‘back’ key held. On the second line in green text you will see HBOOT- and then a number. Provided this is 0.75 or below, this guide should work for you.
O2 Germany devices are currently shipping with a 0.80 bootloader, and as such cannot be rooted using this guide at this time.
Desire rooting protection
Back in the early days of Android, rooting was easy. You had several options – you could flash stuff via the bootloader, you could flash an engineering bootloader, you could use kernel exploits – there were many ways of getting the low level access to your device that – in fairness – I think we as paying customers are entitled to. As time has progressed however, the manufacturers have made things harder and harder. The Desire is not a straightforward phone to root, for many reasons, including…
- a ‘perfected bootloader’ that doesn’t allow flashing or booting of any images (even HTC signed ones)
- a RUU flash process that does not allow downgrading of the bootloader to earlier versions
- a kernel (that as yet does not have publicly available source) that as yet has no known exploits
- a new protection method previously seen on the HTC Tattoo that protects key partitions from having write access. Even with SU access, it is not possible to write to the boot, recovery or system partitions.
In reality, the options for rooting a device this secure are limited. Even if a kernel exploit were found, the key partitions would still be unwritable, rendering su access useless. This was circumvented on the Tattoo very cleverly, using a specific memory address from a confidential Qualcomm datasheet, however this information is not yet available for the Snapdragon chipset used in the Desire (and indeed may never enter the public domain).
And so the root process becomes a process of methodically probing every possible point of exposure on the device, looking for the slightest chink in the armour. I found one and we’re putting it to good use! The downside is that it’s not as easy or as pretty as rooting a device that is actually DESIGNED to be accessible at the lowest level, such as the Nexus One.
Shame on you HTC for going to such unnecessary lengths (but that’s another story for another day).
What this root process provides and does not provide
The root process will…
- flash your device with a new, generic 1.15.405.4 based ROM that has Superuser access
- show you how to enter the recovery image in future, allowing you to flash update zips
The root process will NOT…
- enable you to flash your device with a custom recovery image that can be launched easily by just holding down the volume down button when powering on
- enable you to have write access to the /system partition in normal use of the device
Both of these limitations are being worked on of course.
In order to complete this guide, you need the following…
- a HTC Desire
- a PC
- a microUSB cable
- a microSD card (to be made into a ‘goldcard’)
- the downloads below
- balls of steel (actually, I just made that up)
To be ready for the guide, download the following items…
- the ISO image – DOWNLOAD / MIRRORS COMING SOON MD5: 854bdbb3c5898b15f92b5991204c9288
Once you have this on your machine, you’re ready to start!
Follow through these steps, one by one and at the end of it you’ll have a rooted Desire with the latest ROM.
Note: This process will wipe your device and there is currently no option to backup your device ROM before you start.
- Make your microSD card into a goldcard by following these instructions (it’s a good idea to back up the contents of your card first!).
- Unzip the file you downloaded to a directory, then open a command prompt / terminal window at that directory.
- Turn off your HTC Desire, then turn it back on with the ‘back’ button held down. You’ll see ‘FASTBOOT’ written on the screen in a red box. Connect the phone to the computer.
- In the terminal window, enter either (as appropriate, with no quotes)
- When this step has completed, using the optical trackball, navigate to the ‘BOOTLOADER’ and then ‘RECOVERY’ option on the menu, using the volume buttons to move and the power button to select.
- In the terminal window, enter either (as appropriate, with no quotes):
- When this has completed, your device should be at the ‘recovery’ screen. Select the ‘wipe’ option, then select the option to apply an update zip from sdcard, and select ‘rootedupdate.zip’. This will take a little while, so go make a nice cup of tea. When the flash has finished, reboot, and you are DONE!
If you have any issues with the root process, post below, and we’ll do our best to help!
If you wish to do so, you can express your appreciation by signing up to a MoDaCo Ad Free or MoDaCo Plus Account using PayPal or Google Checkout, as detailed in this post on MoDaCo
. As well as donating to support the work that goes into all the various MoDaCo activites, you get cool stuff like free software (there’s some great Android stuff coming too!), an ad free MoDaCo site and of course access to the MoDaCo Online Kitchen. All signups are very much appreciated.
Thanks to ChainsDD for his excellent new Superuser Permissions update and Amon_RA for the recovery image I butchered here.
Paul O’Brien (the guy working on rooting the Desire) has just posted up 2 images of his HTC Desire: one running Vanilla Android (standard Android without HTC Sense), and the other with a custom recovery image (which lets you put custom ROMs such as Vanila Android on your Desire). As you can see below from the white top bar, standard Android Widgets and the default homescreen that owners of other Sense-less Android phones (such as Nexus One) will recognise:
His latest tweet says that “Desire kitchens are a go-go” – basically meaning that you should be able to customise your own ROM file and install it to the Desire!
I’ll keep you updated as further information is released throughout the day!
Paul O’Brien, widely known for his work on Android phones and the Modaco custom ROMs for numerous Android phones has just posted up a screenshot showing the HTC Desire with root permissions. He later tweeted saying that if all goes well the root method will be made available to the public from tomorrow (28 April 2010).
Here’s a screenshot showing the SuperUser application, and he also posted saying that this app as well the su file (essentially what makes the Desire rooted) have been successfully written to the system partition.
What does rooting actually mean? Rooting is called that because it gives you “root” permissions, which is like administrator access to the entire Android operating system that your Desire is running. With it you can:
- Run additional applications such as screenshot apps, Titanium Backup (a brilliant way to backup applications AND their settings), put WaveSecure on the system partition (which is safer than installing it as a normal app)
- Install a custom recovery image, which gives you extra options like a full backup of your phone (nandroid), formatting sd card and flashing custom ROM files
- Install applications to the SDCard using a2sd
Custom ROM files are unofficial firmware created by the massive Android community developers. Each ROM is normally unique and can feature additional applications, tweaks and even bug fixes that isn’t on the stock HTC firmware. You’ll probably find ROMs that can remove HTC Sense altogether, ones which are based on the public Android source code and ones which features all kinds of tweaks and fixes. The possibilities are pretty-much unlimited.
Please remember that rooting will void your warranty with HTC, Paul hasn’t yet mentioned if it’s possible to restore the warranty by reflashing the stock HTC firmware (as was possible on the HTC Hero).
Will post further updates tomorrow when the root method is released.