[Galaxy S 4 General] Kushan02:
Hey guys,

I have made this thread to post results of vigorous study, research and experience in order to achieve a perfectly tuned kernel...

I have spent many hours finding what each of the available option in stweaks are for and have studies in detail about what each setting or governor is good at or built for....

I learnt this from many information threads available on xda (Reference links for those threads at the end of post)...

First of all you need to be rooted and need a custom kernel like Kushan Kernel, Imperium Kernel etc which support Stweaks settings so you can change governor, frequencies etc...

So basically there are three types of Rom users. (according to me :D )

Who like performance and want a snappy experience not caring about battery life (Me included :p )

Those who don't care much about performance and care very much about the battery life and SOT they get

Those who like a mixture of both (Some performance loss for them is okay)

First of all I not responsible if anything happens to your device or if a ghost attacks you or even if you burn down your house :p

Okay so below here are the settings which I have researched a lot and personally tried (obviously your experience may be different)

The data below is more based on research than on practical test (though it has been tested)

Best Settings for I9505 (May or may not work on other devices)

----------------------------------------------------------------

CPU GOVERNER:

Performance -> Interactive

Battery -> SmartMax, Ondemand

Balance	-> Interactive, YankActive

Gaming	-> Interactive

----------------------------------------------------------------

HOTPLUG:

Performance	-> MPDescision, Intelliplug (Performance)

Battery	-> Intelliplug (Conservative)

Balance	-> Intelliplug (Balanced, Eco Performance, Eco Conservative)

Enable TouchBoost

----------------------------------------------------------------

GPU GOVERNER:

Overall	-> Simple

----------------------------------------------------------------

I/O SCHEDULERS:

Performance -> FIOPS, Noop

Multitasking -> BFQ, CFQ

Battery	-> Noop, FIFO

Balance	-> SIO, ZEN

Internal Storage Read-Ahead:

Stability -> 128kB

Balance -> 1024kB

Performance -> 2048kB

SD Card Read-Ahead:

If Size of SDCard is (Card should be of good quality if not branded then use 128kB)

Less than 8GB -> 128kB

16 GB	-> 1024kB

32 GB or more -> 2048kB

----------------------------------------------------------------

MISC:

Android Logger -> OFF

zRAM -> OFF (Only keep it on if you are heavy multi tasker or play heavy games)

Swappiness:

Smooth Operation -> Between 0-50% (Ideal 20%)

Heavy Gaming	->	Between 50-130%

TCP Congestion -> Westwood

Dirty Background Ratio -> 5%

Dirty Ratio	-> 20%

VFS Cache Pressure	-> 100%

Dirty Expire Centisecs -> 200%

Dirty WriteBack Centisecs -> 500%

---------------------- THATS ALL FOLKS -----------------------------

I would like to thank xda and few other sites for all the research I could do.

Here are some threads if you want to go into detail how I found my conclusions

http://xdaforums.com/showthread.php?t=1736168

http://xdaforums.com/showthread.php?t=1856256

http://xdaforums.com/showthread.php?t=1663809

http://xdaforums.com/showthread.php?t=2117588

http://xdaforums.com/showthread.php?t=2222345