[Desire HD General] mochapenguin:
HTC Desire HD rooted

Thanks for your help [MENTION=2598556]Phiber2000[/MENTION]

Also I am curious to understand what caused the errors on my attempt to root .. are those failed mounts due to adb-server not behaving properly sometimes? It appears, once the partitions were mounted things went alright.

Posting the logs for the benefit of others.

~ # mount -o rw /dev/block/mmcblk0p25
mount -o rw /dev/block/mmcblk0p25
mount: can't read /etc/fstab: No such file or directory
~ # exit
exit

D:\...\aahk2_v2.15_public\tools\win>adb kill-server

D:\...\aahk2_v2.15_public\tools\win>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
~ # mount -o rw /dev/block/mmcblk0p25
mount -o rw /dev/block/mmcblk0p25
mount: can't read /etc/fstab: No such file or directory
~ # exit
exit

D:\...\aahk2_v2.15_public\tools\win>adb reboot recovery

D:\...\aahk2_v2.15_public\tools\win>adb devices
List of devices attached
--deleted--	recovery

D:\...\aahk2_v2.15_public\tools\win>adb shell mount -o rw /dev/block/m
mcblk0p25

D:\...\aahk2_v2.15_public\tools\win>adb shell mount -o rw /dev/block/m
mcblk0p26

D:\...\aahk2_v2.15_public\tools\win>adb shell /data/local/tmp/gfree -f

--secu_flag off set
--cid set. CID will be changed to: 11111111
--sim_unlock. SIMLOCK will be removed
Section header entry size: 40
Number of section headers: 44
Total section header table size: 1760
Section header file offset: 0x000138b4 (80052)
Section index for section name string table: 41
String table offset: 0x000136fb (79611)
Searching for .modinfo section...
- Section[16]: .modinfo
-- offset: 0x00000a14 (2580)
-- size: 0x000000cc (204)
Kernel release: 2.6.32.21
New .modinfo section size: 196
Attempting to power cycle eMMC... OK.
Searching for mmc_blk_issue_rq symbol...
- Address: c02db21c, type: t, name: mmc_blk_issue_rq, module: N/A
Kernel map base: 0xc02db000
Kernel memory mapped to 0x40009000
Searching for brq filter...
- Address: 0xc02db21c + 0x34c
- 0x2a000012 -> 0xea000012
Patching and backing up partition 7...
patching secu_flag: 0
Done.

D:\...\aahk2_v2.15_public\tools\win>adb reboot-bootloader

D:\...\aahk2_v2.15_public\tools\win>fastboot oem rebootRUU
...
OKAY [ 0.500s]
finished. total time: 0.516s

D:\...\aahk2_v2.15_public\tools\win>fastboot flash zip "D:\...\aahk2_v2.15_public\tools\hboot\hboot_7230_Ace_2.00.2728_110907.zip"
sending 'zip' (221 KB)...
OKAY [ 0.094s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[hboot] unzipping & flushing...
(bootloader) [RUU]UZ,hboot,0
(bootloader) [RUU]UZ,hboot,100
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,100
OKAY [ 7.031s]
finished. total time: 7.125s

D:\...\aahk2_v2.15_public\tools\win>fastboot flash zip "D:\...\aahk2_v2.15_public\tools\recovery\openrecovery-twrp-2.4.2.0-ace.zip"
sending 'zip' (4349 KB)...
OKAY [ 0.844s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[recovery] unzipping & flushing...
(bootloader) [RUU]UZ,recovery,0
(bootloader) [RUU]UZ,recovery,47
(bootloader) [RUU]UZ,recovery,70
(bootloader) [RUU]UZ,recovery,99
(bootloader) [RUU]UZ,recovery,100
(bootloader) [RUU]WP,recovery,0
(bootloader) [RUU]WP,recovery,100
OKAY [ 7.797s]
finished. total time: 8.656s

D:\...\aahk2_v2.15_public\tools\win>fastboot flash zip "D:\...\aahk2_v2.15_public\tools\recovery\openrecovery-twrp-2.4.2.0-ace.zip"

D:\...\aahk2_v2.15_public\tools\win>fastboot oem rebootRUU
...
OKAY [ 0.156s]
finished. total time: 0.156s

D:\...\aahk2_v2.15_public\tools\win>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.172s]
finished. total time: 0.172s

D:\...\aahk2_v2.15_public\tools\win>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 2.00.2728
(bootloader) version-baseband: 26.03.02.26_M
(bootloader) version-cpld: None
(bootloader) version-microp: 0438
(bootloader) version-main: 1.80.502.3
(bootloader) serialno: --deleted--
(bootloader) imei: --deleted--
(bootloader) product: ace
(bootloader) platform: HBOOT-7230
(bootloader) modelid: PD9810000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4201mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 743ca94a
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
(bootloader) region-id: 0
all: Done!
finished. total time: 0.125s

============= Phone Display===============
*** UNLOCKED ***
ACE PVT ENG S-OFF RL
HBOOT-2.00.2728
MICROP-0438
RADIO-26.03.02.26_M
eMM-boot
Sep 7 2011,19:06:24
=======================================

D:\...\aahk2_v2.15_public\tools\win>fastboot oem rebootRUU
...
OKAY [ 0.172s]
finished. total time: 0.172s

PD98IMG.zip extracted from HTC WWE 3.12.405.1 with ROOT - GPS FIX(Radio: 12.65.60.29/26.14.04.28 M)

D:\...\aahk2_v2.15_public\tools\win>fastboot flash zip PD98IMG.zip
sending 'zip' (332084 KB)...
OKAY [ 55.500s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[hboot] unzipping for pre-update check...
(bootloader) start image[boot] unzipping & flushing...
(bootloader) [RUU]UZ,boot,0
(bootloader) [RUU]UZ,boot,32
(bootloader) [RUU]UZ,boot,76
(bootloader) [RUU]UZ,boot,100
(bootloader) [RUU]WP,boot,0
(bootloader) [RUU]WP,boot,100
(bootloader) start image[dzdata] unzipping & flushing...
(bootloader) [RUU]UZ,dzdata,0
(bootloader) [RUU]UZ,dzdata,100
(bootloader) [RUU]WP,dzdata,0
(bootloader) [RUU]WP,dzdata,100
(bootloader) start image[hboot] unzipping & flushing...
(bootloader) [RUU]UZ,hboot,0
(bootloader) [RUU]UZ,hboot,100
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,100
(bootloader) start image[lib] unzipping & flushing...
(bootloader) [RUU]UZ,lib,0
(bootloader) [RUU]UZ,lib,5
(bootloader) [RUU]UZ,lib,10
(bootloader) [RUU]UZ,lib,15
(bootloader) [RUU]UZ,lib,21
(bootloader) [RUU]UZ,lib,26
(bootloader) [RUU]UZ,lib,31
(bootloader) [RUU]UZ,lib,36
(bootloader) [RUU]UZ,lib,42
(bootloader) [RUU]UZ,lib,47
(bootloader) [RUU]UZ,lib,52
(bootloader) [RUU]UZ,lib,57
(bootloader) [RUU]UZ,lib,63
(bootloader) [RUU]UZ,lib,68
(bootloader) [RUU]UZ,lib,73
(bootloader) [RUU]UZ,lib,78
(bootloader) [RUU]UZ,lib,84
(bootloader) [RUU]UZ,lib,89
(bootloader) [RUU]UZ,lib,94
(bootloader) [RUU]UZ,lib,100
(bootloader) [RUU]WP,lib,0
(bootloader) [RUU]WP,lib,10
(bootloader) [RUU]WP,lib,21
(bootloader) [RUU]WP,lib,31
(bootloader) [RUU]WP,lib,42
(bootloader) [RUU]WP,lib,52
(bootloader) [RUU]WP,lib,63
(bootloader) [RUU]WP,lib,73
(bootloader) [RUU]WP,lib,84
(bootloader) [RUU]WP,lib,94
(bootloader) [RUU]WP,lib,100
(bootloader) start image[sp1] unzipping & flushing...
(bootloader) [RUU]UZ,sp1,0
(bootloader) [RUU]UZ,sp1,100
(bootloader) [RUU]WP,sp1,0
(bootloader) [RUU]WP,sp1,100
(bootloader) start image[system] unzipping & flushing...
(bootloader) [RUU]UZ,system,0
(bootloader) [RUU]UZ,system,2
(bootloader) [RUU]UZ,system,5
(bootloader) [RUU]UZ,system,8
(bootloader) [RUU]UZ,system,11
(bootloader) [RUU]UZ,system,14
(bootloader) [RUU]UZ,system,17
(bootloader) [RUU]UZ,system,19
(bootloader) [RUU]UZ,system,22
(bootloader) [RUU]UZ,system,25
(bootloader) [RUU]UZ,system,28
(bootloader) [RUU]UZ,system,31
(bootloader) [RUU]UZ,system,34
(bootloader) [RUU]UZ,system,37
(bootloader) [RUU]UZ,system,39
(bootloader) [RUU]UZ,system,42
(bootloader) [RUU]UZ,system,45
(bootloader) [RUU]UZ,system,48
(bootloader) [RUU]UZ,system,51
(bootloader) [RUU]UZ,system,54
(bootloader) [RUU]UZ,system,57
(bootloader) [RUU]WP,system,0
(bootloader) [RUU]WP,system,2
(bootloader) [RUU]WP,system,5
(bootloader) [RUU]WP,system,8
(bootloader) [RUU]WP,system,11
(bootloader) [RUU]WP,system,14
(bootloader) [RUU]WP,system,17
(bootloader) [RUU]WP,system,19
(bootloader) [RUU]WP,system,22
(bootloader) [RUU]WP,system,25
(bootloader) [RUU]WP,system,28
(bootloader) [RUU]WP,system,31
(bootloader) [RUU]WP,system,34
(bootloader) [RUU]WP,system,37
(bootloader) [RUU]WP,system,39
(bootloader) [RUU]WP,system,42
(bootloader) [RUU]WP,system,45
(bootloader) [RUU]WP,system,48
(bootloader) [RUU]WP,system,51
(bootloader) [RUU]WP,system,54
(bootloader) [RUU]WP,system,57
(bootloader) [RUU]UZ,system,57
(bootloader) [RUU]UZ,system,59
(bootloader) [RUU]UZ,system,62
(bootloader) [RUU]UZ,system,65
(bootloader) [RUU]UZ,system,68
(bootloader) [RUU]UZ,system,71
(bootloader) [RUU]UZ,system,74
(bootloader) [RUU]UZ,system,77
(bootloader) [RUU]UZ,system,79
(bootloader) [RUU]UZ,system,82
(bootloader) [RUU]UZ,system,85
(bootloader) [RUU]UZ,system,88
(bootloader) [RUU]UZ,system,91
(bootloader) [RUU]UZ,system,94
(bootloader) [RUU]UZ,system,97
(bootloader) [RUU]UZ,system,100
(bootloader) [RUU]WP,system,57
(bootloader) [RUU]WP,system,59
(bootloader) [RUU]WP,system,62
(bootloader) [RUU]WP,system,65
(bootloader) [RUU]WP,system,68
(bootloader) [RUU]WP,system,71
(bootloader) [RUU]WP,system,74
(bootloader) [RUU]WP,system,77
(bootloader) [RUU]WP,system,79
(bootloader) [RUU]WP,system,82
(bootloader) [RUU]WP,system,85
(bootloader) [RUU]WP,system,88
(bootloader) [RUU]WP,system,91
(bootloader) [RUU]WP,system,94
(bootloader) [RUU]WP,system,97
(bootloader) [RUU]WP,system,100
(bootloader) start image[radio] unzipping & flushing...
(bootloader) [RUU]UZ,radio,0
(bootloader) [RUU]UZ,radio,8
(bootloader) [RUU]UZ,radio,16
(bootloader) [RUU]UZ,radio,24
(bootloader) [RUU]UZ,radio,32
(bootloader) [RUU]UZ,radio,41
(bootloader) [RUU]UZ,radio,49
(bootloader) [RUU]UZ,radio,57
(bootloader) [RUU]UZ,radio,65
(bootloader) [RUU]UZ,radio,73
(bootloader) [RUU]UZ,radio,82
(bootloader) [RUU]UZ,radio,90
(bootloader) [RUU]UZ,radio,98
(bootloader) [RUU]UZ,radio,100
(bootloader) [RUU]WP,radio,0
(bootloader) [RUU]WP,radio,6
(bootloader) [RUU]WP,radio,14
(bootloader) [RUU]WP,radio,19
(bootloader) [RUU]WP,radio,27
(bootloader) [RUU]WP,radio,36
(bootloader) [RUU]WP,radio,44
(bootloader) [RUU]WP,radio,51
(bootloader) [RUU]WP,radio,100
(bootloader) start image[rcdata] unzipping & flushing...
(bootloader) [RUU]UZ,rcdata,0
(bootloader) [RUU]WP,rcdata,0
(bootloader) [RUU]WP,rcdata,100
OKAY [128.078s]
finished. total time: 183.609s

D:\...\aahk2_v2.15_public\tools\win>fastboot reboot
rebooting...

finished. total time: 0.172s

[B]==== Phone rebooted ====[/B]

Software Information

Android version
2.3.5

HTC Sense version
3.0

Software number
3.12.405.1

Kernel version
2.6.35.10-g931a37e
htc-kernel@and18-2 #1
Wed Nov 14:04:03 CST 2011

Baseband version
12.65.60.29U_26.14.04.28_M

Build number
3.12.405.1 CL 199157 release-keys

Browser version
WebKit/533.1