[Galaxy Ace S5830 Android Development] GadgetCheck:
Introduction

TurboBoost is a script package by me, Now due to the time i took in building a working ICS port for SGS2 with Cyanogen and TeamHacksung i got to study a lot about the ICS framework and working. Now what i did was to apply the same tweaks i found there on to a GB rom and vola TurboBoost was born!

Benefits

Better performance, better battery life through Linux kernel tweaks catered for Android OS and flash memory.

Better battery life and performance through usage of screenstate_scaling whereby it switches governors/thresholds/VM depending on your screen state.

Better network throughput from TCP tweaks and 3G tweaks

Less RAM usage through zipalign.

Faster database access through defragmentization of sqlite db files (a lot of apps use Database to store data like Swype dictionaries, Game saves etc)

Faster disk access through remount script (noatime, disable barrier etc)

Less lags through Quasi-charger, with multitasking

Requirements

Android Gingerbread 2.3.x

At least 2MB free on /system (Delete unused ringtones or useless apps like Aldiko/Allshare etc).

Root

Kernel that supports init.d

Ext4 lagfix if you want to use the remount script

Instructions

For the time being this is for developers and advanced users only,

SO I WONT BE PROVIDING ANY CWM PACKAGES if you dont know what to do with the package better not touch it let the developers do it for you ;)

Developed

This will Zipallign every system .apk and framework @Boot!

Credit to Doc from Hyperdroid team for it

for apk in /system/app/*.apk ; do
zipalign -c 4 $apk;
ZIPCHECK=$?;
if [ $ZIPCHECK -eq 1 ]; then
echo ZipAligning $(basename $apk) | tee -a $LOG_FILE;
zipalign -f 4 $apk /cache/$(basename $apk);
if [ -e /cache/$(basename $apk) ]; then
cp -f -p /cache/$(basename $apk) $apk | tee -a $LOG_FILE;
rm /cache/$(basename $apk);
else
echo ZipAligning $(basename $apk) Failed | tee -a $LOG_FILE;
fi;
else
echo ZipAlign already completed on $apk | tee -a $LOG_FILE;
fi;
done;

for apk in /system/framework/*.apk ; do
zipalign -c 4 $apk;
ZIPCHECK=$?;
if [ $ZIPCHECK -eq 1 ]; then
echo ZipAligning $(basename $apk) | tee -a $LOG_FILE;
zipalign -f 4 $apk /cache/$(basename $apk);
if [ -e /cache/$(basename $apk) ]; then
cp -f -p /cache/$(basename $apk) $apk | tee -a $LOG_FILE;
rm /cache/$(basename $apk);
else
echo ZipAligning $(basename $apk) Failed | tee -a $LOG_FILE;
fi;
else
echo ZipAlign already completed on $apk | tee -a $LOG_FILE;
fi;
done;

Touch Screen Sensitive FIX

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;

In house ICS Developed Tweaks

Included libsqlite.so and libsqlite_ini.so from Android 4.0 (improves performance)

Included app_process and system_server from Android 4.0 (improves scrolling)

Included sqlite3 from Android 4.0

Included Vpn

Files In Package

xbin> openvpn & sqlite3

etc>>init.d> s78enable_touchscreen_1 , S95zipalign , S98CFSK & S98system_tweak

bin> app_process & system_server

lib> libncurses.so , libsqlite.so & libsqlite_jni.so

Important

Dont use a RAM script with this

Set the permissions to 777

Make sure if u use TB-V8 only use its content, and verify your personal tweaks dont tamper its functionality

Can be used on both CM and Sammy Rom's (But reminder i don't Guarantee ur phone will boot)

Credits

Zacharias.maladroit

XDA's devs for some reference of some tweaks in Zach's scripts

zeppelinrox Supercharger scripts

ChainFire - Touchscreen Tweaks

pikachu01-ThunderBolt! via S98system_tweak

@doctorcete- for the zipallinging

@All- if any one i have missed out!

Info for Developers: Please Give Due Credit's if you use it in your ROM's

And please use the thread for support and not PM!

Added a CWM Flash-able zip, try out and Report ;)