[Desire HD General] marsdta:
After seeing this issue quite a few times this past week I thought I make a tutorial on how to possibly fix this. If any of you see any errors or any way to improve this guide please let me know and ill include it and or adjust accordingly

Note-Make sure you have plenty of battery. You don’t want your phone dying in the middle of flashing a PD98IMG

If you are stuck in Hboot and have S-On go straight to flashing Stock Rom section or Alternate method at the end

Do not rename or unzip-Leave as is

Recovery: http://min.us/mbaD8QTK4A

WWE Stock Rom (Sense 3.0): http://min.us/mIc6tkSGg

NOTE- The Stock Rom is for a Desire DHD. If you have an Inspire 4g or Telus DHD do not use the file. Use one of these instead

Inspire 4g pre-rooted Stock Rom: http://db.tt/DCU3oW39 (only use if you have S-off)

Inspire 4g stock Rom: http://min.us/mblzL6b6vL

Telus DHD Stock Rom: http://min.us/mTqXM8fTY

Reinstalling Recovery

If you have Eng S-Off and feel comfortable with adb you can flash a recovery that way. Go to Reinstalling Recovery using adb

For whatever reason you have wiped your custom recovery (My guess is you did a factory reset, thus erasing it). Personally i would try this first as one can go straight to a custom rom. If you don't want a custom rom feel free to go to the flashing stock rom section.

1)Back up anything you don’t want deleted from your sd card

2)Plug in sd card into computer through an adapter of some kind or another phone

3)Reformat the Sd Card to Fat32 – Do a full reformat not a quick

4)Once reformat is complete place the file downloaded from the first link on the sd card

5)Eject the sd card from computer and insert into phone

6)Power off phone by pulling the battery

7)Reinsert the battery

8)Boot into bootloader by pressing volume down and power button

9)It will scan for the file press volume up to accept update

10)It will ask you to reboot- but it will still be stuck which is normal

11)If everything is going to plan you now have access to recovery. So now we need to flash a rom. Skip down to the flashing rom section if you don’t know how to. If flashing the recovery didn't work continue to the next section

Reinstalling Recovery With No Card Reader

Note: Eng S-OFF is not needed for this method

1) Download recovery above and place it in your fastboot directory

2)	Boot into Hboot

3)	Connect your phone to your PC

4)	Select fastboot

5) Open up command prompt and CD to your Fastboot directory

6) Run the command fastboot erase cache

7) After the OK run fastboot oem rebootRUU

8) You'll see a new screen with HTC logo and a progress bar. here you need to run fastboot flash zip PD98IMG.zip

9) Once it completes (should say ok,finished, or complete) run fastboot reboot bootloader

10) Go into Recovery and flash a rom

Reinstalling Recovery Using ADB and Fastboot

Note: you need to have Eng s-off with this method.

You can use the recovery img that is found above or one of your choosing(newer cwr or 4ext recovery)

adb reboot bootloader

fastboot flash recovery recovery.img

fastboot reboot

Flashing a Stock Rom

Note-If you are S-off I suggest flashing a pre-rooted stock rom, as there is no need to re-root.

1)If coming from previous section plug in sd card and delete old file then Jump to step 5

2)Back up anything you don’t want deleted from your sd card

3)Plug in sd card into computer through an adapter of some kind or another phone

4)Reformat the Sd Card to Fat32 – Do a full reformat not a quick

5)Once reformat is complete place the file downloaded from the second link(stock rom) on the sd card

6)Eject the sd card from computer and insert into phone

7)Power off phone by pulling the battery

8)Reinsert the battery

9)Boot into bootloader by pressing volume down and power button

10)It will scan for the file press volume up to accept update

11)If everything is going to plan you now should have a fully working phone

12)At this point you are un-rooted so if you want re-root I recommend using the ace hack kit. (unless you used a pre-rooted rom then no need to use hack kit)

NOTE- IF EITHER FLASHING THE STOCK ROM OR RECOVERY PD98 FILES HAS NOT WORKED REPEAT PROCEDURE WITH A DIFFERENT SD CARD

Flashing rom

1)So we were able to re-flash a custom recovery. Connect sd card to computer and delete the PD98img file

2)Download the rom of your choice and any super wipe zips if your rom needs it

3)Place file on sd card eject and reinsert onto phone

4)Boot in bootloader.( An alternate is using adb to boot into recovery)

5)This time it will scan and not find any files. After it scans scroll down and select recovery.

6)You should now be in CWR. Do a full wipe (wipe data, cache, and dalvik cache-found in advanced I think

a.If recommended by your rom uses a super wipe zip. Simply choose install from sd card in CWR and select the super wipe zip

7)Now flash the rom by selecting install from sd card and choosing rom

Alternate- Flashing of a RUU

This is for those that don’t have access to an adapter to place files with. This should work whether your S-on or S-Off

RUU’s: http://www.filefactory.com/f/efa28fefafc4af9c/

1)Download your RUU from above

2)Boot into Hboot

3)Connect your phone to your PC

4)Select fastboot

5)Run the RUU program

Credits to Gene Pool for the Recovery PD98 and pre-rooted RUU for us inspire users.

Thanks to Gizmoe for his link- helps avoid the renaming issues that crop up and idea for alternate RUU flashing,

Thanks to Football for the RUU.exe links

Thanks to Attn1 for the hack kit, all the devs for their awesome work, XDA members who are on here helping people out. I have learned so much just by reading