HTC Desire HD (htc-ace)

From postmarketOS
HTC Desire HD
HTC Desire HD
HTC Desire HD
Manufacturer HTC
Name Desire HD
Codename htc-ace
Released 2011
Category testing
Pre-built images no
Original software Android
Original version 2.2 (Linux 2.6.32)
postmarketOS kernel 3.0.101
Hardware
Chipset Qualcomm Snapdragon S2 (MSM8255)
CPU 1.0 GHz Scorpion
GPU Adreno 205
Display 480x800 LCD
Storage 1.5 GB
Memory 768 MB
Architecture ARMv7
Features
USB Networking
Works
Flashing
Partial
Touchscreen
Works
Display
Works
WiFi
Works
FDE
Mainline
Battery
3D Acceleration
Audio
Bluetooth
Camera
GPS
Mobile data
Internal storage
SMS
Calls
Sensors
Accelerometer
Magnetometer
Proximity
Misc
Built-in DVB
Camera Flash
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader
Broken

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:

  1. Go to HTCdev/Unlock Bootloader
  2. Login with your HTCdev account. (Create one if needed.)
  3. Select HTC Desire HD.
  4. 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.
  5. 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.
  6. Build and install unruu from source. You will need unshield as a dependency. (Your package manager probably has a version of unshield available!)
  7. 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.
  8. Now flash the HBOOT update!
    adb reboot-bootloader
    fastboot oem rebootRUU
    fastboot flash zip rom.zip
    fastboot flash zip rom.zip
    fastboot reboot
    
  9. 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:

  1. Enter fastboot mode. (See instructions below.)
  2. 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.
  3. Get your device identifier token by running fastboot oem get_identifier_token 2>&1 | sed 's/(bootloader) //'
  4. Paste the identifier token into the text box titled 'My Device Identifier Token', then submit the form.
  5. You will shortly receive an email with a link from HTCdev with an attachment called Unlock_code.bin
  6. Save the attachment, then run fastboot flash unlocktoken Unlock_code.bin
  7. 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

Volume DownPower 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 [1] 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