[Streak 5 Android Development] deysmacro:
if you guys want to try to cut the boot time significantly...

system > etc > init.streak.post_boot.sh

just remove the line like below. as always leave a backup of the file in case you guys want to go back to the original settings.

#!/system/bin/sh

mount -t debugfs debugfs /sys/kernel/debug

sysctl -w kernel.panic_on_oops=1;
sysctl -w kernel.panic=0;

# Button Notification
chmod 666 /dev/i2c-0
chmod 666 /sys/class/leds/button-backlight/led0
chmod 666 /sys/class/leds/button-backlight/led1
chmod 666 /sys/class/leds/button-backlight/led2

tune2fs -o journal_data_writeback /block/path/to/system;
tune2fs -O ^has_journal /block/path/to/system;
tune2fs -o journal_data_writeback /block/path/to/cache;
tune2fs -O ^has_journal /block/path/to/cache;
tune2fs -o journal_data_writeback /block/path/to/data;
tune2fs -O ^has_journal /block/path/to/data;

busybox mount -o remount,noatime,noauto_da_alloc,nodiratime,barrier=0,nobh /system;
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh /data;
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh /cache;

echo "0,1,2,4,7,15" > /sys/module/lowmemorykiller/parameters/adj
echo "2048,4096,8192,16384,24576,32768" > /sys/module/lowmemorykiller/parameters/minfree
echo "Deadline" > /sys/block/mmcblk1/queue/scheduler
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "60" > /sys/devices/system/cpu/cpu0/cpufreq/conservative/up_threshold
echo "40" > /sys/devices/system/cpu/cpu0/cpufreq/conservative/down_threshold
echo "200000" > /sys/devices/system/cpu/cpu0/cpufreq/conservative/sampling_rate
echo "10" > /sys/devices/system/cpu/cpu0/cpufreq/conservative/sampling_down_factor
echo "128000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "998400" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/conservative/freq_step
echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/conservative/ignore_nice_load
echo "2048" > /proc/sys/kernel/msgmni
echo "64000" > /proc/sys/kernel/msgmax
echo "500 512000 64 2048" > /proc/sys/kernel/sem
echo "1000000" > /proc/sys/kernel/sched_min_granularity_ns
echo "2000000" > /proc/sys/kernel/sched_latency_ns
echo "0" > /proc/sys/kernel/sched_wakeup_granularity_ns
echo "2097152" > /proc/sys/kernel/shmall
echo "268435456" > /proc/sys/kernel/shmmax
echo "4096" > /proc/sys/kernel/shmmni
echo "24189" > /proc/sys/kernel/sched_features
echo "15" > /proc/sys/kernel/hung_task_timeout_secs
echo "1" > /proc/sys/kernel/sched_compat_yield
echo "256000" > /proc/sys/kernel/sched_shares_ratelimit
echo "0" > /proc/sys/kernel/sched_child_runs_first
echo "525810" > /proc/sys/kernel/threads-max
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "5" > /proc/sys/vm/dirty_background_ratio
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "1" > /proc/sys/vm/oom_kill_allocating_task
echo "0" > /proc/sys/vm/panic_on_oom
echo "0" > /proc/sys/vm/laptop_mode
echo "50" > /proc/sys/vm/swappiness
echo "10" > /proc/sys/vm/vfs_cache_pressure
echo "90" > /proc/sys/vm/dirty_ratio
echo "8" > /proc/sys/vm/page-cluster
echo "3" > /proc/sys/vm/drop_caches
echo "0" > /proc/sys/vm/oom_kill_allocating_task
echo "1" > /proc/sys/vm/overcommit_memory
echo "4" > /proc/sys/vm/min_free_order_shift
echo "0" > /proc/sys/vm/block_dump
echo "404480" > /proc/sys/net/core/wmem_max
echo "404480" > /proc/sys/net/core/rmem_max
echo "256960" > /proc/sys/net/core/rmem_default
echo "256960" > /proc/sys/net/core/wmem_default
echo "10" > /proc/sys/fs/lease-break-time

# MicroSD Card Speed Tweak
echo "8" > /sys/block/mtdblock0/bdi/read_ahead_kb
echo "8" > /sys/block/mtdblock1/bdi/read_ahead_kb
echo "8" > /sys/block/mtdblock2/bdi/read_ahead_kb
echo "8" > /sys/block/mtdblock3/bdi/read_ahead_kb
echo "128" > /sys/devices/virtual/bdi/7:0/read_ahead_kb
echo "128" > /sys/devices/virtual/bdi/7:1/read_ahead_kb
echo "128" > /sys/devices/virtual/bdi/7:2/read_ahead_kb
echo "128" > /sys/devices/virtual/bdi/7:3/read_ahead_kb
echo "128" > /sys/devices/virtual/bdi/7:4/read_ahead_kb
echo "128" > /sys/devices/virtual/bdi/7:5/read_ahead_kb
echo "128" > /sys/devices/virtual/bdi/7:6/read_ahead_kb
echo "128" > /sys/devices/virtual/bdi/7:7/read_ahead_kb
echo "10240" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
echo "10240" > /sys/devices/virtual/bdi/default/read_ahead_kb
echo "97" > /sys/devices/virtual/bdi/179:0/max_ratio
echo "97" > /sys/devices/virtual/bdi/default/max_ratio
echo "10240" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;

# Touchscreen
echo 7035 > /sys/class/touch/switch/set_touchscreen;
echo 8002 > /sys/class/touch/switch/set_touchscreen;
echo 11000 > /sys/class/touch/switch/set_touchscreen;
echo 13060 > /sys/class/touch/switch/set_touchscreen;
echo 14005 > /sys/class/touch/switch/set_touchscreen;

#Memory fixup
chmod 755 /system/etc/*.sh

[COLOR="Red"]# Defrags Database Files
for i in \`busybox find /d* -iname "*.db"\`; do
sqlite3 \$i 'VACUUM;';
echo " VACUUMED: \$i"
sqlite3 \$i 'REINDEX;';
echo " REINDEXED: \$i"
done[/COLOR]

#Mugen Power batteries support
/system/etc/init.dsc.set_mugen.sh `cat /data/dsc.mugen_config`

#Enable sound hack for all
chmod 666 /sys/module/q6audio/parameters/*
/system/etc/init.dsc.set_volume.sh `cat /data/dsc.volume_levels`

[COLOR="Red"]#Move dalvik-cache to cache partition (if it's big enough) to free up data partition space
if [ ! -d /cache/dalvik-cache ] then
busybox rm -rf /cache/dalvik-cache /data/dalvik-cache
mkdir /cache/dalvik-cache /data/dalvik-cache
fi
busybox chown 1000:1000 /cache/dalvik-cache
busybox chmod 0771 /cache/dalvik-cache

# Bind mount dalvik-cache so we can still boot without the sdcard
busybox mount -o bind /cache/dalvik-cache /data/dalvik-cache
busybox chown 1000:1000 /data/dalvik-cache
busybox chmod 0771 /data/dalvik-cache[/COLOR]

# Disable Sleepers
chmod -R 777 /sys/kernel/debug/sched_features
echo NO_GENTLE_FAIR_SLEEPERS > /sys/kernel/debug/sched_features;
echo NO_NEW_FAIR_SLEEPERS > /sys/kernel/debug/sched_features;
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features;
chmod -R 444 /sys/kernel/debug/sched_features

# disable logger - performance boost & save memory (comment and reboot for logcat)
rm /dev/log/main

[COLOR="Red"]echo 1 > /sys/devices/platform/leds-cpcap-adb/leds/button-backlight/brightness
echo 1 > /sys/devices/platform/leds-cpcap-adb/leds/button-backlight/max_brightness[/COLOR]
fi

[COLOR="Red"]#remove cache, tmp, and unused files
rm -f /cache/*.apk
rm -f /cache/*.tmp
rm -f /data/dalvik-cache/*.apk
rm -f /data/dalvik-cache/*.tmp

if [ -e /data/system/userbehavior.db ]
then
rm -f /data/system/userbehavior.db
fi

if [ -d /data/system/usagestats ]
then
chmod 400 /data/system/usagestats
fi

if [ -d /data/system/appusagestats ]
then
chmod 400 /data/system/appusagestats
fi

#remove main log
if [ -e /dev/log/main ]
then
rm -f /dev/log/main
fi

sync;
setprop cm.filesystem.ready 1;

mount -o remount rw /
mount -o remount rw /system

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

# One-time tweaks to apply on every boot
STL=`ls -d /sys/block/stl*`
BML=`ls -d /sys/block/bml*`
MMC=`ls -d /sys/block/mmc*`

# Tweak deadline io scheduler
for i in $STL $BML $MMC $TFSR; 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 3 > $i/queue/iosched/slice_idle
echo 16 > $i/queue/iosched/quantum
echo 1 > $i/queue/iosched/fifo_batch
echo deadline > $i/queue/scheduler

busybox mount -o remount,rw -t rootfs /
sh /system/bin/userinit.sh

LOOP=`ls -d /sys/block/loop*`;
RAM=`ls -d /sys/block/ram*`;
MMC=`ls -d /sys/block/mmc*`;
for j in $LOOP $RAM
do
echo "0"

done[/COLOR]

my record: approx. 1 minute 15 seconds :D