[HD2 Android NAND Development] Rick_1995:
/*
* @brief: Standard Disclaimer
*
* Your warranty is now void. I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

What is the difference between this and the nightly ?

All libraries and native code is compiled in ARM mode (except for libwebkit which is still in thumb mode due to it's excessive size) and compiler side optimization is turned on (again, exception being libwebkit using -Os and sqllite using -fno-fast-math).

Important function calls and syscalls are aligned for faster response time.

I re-implemented some of the cpu atomic functions based on what I've learned so far, swp is used for atomic swap instead of ldrex/strex, register swapping of old value is done at success so if a context switch does occur, the loop will be aligned at the same boundary as the function. On best case, there shouldn't be any difference but can improve execution time for worst case of context switches.

Java libraries and bionic libc are compiled with NDEBUG, and the debug variable for java is also set to false.

Most crap (stuff that "I" do not use, has been removed ie. VPN, live wallpaper support etc..)

Fixed a few memory leaks in bionic, dalvik and ppp (also tether).

I've removed most locales except en_US and en_GB, though android still seems to be compiling strings from other languages in the build, so they might work but i can't guarantee anything with locales other than en_(US|GB).

Reverted the patch which auto closed notification bar when all notifications are canceled/removed. It was irritating me..

more stuff i don't remember, if you care pm me and I'll send you a diff of my repo.

Bugs

USB tether (Use another kernel to fix this)

Wierd bootup logo

Auto brightness might get stuck, switch screen on and off to fix it

Poweramp crashes, Though confirmed, the cause itself is not known

Installation

Change partition sizes to as described above the rom link

Boot to recovery

Flash the magldr rom/zip/cwm

Flash clk zip if you're on clk

Reboot

Reboot to recovery and flash data2sd if needed. Must have 5M extra on /system

Tips

Use Quickpic for gallery

Replace ADW with one of your favourite launchers (ADW EX, LP, Zeam etc..). ADW is slow and buggy, I prefer FTL and fast drawer.

DON'T USE SUPERCHARGER V6.

SD Port

NativeSD Port

v2b

v2

First release

data2sd (needs 5M extra in system)

Notes:

I compiled this rom for myself but figured sharing won't hurt, and hence I don't plan to provide much support though I'll see what i can if you find a bug. I've run the rom for quite some time now and the results were as expected. Good battery life, large amount of ram upon boot (though I can still notice some memory leaks, will have to look deeper). For now the kernel is tytungs-r1 ics kernel patched for gingerbread, though I will be patching/updating and working on the cmhtcleo kernel once i have the build known to be bug free after some time. Due to switch from arm+thumb mixed to pure ARM mode, i was expecting higher ram usage (alongside with better performance), however looks like I was wrong, this build eats less ram than a arm+thumb interworking build, now i am not really sure why but from what i know it could be because compiler doesn't have to generate arm->thumb and back jumpers for interworking between arm and thumb code.

Credits

cyanogenmod

cmhtcleo team (arif-ali, milaq, charansingh and all other cm developers) for device tree

tytung

Xylograph

devhost

This is my first and probably the last rom, thank you for your time.