yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] JSLEnterprises:
im telling you to do a factory reset so that your phone is a clean slate when temp-rooting. chances of errors will be lessened.

all your data will dissappear anyways when you downgrade via the PD98IMG in bootloader (its a complete rewrite of sections of the eMMC)

make sure you've made a proper goldcard before beginning.
[Desire HD Android Development] adrianyujs:
All your data / app will be gone if you do factory reset!!!! don ask again!!
[Desire HD Android Development] frank21cn:
YAY!!!!!!!!!!!!
[Desire HD Android Development] aladin_din:
Thanks

Works like a charm
[Desire HD Android Development] JSLEnterprises:
Does anyone have 2.52 Kr to test it on? we need a confirmation for that build (if anyone has it with an S-On on their device)

ALSO: Please Post which Hex Address & Offset the exploit was found on your device & which build you're downgrading from!

Its to help us target the exploit faster, thus making the process faster.
[Desire HD Android Development] Hawks556:
It would be nice for the OP to mention whose work he is using in the guides, so that we can give proper credit to those who gave us the tools.
[Desire HD Android Development] rohithksaj:
am still struck....................

i dont think temp root will work on 2.42.415.....................
[Desire HD Android Development] drkdgglr:
Vodafone Branded Desire HD with the GPS bug, 2.50.xxx.x

Exploit found: fbb7f800:1800
[Desire HD Android Development] CuBz90:
I have :/

Correction: I had, but must have accidentally deleted it while making changes.

Sent from my Desire HD loaded with MIUI using the XDA Premium App
[Desire HD Android Development] vitodecataldo:
big problem

i'm trying to downgrade...i'm in bootloader in the scrren where i have to select yes or no for install PD98IMG ....my volume buttons are broken so i can't select anithing...is there a code to simulate the action of the volume button??

please help
[Desire HD Android Development] descenpet:
just send for repair first :D
[Desire HD Android Development] aladin_din:
I had version 2.52

its work
[Desire HD Android Development] drkdgglr:
This method got me from a Branded Vodafone HD to 1.32.405.6. Thanks
[Desire HD Android Development] bairouty:
it works,, yest. i downgrade my dhd 2.42.415.2

adb push fre3vo /data/local/tmp

adb push misc_version /data/local/tmp

adb shell chmod 777 /data/local/tmp/fre3vo

adb shell chmod 777 /data/local/tmp/misc_version

adb shell /data/local/tmp/fre3vo -debug -start F0000000 -end FFFFFFFF

adb shell

after this # type:

/data/local/tmp/misc_version -s 1.31.405.3

exit

adb reboot bootloader

have a good time ;)
[Desire HD Android Development] rohithksaj:
i am getting this......$

after adb shell ....
[Desire HD Android Development] JSLEnterprises:
@drkdgglr

thanks for the requested info.
[Desire HD Android Development] JSLEnterprises:
I think its about time you give your phone to a friend and have them do it for you.
[Desire HD Android Development] rohithksaj:
na na na....i already done it................

i dont know what the problem was.................

i just used the commmand given in the last page....

thats it...now its temp root+downgraded........

thanks anyway...

it took my one day.............
[Desire HD Android Development] JSLEnterprises:
... lol, that only took you a full day. :P
[Desire HD Android Development] JSLEnterprises:
@ CuBz, you need to take out

"adb shell /data/local/tmp/fre3vo

adb shell /data/local/tmp/misc_version"

from the main post. having that still in the command list screws too many people up.
[Desire HD Android Development] CuBz90:
Ye I noticed earlier on when testing but I was summoned by the missus so not got round to it yet lol

Edit: Done

Sent from my Desire HD loaded with MIUI using the XDA Premium App
[Desire HD Android Development] rohithksaj:
at the end.........

its done...................Rooted, S oFF, ENG OFF...................

thanks to all..........
[Desire HD Android Development] maikel16:
Just tried this on my DHD. Which is on 2.50.405.2 .

And the bottom line doesn't work. Not any of them. 1 of them keeps saying Scanning region .. and that 4 times then it just gets stuck. The rest went fluently..

I thought this guide was for any gingerbread build? :(
[Desire HD Android Development] CyberTod:
When using this to temp root i have '#' in adb shell and it is working.

But if I try to use some app on the phone that requires root on the phone it fails and says that I do not have root. Is it something I did not do or is it a limitation of the method ? And root is available only through adb. I can use misc_version so at least there I have root.
[Desire HD Android Development] descenpet:
it's normal that way.
[Desire HD Android Development] CuBz90:
It's a limited temp root. Only works on some apps. The temproot guide is mainly just for backup of apps, downgrading, and removing bloatware

Which app was you trying to use?

Sent from my Desire HD loaded with MIUI using the XDA Premium App
[Desire HD Android Development] henv:
Finally I can send my phone for repair. Waiting for it until I could downgrade it after repair. Thnx. Will post info if it still needed after I get it back.

Thnx for now

Sent from my Desire HD
[Desire HD Android Development] JSLEnterprises:
If you have superuser installed, while in temproot, it will work as long as you dont reboot the phone. once the specified app you want is granted root access by 'superuser' then you can do whatever to backup, remove bloat, ect...

once you reboot though, its back to normal.

Misc_version is just a binary script to change the version # in the raw data that the bootloader (hboot) looks at when loading a stock rom via ruu, or via a PD98IMG.
[Desire HD Android Development] atrako1973:
i have dhd vodafone uk 2.50.161.2 kernel 2.6.35.10

followed this command prompt to the letter

adb push fre3vo /data/local/tmp

adb push misc_version /data/local/tmp

adb shell chmod 777 /data/local/tmp/fre3vo

adb shell chmod 777 /data/local/tmp/misc_version

adb shell /data/local/tmp/fre3vo -debug -start FBB00000 -end FFFFFFFF

After the exploit is found, it may kill the adb process

disconnect your device, and plug it back in.

then continue...

adb shell /data/local/tmp/misc_version -s 1.32.405.6

adb reboot bootloader

with 3 different goldcard i always get the cid incorrect in boot loader

it first load the zip with the blue bar

then cheking the zip with yellow bar

than it tells me cid incorect

can anyone help please
[Desire HD Android Development] JSLEnterprises:
It means you screwed up with the gold card 3 different times.

If a proper gold card is made, you will not get that problem.

a 1-2GB card is the 'sweetspot'.

use the phone as the sd adapter

full format (not quick) in fat32, with the default allocation unit size selected

then make sure you're getting the correct CID for mmc2

Use the following command from within the downgrade folder in command prompt with your phone connected to your pc as 'charge only' with debugging enabled.

adb shell cat /sys/class/mmc_host/mmc2/mmc2:*/cid

You will get the CID of your micro SD. you can copy directly from the command window and paste into the form on the webpage that generates nad emails the goldcard.img for you.
[Desire HD Android Development] atrako1973:
but i did follow how to make the gold card to the letter
[Desire HD Android Development] CuBz90:
Everyone does, but alot of people realise, even after several tries, that they are doing something wrong. Try again, and do every step very steadily, confirming after each step that you have done it correctly.

If you still have problems, you will need to try a different goldcard, as some SDCards do not work as goldcards.
[Desire HD Android Development] atrako1973:
downgraded !!!!!!! thanks mate
[Desire HD Android Development] Volupia:
adb shell /data/local/tmp/misc_version -s 1.32.405.6

adb shell /data/local/tmp/misc_version -s 1.31.405.3

2 works!

do you think the solution "Main version is older!" is to use "1.32.405.6" instead of "1.31.405.3"?
[Desire HD Android Development] CuBz90:
No.

1.31.405.3 is older than 1.32.405.6. The objective is to fool the bootloader into thinking you have version 1.31.405.3, so then it will allow you to downgrade to 1.32.405.6, as it believes it is updating, not downgrading
[Desire HD Android Development] JSLEnterprises:
well, it doesnt really matter which version you choose to set, you can have misc_version set it to "1.32.1.1" if you want and put the 2.36.405.8 PD98IMG on the gold card. It will work too.

basically, the bootloader thinks its just loading up whats already on there, or a newer version than what the bootloader is reading from the device; so it will update it without question.

once you use misc_version in shell to rewrite the version number, its all smooth sailing.

... as long as you've made the gold card correctly, it will work with any version you choose to use.
[Desire HD Android Development] x1xperia:
The Temp Root is compatible with version 2.50.405.2 of Desire HD releases ?
[Desire HD Android Development] adrianyujs:
Yes, a lot user confirm its work...
[Desire HD Android Development] Volupia:
@JSLEnterprises : I Search to resolve 2 users with the "Main version is older!". Thanks for your reponse

the 2 phone with this, are not stuck

EDIT: Fixed !
[Desire HD Android Development] kopljas:
Some help with the process

Well, I am getting somewhere :)

Have a problem, When my DHD goes to bootloader, he finds image and then I get the blue bar on the top right side of screen.. Blue bar goes to the end, then becomes brown, goes to the top again and then everything goes back to normal bootloader screen, without starting a downgrade.

After I try to do temproot (after adb shell command) I get #, so I think at least that part is fine..

Is it possible that .zip file is corrupted?

Can someone help?

Thanks
[Desire HD Android Development] Gene Poole:
Not only possible, likely. That's what happens if the zip fails hboot's check. No explanation, just jumps back to hboot.
[Desire HD Android Development] kopljas:
Thanks,

I will try to download again and then start all over.
[Desire HD Android Development] magnum73:
delete bootsound and change bootscreen with temproot?

Is it possible to delete or change the irritating bootsound and change the bootscreen with only temproot?
[Desire HD Android Development] JSLEnterprises:
Glad it worked :)
[Desire HD Android Development] JSLEnterprises:
Yep, something inside the zip, or the zip's raw data, has been modified in some way.

re-download the pd98img.zip (late response, sorry, lmao)
[Desire HD Android Development] JSLEnterprises:
the bootsound (android_audio.mp3) and Boot Annimation (bootanimation.zip) are located in the /System/Customize/Resource directory. If you have temproot, use adb push to push and overwrite the one's you want into that directory.

Only use a bootanimation that is compatible.

Move the two files to the downgrade folder you downloaded earlier, connect your phone to pc, and usb debugging is still enabled.

now type the following:

adb push android_audio.mp3 /System/Customize/Resource

adb push bootanimation.zip /System/Customize/Resource

adb shell chmod 777 /System/Customize/Resource/android_audio.mp3

adb shell chmod 777 /System/Customize/Resource/bootanimation.zip

Reboot (sometimes twice)

and it should be good ;)
[Desire HD Android Development] CuBz90:
@JSLEnterprises

I think you need to take a break lol you don't give up helping lol Aren't you awesome :D
[Desire HD Android Development] Gene Poole:
Temproot WON'T give you read/write access to the system partition. the eMMC NAND is still locked and can only be unlocked by turning security OFF (S-OFF). You'll need to follow the full root procedure to be able ro remove files from the system partition.
[Desire HD Android Development] JSLEnterprises:
My mind doesnt like standing still... 98% of the time at work, im doing next to nothing... other than staring at batch processes and maintinence scripts running on a different slew of servers, or I'm driving to another contracted client.

Once in a while i'll actually have to fix a pc or two.... but its rare.

.... so i gotta fill my time somehow. Typing in the forums makes me look busy... lol

Its not like I can get in trouble either, I'm my own boss.
[Desire HD Android Development] JSLEnterprises:
I thought it was still accessable in temp root. My mistake. (never said I was perfect :P)
[Desire HD Android Development] CuBz90:
Gotcha :) I've been there ;)
[Desire HD Android Development] lolypop:
Root 2.42

Is it possible to root V. 2 .42

Pls. Confirm
[Desire HD Android Development] no_johnr:
Ppl have confirmed 2.42
[Desire HD Android Development] kopljas:
Ok, I am again one step forward, but facing a problem..

Made a GoldCard, resolved issue with corrupted image, downgraded easily to 1.32... Phone works but I have problem with installation of Visionary. I cannot install actually anything from app market. I click on download and it says "starting download" and stays there forever. I have tried. internet is working...

I need to install Visionary to finish the process... Where I am making a mistake?
[Desire HD Android Development] descenpet:
if i remember right, visionary is not in market anymore.. what exactly are you downloading? :eek:

have you tried the link in first post and installing manually?
[Desire HD Android Development] nikki2325:
Help me...I've created gold card...when I update from bootloader, I keep getiing CID error while updating... It gives me error CID incorrect! update fail
[Desire HD Android Development] CuBz90:
Sounds like the goldcard isn't working. Try recreating it
[Desire HD Android Development] nikki2325:
Recreated it..Didn't work...formatted it, again created gold card...still no luck...

Can you post the MD5 of first rom...
[Desire HD Android Development] nikki2325:
Nothing worked...Tried with different memory card, downloaded rom 3 times...every time I keep getting CID error...
[Desire HD Android Development] CuBz90:
06247433b29342c7b638f0848eb82b14
[Desire HD Android Development] CuBz90:
Tell me what you did step by step to create a goldcard
[Desire HD Android Development] nikki2325:
First i tried to create gold card using gold card tool...It didn't work...I tried everything... created twice...then i used old methog mentioned here http://theunlockr.com/2010/03/10/how-to-create-a-goldcard/ ... While using gold card tool, I selected mmc0...gold card created successfully but i got cid error...this time i selected mmc2...created successfully but again got cid error...

Tried creating gold card using mmc0 and also used gold card helper...no luck
[Desire HD Android Development] CuBz90:
1. Format SDCard to FAT32

2. Download 'Goldcard Helper' from Android Market

3. Open Goldcard Helper with the SDCard in the phone, and you will see the mmc2 reverse CID

4. Go to http://psas.revskills.de/?q=goldcard

5. Enter your email address and the mmc2 reverse CID that is showing on the Goldcard Helper app then submit it

6. The img file will be emailed to you, download and save it somewhere you will remember

7. Download this hex editor - http://mh-nexus.de/en/downloads.php?product=HxD

8. Open HxD hex editor on your computer by right-clicking it and clicking 'Run as Administrator'

9. Mount your SD card to your computer, preferably using a card reader but you can use your phone as well

10. Go to 'Extra' menu > 'Open Disk'. Select Removable Disk (which should be your SD card) under Physical Disk (and NOT logical disk), uncheck 'Open as Readonly' and click OK

11. Go to the 'Extra' > 'Open Disk Image' and open the goldcard image downloaded in Step 6. . Select '512 (Hard disks/Floppy disks)' as the sector size when prompted and click OK

12. In the goldcard image tab, go to 'Edit' > 'Select All' and then 'Edit' >'Copy'

13. In the 'Removable Disk' tab, highlight offset (line) 00000000 to offset (line) 00000170 including the 00000170 line and go to 'Edit' menu > 'Paste Write'

14. Click 'File' > 'Save' and accept any warning that you get
[Desire HD Android Development] nikki2325:
Tried each and Every step...No luck...Trying RUU method now...
[Desire HD Android Development] adrianyujs:
u need to format ur card to FAT32...
[Desire HD Android Development] nikki2325:
Yes...I have 2 cards, one is 4gb and other is 16 gb...Tried on both...Formatted to FAT32..gold card created successfully...It shows no errors, LOST DIR and other folders exist...But still I get CID error... My build number is 2.37.720.3
[Desire HD Android Development] adrianyujs:
owh sorry to hear that, i suspect the build number higher cannot be supported?

mine is 2.37.1xx.x and successfully rooted and s-off...
[Desire HD Android Development] adrianyujs:
I founded this: http://xdaforums.com/showpost.php?p=15282392&postcount=1756

maybe u can try?
[Desire HD Android Development] CuBz90:
That doesn't work with DHD yet as I was the first person to test it. However, I think it is being made to work on the DHD which would be a lot better than having to go to Softbank first :)
[Desire HD Android Development] adrianyujs:
hope someone can help u, I have no idea....:(
[Desire HD Android Development] CuBz90:
The guide works for devices up to 2.37.762.2 so it should work for you
[Desire HD Android Development] CuBz90:
are you sure you are choosing physical drive when you open your sdcard in HxD, and NOT logical drive?
[Desire HD Android Development] nikki2325:
Yeah I'm doing physical drive...Just now tried RUU update of softbank...It goes into bootloader wait for some time then say customer ID error...
[Desire HD Android Development] nikki2325:
Hmmm tried...Even for that, you have to go to soft bank rom...My DHD is struck with this CID error
[Desire HD Android Development] aypee3:
can someone please help?

i'm stuck in the beginning itself.

whenever i try to put the Downgrade_v2.zip in C:\ drive it gives an "Error 0x80070522 : A required privilege is not held by the client."

so i'm not able to put the Downgrade_v2.zip in C:\ drive.

Is there any other way to use cmd.exe to locate the Downgrade_v2.zip file as cmd.exe doesn't recognise the downgrade file at any other place on computer.

plz help !!! its urgent !!!
[Desire HD Android Development] kopljas:
Well, I wanted to install Appinstaller in order to be able to install Visionary (which I have downloaded, not from Market, sure..)

Is there any other way? I was looking through first post but it says that I should download Visionary and install it..
[Desire HD Android Development] kopljas:
Ok, it worked.. I have installed Visionary+ with:

adb install -r com.modaco.visionaryplus.r14.apk

Does phone have to restart by itself each time I take out my sim card?

Can I now upgrade to other ROM, without loosing any of those features (sin unlock, S-Off)? Also, MArket is still not working, do I have to upgrade maybe?

Thanks :)
[Desire HD Android Development] descenpet:
you figured out adb install by yourself ;)

i have no idea bout taking out sim.. i almost never take out my sim. sure you can install any custom rom without losing s-off, sim unlock etc..
[Desire HD Android Development] CuBz90:
Visionary is not on the market. A simple Google search should find it

Sent from my Desire HD loaded with MIUI using the XDA Premium App
[Desire HD Android Development] kopljas:
Thanks,

Well, I ahev fine device, but Market is still not working. Anyway I would like to install custom Rom (Android Revolution HD) and then I will try. So my next problem is Clock Work Mode Recovery. It says that I should install ClockworkMod Recovery 3.0.2.6 or hgiher... I cannot find it. How to install that?
[Desire HD Android Development] CuBz90:
Install an app called ROM Manager, you can flash it in the app

Sent from my Desire HD loaded with MIUI using the XDA Premium App
[Desire HD Android Development] kopljas:
Thanks :)

Unfortunately I have two issues with that:

1, Who ever developed Android Revolution HD wrote that ROM manager should not be used

2. My Market is still not working, so I am having problems with installing any application (I was hoping this will be solved by installing custom ROM, since now I have downgraded to 1.32 in order to root, unlock, etc..)

Heeelp :)
[Desire HD Android Development] feeldennis:
Hello every one,

I have been meaning to root my phone and going through the forum but a bit confusing to me with the different methods that work for different builds etc.

Bellow is my phone specifications:

Desire HD unlocked but branded to VirginMedia UK.

HBoot 0.85.0024

S-ON RL

Radio 26.09.04.11.m2

Android ver. 2.3.3

Kernel Ver 2.6.35.10-g095637

Build number 2.36.351.16

I ran the DHD Downgrade . The Cmd window starts to scan but but closes after 10 to 15 seconds, over and over again.

What could i do to complete the scan to root.

Thanks
[Desire HD Android Development] CuBz90:
1. That true, but you don't flash from ROM manager, you flash from Recovery.

2. Try downloading the new market here
[Desire HD Android Development] CuBz90:
Use jkoljo's method here. DO step 1, then step 2b, then step 3 :)
[Desire HD Android Development] kopljas:
Thanks...

I have managed to install Rom Manager again with "adb" :)

1. Rom Manager says that I have 3.0.2.5 and I will need 3.0.2.6 for my ROM. I have 3.0.2.6 image but not sure how to install..

2. I am having troubles entering Recovery mode? Is that the same recovery when you do Power + Volume Down? I have tried to enter Recovery from Rom Manager and it resets the phone, shows white screen with HTC logo and then nothing...

Thanks so much for your help :)
[Desire HD Android Development] CuBz90:
1. Have you flashed the 3.0.2.6 recovery using the top option in ROM Manager? If you have, try doing it again.

2. Turn phone completely off (remove battery and put it back in), then hold Volume Down while pressing the power button. Then bootloader will load, choose Recovery and it will boot into recovery
[Desire HD Android Development] feeldennis:
Yay, i have downgraded following the instructions on this thread.

android 2.2

build 1.32.405.6

What advice do you give me to do next, would want to install a custom rom leedroid. but i need to s-off first right?
[Desire HD Android Development] kopljas:
I have tried the top option, but it saying that I have 3.0.2.5... When I click on it, it gives button HTC Desire HD and when I click it installs and shows that I have 3.0.2.5. Where I should put 3.0.2.6 files in order to recognize them?

UPDATE:

I did this:

adb reboot bootloader

fastboot flash recovery recovery-clockwork-3.0.2.6-ace.img

fastboot reboot

I hope now version is fine..

2. I have tried this and it freezes on HTC white screen... Or it takes a while to get into the recovery?

3. Downloaded and installed your version of market, still nothing..
[Desire HD Android Development] CuBz90:
It seems like something is corrupt.

1. Remove recovery in ROM Manager, and try flashing it again (make sure you have the latest version.

2. N/A (See above)

3. Do a factory reset and try again (making sure you have linked your google account to your phone)
[Desire HD Android Development] kopljas:
Ok, now everything worked... When I pushed new version of Clockwork 3.0.2.6, everything is fine, installation of new ROM went well... But still problem with Market..

is it possible that google somewhere keeps the record that my gmail is connected to different version of ROM??
[Desire HD Android Development] CuBz90:
No, I have had many ROMs with the same Google account, never had problems.

What exactly is happening when you go to the market?
[Desire HD Android Development] CuBz90:
Yes you need S-Off, you can find a link to that in jkolj's post that I linked to earlier.

I cannot really recommend a ROM as everyone has a different preference. I prefer MIUI, but the most popular ROM is Android Revolution HD
[Desire HD Android Development] kopljas:
So,

System is working excellent, I have working WiFi link, tried Internet and everything is fine. When I open Market, it loads first screen, I can search applications and it shows me lists based on my search. Then when I click install, I get: Starting download then Downloading and I get line which should show me progress.. And the nothing..