[Galaxy S II Original Android Development] _Garry_:
Hey guys,

first of all i need to say sorry, that i was gone, but heavy personal issues came up which took top priority over everything and its still not over yet.

Seconds:

Nice work from you guys. SlimRom is powerfull as allways and a wonderfull Rom.

So a big

THANK YOU

for SlimRom

My thanks goes for

Krarvind - for creating this SlimRom

HardCorePawn - for building SlimRom for our S2

and ofcourse the rest of the SlimRom team.

Third:

Here i have some tweaks i applied to my

build.prop

# GUI tweaks
ro.max.fling_velocity=12000 #faster scrolling
ro.min.fling_velocity=8000 #faster scrolling
ro.camera.sound.forced=0 #disable camera sound

# wifi & battery tweaks
ro.ril.disable.power.collapse=0
wifi.supplicant_scan_interval=120

# phone tweaks
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.telephony.call_ring.delay=1000

# media tweaks
ro.media.enc.jpeg.quality=100
ro.media.dec.vid.wmv.enabled=1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.aud.flac.enabled=1
ro.media.dec.vid.avi.enabled=1
ro.media.enc.hprof.vid.bps=8000000
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=false

init.d - this are parts i found usefull for my heavy phone usage and found in varios other xda threats, so they ARE NOT my own but result of XDA research and google.com ^^

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

mount -o noatime,remount,rw,discard,barrier=0,commit=60,noauto_da_alloc,delalloc /cache /cache;
mount -o noatime,remount,rw,discard,barrier=0,commit=60,noauto_da_alloc,delalloc /data /data;
mount >> /sdcard/fsck.log;
echo "Remount Done! Please see /sdcard/fsck.log for your new mount options.";
echo "If this script works, you'll see most of your mounts being noatime, and";
echo "/data, /datadata and /cache having barrier=0 and commit=60.";

#Thunderbold SD Tweaks

if [ -e /sys/devices/virtual/bdi/179:0/read_ahead_kb ];
then
echo "4096" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
fi;

if [ -e /sys/devices/virtual/bdi/179:8/read_ahead_kb ];
then
echo "4096" > /sys/devices/virtual/bdi/179:8/read_ahead_kb;
fi;

if [ -e /sys/devices/virtual/bdi/179:28/read_ahead_kb ];
then
echo "4096" > /sys/devices/virtual/bdi/179:28/read_ahead_kb;
fi;

if [ -e /sys/devices/virtual/bdi/179:33/read_ahead_kb ];
then
echo "4096" > /sys/devices/virtual/bdi/179:33/read_ahead_kb;
fi;

if [ -e /sys/devices/virtual/bdi/default/read_ahead_kb ];
then
echo "1024" > /sys/devices/virtual/bdi/default/read_ahead_kb;
fi;

## a small Kernel tweak
echo "0" > /proc/sys/kernel/random/write_wakeup_threshold
echo "64" > /proc/sys/kernel/random/read_wakeup_threshold
for i in `busybox find /sys -name add_random -print 2>/dev/null`; do echo 0 > $i; done
setprop persist.sys.scrollingcache 3
echo "1000" > /proc/sys/vm/dirty_expire_centisecs
echo "500" > /proc/sys/vm/dirty_writeback_centisecs

# Thunderbold Governor Tweaks
# ==============================================================
# Ondemand
# ==============================================================
if [ -e /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold;
echo "10" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/down_differential;
#echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/io_is_busy;
#echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_down_factor;
#echo "20000" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate;
fi;
if [ -e /sys/devices/system/cpu/cpu1/cpufreq/ondemand/up_threshold ]; then

echo "85" > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/up_threshold;
echo "10" > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/down_differential;
#echo "1" > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/io_is_busy;
#echo "1" > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/sampling_down_factor;
#echo "20000" > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/sampling_rate;

fi;
if [ -e /sys/devices/system/cpu/cpufreq/ondemand/up_threshold ]; then

echo "85" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold;
echo "10" > /sys/devices/system/cpu/cpufreq/ondemand/down_differential;
#echo "1" > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy;
#echo "1" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor;
#echo "20000" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate;
fi;

# ==============================================================
# Pegasusq
# ==============================================================

if [ -e /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/up_threshold;
echo "10" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/down_differential;
#echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/io_is_busy;
echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/sampling_down_factor;
echo "20000" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/sampling_rate;
echo "100" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/freq_step;
echo "5" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/cpu_up_rate;
echo "20" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/cpu_down_rate;
echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/pegasusq/freq_for_responsiveness;

fi;
if [ -e /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/up_threshold;
echo "10" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/down_differential;
#echo "1" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/io_is_busy;
echo "1" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/sampling_down_factor;
echo "20000" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/sampling_rate;
echo "100" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/freq_step;
echo "5" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/cpu_up_rate;
echo "20" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/cpu_down_rate;
echo "100000" > /sys/devices/system/cpu/cpu1/cpufreq/pegasusq/freq_for_responsiveness;

fi;
if [ -e /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold ]; then

echo "85" > /sys/devices/system/cpu/cpufreq/pegasusq/up_threshold;
echo "10" > /sys/devices/system/cpu/cpufreq/pegasusq/down_differential;
#echo "1" > /sys/devices/system/cpu/cpufreq/pegasusq/io_is_busy;
echo "1" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_down_factor;
echo "20000" > /sys/devices/system/cpu/cpufreq/pegasusq/sampling_rate;
echo "100" > /sys/devices/system/cpu/cpufreq/pegasusq/freq_step;
echo "5" > /sys/devices/system/cpu/cpufreq/pegasusq/cpu_up_rate;
echo "20" > /sys/devices/system/cpu/cpufreq/pegasusq/cpu_down_rate;
echo "100000" > /sys/devices/system/cpu/cpufreq/pegasusq/freq_for_responsiveness;

fi;

# ==============================================================
# Hotplug
# ==============================================================

if [ -e /sys/devices/system/cpu/cpu0/cpufreq/hotplug/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/up_threshold;
echo "40" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/down_threshold;
echo "5" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/hotplug_in_sampling_periods;
echo "20" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/hotplug_out_sampling_periods;
echo "10" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/down_differential;
#echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/io_is_busy;
echo "20000" > /sys/devices/system/cpu/cpu0/cpufreq/hotplug/sampling_rate;
fi;
if [ -e /sys/devices/system/cpu/cpu1/cpufreq/hotplug/up_threshold ]; then
echo "85" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/up_threshold;
echo "40" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/down_threshold;
echo "5" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/hotplug_in_sampling_periods;
echo "20" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/hotplug_out_sampling_periods;
echo "10" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/down_differential;
#echo "1" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/io_is_busy;
echo "20000" > /sys/devices/system/cpu/cpu1/cpufreq/hotplug/sampling_rate;

fi;
if [ -e /sys/devices/system/cpu/cpufreq/hotplug/up_threshold ]; then

echo "85" > /sys/devices/system/cpu/cpufreq/hotplug/up_threshold;
echo "40" > /sys/devices/system/cpu/cpufreq/hotplug/down_threshold;
echo "5" > /sys/devices/system/cpu/cpufreq/hotplug/hotplug_in_sampling_periods;
echo "20" > /sys/devices/system/cpu/cpufreq/hotplug/hotplug_out_sampling_periods;
echo "10" > /sys/devices/system/cpu/cpufreq/hotplug/down_differential;
#echo "1" > /sys/devices/system/cpu/cpufreq/hotplug/io_is_busy;
echo "20000" > /sys/devices/system/cpu/cpufreq/hotplug/sampling_rate;
fi;

for init.d i have more scripts but I'm still testing them if they are usefull.

With my current setup i get nearly 4hrs of deepsleep with no battery loss.

Kernel: allways latest CM10.1 MCM

Active init.d scripts:

01zipalign

05freemem

06removecache

07fixperms

I removed the sdcard script because i use my own script which i posted above. ^^

I give no support for my research because when you know what to do, then you know what they are for.

Solong: I whish for very long SlimRom support for the S2 XD