[Android Software/Hacking General [Developers Only]] zeppelinrox:
be sure to have busybox installed... v1.18.2 or lower... see OP for download link to a suitable busybox installer (jrummy)

edit: oh, added su command, just in case...

Sorry, I forgot to reply...

here is an easy, quick n dirty, 98kickasskernel install script...

#!/system/bin/sh
mount -o remount,rw /system 2>/dev/null
for m in /dev/block/mtdblock*
do
mount -o remount,rw $m /system 2>/dev/null
done
cat > /system/etc/init.d/98kickasskernel <<EOF
#!/system/bin/sh
#Put together and refined by zeppelinrox. See included links for resources.
sysctl -p
#
#Disable normalized sleeper
#
mount -t debugfs none /sys/kernel/debug;
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features;
#
# Memory management
# http://xdaforums.com/showthread.php?t=813309
busybox sysctl -w vm.swappiness=0;
busybox sysctl -w vm.oom_kill_allocating_task=0;
busybox sysctl -w vm.panic_on_oom=0;
busybox sysctl -w vm.dirty_background_ratio=60;
busybox sysctl -w vm.dirty_ratio=95;
busybox sysctl -w vm.min_free_kbytes=4096;
busybox sysctl -w vm.vfs_cache_pressure=10;
busybox sysctl -w kernel.panic=0;
busybox sysctl -w kernel.panic_on_oops=1;
busybox sysctl -w kernel.msgmni=2048;
busybox sysctl -w kernel.msgmax=64000;
busybox sysctl -w kernel.shmmax=268435456;
busybox sysctl -w kernel.sem='500 512000 64 2048';
busybox sysctl -w kernel.sched_features=24189;
busybox sysctl -w kernel.hung_task_timeout_secs=0;
busybox sysctl -w kernel.sched_latency_ns=18000000;
busybox sysctl -w kernel.sched_min_granularity_ns=1500000;
busybox sysctl -w kernel.sched_wakeup_granularity_ns=3000000;
busybox sysctl -w kernel.sched_compat_yield=1;
busybox sysctl -w kernel.sched_shares_ratelimit=256000;
busybox sysctl -w kernel.sched_child_runs_first=0;
busybox sysctl -w kernel.threads-max=5000;
busybox sysctl -w net.core.wmem_max=524288;
busybox sysctl -w net.core.rmem_max=524288;
busybox sysctl -w net.ipv4.tcp_tw_recycle=1;
busybox sysctl -w net.ipv4.tcp_rmem='6144 87380 524288';
busybox sysctl -w net.ipv4.tcp_wmem='6144 87380 524288';

# Tweak cfq io scheduler
# http://xdaforums.com/showthread.php?p=12445735
# http://intl.feedfury.com/content/47077504-tweak-skript-f-r-android-spica.html
# http://xdaforums.com/showthread.php?p=4806456

for i in $(ls -d /sys/block/*);
do
echo "cfq" > $i/queue/scheduler;
done;

for i in $(ls -d /sys/block/*);
do
echo "0" > $i/queue/rotational;
echo "1" > $i/queue/iosched/low_latency;
echo "1" > $i/queue/iosched/back_seek_penalty;
echo "1000000000" > $i/queue/iosched/back_seek_max;
echo "0" > $i/queue/iosched/slice_idle;
echo "512" > $i/queue/nr_requests;
echo "1" > $i/queue/iosched/fifo_batch;
echo "16" > $i/queue/iosched/quantum;
done;

for i in $(ls -d /sys/block/*);
do
echo "noop" > $i/queue/scheduler;
done;

# Remount all partitions with noatime
for k in $(busybox mount | grep relatime | cut -d " " -f3);
do
sync;
busybox mount -o remount,noatime $k;
done;

# Misc tweaks for battery life
busybox sysctl -w vm.dirty_writeback_centisecs=2000;
busybox sysctl -w vm.dirty_expire_centisecs=1000;
EOF
chown 0.0 /system/etc/init.d/98kickasskernel
chmod 777 /system/etc/init.d/98kickasskernel
mount -o remount,ro /system 2>/dev/null
for m in /dev/block/mtdblock*
do
mount -o remount,ro $m /system 2>/dev/null
done

3G TurboCharger install:

#!/system/bin/sh
mount -o remount,rw /system 2>/dev/null
for m in /dev/block/mtdblock*
do
mount -o remount,rw $m /system 2>/dev/null
done
cat >> /system/build.prop <<EOF
ro.ril.hsxpa=3
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=28
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=9
EOF
mount -o remount,ro /system 2>/dev/null
for m in /dev/block/mtdblock*
do
mount -o remount,ro $m /system 2>/dev/null
done

Just run these once... or whenever you flash or update a ROM

It's easy to do with script manager (copy/paste/save) but be sure to run as root