Chainfire Turns Your Bootanimation into a Logging Center

Having a nice boot animation certainly adds a little bit of aesthetic polish to your … more

Android TV Launcher Pushed to Google Play

Over the past decade, the tech universe has seen two drastic and widely contrasting changes with … more

Cyngn, OnePlus, Micromax – The Legal Battle

Recently, a battle has been waging in India over the rights to distribute the commercial … more

Lean Mean Battery Power Saving App Review

We talk a lot about battery topics here at XDA TV. We talk about everything from Power Banks to USB … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TUT] Telus HTC Desire *UPDATED* - Windows Drivers, Root, Radio and ROM Instructions

OP DSchragg

24th August 2010, 05:40 AM   |  #1  
DSchragg's Avatar
OP Senior Member
Thanks Meter: 2
 
190 posts
Join Date:Joined: Apr 2007
Ok, so I just took the tutorial written by Slimdizzy and have modified it for Windows users, as he stated he was using a Mac, and a lot of people seem to be having issues getting this working. Go easy on me this is my first TUT write up, I hope it helps......If anyone has a correction or a suggestion please let me know.

Credit goes to Slimdizzy for his original post here:
http://forum.xda-developers.com/showthread.php?t=750888

When I rooted my Telus HTC Desire the first time it was hit and miss, if I remember correctly I did it 3 times until it worked 100%, by this I mean Unrevoked/Root ran without hitch, and after running Unrevoked I was able to reboot into Android, and then reboot back into recovery on my first try without any weirdness.....

The following steps are what I did to get my drivers installed and working the first time, rooting the phone, installing Radio 5.09.00.20, and getting a custom ROM installed (I used OpenDesire)

First things first you need the drivers, this is the most important part. Nothing will ever work for you if you don't have the right drivers installed.

Drivers:

1. Download the Android SDK here: http://dl.google.com/android/android...06-windows.zip

2. Unzip and place the files in C:\Android. You can place the files wherever you want but my steps will use this location.

3. Run SDK Setup.exe , if you get the Failed to fetch URL error, hit close and then go to Settings and enable Force https://. Then click on Available Packages, near the bottom you will see USB Driver Package, place a check mark beside it and then click Install Selected.

Alternatively you can try using these drivers, they have worked for other users but I have not installed my drivers using this method so I can't say how well they will work.....
http://www.unrevoked.com/rootwiki/li...usb-driver.zip

4. Android SDK will download your drivers and place them here C:\android\usb_driver.
Now plugin your Desire with USB Debugging enabled (Settings --> Applications --> Development). Windows will prompt you for the device drivers, point windows to the C:\android\usb_driver folder and it should do it's thing. YOU MUST BE SURE TO INSTALL THE ADB DRIVERS, without those Unrevoked will not run.

5. Once all your drivers are installed, you can verify them by checking with the Android SDK
Open a DOS prompt (CMD in the Run box) and navigate to C:\android\tools and then type "adb devices", it should return a funny device name/ID, if you see a device listed then you are good to go, if you don't then repeat these steps until you do, check your Device Manager for an uninstalled device/driver.

***UPDATED***
Steps for Rooting:

***Follow these steps after you are 100% sure you have the drivers right!***
***DO NOT plug you Desire into your computer yet***


1. Goto http://unrevoked.com and download the software

2. You now have a choice of recovery, Amon RA has released an SLCD version of his recovery, which in my opinion is much better, it has a few more features than Clockwork. I recommend Amon RA, but the choice is yours.
Amon RA Recovery v1.7.0.1 R5 SLCD: http://dl.dropbox.com/u/4481275/reco....1-R5-SLCD.img
Clockwork v2.5.0.7 SLCD:http://koush.tandtgaming.com/recover....0.7-bravo.zip

3. Go to HBOOT, this is done by shutting down your phone and powering on the device while holding the Power button down and pushing Volume down at the same time, once HBOOT is loaded do a wipe (Clear Storage). You can navigate the menus by using the volume rocker and the Power button to select your option.

4. Load Unrevoked and load the custom SLCD recovery file on your PC:
Goto File>Custom Recovery and point it to the recovery image that you downloaded in step 2.

5. Restart your phone, it will take a few minutes because you did a wipe, just wait it will load (up to 5 minutes). As soon as the welcome screen loads plug your phone in to the PC and Unrevoked should do it's thing. If Unrevoked doesn't start, then hit the Menu button go to Settings --> Applications --> Development and enable USB debugging.

6. The phone will restart a couple of times, and will look like it's hanging on the HTC screen but it's not! If the HTC screen is present for more than 5 minutes pull your battery and start again ( I had to do this a couple times myself). If Unrevoked pauses half way through its process, it could be because for some reason you don't have the proper drivers installed. You can load them as Unrevoked does the root process, while the phone is rebooting if Unrevoked pauses and Windows prompts you for a driver point it to the C:\android\tools directory and it will load the drivers and Unrevoked will continue its root process.

7. When Unrevoked is finished you will be left at the recovery screen,

8. *** VERY IMPORTANT*** Before restarting do a "wipe cache partition", "factory reset". And now would be a good time for a Nandroid Backup

9. Now reboot, and Android should load. Check for Superuser Permissions app, if you see it you're good if not restart from step 3.

10. Shutdown and load HBOOT, wait a few seconds for SD card (you'll see something try to load quickly), then load recovery again, it should load everytime without issue now.
It may take a few tries, but just follow these steps and it will work.

Steps for flashing radio, and custom ROM:

1. Grab a custom ROM from the forum, I used OpenDesire: http://forum.xda-developers.com/showthread.php?t=712615
OpenDesire comes with a nice reboot to Recovery feature built in.

2. Once zip is download, copy it to your SD card

3. Get the updated radio needed from here: http://www.mightyrom.com/mrx/MRX/Bra...09.05.30_2.zip

4. Reboot into recovery by powering on the device while holding the Power button down and pushing Volume down at the same time. Select Recovery with the Volume rocker and then click the power button to launch it.

5. Select "install zip from SD card" using the trackpad and select the radio zip that you download in step 3.

6. Let it do its thing (could take up to 10 mins to finish), use the back button to get to main menu and select "reboot system now" with the trackpad. If your phone hangs after rebooting wait at least 10 minutes before pulling the battery, it could be finishing the radio update.

7. Once rebooted check that the new radio is good by loading HBOOT (you should know how to do this by now) and at the top it will show you're radio version.

8. Load recovery again and select "wipe cache partition", "factory reset" (for the 3rd and final time). Then select "install zip from SD card" using the trackpad and select the ROM zip that you download in step 1.

9. The new ROM is now installed, restart the phone and wait up to 20 minutes (it shouldn't take that long) for the new ROM to load, DO NOT PULL YOUR BATTERY UNTIL AT LEAST 20 MINUTES HAVE PASSED.

You should now have your phone rooted, new radio installed, and a new custom ROM loaded.

Sorry for such a long post, but I found all these steps necessary to get the end result.

If I have missed anything or if anyone has comments / corrections post them here and I will try to keep the tutorial updated and easy to use as possible.
Last edited by DSchragg; 27th August 2010 at 04:02 AM. Reason: Added Amon RA Recovery for SLCD
24th August 2010, 02:22 PM   |  #2  
Member
Thanks Meter: 8
 
87 posts
Join Date:Joined: Aug 2010
Great post man. I found the "dont plug the phone in yet" part out the hard way. I thought I had busted it on the 1st try!

Couple of things.

USB debugging is under development in Apps. (not a big deal)

Those unrevoked drivers worked great for me, I followed the instructions in the HTML doc that came with the zip. I have heard there are extra drivers needed for windows 7, and you have to be sure your running unrevoked as an admin.

Once I was rooted, I used RomManager to get the newest clockwork and flashed it. I used rom manager to flash the rom, HBoot to flash the radio, and did it backwards. Seems to not make a difference.

Thanks for doing this!

Edit: you forgot the most important part! Always Nandroid backup, and copy all the files from the SD card as soon as you are rooted incase something goes wrong.


Below may be wrong info, but it is what happened to me.
//////////////Extra tip, if you format an SD card, be sure you copy back the clockwork files before you unmount the card. I didn't and could not boot at all untill I copyed all the files back. I went straight to a nandroid without trying to boot into android, so I don't know if I messed up Android, but I know it would not boot to anything untill I fixed the SD card.
////////////////////
Last edited by ajanu; 24th August 2010 at 03:20 PM.
24th August 2010, 02:28 PM   |  #3  
Member
Flag Toronto
Thanks Meter: 2
 
70 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by ajanu


Extra tip, if you format an SD card, be sure you copy back the clockwork files before you unmount the card. I didn't and could not boot at all untill I copyed all the files back. I went straight to a nandroid without trying to boot into android, so I don't know if I messed up Android, but I know it would not boot to anything untill I fixed the SD card.

Thanks for doing this!

Can you elaborate on this? I'm assuming Clockwork recovery is stored on the SD card?
24th August 2010, 02:47 PM   |  #4  
fourire's Avatar
Senior Member
Flag Montréal
Thanks Meter: 450
 
1,632 posts
Join Date:Joined: Dec 2008
More
BIGGGG THANKS, I will try tonight.
24th August 2010, 02:53 PM   |  #5  
Member
Thanks Meter: 8
 
87 posts
Join Date:Joined: Aug 2010
Below may be wrong info, but it is what happened to me.

//////////////Yes there is a folder called clockwork mod, in there were my nandroid backups. I copied everything on the SD back and Clockwork booted, so I can't say for sure, but I'd assume all you need is the clockwork folder. There are other folders that look like system folders that may also be important./////////////
Last edited by ajanu; 24th August 2010 at 03:06 PM.
24th August 2010, 02:55 PM   |  #6  
fourire's Avatar
Senior Member
Flag Montréal
Thanks Meter: 450
 
1,632 posts
Join Date:Joined: Dec 2008
More
Quote:
Originally Posted by ajanu

Great post man. I found the "dont plug the phone in yet" part out the hard way. I thought I had busted it on the 1st try!

Couple of things.

USB debugging is under development in Apps. (not a big deal)

Those unrevoked drivers worked great for me, I followed the instructions in the HTML doc that came with the zip. I have heard there are extra drivers needed for windows 7, and you have to be sure your running unrevoked as an admin.

Once I was rooted, I used RomManager to get the newest clockwork and flashed it. I used rom manager to flash the rom, HBoot to flash the radio, and did it backwards. Seems to not make a difference.

Extra tip, if you format an SD card, be sure you copy back the clockwork files before you unmount the card. I didn't and could not boot at all untill I copyed all the files back. I went straight to a nandroid without trying to boot into android, so I don't know if I messed up Android, but I know it would not boot to anything untill I fixed the SD card.

Thanks for doing this!

Edit: you forgot the most important part! Always Nandroid backup, and copy all the files from the SD card as soon as you are rooted incase something goes wrong.




This is exactly the part I wanted, when I had to use nandroid
24th August 2010, 02:57 PM   |  #7  
Member
Flag Toronto
Thanks Meter: 2
 
70 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by ajanu

Yes there is a folder called clockwork mod, in there were my nandroid backups. I copied everything on the SD back and Clockwork booted, so I can't say for sure, but I'd assume all you need is the clockwork folder. There are other folders that look like system folders that may also be important.

I believe this is misinformation.. only reason because I was having that endless HTC frozen screen so I formated my SD card, the FAT32 partition and the EXT3 partition in windows using Paragon Partition Manager, finally got back into recovery, wiped everything from cache to davlik cache as well.. then installed my rom.

If Clockwork was stored on the SD card.. I believe it wouldn't have booted.. got a little confused there. However, the Nandroid backups are stored on the SD card.. that I know for sure!
24th August 2010, 03:03 PM   |  #8  
Member
Thanks Meter: 8
 
87 posts
Join Date:Joined: Aug 2010
Quote:
Originally Posted by quazis

I believe this is misinformation.. only reason because I was having that endless HTC frozen screen so I formated my SD card, the FAT32 partition and the EXT3 partition in windows using Paragon Partition Manager, finally got back into recovery, wiped everything from cache to davlik cache as well.. then installed my rom.

If Clockwork was stored on the SD card.. I believe it wouldn't have booted.. got a little confused there. However, the Nandroid backups are stored on the SD card.. that I know for sure!

These devices make no sense to me. Maybe I didn't help anything with the copy and just trying to boot a few times would work. I would expect things to work or not work, but they work intermittently some times. Certainly increases the confusion/frustration levels.
24th August 2010, 05:33 PM   |  #9  
-Mr. X-'s Avatar
Senior Member
Flag Ontario
Thanks Meter: 2,169
 
1,674 posts
Join Date:Joined: Apr 2007
Donate to Me
More
Wouldnt be using the latest radio and using "recovery-clockwork-2.5.0.7-bravo.img" instead of the old one be better?
24th August 2010, 05:44 PM   |  #10  
DSchragg's Avatar
OP Senior Member
Thanks Meter: 2
 
190 posts
Join Date:Joined: Apr 2007
Quote:
Originally Posted by Juggalo_X

Wouldnt be using the latest radio and using "recovery-clockwork-2.5.0.7-bravo.img" instead of the old one be better?

Link has been updated to reflect the latest Clockwork recovery version.

Thank you!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes