[Desire HD Android Development] Sonnyhood:
I get a few msgs asking how to do this, as its not clearly apparent.

http://xdaforums.com/showthread.php?t=877295

Go there and download the

October 2010: Radio_12.28b.60.140e_26.03.02.26_M - HTC WWE 1.32.405.6

Radio.img MD5 Checksum: 989501d06389d212143b491c14724c05

Then download the below quoted link, save it to your sdcard under /clockworkmod/backup/

I usually do this restore first, so you can still get access incase somethign is wrong.

I didnt edit any md5 or nothing just press restore.

Then once its dont you goto settings, about phone, software (notice the reflection of my new HTC Sensation XL in first 2 photos! :) )

should look like this -After ROM install before Radio

As you notice the radio version is not stock its the new one. We need 12.28b.60.140e_26.03.02.26_M

now we get the file we downloaded earlier, since the stock rom is in we have to power off (and remove battery since stock rom is funny-doesnt fully power down), hold vol down + power on, and get to bootloader.

Click on Fastboot and 'Fastboot USB' will show in red.

Now we goto fastboot, i have mine from Recovery_Ace_v4.0.1.4 loader, just easier.

run md5checker on the radio zip to make sure its intact and MD5 matches.

start, run, CMD (you need administrator i think, my UAC is off i dont know)

cd\

cd C:\dump\Recovery_Ace_v4.0.1.4\HTC_Ace\tools

fastboot-windows flash radio radio-stock.img

(extract the radio.img file to the above folder-obvious yes but im leaving nothing out, i renamed mine to radio-stock.img cos i have a few radio.img files)

theres a red bar on the phone, and some info in the cmd screen. wait to finish - progress bar is the red bar on phone.

then scroll to power down, and restart phone, go in to rom and check it in about phone, and you will see its now 12.28b stock radio

After Stock radio flash

So we now have stock ROM, with 3 boot up logo, stock radio, we can go ahead and reload stock hboot which is the final stage.

Unless your phone is going back to warranty repair, dont need to do this, makes it easier to replace ROM in future.

I have downloaded them but if you have original files even better. Im pretty sure the original HBOOT files are generic, so overseas files wont matter as its a HTC factory file, all the carrier (THREE) files are within ROM.

Now since the ROM in phone is stock, its unrooted, so we need visionary R14 and do temp root, which is akward since i have no sim in the phone now. Re-enable Unknown applications from settings, applications. Ill just goto wifi, add my gmail account, download astro, and run visionary.

There are a gang of updates it asks for i just ignore, copy visionary to sd card and run it from astro. Then go temp root. Always do this a few times to make sure.

hboot restore ref guide.txt

Get this txt file and compare what to write, i copy and paste so i dont make typos, but check what your file names are correct. There are brackets, please read and be ready for what will happen) You should only type what comes after the #.

If you only have a $ your phone does not have root access and it wont work.

Here is a image when i goto BOOTLOADER, you can see it says S-ON

After bootloader return to sotck

After this, the phone is stock, to when i first got it back in 2010. Then i enabled the wifi and it asked me 'do i want to download updates', i said yes. And it updated stock radio and rom to the latest gingerbread and 12.54 radio. I wanted to let the phone update itself as if it never had any non stock programs. (Obviously you need to enable your wifi or have a simcard in it to download)

Stock 3 Home screen

Boot up 3 Logo

After 3 OTA Automatic Updates

Ok All the best, let us know how you go, and please write a guide to help someone else. If you figure out something it may just help someone else out. Some people do things differently than what i have described here, but end result is the same.

Just remember to check the md5sums after doing the DD thing, 9/10 its ok but that one time you dont check it will stuff up your phone.