HTC Desire root method-HTC Desire rooting Guide (now with new improved/easier root Method !)

Source: Internet
Author: User

HTC DesireHow to obtain the root permission

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!

Compatibility

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 shoshould 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 cocould flash stuff via the bootloader, you cocould flash an engineering bootloader, you cocould use kernel exploits-there were ways of getting the low level access to your device that-in fairness-I think we as paying MERs are entitled. as time has progressed however, the manufacturers have made things harder and harder. the desire is not a straightforward phone to root, for processing 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 previusly 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 wocould 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 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.

Pre-requisites

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'-only necessary if your device is an operator supplied device)
  • The downloads below
  • Bils of steel (actually, I just made that up)

Download

To be ready for the guide, download the following items...

  • The ISO image-download/mirror/torrent MD5: 854bdbb3c5898b15f92b5991204c9288

Once you have this on your machine, you're ready to start!

The Guide

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

.

  • If you have an operator supplied device (I. e. non generic), 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 !).
  • Burn the ISO you downloaded abve to a CD and boot it, or boot it in a virtual machine.
  • Press enter when prompted to load Linux. When it has loaded, click the little 'monitor' icon at the bottom of the screen to open a terminal window.
  • 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 the following commands:

    Code Sudo mkdir/mnt/CDROM
    Sudo Mount/dev/CDROM/mnt/CDROM
    CD/mnt/CDROM/root
    Sudo./step1.sh

  • 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. then, again in the terminal window, enter the following commands:

    Code Sudo./step2.sh

  • When this has completed, your device shocould be at the 'recovery 'screen. select the 'wip' 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!

Troubleshooting

If you have any issues with the root process, post below, and we'll do our best to help!

And finally!

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 inThis post on modaco. As well as donating to support the work that goes into all the varous 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.

Enjoy!

P

Thanks to chainsdd for his excellent new superuser permissions update and amon_ra for the recovery image I butchered here.

CED: 65% of original size [1104x899]-click to view full image

Optional update zips

Apply this updates after rooting by copying to sdcard any applying from the recovery image (entered using the recovery-xxx.sh method ).

A2sd-temporarily offline

32.36.00.28u _ 4.06.00.02 _ 2 radio update (from Asia 1.19.707.6 update)-download/MirrorDo not use on orange

Chinese Input (htc_cime)-Download

Arabic fonts (testing)-download/Mirror

Hebrew fonts (testing)-download/Mirror

 

 

How to obtain the root address after HTC Sense is refreshed by G2

 

1. Set the USB connection to debug
This step is critical. Otherwise, the page granted with permissions will not be available (apply or deny options). If I fail at the beginning, this step is not done!
Open settings-Application-Development-USB debugging and allow the imitation location to be selected.
2. Download the android SDK
Http://dl.google.com/android/android-sdk_r04-windows.zip (the downloaded file name is Android-SDK-Windows, around 22 m)
After downloading, You can decompress the package to any location, create an SDK folder on drive C, and copy the tools folder in the decompressed file to the SDK (at this time, it must be confirmed that there are two files in tools: adb.exeand fastboot.exe)
Download superuser.zip (two files suand superuser.apk should be included in the tools folder of the SDK together)

Superuser.zip

3. Install the USB debugging driver
I am using Windows 7, and I have installed HTC Sync on my computer, so the driver step is no longer needed. You can install a pure driver, or just like me.
4. Get Root
[This step is omitted here. If it fails, you can add this step: Shut down normally, connect the data cable to the computer, and press the back key (that is, the arrow in the lower right corner, press) and then press the open key to enter the bootloader (white background ). Fastboot USB (Red Letter) appears on the phone. Open the windows command window and enter the command cd c:/SDK/tools.
C:/SDK/tools> _
Enter the command fastboot devices, and the driver is successfully installed.
Continue entering the command fastboot boot cm-hero-recovery.img (this step must copy the. imgfile to the Tools Folder) here to download the imgfile

Cm-hero-recovery.img.zip

If it succeeds, you should see that your mobile phone has entered the recovery mode, and then write the following command in the recovery mode] ---------- this step should be redundant for machines that already have recovery.
Shut down, connect the data cable to the computer, and enter the recovery mode (hold down the house + boot). The sense should contain recovery. If not, install it on your own.
Continue to enter the command in cmd (one line is a command, case sensitive)
C:/SDK/tools> _

ADB shell Mount/System
ADB push SU/system/bin/
ADB shell chmod 4755/system/bin/su
ADB push superuser.apk/system/APP/
ADB shell reboot

If the call succeeds, the phone restarts automatically. At this time, your phone has the root permission.
After the restart, a superuser perminssion program is added to all programs. This program records the programs that are granted permissions ~

 

 

 

 

 

Original post address:

Http://android.modaco.com/content/htc-desire-desire-modaco-com/307365/29-apr-r3-htc-desire-rooting-guide-now-with-new-improved-easier-root-method/

 

 

In addition:

Http://www.blogsdna.com/9658/how-to-root-htc-desire-process-released.htm

 

 

Chinese here:

Http://itbbs.pconline.com.cn/mobile/11156954.html

 

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.