[Script][All ROMS][AROMA]Suvi Booster Script V4.0 [6 Nov 2013][Profile Support]
Suvi Booster Script
V4.0 added on 7Nov2013
V3.4 added on 6Nov2013
uninstaller for all versions added on 5Nov2013
V3 added on 5Nov2013
V2.1 added on 2Nov2013
V2 added on 28Oct2013
What is this script?
This is a init.d script which will manage CPU frequencies, governors, IO scheduler, etc. based on the phone state.
Users are free to use this but ROM developers please DO NOT include this in your ROM. Please direct a link to this thread. This will make things at one place
Why I should use this script?
I have observed annoying LAG in many (almost all) 4.2.2 ROMs. I did some investigation and figured out that if we set the proper CPU governor and frequency then the lags are reduced greatly. I am happy with MIUI rom with this script...I feel like 4.1 ROM smoothness.
Well, this is not a big thing. I can do it easily. What different specialty this script has?
Its not a big thing to set the frequency and governor but if you do it, it will eat your battery a lot. Running your CPU at full speed and both cores active is gonna take battery down very fast. So I thought that what if the settings are applied ONLY WHEN phone is active. When phone is sleeping, go back to default power saving settings. So we will have performance when needed with good battery backup. So I decided to write a init.d script which will manage this.
But, let me declare this - This script is aimed to improve performance. Expect little more battery drain than normal. If you want performance, you have to bear this. Also properly setting governors and frequencies you can minimize the battery impact.
Will this work only on 4.2.2 or other ROMS as well
- init.d script, no need any app
- Sets CPU governor and freques depending on phone state - awake or sleeping
- High performance when you need the phone
- Battery saver when phone is not in use
- Configurable settings - choose your favourite configuration with few simple steps
- Sets ADJ and MINFREE parameters to get good RAM
- Supports multiple profiles - like setcpu (coming soon)
- Aroma installer to choose your suitable configuration.(coming soon)
It will work on any ROM with proper kernel. In fact this can work on any device
Hmm. Ok how to change to my favorite configurations?
This script is configurable to suit your needs without writing single line of 'code'. There is a configuration file ->
(for V2.1 nad above)
/system/etc/SuviBoosterConfig (for V2 and below)
Here you can define your favorite governors for each core, scheduler, frequencies when phone is active and sleeping (yes different frequencies can be set), ADJ and MINFREE parameters, read_ahead_kb value, and some other script specific configurations. Open the file you will get it.
Where to downloads?
Your are not allowed to download unless you click on thanks. Attached here
Yes. You should be running on a kernel which supports the configurations.
Recommended to remove any other script from init.d that manages CPU
How do I know whether the script is applied and working?
run the command on adb shell or terminal emulator to read and monitor log file ->
tail -f /data/SuviBoosterScript/SuviBooster.log
(for V2.1 and above)
/data/SuviA110Booster.log (for V2 and below)
The command output should change as you awake or sleep the phone.
How bsuhas is going to enhance this?
Yes. I am planning to enhance the script further - adding condition that while charging, everything runs at full speed. some other setting which will make this script eventually a single point of performance boost of all times. You would not need anything else. I am also embedding this script in Suvi Tool.
(*This is not related to Suvi ROM)
Inspired from CPU Editor by smokin1337
also to MarkusMcNugen for the idea
All A110 users and ROM developers
Special thanks to pratik more for MIUI V5 4.2.2 ROM which made me develop this script