[LG Optimus Black] boype:
THIS POST IS NO LONGER KEPT UP-TO-DATE! Please visit the

separate thread in the development section

!

Hello fellas,

I've been lurking the forums for quite a while now and over time learned to build and compile my own CM7 ROM and CM7 kernel from source.

Apart from just building an up-to-date version with the latest commits, I also included quite a numer of changes (you'll find them in the changelog below). My goal with building my own ROM and kernel was to adjust CM7 to my own liking as much as possible, and I have to say I'm very satisfied with the overall result. While at first I only created the ROM for myself, I now have reached a state where I thought "It's so good, I might as well share it".

Highlights of my CM7 Kang:

- all commits up to 2012-06-25

- smoother overall experience (smooth spinners, smooth indeterminate progress bar, different screen transition animations, some other things)

- enhanced audio experience (digital audio mixer, increased headphone volume, more volume increments)

- increased battery life through kernel tweaks

- CM7 stock kernel with added (and set-as-default) smartass2 governor + default deadline i/o scheduler + battery optimized sysctl variables

- increased camera jpeg quality (pictures are ~ 1.3 - 1.7 MB)

- option to center the statusbar clock (not enabled by default) and change the clock's color (white by default)

Download links

for ROM with my Kernel

included

:

http://www.mediafire.com/?080d8zkbt3v6fl9

https://rapidshare.com/files/252697238/cm-7.2.0-p970-20120625-KANG.zip

Download links

for kernel only:

http://www.mediafire.com/?mbxgg523yu48kub

https://rapidshare.com/files/1850013513/kernelupdate.zip

Full Changelog:

[B]cm-7.2.0-p970-20120625-KANG[/B]

- all CM7 commits up to build date

- changed taskkiller values to 6mb 8mb 26mb 28mb 30mb 32mb (1536 2048 6656 7168 7680 8192) -> values taken from the "balanced 3" setting from zeppelinrox's supercharger v6 (I encountered some slight issues with the previous values at multitasking) ([URL="http://xdaforums.com/showthread.php?p=16635544"]source[/URL])

- added "center clock" and "clock color" feature by jerryscript ([URL="https://github.com/thekraven/android_frameworks_base/commit/7479afb07eaa5b0a1445d439904284bba9649ebd"]source 1[/URL] + [URL="https://github.com/thekraven/android_packages_apps_CMParts/commit/92bf8fce1a4d54dfb5076f17c456a8210b8a655e"]source 2[/URL])

- Kernel change: Updated SmartassV2 with DooMLoRD's optimized version of the governor (I hope to achieve even better battery life) ([URL="https://raw.github.com/DooMLoRD/SGS-SL-i9003/GB/kernel/drivers/cpufreq/cpufreq_smartass2.c"]source[/URL])

[B]cm-7.2.0-p970-20120620-KANG[/B]

ROM CHANGES
-----------

- all CM7 commits up to build date

- removed blur effect from popup menus (like the power-off menu) since it was causing slowness and lag

- changed wifi default timeout to 5 minutes after screen goes off. cm7 default hardcoded value was 15 minutes

- changed analog audio mixer to digital audio mixer. subjective listening result: less distortion and hissing via headphones

- changed volumes for louder headphones and maximum speaker volume without distortion

- added build.prop tweak for better battery life: pm.sleep_mode=1

- set wifi scan interval to 150 seconds to save battery (was 20 or 30 before)

- raised jpeg encoding quality to 97 for better image quality of photos (was 90 before). note: this is not a build.prop tweak, since that method won't work on CM7

- added "smooth spinners" (the "please wait"-circle-animation)

- created smooth indeterminate progress bar (the "infinite" progress bar). just applied some very basic photoshop skills for that

- A-GPS: added european NTP server (was north american before)

- tweaked SD-card readahead to 2048kb

- added more increments to volume bars for everything (music, ringtone, notification, alarm, calls, .....)

- tweaked /system, /data and /cache mountings (from Huexxx kernel) ([URL="http://xdaforums.com/showthread.php?t=1332311"]source[/URL])

- changed taskkiller values to 6mb 8mb 24mb 26mb 28mb 30mb (1536 2048 6144 6656 7168 7680) -> values taken from the "balanced 1" setting from zeppelinrox's supercharger v6 ([URL="http://xdaforums.com/showthread.php?p=16635544"]source[/URL])

- tweaked tcp buffersizes to 4096,87380,256960,4096,16384,256960

- changed transition effects to lge-p970-froyo-stock because they look nicer and smoother

- removed the android legacy libGLES driver, since it prevented the SGX530's graphics driver to do its job properly (should give a smoother overall experience + is proven to give an improved gaming experience)

KERNEL CHANGES
--------------

- added smartass2 governor and set default with battery-optimized values: DEFAULT_AWAKE_IDEAL_FREQ 800000; DEFAULT_SLEEP_IDEAL_FREQ 300000; DEFAULT_RAMP_UP_STEP 100000; DEFAULT_RAMP_DOWN_STEP 100000; DEFAULT_MAX_CPU_LOAD 66; DEFAULT_MIN_CPU_LOAD 33; DEFAULT_UP_RATE_US 48000; DEFAULT_DOWN_RATE_US 99000; DEFAULT_SLEEP_WAKEUP_FREQ 99999999; DEFAULT_SAMPLE_RATE_JIFFIES 2

- set deadline i/o scheduler default

- set battery driver to output current voltage in mV (so it is displayed correctly e.g. in spareparts' battery info)

- set swappiness to 0

- tweaked writeback and cache variables for extended battery life

dirty_ratio 90
dirty_background_ratio 80
dirty_expire_centisecs 1000
dirty_writeback_centisecs 2000
min_free_kbytes 4096
vfs_cache_pressure 10

Other users' verdicts: