• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root make CPU governor stick!

if you want your CPU governor to stick, search for the thread called
No-frills CPU governor stick

...or, if you want to know how to do it without the app:

create a script with this in it...

Code:
#/system/bin/sh
while true
do 
 echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
 sleep 600
done
(where it says 'conservative', insert your preferred cpu governor setting)

save the script as
/data/cpuGov.sh

then edit this file:
/init.rc
add these two lines to the end of the file:

Code:
#run cpu governor script
/system/bin/sh /data/cpuGov.sh &

if you do this it will run the script at start-up of your LG esteem, to re-set your preferred CPU governor every 10 minutes (change the 'sleep' time in the script to any number of seconds that works for you).

I used the app, Root Browser Lite, to help me create and edit text files as root. I also used Terminal Emulator and BusyBox Free. If your cpuGov.sh file is not executable you can make it executable with this busybox command (from the terminal, as root) chmod 777 /data/cpuGov.sh
 
if you want your CPU governor to stick, search for the thread called
No-frills CPU governor stick

...or, if you want to know how to do it without the app:

create a script with this in it...

Code:
#/system/bin/sh
while true
do 
 echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
 sleep 600
done
(where it says 'conservative', insert your preferred cpu governor setting)

save the script as
/data/cpuGov.sh

then edit this file:
/init.rc
add these two lines to the end of the file:

Code:
#run cpu governor script
/system/bin/sh /data/cpuGov.sh &

if you do this it will run the script at start-up of your LG esteem, to re-set your preferred CPU governor every 10 minutes (change the 'sleep' time in the script to any number of seconds that works for you).

I used the app, Root Browser Lite, to help me create and edit text files as root. I also used Terminal Emulator and BusyBox Free. If your cpuGov.sh file is not executable you can make it executable with this busybox command (from the terminal, as root) chmod 777 /data/cpuGov.sh


No sir, get cpu no frills "classic" then click safety valve & no using outside sources. Works perfectly
 
Back
Top Bottom