yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] MasDroid:
Not at all matey, we will try and have this working for you.

Try this method to root instead:

1. Turn your phone off and insert the Gold Card Micro SD card into the phone.

2. Turn the phone on and connect it to your PC (Disk Drive mode).

3. Turn off your phone, and unplug it from your PC

4. Turn it on again while holding the back button.

5. You will see FASTBOOT on the screen in a red box.

6. Connect the phone to your Windows PC and run this textruu.exe.

7. Once the update is complete, your phone will enter the default configuration wizard. Turn your phone of right away at this point.

8. With the phone turned off, unplug it from your PC.

Now, try the following:

1. Turn on your phone while holding the volume down button.

2. You will see HBOOT on the screen.

3. Use the volume buttons to move up and down and power button to select the RECOVERY option.

4. You will now see a red triangle on the screen, at this point plug your phone into your PC via your microUSB cable.

5. Unzip this file pushfiles_windows.zip to your PC, and double click on recovery-windows.bat inside this unzipped folder.

6. Once you run it you will notice, the screen of your device change to a green recovery image menu.

Let me know if you get to this far with the green Recovery menu showing.
[Desire Android Development] sijo45:
Will try it in the morning and let you know! Waiting for a call at the mo, so resetting phone x no. of times is probably not a good idea!
[Desire Android Development] MasDroid:
Ok no probs, will check how you are doing with this tomorrow ;)
[Desire Android Development] xenofexos:
fail to root desire

Somebody, PLZ PLZ PLZ help me..

Have run Modaco, Pauls, and all other root methods... I´m always get stucked here:

About to start flash...

< waiting for device >

sending 'zip' (138708 KB)... OKAY

writing 'zip'... INFOadopting the signature contained in this image...

INFOsignature checking...

INFOzip header checking...

INFOzip info parsing...

INFOchecking model ID...

INFOchecking custom ID...

INFOchecking main version...

FAILED (remote: 43 main version check fail)

sending 'zip' (138708 KB)... OKAY

writing 'zip'... INFOadopting the signature contained in this image...

INFOsignature checking...

INFOzip header checking...

INFOzip info parsing...

INFOchecking model ID...

INFOchecking custom ID...

INFOchecking main version...

FAILED (remote: 43 main version check fail)

Rebooting to bootloader...

rebooting into bootloader... OKAY

Step 1 complete - now use the bootloader menu to enter recovery mode.

To do this, press the power button, wait a few seconds, then use the volume keys

and power button to select the RECOVERY option.

I have som strange blue system recovery meny, there is no nandroid etc. Also, there is a text that says: e: can´t open /cache/recovery/command .. also I can not run any update.zip. I have bootloader 0.80, OS 1.23.351.1

The phone is strange, reboots itself from time to time, cant run GPS soft, then the phone freezes, och reboots. Also reboots, if I have the USB cabel plugged in, while turning on the phone.. PLZ somebody, I need my phone... plz help me...

Please PM me, if there is an solution, or is my phone screwed ?

Thank U SO much !!!!
[Desire Android Development] benleong2008:
Unroot

Hi I have recently rooted my phone and would like to unroot it and flash the stock ROM. I have the bootloader version of .80 but the RUU_Bravo_hTC_Asia_WWE_1.19.707.7_Radio_32.36.00.2 8U_4.06.00.02_2_release_126179_signed.exe is for bootloader of version 0.75 only. That explains why I kept on getting error 140 when trying to run the RUU.

Are there any ways that I can apply the RUU so that I can unroot and flash back the stock ROM? Thanks
[Desire Android Development] sijo45:
Okay, just tried it on my Winxp laptop. Got as far as 'updating radio' when running testruu.exe and then said:

"Error [155]: UNKNOWN ERROR"

The ROM Update Utility cannot update your android phone.

Grrrr...

I don't understand why my phone is being so awkward
[Desire Android Development] kar1oko:
Like me, you have to wait till new root version allows rooting over 1.21 version.
[Desire Android Development] MasDroid:
@sijo45 what type of micro sd card are you using for the Gold Card, is it a Sandisk?

Try a different Micro SD card for the Gold Card and it should work.
[Desire Android Development] sijo45:
Just had a look and it is a Sandisk - it's just the one that camr with the phone! Any reason why Sandisk cards don't work?

I will have a look see if I can find an alternate card. Is it okay if I PM you and let you know how I get on?
[Desire Android Development] MasDroid:
I know that people have had issues with Sandisk cards when using them as Gold Cards and i personally think they are not that great in terms of quality (thanks HTC!), so i would suggest you try a different card and it does not matter about its size.

Yes sure, send me a pm when you get a new card and we can pick up from where we left off.
[Desire Android Development] cr0wn3r:
If I go through the process described in this thread to root my tmobile locked Desire using a goldcard, can I get away with not doing the wipe / reset at the end to keep the stock rom?

I like the htc sense and the way it's set up as it is, but I just want to be able to use root-only apps like wifi-tether.
[Desire Android Development] w00zla:
great

just wanted to say THX for this great guide!

helped me a lot rooting my first desire (an european t-mob branded one).

worked like a charm on first try with ubuntu 10.04 :D

@MasDroid:

did my rooting with a 4gb sandisk goldcard, had no problems with it
[Desire Android Development] itachi46:
sry if this is a very noobish question but does flashing a new rom using rom manager make you lose all your data?
[Desire Android Development] MasDroid:
Yes, as you flash, you be also advised to factory/hard reset your device and this will wipe all your settings and data, but your sd card contents will remain intact. After you achieve root and before you flash to a different rom, make sure to backup by performing a ROM backup (Nandroid) and/or using a third-party backup app like MyBackup Pro or Titanium backup from the Marketplace to backup your apk's and data.
[Desire Android Development] jimore19:
I notice on modaco that they use r6 riskfreeroot flash now - will the tut's be updated here for this ?
[Desire Android Development] MasDroid:
Dunno... maybe send a pm to the OP of this thread and make it a request.
[Desire Android Development] gerrybthe1st:
Hi Guys,

Trying to root an unbranded desire on a mac it gets stuck on below terminal output. Any advice?

Erasing cache and rebooting in RUU mode...

Password:

sudo: ./fastboot-mac: command not found

sudo: ./fastboot-mac: command not found

About to start flash...

sudo: ./fastboot-mac: command not found

sudo: ./fastboot-mac: command not found

Rebooting to bootloader...

sudo: ./fastboot-mac: command not found

Step 1 complete - now use the bootloader menu to enter recovery mode.

To do this, press the power button, wait a few seconds, then use the volume keys and power button to select the RECOVERY option.

*********-macbook-pro:~ *****$ /Users/*****/Downloads/r5-desire-root-alt/step2-mac.sh

Desire Root Step 2

Pushing required files to device...

sudo: ./adb-mac: command not found

sudo: ./adb-mac: command not found

sudo: ./adb-mac: command not found

Pushing update file to device sdcard - this may take a few minutes...

sudo: ./adb-mac: command not found

sudo: ./adb-mac: command not found

Now wipe and apply rootedupdate.zip from the recovery image menu.

**********-macbook-pro:~ ******$ sudo: ./adb-mac: command not found
[Desire Android Development] MasDroid:
Hmm... not familiar with Mac's, but have you placed the phone in Fastboot mode and connected it to the computer via USB?

After you type ./step1-mac.sh (type the exact path to where this push file is located), you might have to enter your password and then you should be able to proceed.
[Desire Android Development] gerrybthe1st:
I have entered password and the previous output is what I get. It's seems the terminal text file for step one doesn't find the fastboot and adb files in the same folder. I don't put the . in front of ./step1-mac.sh as it only works with out it.

Should i amend the step one terminal text file to specify exact location for eg:

sudo /Users/*****/Downloads/r5-desire-root-alt/fastboot-mac erase cache

echo Desire Root Step 1

echo

echo Erasing cache and rebooting in RUU mode...

echo

sudo ./fastboot-mac erase cache

sudo ./fastboot-mac oem rebootRUU

echo

echo About to start flash...

sleep 5

sudo ./fastboot-mac flash zip testimage.zip

sleep 5

sudo ./fastboot-mac flash zip testimage.zip

echo

echo Rebooting to bootloader...

echo

sudo ./fastboot-mac reboot-bootloader

echo

echo Step 1 complete - now use the bootloader menu to enter recovery mode.

echo

echo To do this, press the power button, wait a few seconds, then use the volume keys and power button to select the RECOVERY option.
[Desire Android Development] deepakoffline:
and after this? please post the remaining procedure please
[Desire Android Development] MasDroid:
Give that a try and see if it works.
[Desire Android Development] gerrybthe1st:
Changed to and got command not found again

sudo: Users/*****/Downloads/r5-desire-root-alt/fastboot-mac: command not found
[Desire Android Development] MasDroid:
When you are at the Recovery Mode menu, first perform a Nandroid Backup (Select the Backup/Restore option). A Nandroid backup will backup a complete clone of your ROM image, which you can later restore if anything goes wrong during flash by re-entering the Recovery Mode and selecting Backup/Restore -> Restore Nandroid. After the Nandroid backup has completed, reboot your phone and sync it to your PC in Disk Drive mode, Then place your downloaded ROM zip file (do not rename, leave as it is) onto the root of your SD card. Go back into Recovery Mode from the steps i suggested previously and then select Wipe > Wipe Data/Factory Reset using the optical trackpad.

Now, from the same menu, select Flash ZIP from SDCard and choose the rooted update. Confirm with the optical trackball. This process may take a while so be patient (about 10 mins).

When the flash has finished, reboot, and you are done. You are now rooted and have a custom ROM installed.
[Desire Android Development] MasDroid:
Try sudo ./step1-mac.sh in the Terminal. Like you say, I think it's to do with the path you are specifying - it has to be accurate.

Even try placing the push files folder on the Desktop and in Terminal, the path would be something like: cd Desktop/Push Files, then once in the correct path location, try sudo ./step1-mac.sh

Apart from that, not sure buddy... maybe try the Tiny Core Linux Live CD method instead?
[Desire Android Development] gerrybthe1st:
tried it but still didn't work will try tiny core tomorrow don't have the patience to do it tonight. If anyone has done it on a mac can you take a look and see if i've done something wrong. Thanks for the help.
[Desire Android Development] LeoNg628:
Hello, I have a few question about root my desire.

1.Is it my desire running a custom rom after using this method?

2.if not, can I use another Rom w/ HTC Sense like Asia Rom?

3.after root my desire, am I need flash a custom which support App2Sd to have App2Sd function? (I've root my desire following your guide and apply app2sd.zip but my desire cannot startup and suck in boot screen, am I missing something?)

I am looking for your help and Thanks for root guide!!
[Desire Android Development] gerrybthe1st:
Hi guys,

Right, I decided to do it on a friends PC instead step one worked fine. Then I went into recovery mode and entered step2-windows.bat and got the following from command prompt:

pushing required files to the device....

errorrotocol fault <no status>

*daemon not running. starting it now on port 5037*

*daemon started sucessfully

-exec '/system/bin/sh' failed: No such file or directory <2>

Pushing update file to device sdcard - this may take a few minutes....

-exec '/system/bin/sh' failed: No such file or directory <2>

1217kb/s <126445058 bytes in 101.406s>

Now wipe and apply rootedupdate.zip from the recovery image menu

-exec '/system/bin/sh' failed: No such file or directory <2>

I then wiped and I tried to apply update zip the phone said something along the lines of not being able to find it

So my questions are:

If step 1 worked have I rooted how do I confirm this?

Did step 2 work? If not what does it do and how do I get it to work?
[Desire Android Development] deepakoffline:
6. Connect the phone to your Windows PC and run this textruu.exe.

cant get this step to work or in simple words i mean to say i cant go beyond step 5, because running the 6th step gives me the following error:-

error 131:customer id error

Question : Will this guide do the needful on a Orange branded but unlocked device? Am i doing something wrong???
[Desire Android Development] MasDroid:
Yes it should work for you provided that you are running bootloader 0.75... the reason why you are getting this error is because you require a Gold Card as you are running a branded ROM.

To create a Gold Card, use this tool: http://android.modaco.com/content/software/308798/pc-application-goldcardtool/

You should then be able to proceed without problems, create the Gold Card first to unlock your CID and then start from step 1.
[Desire Android Development] Stretlow:
Hi,

Ive re rooted my desire in anticipation of getting the new froyo rom being worked on.

I was previously on firmware 1.21 the latest one but now its gone back to 1.15.

How do I now keep my phone rooted but update to 1.21

Any help appreciated
[Desire Android Development] BlackBirdf:
Just install the rooted update to 1.21 from here: http://xdaforums.com/showthread.php?p=6968998#poststop

I recommend ROM manager for this. ;)
[Desire Android Development] Stretlow:
Thanks pal. Will try now.
[Desire Android Development] deepakoffline:
at last.... :)

i managed to do it.... thanks a billion times :)

now my device has the original rom of htc

2 questions more....

1) is my device now rooted?

2) now how to install any custom rom?
[Desire Android Development] MasDroid:
No problem buddy.

You will not be rooted yet unless you have performed all steps that I had previously posted on this thread. You will know when you are rooted by looking at your Programs menu, look for an icon called "Superuser Permissions", if it shows, then you have successfully rooted.

Follow the steps a few posts back and it will enable you to root and flash a custom ROM that you choose.

Regards,

Mas.
[Desire Android Development] deepakoffline:
yippeeeee :D

i did it and all the credit goes to JUST YOU

thanks dear.... thanks a billion times. i totally gave up and you came to save me from depression.... frankly :)

god bless you
[Desire Android Development] MasDroid:
No problem at all buddy, happy to help. Enjoy your "new" phone :D
[Desire Android Development] cr0wn3r:
Quick gold card question

I tried to root my desire a couple of days ago but got errors at the step1.sh, so I stopped there and have just been using my phone normally since then.

But I forgot to remove the goldcard.

Will the goldcard I made still be a goldcard after being in the phone in normal use? Or will I need to make a new one if I want to try and root again?

Thanks
[Desire Android Development] kerema:
error 131 after rooting

Hi ,

I have a Orange desire unlocked, 2 days ago I made the debranded/rooting by the guide at 1. page of this thread . Now my phone has a rom version 1.15.405.4. Everything is fine, only ıf ı make a search for updates, then it comes to screen that a new version 1.21.405.2 available. And ıf i want to follow this update throug the OTA , it fails after a while(so on the boot screeen with a question mark over the desire icon)

If I want to do this with ruu, then it comes to screen of my pc Error 131, wrong rom or something like this.

If I tried to copy PB99.img to the root of my goldcard, and make a recovery, it fails again like OTA version.

Pls help me, i will be just crayz since Monday, I can't make an official update, altough my phone is rooted.(I want only an official update)

I need help asap.

(by the way ı bought 4 differant sd cards to make goldcard , an d i think i made it:)

Best Regards
[Desire Android Development] BlackBirdf:
There is an official update, beside the fact that it's root. :D

Use Rom Manager -> select file from SD, to update your rom successfully.
[Desire Android Development] sonydesouza:
Hello,

I have a lil question :

With tiny core process and branded phone, do i have to install something on the sd card before to start or i just have to follow the process...?

Thanks a lot

:)
[Desire Android Development] MasDroid:
Nope... but you need to create a Gold Card beforehand to unlock your CID as your phone is branded, you can use this tool to create one:

http://android.modaco.com/content/software/308798/pc-application-goldcardtool/
[Desire Android Development] sandey60:
Hi benko,

I have a bootloader with the version .82. Will this guide work for me too?

Thanks
[Desire Android Development] alex_hk90:
Is it possible to restore phone data from a memory stick (Micro SD card) after rooting? I just spent some time setting up my phone before realising it needed rooting. I've read that rooting won't format your Micro SD card, so presumably I'll be able to restore the HTC Desire's automatic backup of my data? If not, is there another way of saving my data before rooting and restoring it afterwards?

Thanks in advance for any help. :)
[Desire Android Development] MasDroid:
Yep, root first and then use a third-party app like MyBackup Pro (available from Marketplace) to restore all your apk and data settings.
[Desire Android Development] alex_hk90:
Thanks. I'll try it out. :)

I just followed these instructions on an unbranded, unlocked HDC Desire with bootloader 0.80 and ROM 1.21 and it seems to have worked fine, so thanks for posting them, and to all involved in producing the rooting method. :D

There were a few points in the guide that could be clearer though:

- during 'step1', there's a point where it says "about to flash" or words to that effect which it stays on for a few minutes (I think it's copying something from the CD), and it would be good if it said "this may take a few minutes" on the Linux terminal which it does at other points (which actually didn't take as long)

- between 7. and 8. you need to follow the instructions on the Linux terminal (I know this is kind of obvious but when you're trying to follow the written ones in the guide above you're reluctant to deviate) [thankfully it just gives 'device not found' errors if you don't and you can Ctrl-C out of it to do it properly]

- between 9. and 10. you need to back out to the main menu

One last thing - I've now got a (rooted) 1.15 ROM, from here I guess I would install a (rooted) 1.21 ROM to get back to where I was functionality-wise? Or is there a better path from here? And I presume there's a much easier way to do it now rather than go through all that again - is that what ROM Manager is for?

Sorry for all the noobish questions. :o
[Desire Android Development] weebeast:
Guys i have a question. I wanne buy a new phone in a few days and i saw that you can unroot the desire but not the nexus one. Does it mean that if i root a desire that i can unroot it back if my phone gets broken in the future?
[Desire Android Development] alex_hk90:
Right, following on from that, I think I now have ROM Manager (and ClockworkMod Recovery) installed. So if I've got it right, I can now use that to flash new ROMs/updates (without using a computer)? If so, which ROM is the most current and stable?
[Desire Android Development] slyn4ice:
Thanks for the links and tutorials! Great help and a pretty straight-forward process. One small thing you could mention to newbies like me - back up your APN settings. I am on a Softbank Desire (Japan) and their settings are hidden and not readily available. There is one small app on the market called ApnManager that just exports your APN settings to the SD card.

The reasons why you should maybe mention it as a pre-step1:

1. not many newbies would think to save APN settings;

2. With cell companies like mine you will have to either go and ask them to put the info in or call (in both cases if your conversational Japanese is not on par you are a bit screwed, plus if you go to a shop they will see you've unbranded your phone)

3. Even if you find APN settings online (like i have) you might still have problems - Softbank has different settings for different data plans. I have found 2 different settings online and I have also called a friend of mine with the same phone and company but different data plan - all settings are different. Now for some reason I can never get 3G - it always falls back to HSDPA.

4. I read so many tutorials before rooting and nowhere was it mentioned.

5. And finally, because it just kills your satisfaction buzz of rooting your phone when you realize you just lost your data connection.

Thanks
[Desire Android Development] pranavd1980:
Here is how this thread works:

Newbie Friendly How To's w/ Instructional Videos(tnx to dcogen) - post #1

Root guide for users who have

unbranded(unlocked)

Desire - post #2

Root guide for users who have

branded(locked)

Desire and

How to make GOLDCARD - post #3

Guide how to use fake-flash, unroot, flash ROM and updates - post #4

How to remove apps & boot sound, install apps, and many other things - Post #5

*Unrooting, flashing ROM and updates is same for every device.

Hello there...thx for great post.....

just a question...i have purchased my Desire in INDIAN grey market as it still to launch officially ion INDIA....

Just wanna know how to make sure that my HTC Desire is unbranded/branded?

W8ting for reply soon....thx again....
[Desire Android Development] alex_hk90:
I'm still new to this, but having skimmed through this thread and a few others:

- apart from using the phone and seeing if there is any sign of branding, I haven't come across a proper way of checking it if it unbranded

- even if it is branded and you try the process for unbranded phones, it doesn't do any harm to your phone, it just fails part-way through and you can then go back and do the process for branded phones with the GoldCard (hopefully someone more experienced and knowledgeable can confirm this)
[Desire Android Development] xenofexos:
HTC Desire root problems

Somebody, PLZ PLZ PLZ help me..

Have run Modaco, Pauls, and all other root methods... I´m always get stucked here:

About to start flash...

< waiting for device >

sending 'zip' (138708 KB)... OKAY

writing 'zip'... INFOadopting the signature contained in this image...

INFOsignature checking...

INFOzip header checking...

INFOzip info parsing...

INFOchecking model ID...

INFOchecking custom ID...

INFOchecking main version...

FAILED (remote: 43 main version check fail)

sending 'zip' (138708 KB)... OKAY

writing 'zip'... INFOadopting the signature contained in this image...

INFOsignature checking...

INFOzip header checking...

INFOzip info parsing...

INFOchecking model ID...

INFOchecking custom ID...

INFOchecking main version...

FAILED (remote: 43 main version check fail)

Rebooting to bootloader...

rebooting into bootloader... OKAY

Step 1 complete - now use the bootloader menu to enter recovery mode.

To do this, press the power button, wait a few seconds, then use the volume keys

and power button to select the RECOVERY option.

I have som strange blue system recovery meny, there is no nandroid etc. Also, there is a text that says: e: can´t open /cache/recovery/command .. also I can not run any update.zip. I have bootloader 0.80, OS 1.23.351.1

The phone is strange, reboots itself from time to time, cant run GPS soft, then the phone freezes, or reboots. Also reboots, if I have the USB cabel plugged in, while turning on the phone.. PLZ somebody, I need my phone... plz help me...

Please PM me, if there is an solution, or is my phone screwed ?

Thank U SO much !!!!
[Desire Android Development] yukkio:
Sorry dude what there's no way to get root on your version... I've the same problem and I can't.

BR.