HTC Desire HD (htc-ace)

== Contributors ==
* Victor9
* mpiatka
== Users owning this device ==
== HBOOT update ==
It is likely you will need to do an RUU update before the bootloader can be unlocked.
To check, run adb reboot-bootloader and check your HBOOT version.
It needs to be at least 2.00.0029 to be able to unlock.
If your HBOOT version is less than 2.00.0029, do an RUU update as follows:
Go to HTCdev/Unlock Bootloader
Login with your HTCdev account. (Create one if needed.)
Select HTC Desire HD.
Follow the instructions to download the correct RUU update for your device. (Hint: Go to About phone -> Software information -> Software number to determine your ROM version. Then compare this version to the versions in the table, and download the matching one.
You will note that the RUU update is a Windows executable. If you have access to a Windows machine, you may further note that it doesn't work! However, there is another way which works, and has the added bonus of Linux and Mac compatibility! We simply need to follow some instructions from Petter Reinholdtsen's blog. I've reproduced these below.
Build and install unruu from source. You will need unshield as a dependency. (Your package manager probably has a version of unshield available!)
Run ./unruu /PATH/TO/UNRUU_UPDATE.exe e.g. For me it was ./unruu PD9810000_Ace_Sense30_S_hboot_2.00.0029.exe This will create a file called rom.zip in the current directory.
Now flash the HBOOT update!
$ adb reboot-bootloader
$ fastboot oem rebootRUU
$ fastboot flash zip rom.zip
$ fastboot flash zip rom.zip
$ fastboot reboot
To check that this worked, just run adb reboot-bootloader again and check that your HBOOT version is at least 2.00.0029.
== How to unlock ==
Assuming that your HBOOT version is at least 2.00.0029 (see previous section on HBOOT update), follow the unlock instructions on HTCdev:
# Enter fastboot mode. (See instructions below.)
# If you entered the bootloader using the phone buttons, select FASTBOOT, then connect the phone to your computer. You are aiming for the words FASTBOOT USB to be highlighted in red on the screen. If you entered the bootloader using adb reboot-bootloader, FASTBOOT USB should already be highlighted in red.
# Get your device identifier token by running fastboot oem get_identifier_token 2>&1 | sed 's/(bootloader) //'
# Paste the identifier token into the text box titled 'My Device Identifier Token', then submit the form.
# You will shortly receive an email with a link from HTCdev with an attachment called Unlock_code.bin
# Save the attachment, then run fastboot flash unlocktoken Unlock_code.bin
# The phone will ask to confirm bootloader unlock. Select 'Yes' using the volume buttons, then press the power button to confirm.
== How to enable USB debugging (required for adb commands) ==
Assuming you're running Android 2.3.5:
Enable USB debugging from: Settings -> Applications -> Development -> USB debugging
== adb command to get device properties ==
adb shell getprop
Useful greps include: adb shell getprop | grep 'ro.bootloader\|ro.product\|ro.build'
But there's plenty more information if you don't grep!
== How to enter fastboot mode ==
Press the Buttons to enter the Bootloader and select Fastboot.
If this doesn't work, first go to Settings -> Power and disable 'fastboot', then try again.
Alternatively, connect the phone to your computer and run adb reboot-bootloader.
== Port Status ==
* Flashing the kernel does fail, but booting it through fastboot works
* Display (framebuffer), 16 bit color depth
* vibrator
* X11 (tested with xfce4 and sxmo)
== Audio ==
Using ucm configuration files from it is possible to turn on the speaker, which then produces a very faint noise. However, trying to play sound using aplay or speaker-test does not work.
== Links ==
* OpenDesireProject Kernel
* Device-page on hardreset.info
* 
*