New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
THREAD CLOSED
Tip us?
 
Android001
Old
#1  
Member - OP
Thanks Meter 8
Posts: 68
Join Date: Apr 2010
Default [GUIDE] COMPLETE GUIDE TO ROOT, S-OFF and FLASHING A ROM

**NOTE** I just copied this over from www.rootmydroid.co.uk where i published it first. It is here for ease of access **NOTE**

So, recently i have found myself having to root a couple of HD's for friends..

Subsequently i discovered that the information on the topic is pretty ambiguous, so in this guide i aim to make everything that you need to know clear and put all the files you need all in one location.

So here goes..

**This is a risky process. I nor anyone on the rootmydroid team will accept any responsibility for anything that may happen to your device.**

**It is also worth keeping a "safety net" just in case. I advise heading over to www.shipped-roms.com and under the alias "ACE" find the RUU that matches your current software number, i.e 1.32.xxxxxx**

**To make life easier, download the following apps from the market:**

* conectbot
* ES File Explorer
* ROM Manager


1) Make sure that your software version is 1.32.xxxxx or you will not be able to root!

It contains a new version of HBOOT that breaks root and standard S-OFF.

2) Download Paul@modaco's visionary root tool

(download at the end of post)

3) Install it on your HD

Plug your HD in to your PC and select "Mount as disk drive". It should then appear on your PC and you can proceed to drag and drop the "visionary.apk" onto the root of your SD card (not in any folders). Alternatively, you can do it OTA via dropbox.

4) Run it and enable "Set system r/w after boot" Then click "Temproot Now" and wait until it is finished.

5) Once it has finished click "Permroot Now"


Your DHD will automatically reboot, do not worry.

To determine whether this worked or not, open up connectbot and on the drop-down menu on the bottom left corner select "local" login as a whatever you like, for example "rootmydroid" and then type "su" then hit enter. If a "#" comes up, then the rooting process was successful.

Right next up, install the "Engineering version of HBOOT" (hacked).

**WARNING** This process is inherently risky. Ensure that you follow these instructions TO THE LETTER, or you will end up with a fancy paperweight. **WARNING**

1) Download sfjuocekr 's DHD script for flashing HBOOT from the end of the post

2) Unzip it and copy it to your SD card. Ensure it is on the root of your SD (not in any folders) Note that it will come in two folders "DHD-Smart" and "DHD-Dumb" from my experience, rename the "DHD-Smart" folder to "DHD".

3) (After unplugging your device) Run connectbot in local mode just like earlier, and type:

* su (then hit enter)
* sh /sdcard/DHD/check (ensure that you type "sh")
* (Provided everything went ok) sh /sdcard/DHD/backup
* (If this also went ok) sh /sdcard/DHD/hboot

The script should then install the engineering version of HBOOT and achieve S-OFF.

Woop, everything risky is pretty much done for now. Now we can sit back and not be too tense whilst we install a custom recovery image. Luckily this is made easy via ROM manager (which you should already have installed if you followed my instruction).

1) Run ROM manager and select the first option "Flash ClockworkMod Recovery"

2) Wait until ROM manager says that the process is complete (Somewhere along the way a superuser request may pop up asking for permission. This is fine, just click allow.)

3) After installation select the option "Reboot into recovery" to ensure that everything went ok (From my experience this does not actually take you directly to recovery. From the screen it takes you to use the volume keys to scroll and select "Recovery" then use the power button to select.)

4) Your DHD should then reboot into ClockworkMod recovery

Next up is installing a custom ROM. To do this find the ROM that you like the most from www.xda-developers.com . I recommend either LeeDroid or AndroidRevolutionHD.

1) Download the ROM of your choice and place it on the root of your SD card.

2) Reboot into recovery

3) Go to "Nandroid" and perform a backup

4) Once the backup has completed select "wipe data/factory reset" then "wipe cache partition"

5) Go to "Install ZIP from SDCARD" and select your ROM from the list


6) Wait for it to finish installing

7) Once completed, go back and select "Reboot" at the top of the list (Note that the first boot may take up to 20 minutes, so do not be alarmed. Whatever you do, do not panic and pull the battery half way through the boot or you WILL brick.)

Voila! You are fully rooted, have S-OFF and have flashed a custom ROM!

If at any point you need help please come to our live help at: http://bit.ly/g776Yz

Or feel free to contact me at: android001@rootmydroid.co.uk

Android001



Links for files needed:

Visionary


HBOOT Script

Props to paul@modaco for his awesome "visionary" app and sfjouecker for his equally awesome script.
The Following User Says Thank You to Android001 For This Useful Post: [ Click to Expand ]
 
wid0w
Old
#2  
Senior Member
Thanks Meter 145
Posts: 194
Join Date: Feb 2009
Location: Bucharest

 
DONATE TO ME
3 topics below yours... check my sig
HTC Desire HD on energy drinks
CPU: 1.2 Ghz
ROM: Sabsa Prime 9.0
GUI: HTC Sense 4


 
jkoljo
Old
#3  
jkoljo's Avatar
Recognized Developer
Thanks Meter 2387
Posts: 3,343
Join Date: Jun 2009
Location: Tampere

 
DONATE TO ME
These guides just pop up like mushrooms in a rainy season It is better for new users to have one or two alternative methods, but too much is too much.

Sent from my Desire HD using Tapatalk
SE X1 → Garmin-Asus A10 → HTC Desire HD → Galaxy Nexus → Nexus 4
 
ghostofcain
Old
#4  
ghostofcain's Avatar
Senior Member
Thanks Meter 509
Posts: 2,006
Join Date: Nov 2009
Location: Birkenhead
Quote:
Originally Posted by wid0w View Post
3 topics below yours... check my sig
Not to mention the sticky at the top of the thread
 
audiavant
Old
#5  
audiavant's Avatar
Senior Member
Thanks Meter 12
Posts: 125
Join Date: Nov 2009
Location: Tønsberg
Like the work you do for us with little Android experiance jkoljo.

After one year use of HD2 I went to DHD and realy like Android

Regarding this: "3) Go to "Nandroid" and perform a backup"
Is Nandroid a part of Rom Mangaer boot meny or do I have to install it separate?
 
Android001
Old
#6  
Member - OP
Thanks Meter 8
Posts: 68
Join Date: Apr 2010
Quote:
Originally Posted by audiavant View Post
Like the work you do for us with little Android experiance jkoljo.

After one year use of HD2 I went to DHD and realy like Android

Regarding this: "3) Go to "Nandroid" and perform a backup"
Is Nandroid a part of Rom Mangaer boot meny or do I have to install it separate?
It may appear as either "Nandroid" or "Backup and Restore" i was unsure which it was, as i was not looking at the recovery as i wrote the post.
 
M_T_M
Old
#7  
M_T_M's Avatar
Senior Moderator - No Troll for You!
Thanks Meter 3813
Posts: 14,292
Join Date: Apr 2009
Location: WAAAY DOWN HERE
Sorry mate. Have to close this thread as there is more than one guide floating around.
On of them being this one
http://forum.xda-developers.com/show...php?p=11557769

Thanks for the effort.

Regards,

M_T_M

Tags
bootloader, clockworkmod, desire, rom, root
THREAD CLOSED
Subscribe

XDA PORTAL POSTS

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more

Get the Android 4.2.2 Status Bar on Your Gingerbread-Based Samsung

There are still quite a few of folks who run Gingerbread on their … more