Jump to content

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

From postmarketOS Wiki
Replace Category:Unsupported device with Category:Not booting and remove Category:Device (since the infobox template sets that anyway!)
m Add type
 
(26 intermediate revisions by 15 users not shown)
Line 2: Line 2:
| manufacturer = HTC
| manufacturer = HTC
| name = Desire HD
| name = Desire HD
| codename = ace
| codename = htc-ace
| image = File:HTC Desire HD.jpg
| image = File:Pmos-ace.jpg
| imagecaption = HTC Desire HD
| imagecaption = HTC Desire HD
| releaseyear = 2011
| releaseyear = 2011
| originalsoftware = Android 2.2 on Linux 2.6.32
| originalsoftware = Android
| chipset = Qualcomm MSM8255 Snapdragon S2
| originalversion = 2.2 (Linux 2.6.32)
| chipset = Qualcomm Snapdragon S2 (MSM8255)
| cpu = 1.0 GHz Scorpion
| cpu = 1.0 GHz Scorpion
| gpu = Adreno 205
| gpu = Adreno 205
Line 13: Line 14:
| display = 480x800 LCD
| display = 480x800 LCD
| memory = 768 MB
| memory = 768 MB
| architecture = armv7
| type = handset
| status_usbnet = Y
| status_flashing = P
| status_touch = Y
| status_screen = Y
| status_wifi = Y
| status_xwayland = Y
| status_fde =
| status_mainline =
| status_battery =
| status_3d =
| status_audio =
| status_bluetooth =
| status_camera =
| status_gps =
| status_mobiledata =
| status_sms =
| status_calls =
| status_otg = -
| status_nfc = -
| status_usba = -
| status_hdmidp = -
| status_keyboard = -
| status_touchpad = -
| status_irtx = -
| status_trustzone =
| status_accel =
| status_magnet =
| status_light = -
| status_proximity =
| status_hall = -
| status_barometer = -
| status_powersensor = -
| status_fossbootloader = N
| booting = yes
| pmoskernel = 3.0.101
| whet_dhry =
}}
}}
=== Contributors ===
== Contributors ==
* Victor9
* mpiatka
 
== Users owning this device ==
{{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!
<syntaxhighlight lang="shell-session">
$ adb reboot-bootloader
$ fastboot oem rebootRUU
$ fastboot flash zip rom.zip
$ fastboot flash zip rom.zip
$ fastboot reboot
</syntaxhighlight>
</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>
# 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


* Victor9
== adb command to get device properties ==
<code>adb shell getprop</code>
 
Useful greps include: <code>adb shell getprop | grep 'ro.bootloader\|ro.product\|ro.build'</code>
But there's plenty more information if you don't grep!


=== What works ===
== How to enter fastboot mode ==
{{Button|Volume Down|Power}}
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>.


* Compiling the kernel
* Booting with fastboot
* Framebuffer works
* Network through USB
* SSH
* Touchscreen (broken see [https://github.com/postmarketOS/pmbootstrap/issues/322 #322])
* Weston with demo menu (broken see [https://github.com/postmarketOS/pmbootstrap/issues/322 #322])
* Wifi


=== What does not work ===
== 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)


* Probably everything else
== Audio ==


=== Links ===
Using ucm configuration files from [https://github.com/w-flo/rootfs-modifier/tree/master/replacements/targz/usr/share/alsa/ucm/msm-audio] 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.


* [https://github.com/VictorNine/pmbootstrap/tree/device-htc-ace Device branch]
== Links ==
* [https://github.com/OpenDesireProject/android_kernel_htc_msm7x30 OpenDesireProject Kernel]
* [https://github.com/OpenDesireProject/android_kernel_htc_msm7x30 OpenDesireProject Kernel]
* [https://www.hardreset.info/devices/htc/htc-desire-hd/ Device-page on hardreset.info]
* {{Device package|htc-ace}}
* {{Kernel package|htc-ace}}

Latest revision as of 09:11, 12 September 2024

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 2.2 (Linux 2.6.32)
FOSS bootloader no
postmarketOS
Category testing
Pre-built images no
postmarketOS kernel 3.0.101
Features
Flashing
Partial
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
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Proximity
No data
Haptics
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. 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