[Desire HD Q&A, Help & Troubleshooting] Prodelin:
Here is my guide i have made and compiled together, follow that and you are done.

---------------------------------------------------------------------------------

HOWTO FLASH CUSTOM ROM ONTO GB DEVICE

Downgrade First!

You might need to format your SD card first before installing Gingerbreak, make a backup of your SD card by copying the files to a safe

place on your PC and then goto Settings - SD and Phone Storage - Click Umount SD card - Click Erase SD card - Click Mount SD card after erasing and formating the card has been

completed.

Gingerbreak help thread for problems:

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

1. Download Gingerbreak from http://xdaforums.com/attachment.php?attachmentid=578771&d=1303829207 and install it. Then tap root button.

2. You might get force close errors, just click the force close button and let Gingerbreak do it's job

3. Gingerbreak will in the end, usually say that something went wrong that you need to reboot etc, don't reboot! Just leave it open in your phone, and connect your phone to a PC. Charge only, USB Debugging enabled!

4. Download Android Terminal from the Market and after you installed it you can check if you are rooted, by typing su in the terminal, accept the Superuser request if it shows up and Press "Allow", if you get a "#" you are rooted and the Gingerbreak hack worked.

5. Now open up a terminal window(cmd) on your PC and go to the Downgrade folder on your PC where you downloaded the ADB files from at http://xdaforums.com/attachment.php?attachmentid=483902&d=1294492245 , execute the following commands:

adb push misc_version /data/local/tmp

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

adb shell

su

!Now allow SuperUser in phone when dialog comes up!

If you got "#" in the result, you have temporary root! Proceed with commands:

Now type in terminal:

cd /data/local/tmp

./misc_version -s 1.31.405.6

1. Close the terminal window on your PC and set USB connection to disk drive in your phone and download PD98IMG.zip from http://www.multiupload.com/BTJ8KY0KH9 and place it on your SD card, don't extract the zip file!! Do not put the file into a folder of any kind on your SD card.

PLEASE NOTE!! If you can't set USB connection to disk drive you have to reboot the DHD, now you will be able to set USB connection to disk drive and transfer PD98IMG.zip file to SD from your PC.

2. Reboot while holding volume down, it will go to the Bootloader

3. Follow the instructions and Press "Yes" when it asks you if you want to flash PD98IMG.zip (start the update)

4. Done and reboot.

5. Proceed below with the two S-OFF methods and remove the PD98IMG.zip from your SD.

RADIO S-OFF

1. Install and download latest Visionary r14 from http://www.mediafire.com/?xhwc5m7f273l7b2

2. Open Visionary and tap temproot, then attempt permroot now. Your device will reboot.

3. Connect your phone to a computer (make sure you have USB Debugging enabled, Connect charge only!

4. Extract the Radio S-OFF zip file you dowloaded into a folder on your computer from http://xdaforums.com/showthread.php?t=857537

5. Open my "Desire HD easy radio tool.exe" (Windows 7, right click & run as Administrator).

Choose the first option (RADIO S-OFF, Super-CID and Sim Unlock)

Click "Do it". There may be a SuperUser request on your phone, allow it.

6. Done.

ENG S-OFF(You need this enabled to be able to flash RADIO.IMG later)

1. Download and Extract the eng s-off zip file into a folder on your computer from http://xdaforums.com/showthread.php?t=855403

2. Connect the phone to your computer in "Charge only" mode

3. Run "Desire HD easy s-off.exe" from the extracted folder

4. Click "I have RADIO S-OFF" (as you already done RADIO S-OFF earlier), IMPORTANT!

5. Click in "S-OFF" it

6. Your phone is now ENG S-OFF

7. Done

Flashing your ROM

1. Connect your phone using "Disk drive" to the computer.

2. Copy both your full-wipe-1-3.zip from http://dl.dropbox.com/u/15057375/mero01-xda/Wipe/FULL-WIPE-1.3.zip and your CUSTOM ROM zip file to your SD Card

3. Check again that both files are on your SD card because once you full wipe, you won't have a ROM anymore.

4. Disconnect your phone from your computer

5. Install and open Rom Manager from the market

6. Tap on Flash ClockworkMod Recovery and download version 3.0.2.6

7. Wait for it to download (You need a wi-fi or data connection)

8. After it is done press "Reboot into recovery"

9. If you get an icon with a phone and an exclamation mark in a triangle, remove the battery from your phone, reboot and then flash the clockworkmod recovery again

10. Once you are in the clockwork mod recovery, you may use the volume keys as directional keys (up and down) and the power button may be used as Enter.

11. I recommend you do a nandroid back-up. You must have at least 1 gb of free space.

12. Goto Backup and Restore and make a backup of current ROM if something would fail during flash.

13. Select "Install Zip from sdcard"

14. Select "Choose zip from sdcard"

15. Select full-wipe-1-3.zip (It's right under those folders)

16. Confirm by selecting the Yes option in between those "NO"s

17. Wait for it to finish

18. DO NOT REBOOT!!! In case you were not aware, you now have no rom installed

19. Once again select "Install Zip from sdcard"

20. Select "Choose zip from sdcard"

21. Select your rom zip file

22. Confirm your selection (just like with the wipe)

23. Wait for it to finish

24. Please reboot from the recovery menu and flash nothing else before you have rebooted.

Flash recommended Radio for your custom ROM:

1. Download "Radio Flash.zip" from http://www.mediafire.com/?b172o4ftj1mcpn1 and extract it contents on your PC.

2. Put the radio.img file you downloaded for your custom ROM and put it in the same folder as you extracted the "Radio flash.zip" file to.

3. Make sure USB debugging is enabled in your Desire HD before proceeding.

4. Connect your DHD to your PC with the USB cable and make sure you select USB Charge Only!

5. Now goto the Radio flash folder on your PC and execute "Start here.exe"

6. In the terminal window that comes up you will type:

adb reboot bootloader

Your DHD now goes into Bootloader state, when it is in bootloader state you will type:

fastboot flash radio radio.img

When the terminal says that the process is done you will type:

fastboot reboot

7. Now the DHD reboots and everything is done.

!!GOOD TO KNOW!!

TESTING BEFORE FLASHING ANYTHING

Testing Root

1. Download Android Terminal Emulator from the Market

2. Run it and type in "su"

3. Accept the Superuser request if it comes

4. A "#" should appear if nothing is wrong with your root!

Testing Eng S-off and Radio S-OFF

1. Power Down Your Device

2. Go to Bootloader

3. If it says Ace PVT ENG S-OFF your phone is ENG S-OFF.

4. use Volume down to get to system info and tap power button to select

5. check CID for CID-11111111 (if you have this all is done 100%)

6. Reboot

Checking the device state:

1. Go to the bootloader (turn fastboot off, turn off phone, hold vol- and power)

2. If it says ACE PVT SHIP S-OFF in the first line, your device is Radio S-OFF

3. If it says ACE PVT ENG S-OFF, you have ENG S-OFF, go to System info

4. If system info CID is 11111111, your device is SuperCID5.

5. And if you can verify either Radio S-OFF or SuperCID (and you did both), it worked fine and you have both of them

6. You can check your original CID by going to radio tool folder with cmd and typing: "adb shell getprop ro.cid"

To go back to RADIO S-ON:(If you want to go back to RUU stock ROM again)

1. Flash stock ROM (RUU)

2. Temproot using Visionary

3. Use my tool, do Stock CID and S-ON (enter brand CID if you had a branded device, see second post)

4. Enjoy your factory-state phone