[Desire HD Android Development] Walker Street:
THIS THREAD IS OUT OF DATE. TO COMPILE CM7 FOR THE DESIRE HD, USE THE OFFICIAL INSTRUCTIONS HERE:

http://wiki.cyanogenmod.com/index.php?title=Compile_CyanogenMod_for_Ace

This is completely unofficial. It's been really fun though. You get the absolute up-to-the-second fresh CyanogenMod 7 build on your PC any time you like. The devs are working on it almost literally every hour some days. So it's really cool, especially for those of us addicted to new roms :P

WARNING: The repository is a big download. After your first 'repo sync' command, expect to download about 6.4 gigabytes

THE USUAL WARNINGS: You need ENG or RADIO S-OFF HBOOT/BOOT LOADER with a ROOTED PHONE and a CUSTOM CLOCKWORKMOD RECOVERY in order to flash custom roms. You will have already (arguably) voided your warranty if you change the BOOT-LOADER, ROOT YOUR PHONE or install a CUSTOM RECOVERY. You may brick your phone by following this Guide or any of the Guides that this Guide links to. By brick, I mean - you may need to buy a new phone, as your current phone has just become an expensive door-stop (you can't even get it to boot). I've never had this happen to me in 2 years of flashing roms on Windows Mobile and lately (2 months) of flashing Android roms. However, it could happen to you, if you aren't careful or if you are cosmically unlucky. And … I take no responsibilty for this horrible event. Change your phone in any way, including flashing roms, at your own risk. For information on how to ROOT, CHANGE THE BOOTLOADER, CHANGE RECOVERY etc, see:

Visionary to root your phone - http://www.google.com/url?q=http%3A%2F%2Fandroid.modaco.com%2Fcontent%2Fhtc-desire-hd-desirehd-modaco-com%2F320722%2F10-nov-r12-test-visionary-one-click-root%2F&sa=D&sntz=1&usg=AFQjCNH7cEaVrpQ4me7EWaUszRzyKYBu2g

DHD Script to install an Engineering Bootloader: http://www.google.com/url?q=http%3A%2F%2Fxdaforums.com%2Fattachment.php%3Fattachmentid%3D441870%26d%3D1289854953&sa=D&sntz=1&usg=AFQjCNEu37cfNR6xWLf8pusUbuDdB1uFtA

OPTIONAL (but recommended) Radio S-OFF, SuperCID, SimUnlock: http://xdaforums.com/showthread.php?t=857444

Install Rom Manager from market in order to get the latest official clockwork RECOVERY (2.5.1.3 last I checked). You can flash your first custom rom with this version of recovery. To install the recovery, open Rom Manager and tap the very first option under the heading 'Recovery': 'Flash ClockworkMod Recovery'.

In order to make backups after installing your custom CM7 roms, you will need to switch from clockworkmod recovery version 2.5.1.3 to version 3 for Ace (either from phunkycow http://xdaforums.com/showthread.php?t=905530 or www.crackflashers.com )

Here is an example of how to flash a custom recovery. You need to replace the recovery's filename '....img' in this tutorial with the filename of recovery version 3 (that you download from phunkycow or crackflashers: http://android.modaco.com/content/htc-desire-hd-desirehd-modaco-com/323305/18-nov-2-5-1-2-r2-clockworkmod-recovery-for-htc-desire-hd/

Most importantly.... I'm not a dev. Everything you read here and in the guides I link to is thanks to:

Kaili- (most importantly .... He's the one driving CM Gingerbread development for the Ace)

Cyanogen (driving CM development in general and especially for the Vision.... which thankfully is a similar device to ours)

Paul from Modaco (for Visionary ... needed for rooting your device)

sfjuocekr (for the DHD script to change the bootloader)

Apache14 (for Radio S-OFF, SuperCID, SimUnlock)

Thus ... I apologize in advance for the many things you might be burning to ask, but (sadly) for which I do

not

know how to do.

AND FINALLY ..... Here's a link to my guide :)

https://docs.google.com/document/d/..._sbizIPo8-6XabLSI/edit?hl=en&authkey=CLfiiZ0I

Nb: This is a link to a Google Document. It has a lot of formatting (font sizes, colours etc), so I couldn't be bothered re-formatting it to fit in this XDA-Dev forum post window. Also: This is a publicly available document. Feel free to copy it, including to your website or to another forum. However, I'd suggest including the warnings and acknowledgements.

If you are getting problems or errors (e.g. in the linux terminal), please hit refresh in your browser. I might have corrected my Guide since you last looked at it. :)

ENJOY!

[EDIT 15/1/2011 12:29am Australian Eastern Time] Thanks to Kali-

I have just added the following instructions under the heading of proprietary files in this guide:

Open linux terminal and execute:

gedit ~/android/system/vendor/htc/ace/proprietary/CodecDSPID.txt

Add the following line to the end of the file:

Recording,/system/etc/soundimage/Sound_Original.txt

[EDIT 15/1/2011 3:45pm Australian Eastern Time] The command under the heading, 'Set up your linux ‘virtual’ or ‘real’ machine to accept ADB and fastboot through a USB connection' (step 5), should read:

sudo chmod a+r /etc/udev/rules.d/70-android.rules

NOT 51-android.rules ..... I have just corrected this now.