[LG Optimus 2x] vadonka:
hi guys!

i decided to make a special kernel what is a mixed version of the swiftextreme and the ironkernel.

i take every usefull part from the swiftextreme what is helped the power saving, and merged to the ironkernel stuffs. the whole kernel is based on the latest cm7 lge-star kernel.

i build four different voltage level version for every ramhack. i attach the voltage table xlsx file for further information. i provide for you guys the zimage file, a modifyed lge-kernel boot.img with the updated zimage and cmdline, and the kernel modules. i make two extra module, the one is the cifs module, the other is the ntfs module (who have a huge sdcard and want to use the ntfs partition. of course the cwm need a fat32 partition so in that case you need to split the sdcard in two partition)

the other advance is the compcache management. this kernel handle the swap/zram very well, not just supported but optimized (swiftextreme kernel have this feature and i used this part too), so if you want to use the compressed swap memory you can do it with this kernel. compcache is not using any block device, but using a part of the memory and compress the data in it. it can be hold a much more information than the normal memory but need a little more cpu time for using it.

if you using the phone for heavy multitasking i suggest that using compcache at least 50MB size. in that case helped a lot.

the boot.img files can be replace the boot.img in cm7 updater, the zimage files can be usefull in the ironkernel updater.

everything packed in this zip file: http://www.donka.hu/android/ironkernel_all.zip

one example cwm update zip file with the boot.img: http://www.donka.hu/android/ikrnLPS64L3.zip

just replace the boot.img files with the one what is good for you and overwrite the modules just in case.

if you want to use the zram you can use my tweak init script or use this code in an init script:

#!/system/bin/sh

#You can adjust the compcache zram device size in MB
CS_SIZE="100"

#Compcache management
echo 1 > /sys/block/zram0/reset
setprop persist.compcache.user 1
setprop persist.service.compcache 1
sync && sysctl -w vm.drop_caches=3
etweak /proc/sys/vm/swappiness 30
echo $(($CS_SIZE*1024*1024)) > /sys/block/zram0/disksize
mkswap /dev/block/zram0 >/dev/nul
swapon /dev/block/zram0
#Cron job for periodically cache drop
mount -o remount,rw /system
mkdir -p /system/etc/cron.d/crontabs
echo "*/30 * * * * sync && sysctl -w vm.drop_caches=3" > /system/etc/cron.d/crontabs/root
mount -o remount,ro /system
/system/xbin/crond -b -c /system/etc/cron.d/crontabs

this will handle the compcache, no need to enable in the cm menu.

also create a cron job for dropping cache. it is very usefull and with the help of that you can awoid that the phone become laggy after a while.

currently im on the 64m level 3 version (the lowest voltage level) with 100MB zram cache and everything is perfect.

happy new year guys :)

---------- Post added at 04:39 AM ---------- Previous post was at 04:29 AM ----------

zipalign: zipalign apk files, not needed in every reboot, you can use a cwm method at once

defragdb: useless, not gain any extra performance.

avoid bootloop you need to clear cache and dalvik-cache after the kernel update.