Jump to content

HTC Desire HD (htc-ace): Difference between revisions

From postmarketOS Wiki
Add detailed instructions for updating HBOOT and unlocking bootloader.
Line 40: Line 40:
== Users owning this device ==
== Users owning this device ==
{{Device owners}}
{{Device owners}}
== HBOOT update ==
It is likely you will need to do an RUU update before the bootloader can be unlocked.
To check, run <code>adb reboot-bootloader</code> 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:
<ol>
<li>Go to [https://www.htcdev.com/bootloader HTCdev/Unlock Bootloader]</li>
<li>Login with your HTCdev account. (Create one if needed.)</li>
<li>Select HTC Desire HD.</li>
<li>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.</li>
<li>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 [http://people.skolelinux.org/pere/blog/Unlocking_HTC_Desire_HD_on_Linux_using_unruu_and_fastboot.html Petter Reinholdtsen's blog]. I've reproduced these below.</li>
<li>Build and install [https://github.com/kmdm/unruu unruu] from source. You will need [https://github.com/twogood/unshield unshield] as a dependency. (Your package manager probably has a version of unshield available!)</li>
<li>Run <code>./unruu /PATH/TO/UNRUU_UPDATE.exe</code> e.g. For me it was <code>./unruu PD9810000_Ace_Sense30_S_hboot_2.00.0029.exe</code> This will create a file called <code>rom.zip</code> in the current directory.</li>
<li>Now flash the HBOOT update!
<source lange=bash>
adb reboot-bootloader
fastboot oem rebootRUU
fastboot flash zip rom.zip
fastboot flash zip rom.zip
fastboot reboot
</source>
</li>
<li>To check that this worked, just run <code>adb reboot-bootloader</code> again and check that your HBOOT version is at least 2.00.0029.</li>
</ol>
== 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 <code>adb reboot-bootloader</code>, FASTBOOT USB should already be highlighted in red.
# Get your device identifier token by running <code>fastboot oem get_identifier_token 2>&1 | sed 's/(bootloader) //'</code>
# 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 <code>Unlock_code.bin</code>
# Save the attachment, then run <code>fastboot flash unlocktoken Unlock_code.bin</code>
# Select 'Yes' using the volume buttons, then press the power button to confirm.


== How to enter fastboot mode ==
== How to enter fastboot mode ==
{{Button|Volume Down|Power}}
{{Button|Volume Down|Power}}
Press the Buttons to enter the Bootloader and select Fastboot then.
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 <code>adb reboot-bootloader</code>.
 


== What works ==
== What works ==

Revision as of 20:18, 4 November 2021

HTC Desire HD
HTC Desire HD
HTC Desire HD
Manufacturer HTC
Name Desire HD
Codename htc-ace
Released 2011
Hardware
Chipset Qualcomm MSM8255 Snapdragon S2
CPU 1.0 GHz Scorpion
GPU Adreno 205
Display 480x800 LCD
Storage 1.5 GB
Memory 768 MB
Architecture armv7
Software
Original software Android 2.2 on Linux 2.6.32
postmarketOS
Category testing
Pre-built images no
Features
Flashing
No data
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
No data
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data

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. Select 'Yes' using the volume buttons, then press the power button to confirm.


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.


What works

  • Display (framebuffer), 16 bit color depth
  • Touchscreen
  • USB networking
  • 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