rhino889a
Android Expert
Our phone has a dual core cpu. But it doesnt work like a laptop or many other dualcore phonmes.
Ours is setup more like a Single core with a Helper core.v For the most part cpu 1 is off. It kicks on when needed.
The voltage to cpu is controled in steps our stages. The OnDemand Governor has its own way of controlling these cpu steps.(15 or 16 steps)
So for performance when apps are opened it jumps up to max frequency,it hangs there then comes back down if the app didnt need full speed.
The governor can controll (somewhat) how fast the cpu scales up through the steps and how fast it scales back down.
Also it can control how often a (decision) is made on whether it should scale down or up.
I try to avoid using apps (to avoid memory and cpu use) if possible.
So i made a bunch of files preset to make the Govenor do what i want.
In the /etc folder is a file called init.qcom.post_poot.sh
This is the default settings for the governer.
So i made copies of it, modified each one. so i have a folder full of governor presets.
these can be quickly executed with Root Browser or Root Explorer.(i use both but prefer Root Browser for executing these) NO REBOOT NEEDED
The files are self explanatory.
Stock Is Stock settings
Stock +4 Is Made to be much quicker than Stock It stays at higher Freqs longer and is snappier EATS BATTERY more
STOCK -6 is less responsive and stays in lower freqs and is GREAt on battery
Simply navigate to the folder with root browser or root explorer
(or script manager) click on one then choose options run as Root,and execute.
You just changed thegovernor settings.
A reboot will revert governor settings back to stock.
If you want to make any off these your default,simply copy it to /etc then rename it, simply remove the begining until the name is
init.qcom.post_boot.sh
This is now your default governor setting
I use Stock-6 as my default. Maybe a little to sluggish for you, i gutted my phone so i can use this setting with response but huge battery savings.
so if i am gonna play a game or Covert a video to different format i simply execute Stock+1 or higher.when i am done i just execute a STOCK- script and am back to battery save mode.NO REBOOT NEEDED
Also included is
cpu1 on and of scripts
turns the cpu one off or back on. if you turn it back on its not on all the time, its back in helper mode
####UPDATE### Note if you want cpu1 off as default you can just drop the cpu1-off script into bootbuddy folder cpu1 will be shut off after boot
I could not get it to run through initd
View attachment AAAA_OnDemand_Governor_Scripts.zip
unzip and execute any one
EDIT, note
Stock settings are designed mostly quickness of initiating apps. the cpu shoots up unneeded then comes back down. Example, while watching movies my phone stays in 384mhz stage. most apps dont run at max ,but stock the cpu shoots up anyways.
If you use the any of the Stock- settings it will stay down in lower stages more, but will scale up if needed.
Also, this is a common file throughout all roms.(that i know of)
So this will work with any rom .
if you want to see what cpu stages are used, you get can cpuspy from playstore.
execute a governor setting use the phone than open cpu spy. it will show you results. Remember if you dont close cpuspy you need to click REFRESH to see what happened since you checked last
Ours is setup more like a Single core with a Helper core.v For the most part cpu 1 is off. It kicks on when needed.
The voltage to cpu is controled in steps our stages. The OnDemand Governor has its own way of controlling these cpu steps.(15 or 16 steps)
So for performance when apps are opened it jumps up to max frequency,it hangs there then comes back down if the app didnt need full speed.
The governor can controll (somewhat) how fast the cpu scales up through the steps and how fast it scales back down.
Also it can control how often a (decision) is made on whether it should scale down or up.
I try to avoid using apps (to avoid memory and cpu use) if possible.
So i made a bunch of files preset to make the Govenor do what i want.
In the /etc folder is a file called init.qcom.post_poot.sh
This is the default settings for the governer.
So i made copies of it, modified each one. so i have a folder full of governor presets.
these can be quickly executed with Root Browser or Root Explorer.(i use both but prefer Root Browser for executing these) NO REBOOT NEEDED
The files are self explanatory.
Stock Is Stock settings
Stock +4 Is Made to be much quicker than Stock It stays at higher Freqs longer and is snappier EATS BATTERY more
STOCK -6 is less responsive and stays in lower freqs and is GREAt on battery
Simply navigate to the folder with root browser or root explorer
(or script manager) click on one then choose options run as Root,and execute.
You just changed thegovernor settings.
A reboot will revert governor settings back to stock.
If you want to make any off these your default,simply copy it to /etc then rename it, simply remove the begining until the name is
init.qcom.post_boot.sh
This is now your default governor setting
I use Stock-6 as my default. Maybe a little to sluggish for you, i gutted my phone so i can use this setting with response but huge battery savings.
so if i am gonna play a game or Covert a video to different format i simply execute Stock+1 or higher.when i am done i just execute a STOCK- script and am back to battery save mode.NO REBOOT NEEDED
Also included is
cpu1 on and of scripts
turns the cpu one off or back on. if you turn it back on its not on all the time, its back in helper mode
####UPDATE### Note if you want cpu1 off as default you can just drop the cpu1-off script into bootbuddy folder cpu1 will be shut off after boot
I could not get it to run through initd
View attachment AAAA_OnDemand_Governor_Scripts.zip
unzip and execute any one
EDIT, note
Stock settings are designed mostly quickness of initiating apps. the cpu shoots up unneeded then comes back down. Example, while watching movies my phone stays in 384mhz stage. most apps dont run at max ,but stock the cpu shoots up anyways.
If you use the any of the Stock- settings it will stay down in lower stages more, but will scale up if needed.
Also, this is a common file throughout all roms.(that i know of)
So this will work with any rom .
if you want to see what cpu stages are used, you get can cpuspy from playstore.
execute a governor setting use the phone than open cpu spy. it will show you results. Remember if you dont close cpuspy you need to click REFRESH to see what happened since you checked last
