[Script][All ROMS][AROMA]Suvi Booster Script V4.0 [6 Nov 2013][Profile Support]

Status
Not open for further replies.
Search This thread

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
:good::)Suvi Booster Script :):good:

zXb2Jm9.jpg


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.:D
Screenshot_2013-10-24-08-35-59.jpg

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.:cowboy:

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.

Features:
  • 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)

Will this work only on 4.2.2 or other ROMS as well
It will work on any ROM with proper kernel. In fact this can work on any device :highfive:

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 ->

/data/SuviBoosterScript/SuviBoosterConfig.sh (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.:cool:

Where to downloads?
Your are not allowed to download unless you click on thanks. Attached here :p

Any pre-requirements?
Yes. You should be running on a kernel which supports the configurations.
init.d support
Recommended to remove any other script from init.d that manages CPU :rolleyes:

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)

Credits:
Inspired from CPU Editor by smokin1337
also to MarkusMcNugen for the idea
XDA
All A110 users and ROM developers
Special thanks to pratik more for MIUI V5 4.2.2 ROM which made me develop this script
 

Attachments

  • SuviBoosterScriptV1.zip
    222.3 KB · Views: 717
  • SuviBoosterScriptV2.zip
    222.8 KB · Views: 818
  • SuviBoosterScriptV2.1.zip
    224.4 KB · Views: 515
  • SuviBoosterScriptV3.zip
    224.4 KB · Views: 462
  • SuviBoosterScript_uninstaller_all_versions.zip
    218.8 KB · Views: 896
  • SuviBoosterScript3.4.zip
    224.4 KB · Views: 756
  • SuviBoosterScript4.0.zip
    4.2 MB · Views: 9,286
Last edited:

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
Logs will be collected in a file -
/data/SuviBoosterScript/SuviBooster.log (for V2.1 and above)

/data/SuviA110Booster.log (for V2 and below)

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)

tail -f /data/SuviA110Booster.log (for V2 and below)

Code:
[26-10-2013 01:50:28 PM] setting /sys/devices/virtual/bdi/7:7/read_ahead_kb = 1024
[26-10-2013 01:50:28 PM] setting /sys/devices/virtual/bdi/default/read_ahead_kb = 1024
[26-10-2013 01:50:28 PM] setting /proc/sys/fs/lease-break-time = 10
[26-10-2013 01:50:28 PM] SuviBooster Script End, background script will continue
[B][COLOR="red"][26-10-2013 01:50:28 PM] Waiting for wake[/COLOR][/B]
[26-10-2013 01:50:28 PM] Current file size is 4 K
[26-10-2013 01:50:28 PM] setting /sys/devices/system/cpu/cpu1/online = 1
[COLOR="red"][26-10-2013 01:50:28 PM] Second core is now 1[/COLOR]
[26-10-2013 01:50:28 PM] setting /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = performance
[26-10-2013 01:50:28 PM] setting /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = hybrid
[COLOR="red"][B][26-10-2013 01:50:38 PM] Waiting for sleep[/B][/COLOR]
[26-10-2013 01:51:24 PM] setting /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand
[26-10-2013 01:51:24 PM] setting /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 667333
[26-10-2013 01:51:24 PM] setting /sys/devices/system/cpu/cpu1/online = 0
[26-10-2013 01:51:24 PM] Second core is now 0
[B][COLOR="red"][26-10-2013 01:51:24 PM] Waiting for wake[/COLOR][/B]
[26-10-2013 01:51:28 PM] setting /sys/devices/system/cpu/cpu1/online = 1
[26-10-2013 01:51:28 PM] Second core is now 1
[26-10-2013 01:51:28 PM] setting /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = performance
[26-10-2013 01:51:28 PM] setting /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 1001000
[26-10-2013 01:51:28 PM] setting /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = hybrid
[B][COLOR="Red"][26-10-2013 01:51:38 PM] Waiting for sleep[/COLOR][/B]

Look into this file for troubleshooting. Send me this file if you feel some problem.
 
Last edited:

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
Configuration guide

The config file has some parameters which you can edit. File is present at
/data/SuviBoosterScript/SuviBoosterConfig.sh (for V2.1 and above)

/system/etc/SuviBoosterConfig (for V2 and below)

or you can edit the file in the zip before flashing.


New folder structure (from V2.1 onward).
/data/SuviBoosterScript/
- SuviBooster.log (log file)
- SuviBoosterConfig.sh (configuration file)
- current_version.txt (current version, do not edit)
- SuviBoosterScriptV2.1.sh (main script engine, do not edit)


#!/system/bin/sh
#Suvi Booster Script config file
#Users are free to use this but ROM developers please DO NOT include this in your ROM
#Dont forget to say thanks to bsuhas here

#The default settings here are suitable for Micromax A110 (which I have) - dual core 1GHz, 512MB RAM
#Please change values if you have any other device

#CPU Core 1 when screen is ON/Awake
GOVERNOR_CPU1="performance"
MAX_FREQ_CPU1="1001000"
MIN_FREQ_CPU1="250250"

#CPU Core 1 when screen is OFF/Sleep
SLEEP_GOVERNOR_CPU1="ondemand"
SLEEP_MAX_FREQ_CPU1="667333"
SLEEP_MIN_FREQ_CPU1="250250"

#Recomended to be "1" for dual core devices however, set to "0" if you don't want the script to turn the second core on/off
#Set to "0" for single core devices
SECOND_CORE_ON_OFF="1"

#CPU Core 2 when screen is ON/Awake
GOVERNOR_CPU2="hybrid"
MAX_FREQ_CPU2="1001000"
MIN_FREQ_CPU2="250250"

#CPU Core 2 when screen is OFF/Sleep
SLEEP_GOVERNOR_CPU2="ondemand"
SLEEP_MAX_FREQ_CPU2="667333"
SLEEP_MIN_FREQ_CPU2="250250"

IO_SCHED="cfq"

#######Advanced properties below. Do not touch if you dont know them######
#Memory mgmt
ADJ_PARAMS="0,1,2,4,7,15"
MINFREE_PARAMS="2048,4096,8192,16384,24576,32768"
READAHEAD_KB="1024"

#Read this file only one time (at boot) (="1") or every time device wakes up (="0")
#Recommended to be "1". If you are trying out different configuration and want it to be applied without reboot then set to "0"
CONFIG_READ_ONE_TIME="1"

#Interval in seconds for script to pause when checking device is awake or sleep.
#This interval will not matter much. Recommended not to change
WAKE_SLEEP_CHECK_INTERVAL="10"
 
Last edited:

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
Changelog
Suvi Booster Script V4.0 (7Nov2013)
  • AROMA
  • Built in profiles as per your needs, select from Aroma installer
    cpIdfEn.jpg
  • New SBS logo
  • Aroma installer is all-in-one place for different profiles and uninstaller -
  • Profiles build-in -
    • Performance & Powersave
    • Hybrid & Powersave
    • Ondemand & Hybrid
    • Ondemand & Powersave
    • Performance & Hybrid
    • Sakuractive & Hybrid
    • Sakuractive & Powersave
  • Fixed sqlite3 binary on MIUI roms (maybe for all?)
  • Support to delete existing init.d tweaks
  • Other tweaks -
  • perfect mount options
  • Kernel VM management
  • Kernel scheduler, less aggressive settings
  • Misc tweaks for battery life
  • EXT4 tweaks - remove journalism
  • Defrags database files
  • Disable normalize sleeper
  • maybe some other ....


Suvi Booster Script V3.4 (6Nov2013)
  • Performance improvements (of script)
  • CPU1 and CPU2 settings are overlapped due to a bug (not in script but its MTK). Hence removed CPU2 governor and frequency settings.
  • 'performace' when awake, 'powersave' when sleep. Improve speed when active and saves battery when sleep.
  • guaranty to boost performance..... :)

Suvi Booster Script V3 (5Nov2013)
  • Performance improvements (of script)
  • No more background loop. Loop runs in main process.
  • Lags now reduced....(I hope so)
  • CONSIDER_BATTERY_STATUS="0" by default. to improve charging time
  • Sleep governors changed to conservative and powersave for CPU core 1 and 2 respectively - To improve battery life

Suvi Booster Script V2.1 (2Nov2013)
  • New folder structure.
    /data/SuviBoosterScript/
    - SuviBooster.log (log file)
    - SuviBoosterConfig.sh (configuration file)
    - current_version.txt (current version, do not edit)
    - SuviBoosterScriptV2.1.sh (main script engine, do not edit)
  • Re-factored code. More developer friendly :)
  • Prevents parallel execution. (due to bug in ROM). Script engine will ensure that its only one instance is running.
  • Permission issue fix. Run the script SuviBoosterConfig.sh once as root and then reboot.


Suvi Booster Script V2 (28Oct2013)
  • Added battery intelegence.
    #Consider the battery status in the script. like -
    #When charging, don't apply sleep setting freq and governors.
    #When battery is below 15 (see the BATTERY_MIN_LIMIT below) do not apply awake freq and governors
    #Set it to 0 if you want the script to ignore the battery status

    CONSIDER_BATTERY_STATUS="1"
    #The minimum battery percentage below which the battery saving profile is applied
    BATTERY_MIN_LIMIT="15"
  • Improved read_ahed_kb settings
  • Removed file monior loop. Now log file is cleared every 1000th execution of main loop.
 
Last edited:

khan_frd2002

Senior Member
Nov 9, 2011
1,884
4,527
Aurangabad
Last one....thanks for patience.

@bsuhas.... Here is My review after Using it 10 mins
I must say it works perfect no lag at all
scrolling is smooth transition is smooth
Great Work Bro

As I know its just beginnings but some suggestions from my side
add some dalvik tweak in script ( as it good for gamers and give more smoothness)
and also try to update the update script so that it will delete all the init.d script which is already there (as i have to delete the init.d tweaks myself before installing)

Other Than All Good.....
 
Last edited:

sheshuvadrevu

Senior Member
Dec 4, 2012
648
443
Hyderabad
Redmi Note 10 Pro
This is what all 4.2 Roms desperately need... This is what I have suggested to someone who felt 4.2 roms are laggy, i suggested him CPU Tuner app which does the same thing what this script does... It will sure help many roms to show their real power... Thanks Brother! :good:

I will come up with the review soon...
 
  • Like
Reactions: nirmalparmar87

vinod210383

Senior Member
May 25, 2013
82
18
Downloading and testing.

Will update the results and output.

Hope this one will change my mind to switch back to 4.1.

:)

---------- Post added at 02:13 PM ---------- Previous post was at 02:12 PM ----------

Downloading and testing.

Will update the results and output.

Hope this one will change my mind to switch back to 4.1.

:)
 

snhykoba

Senior Member
Sep 19, 2013
71
25
44
Somewhere in the earth
Sir..
- is this script works on 4.1.x ROMs..
- I am already in andirox 3.4.69. I set hybrid governer and cfg with no frill app.. may I remove setting..
- I am using 300 mob swap ram file with init.D folder.. may I remove this..
 
  • Like
Reactions: Groovyheartbeat

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,062
2,894
@bsuhas sir will this conflict with sir andiroxu 3.4.69 kernel .
can i use it on that as PX is already included in that kernel

Sir..
- is this script works on 4.1.x ROMs..
- I am already in andirox 3.4.69. I set hybrid governer and cfg with no frill app.. may I remove setting..
- I am using 300 mob swap ram file with init.D folder.. may I remove this..

The script works very well on andiroxu 3.4.69 kernel. Infact i have tested that only :)
For 4.1 do u feel need of any script? Its already smooth right? You can fladh this on 4.1 Roms it will work
Please remove no frills cpu ond any other cpu managing apps
You should keep the swap script. No problem.
 

shekhar1986

Senior Member
Aug 17, 2013
253
135
delhi
working great on dark magic ROM.
script is very efficiently managing both cores .
can't imagine the hard work of sir @bsuhas for this little but huge mod.
I can see the cores graph dancing live on screen.
superb
 
  • Like
Reactions: bsuhas

nworoid

Senior Member
Feb 8, 2013
141
36
Mumbai
@bsuhas thanks a lot for giving us such a good script.

Since today morning i am using this script with LegoIce 4.2.2 ROM and could not found any lags.

and its really great that you are heading towards 4.2.2 ROM.

Thanks once again...
 
  • Like
Reactions: bsuhas

ragnan86

Senior Member
Jan 23, 2011
313
48
Chennai
Hi,
@bsuhas, could you let me know which files need to be deleted from the init.d folder? I need cache swap.. is it fine to have with this?

uploadfromtaptalk1382895163514.jpg

Sent from my A110 using xda app-developers app
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 155
    :good::)Suvi Booster Script :):good:

    zXb2Jm9.jpg


    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.:D
    Screenshot_2013-10-24-08-35-59.jpg

    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.:cowboy:

    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.

    Features:
    • 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)

    Will this work only on 4.2.2 or other ROMS as well
    It will work on any ROM with proper kernel. In fact this can work on any device :highfive:

    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 ->

    /data/SuviBoosterScript/SuviBoosterConfig.sh (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.:cool:

    Where to downloads?
    Your are not allowed to download unless you click on thanks. Attached here :p

    Any pre-requirements?
    Yes. You should be running on a kernel which supports the configurations.
    init.d support
    Recommended to remove any other script from init.d that manages CPU :rolleyes:

    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)

    Credits:
    Inspired from CPU Editor by smokin1337
    also to MarkusMcNugen for the idea
    XDA
    All A110 users and ROM developers
    Special thanks to pratik more for MIUI V5 4.2.2 ROM which made me develop this script
    22
    Changelog
    Suvi Booster Script V4.0 (7Nov2013)
    • AROMA
    • Built in profiles as per your needs, select from Aroma installer
      cpIdfEn.jpg
    • New SBS logo
    • Aroma installer is all-in-one place for different profiles and uninstaller -
    • Profiles build-in -
      • Performance & Powersave
      • Hybrid & Powersave
      • Ondemand & Hybrid
      • Ondemand & Powersave
      • Performance & Hybrid
      • Sakuractive & Hybrid
      • Sakuractive & Powersave
    • Fixed sqlite3 binary on MIUI roms (maybe for all?)
    • Support to delete existing init.d tweaks
    • Other tweaks -
    • perfect mount options
    • Kernel VM management
    • Kernel scheduler, less aggressive settings
    • Misc tweaks for battery life
    • EXT4 tweaks - remove journalism
    • Defrags database files
    • Disable normalize sleeper
    • maybe some other ....


    Suvi Booster Script V3.4 (6Nov2013)
    • Performance improvements (of script)
    • CPU1 and CPU2 settings are overlapped due to a bug (not in script but its MTK). Hence removed CPU2 governor and frequency settings.
    • 'performace' when awake, 'powersave' when sleep. Improve speed when active and saves battery when sleep.
    • guaranty to boost performance..... :)

    Suvi Booster Script V3 (5Nov2013)
    • Performance improvements (of script)
    • No more background loop. Loop runs in main process.
    • Lags now reduced....(I hope so)
    • CONSIDER_BATTERY_STATUS="0" by default. to improve charging time
    • Sleep governors changed to conservative and powersave for CPU core 1 and 2 respectively - To improve battery life

    Suvi Booster Script V2.1 (2Nov2013)
    • New folder structure.
      /data/SuviBoosterScript/
      - SuviBooster.log (log file)
      - SuviBoosterConfig.sh (configuration file)
      - current_version.txt (current version, do not edit)
      - SuviBoosterScriptV2.1.sh (main script engine, do not edit)
    • Re-factored code. More developer friendly :)
    • Prevents parallel execution. (due to bug in ROM). Script engine will ensure that its only one instance is running.
    • Permission issue fix. Run the script SuviBoosterConfig.sh once as root and then reboot.


    Suvi Booster Script V2 (28Oct2013)
    • Added battery intelegence.
      #Consider the battery status in the script. like -
      #When charging, don't apply sleep setting freq and governors.
      #When battery is below 15 (see the BATTERY_MIN_LIMIT below) do not apply awake freq and governors
      #Set it to 0 if you want the script to ignore the battery status

      CONSIDER_BATTERY_STATUS="1"
      #The minimum battery percentage below which the battery saving profile is applied
      BATTERY_MIN_LIMIT="15"
    • Improved read_ahed_kb settings
    • Removed file monior loop. Now log file is cleared every 1000th execution of main loop.
    20
    Logs will be collected in a file -
    /data/SuviBoosterScript/SuviBooster.log (for V2.1 and above)

    /data/SuviA110Booster.log (for V2 and below)

    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)

    tail -f /data/SuviA110Booster.log (for V2 and below)

    Code:
    [26-10-2013 01:50:28 PM] setting /sys/devices/virtual/bdi/7:7/read_ahead_kb = 1024
    [26-10-2013 01:50:28 PM] setting /sys/devices/virtual/bdi/default/read_ahead_kb = 1024
    [26-10-2013 01:50:28 PM] setting /proc/sys/fs/lease-break-time = 10
    [26-10-2013 01:50:28 PM] SuviBooster Script End, background script will continue
    [B][COLOR="red"][26-10-2013 01:50:28 PM] Waiting for wake[/COLOR][/B]
    [26-10-2013 01:50:28 PM] Current file size is 4 K
    [26-10-2013 01:50:28 PM] setting /sys/devices/system/cpu/cpu1/online = 1
    [COLOR="red"][26-10-2013 01:50:28 PM] Second core is now 1[/COLOR]
    [26-10-2013 01:50:28 PM] setting /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = performance
    [26-10-2013 01:50:28 PM] setting /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = hybrid
    [COLOR="red"][B][26-10-2013 01:50:38 PM] Waiting for sleep[/B][/COLOR]
    [26-10-2013 01:51:24 PM] setting /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand
    [26-10-2013 01:51:24 PM] setting /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 667333
    [26-10-2013 01:51:24 PM] setting /sys/devices/system/cpu/cpu1/online = 0
    [26-10-2013 01:51:24 PM] Second core is now 0
    [B][COLOR="red"][26-10-2013 01:51:24 PM] Waiting for wake[/COLOR][/B]
    [26-10-2013 01:51:28 PM] setting /sys/devices/system/cpu/cpu1/online = 1
    [26-10-2013 01:51:28 PM] Second core is now 1
    [26-10-2013 01:51:28 PM] setting /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = performance
    [26-10-2013 01:51:28 PM] setting /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 1001000
    [26-10-2013 01:51:28 PM] setting /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = hybrid
    [B][COLOR="Red"][26-10-2013 01:51:38 PM] Waiting for sleep[/COLOR][/B]

    Look into this file for troubleshooting. Send me this file if you feel some problem.
    15
    Configuration guide

    The config file has some parameters which you can edit. File is present at
    /data/SuviBoosterScript/SuviBoosterConfig.sh (for V2.1 and above)

    /system/etc/SuviBoosterConfig (for V2 and below)

    or you can edit the file in the zip before flashing.


    New folder structure (from V2.1 onward).
    /data/SuviBoosterScript/
    - SuviBooster.log (log file)
    - SuviBoosterConfig.sh (configuration file)
    - current_version.txt (current version, do not edit)
    - SuviBoosterScriptV2.1.sh (main script engine, do not edit)


    #!/system/bin/sh
    #Suvi Booster Script config file
    #Users are free to use this but ROM developers please DO NOT include this in your ROM
    #Dont forget to say thanks to bsuhas here

    #The default settings here are suitable for Micromax A110 (which I have) - dual core 1GHz, 512MB RAM
    #Please change values if you have any other device

    #CPU Core 1 when screen is ON/Awake
    GOVERNOR_CPU1="performance"
    MAX_FREQ_CPU1="1001000"
    MIN_FREQ_CPU1="250250"

    #CPU Core 1 when screen is OFF/Sleep
    SLEEP_GOVERNOR_CPU1="ondemand"
    SLEEP_MAX_FREQ_CPU1="667333"
    SLEEP_MIN_FREQ_CPU1="250250"

    #Recomended to be "1" for dual core devices however, set to "0" if you don't want the script to turn the second core on/off
    #Set to "0" for single core devices
    SECOND_CORE_ON_OFF="1"

    #CPU Core 2 when screen is ON/Awake
    GOVERNOR_CPU2="hybrid"
    MAX_FREQ_CPU2="1001000"
    MIN_FREQ_CPU2="250250"

    #CPU Core 2 when screen is OFF/Sleep
    SLEEP_GOVERNOR_CPU2="ondemand"
    SLEEP_MAX_FREQ_CPU2="667333"
    SLEEP_MIN_FREQ_CPU2="250250"

    IO_SCHED="cfq"

    #######Advanced properties below. Do not touch if you dont know them######
    #Memory mgmt
    ADJ_PARAMS="0,1,2,4,7,15"
    MINFREE_PARAMS="2048,4096,8192,16384,24576,32768"
    READAHEAD_KB="1024"

    #Read this file only one time (at boot) (="1") or every time device wakes up (="0")
    #Recommended to be "1". If you are trying out different configuration and want it to be applied without reboot then set to "0"
    CONFIG_READ_ONE_TIME="1"

    #Interval in seconds for script to pause when checking device is awake or sleep.
    #This interval will not matter much. Recommended not to change
    WAKE_SLEEP_CHECK_INTERVAL="10"
    11
    Coming up next in this series
    Swap support -
    - With Aroma configuration for ->
    - Select which partition for swap
    - Select how much to swap

    So, stay tuned to channel Suvi... :p