Jump to content

HTC Desire HD (htc-ace)

From postmarketOS Wiki
HTC Desire HD
HTC Desire HD
HTC Desire HD
Manufacturer HTC
Name Desire HD
Codename htc-ace
Released 2011
Type handset
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
Software
Original software Android
Original version
The version the device was shipped with.
2.2 (Linux 2.6.32)
FOSS bootloader no
postmarketOS
Category downstream
pmOS kernel
The kernel version that runs on the device's port.
3.0.101
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Partial
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Charging and battery level reporting works
Untested
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
WiFi
Works
Bluetooth
Untested
GPS
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested
Magnetometer
Sensor to measure magnetism
Untested
Proximity
Untested

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