[Captivate Android Development] Jsmokey:
[Kernel KH3&KJ3]Red Nebula [sched tweaks, vm tweaks, ondemand tweaks][zipalign added]

This kernel does not support lagfix(ext4) at least not till I finish work on cwm and build in universal lagfix

Added Zipalign version (file ends in ZA)

Here it is Red Nebula v1.2 (kh3 and kj3 versions now). Its modified from boogs kernel (thank you for the use of your kernel as the base boog without it this wouldn't have been possible) with a lot tweaked and added. Quadrant for me runs around 2000 with it. I recommend cf bench by chainfire or antutu for benchmarking instead though as they have a lot more tests that matter in the android world and as we all know Quadrant means jack anyways. UI is extremely smooth and lag free and system is always extremely responsive.

Update:1.2 is released (pulled 1.0 and 1.1 all together) it includes a few more tweaks for responsiveness and helps out cf bench scores overall and lowers quadrant again, wtf quadrant. ;p

Remember this kernel is tweaked to give a highly responsive lag free device it is not built to get crazy high test scores as most of the tweaks I made improve overall i/o performance, disk throughput, java efficiency, and keep as much memory free as possible without going overboard killing everything in the background, a lot of the tweaks also will help battery life to some extent.

Also please don't request a lag fix version, I built one and it really didn't make much, if any, difference and that's with over 150 apps on my phone. Something about GB on the captivate seems to negate the effects lagfix normally has on performance so I left it out to simplify things and cut down on space in the kernel to save for future tweaks.

##List of mods(Updated)##

#tweaks to lmk keeps mem use down without going overboard

#aggressive version should keep mem free around at least 60mb

#swappiness is tweaked for speed when switching between open apps

#vfs_cache_pressure tweaks help improve overall performance but may require

a reboot every other day in the standard version to keep things snappy aggressive version shouldn't suffer as from this side effect as badly

#various other kernel scheduler tweaks

#tweaks to cpu scheduler(designed for on demand governor only)

#tcp/ip modified for speed and security

#other vm property tweaks improve speed and batterylife

#custom boot animation support for sanim.zip (KH3 still has no boot anim, sorry guys this thing is killing me trying to get working.)

#internal memory (SD) tweaks to reduce disk overhead and increase throughput

#added a new zipalign version of the kernel (the ones that have ZA at the end of the name it will zipalign all apks /system and /data that are not already aligned. just gives an extra little boost to performance.

note: I'm having problems getting custom bootanims working still for kh3, it won't show one so dont freak if you don't see anything after the att screen. It also helps boot time slightly if enough request is made I will post another version with the bootanimation re-enabled to the normal galaxy s boot.

##need to fix##

just bootanim support for now

##fixed in kj3 kh3 fix coming once I can figure out kh3's problem with me##

/\/\Thanks to Kyuta/\/\

##Installation Notes##

To begin as always I am not responsible for any damage to your device or loss of data damage.

Make sure you disable lagfix if it is enabled before installation of my kernel it absolutely doesn't support lagfix and I don't want anyone ended up with a soft or hard brick for trying to flash over a lagfixed device.

Installation is straight forward download the Red Nebula zip attached below and flash through cwm as normal. The only thing to keep in mind is this will wipe all you init.d scripts but it does back them up to /sdcard/initd_backups in the new versions just in case you want to try re-adding any later.

I set it to remove them to prevent scripts already in place from messing with those included with the kernel. Also the kernel doesn't work for nandroid backups as with pretty much all gb kernels so far so please don't try unless you are't worried about bricking.

Also the installation does clear caches for you during installation but feel free to do it anyways afterwords if you want.

note about initial boot up lag: After boot when the system is loading your homescreens you will most likely encounter a small lag at first then everything should come up very fast after a second or two. This is due to the read ahead buffer tweaks I made. They are loading up more information initially and this is what is causing it. The reason for me going slightly more aggressive than the norm is after initial boot up overall read/write rates are dramatically improved over other values I've tried and it makes for a much snappier feel overall, especially when opening gallery, accessing large music libraries and opening file managers.

Feel free to ask questions and leave feed back.

##Credits##

Boog-for the use of his kernel as a base

Kyuta-for help with getting bootanims fixed

ddoubt-for pointing out I forgot to fix the symlink in my

updater script for bootanimtion

All the people at IBM making manual pages

All the people who have made pages/manuals about the linux kernel & tweaking it

Without the above none of this would have been possible.

##side note to other devs##

you may include my tweaks and values in your kernels with credit given, I've spent countless hours researching and testing to get this project to where it is now. About 30-40% of the values used have been previously used by many others before but the rest I found researching manual/reference pages and some I found to work best through trial and error. The scripts except 99completed and the bootanimation script are my own work and while most are basic they are mine so please don't include them in tweak packs, kernels, and rom & kernel packages without permission.

##--updated links for fix to init.d backup scritpt and error in updater-scritpt!!--##