[Android Software/Hacking General [Developers Only]] pikachu01:
[CWM][SCRIPTS][TWEAKS] ThunderBolt! v2.6.1 - 3/5/12 [Major Update Updated!]

News

Updated ThunderBolt! to v2.6.0 with major changes to the RAM as well as governor settings as well as moved everything to /system partition. This means /sdcard/bolt_scripts is now in /system/etc/bolt_scripts. Removed kernel panic related settings (use kernel defaults instead).Also updated LMK to only use the /system partition. Moved zipalign script to bolt_scripts as first boot will slow down if a lot of APKs are not zipaligned. Zipalign manually or move it to init.d if you want to.

Updated ThunderBolt! to v2.6.1 with fixes to the main CWM updater script as well as moved S98bolt_siyah to bolt_scripts. Move it to init.d if you want to use ThunderBolt!'s hotplug/cpuidle/brightness settings for SGSII kernels.

Introduction

ThunderBolt! is a script package by me, pikachu01 that combines a few notable tweaks shamelessly modified to the max as well as hacks and scripts that I came up on my own(and added tonnes of things over the months of development and testing). Without further delay, please read the rest of the OP :)

Features

Zach's modified system_tweak (I/O Sched, Readahead, VM, TCP, 3G, BFS/CFS tweaks)

Zach's modified screenstate_scaling script - VM Scaling

Darky's Zipalign script that actually works (modified it a bit to get it actually working. It was broken as is before this.)

Patched libsqlite that disables the need to fsync. Extremely fast database writes.

app_process from Fugutweaks and system_server from Honeycomb 3.2

Quasi-charged! - Only using Supercharger's script but with ThunderBolt!'s own LMK/ADJ/OOM. Supercharger Update9 RC3.2.

zipalign binary

sqlite3 binary

remount script - Included in /sdcard/bolt_scripts/

sqlite_optimize script - Included in /sdcard/bolt_scripts/

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 performance and battery life for database writes as fsync is not utilized anymore.

Better network throughput from TCP tweaks and 3G tweaks

Less RAM usage through zipalign. I found that market apps like Viber and PlantsVsZombies aren't zipaligned. Oh and Swype too. Surprised? Me too.

Reduced /dbdata, /data, /sdcard usage of *.db files and 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 mutltasking (e.g. NFS shift + Opera mobile with 5 tabs fully opened and no lags)

Minimum 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

Downloads and changelogs are in the:

Original ThunderBolt! thread

Any support for Galaxy S 4G must be placed here rather than the original thread.

A few Galaxy S 4G owners kindly asked me to post here so that the goodness of ThunderBolt! is shared to the masses. They have been thoroughly tested by a few Galaxy S 4G owners.

Warning: 3G addon is only compatible with i9000

Note: You need to manually mount the /sdcard (or emmc) in recovery aside from mounting /system and /data. If you can't mount /sdcard or emmc, copy the bolt_scripts manually to your internal sdcard.

Currently working devices

Samsung Galaxy S i9000

Samsung Galaxy S II i9100

Samsung Captivate

Samsung Vibrant

Samsung Galaxy S 4G

Samsung Galaxy S Plus i9001

Samsung Galaxy Note

Samsung Infuse 4G

Samsung Galaxy Tab

Samsung Galaxy S Plus i9001

Samsung Galaxy SL i9003

Samsung Galaxy SII AT&T i777

Samsung Galaxy Nexus