[Q] SetCPU not setting Governor on boot - Galaxy S II Q&A, Help & Troubleshooting

Hello,
I have a Samsung Galaxy S2, running CheckROM HD 6 (Android 2.3.6).
I also running SiyahKernel 2.3.14 and SetCPU 2.3.0.
This is the thing:
I set on the first page (Main) the governor to "conservative" and also check "Set on boot".
But everytime I reboot my phone, the governor goes back to "ondemand".
​I had given to SetCPU root privileges.
Is there any way to fix it?
Or is there any way to check if something is overwriting the SetCPU setup?
I used to have older versions of SetCPU installed... and after so many upgrades... maybe the new versions are saving the setting in a different file/folder?
Help?
Thanks!

Try use voltage control app from play store

But is there any way to clear all the settings that SetCPU has defined?

pepemosca said:
But is there any way to clear all the settings that SetCPU has defined?
Click to expand...
Click to collapse
Yep, just uninstall set cpu

But where does SetCPU defines the init script for changing the Governor or something like that?
Does SetCPU do something like this: http://androidforums.com/esteem-all-things-root/510543-fix-cpu-governors-not-sticking.html
Code:
init.qcom.post_boot.sh
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
Or this? http://forum.xda-developers.com/showthread.php?p=23330719

set-cpu
good afternoon friend, on the main screen you must press the menu key and give you perflock disabler for Governor Acknowledge the default one, then you must manually setting it and then to check on set on boot and go.

Venomdroid said:
good afternoon friend, on the main screen you must press the menu key and give you perflock disabler for Governor Acknowledge the default one, then you must manually setting it and then to check on set on boot and go.
Click to expand...
Click to collapse
Hello! I've tried what you suggest on "perflock"... But SetCPU says that I don't have the "perflock".
Any other ideas?

Same issue here!
The only solution is to create an init.d script.

My solution, I'd installed Voltage Control https://play.google.com/store/apps/details?id=com.darekxan.voltagecontrol&hl=en

pepemosca said:
My solution, I'd installed Voltage Control https://play.google.com/store/apps/details?id=com.darekxan.voltagecontrol&hl=en
Click to expand...
Click to collapse
Unfortunately voltage control doesn't have the option to set the parameters for the governors... Sampling rate, samplig down factor, etc

How about using ExTweaks?

November13 said:
How about using ExTweaks?
Click to expand...
Click to collapse
Nope, ExTweaks doesn't have the option to change the parameters of the governors either. just setcpu but when you change the parameters they are not applied upon boot.

Related

SetCPU question

i have it set up as follows:200MHz Minimum Slider, 1200MHz Maximum Slider, Conservative mode and just followed the instructions as per https://sites.google.com/site/projec...allation-guide, but every time i boot up my phone and i start setcpu my readings are 1000max 100min but my sliders are set as 200MHz Minimum , 1200MHz Maximum. i know there is an option to set on boot but according to the link it states not to:
"Do not configure profiles, do not configure for set on boot. Set manually. There is a known problem with SetCPU that incorrectly configures your system at boot if selected. "
so if i want the settings to stick i have to click on the slider and it sets them to 200MHz Minimum , 1200MHz Maximum.
any suggestions as doing this manually is a pain....
adinis78 said:
i have it set up as follows:200MHz Minimum Slider, 1200MHz Maximum Slider, Conservative mode and just followed the instructions as per https://sites.google.com/site/projec...allation-guide, but every time i boot up my phone and i start setcpu my readings are 1000max 100min but my sliders are set as 200MHz Minimum , 1200MHz Maximum. i know there is an option to set on boot but according to the link it states not to:
"Do not configure profiles, do not configure for set on boot. Set manually. There is a known problem with SetCPU that incorrectly configures your system at boot if selected. "
so if i want the settings to stick i have to click on the slider and it sets them to 200MHz Minimum , 1200MHz Maximum.
any suggestions as doing this manually is a pain....
Click to expand...
Click to collapse
Until the bugs are fixed in the program, get used to manually setting it every time you re-boot your phone. Thems the breaks I'm afraid. Gotta set it manually, there is no work around until it gets fixed inside the program.
Dragoth12 said:
Until the bugs are fixed in the program, get used to manually setting it every time you re-boot your phone. Thems the breaks I'm afraid. Gotta set it manually, there is no work around until it gets fixed inside the program.
Click to expand...
Click to collapse
thank you, hoping there was another way
adinis78 said:
thank you, hoping there was another way
Click to expand...
Click to collapse
I actually just barely ran across this in another thread, I can't vouch for how it works as I am just relaying info, check out this post:
http://forum.xda-developers.com/showpost.php?p=8725283&postcount=10294
If it works, you will not even have to use SetCPU. Good luck.
Dragoth12 said:
I actually just barely ran across this in another thread, I can't vouch for how it works as I am just relaying info, check out this post:
http://forum.xda-developers.com/showpost.php?p=8725283&postcount=10294
If it works, you will not even have to use SetCPU. Good luck.
Click to expand...
Click to collapse
hmm sounds like an idea but how do i access /system/etc/init.d and i don't mind using SetCPU as i have a profile saved so that if my phone starts to overheat it will revert to the setting i have set up, i might just stick with it until SetCPU is fixed.
Dragoth12 said:
I actually just barely ran across this in another thread, I can't vouch for how it works as I am just relaying info, check out this post:
http://forum.xda-developers.com/showpost.php?p=8725283&postcount=10294
If it works, you will not even have to use SetCPU. Good luck.
Click to expand...
Click to collapse
That idea is now brain fart? uhhhhhh. hahaha.
I'm also using 1.9.1 currently, and I use profiles, and use the "autodetect" option in setcpu. Haven't had any problems since.
Even though the sliders say 100min/1000max, it shows 200min/1200max.
PaiPiePia said:
That idea is now brain fart? uhhhhhh. hahaha.
Click to expand...
Click to collapse
haha, that's funny....guess it doesn't work.
Sorry this is somewhat off topic from the thread...but what's the benefits/pros of using SetCPU? And are there any negatives/cons to using it?

[Q] Setcpu Script commands???

I have a script that i use in the init.d folder to keep some apps in memory i was wondering what the commands are to set the cpu frequency's and governor.
Im just trying to keep it simple i just want a the text for a startup script to set the minimum cpu freq and the gov state
example
Min 450
Max 1000
Gov: Performance
Im assuming this would be a busybox script im using zepplins bulletproof app code and i just wanted to throw some more code in there to play with cpu speeds. In a file with no extension in init.d folder.
Would this work?
Code:
#!/system/bin/sh
#
# By Mike Lierman
# www.mikelierman.com
#
# You may use, reuse, and modify freely.
#
# This script sits in the background and waits for Android to tell it that the phone is sleeping. It
# will then set a gentle 456MHz max cpu frequency, and turn off the second core; which cures insomnia.
FREQENCY_MAX="1000000" # 1GHz
FREQENCY_MIN="250000" # 250MHz
do
echo $FREQENCY_MIN > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;
echo $FREQENCY_MAX > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;
echo $FREQENCY_MIN > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq;
echo $FREQENCY_MIN > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq;
fi
done
no it wouldnt work because in the 2.3.3 kernel, it ignores what ever you tell it and does what ever it wants. you can try it but then look at the frequencies and see that it went back to 216 and 1ghz. in addition if you are using the performance governor it will run at max 100% of the time. thats just how the governor works
Just wanted to say if u take 03cpufreq from navens init.d hack and put it in init.d folder. Change permission and owners and edit the values to what u want in the script for min/max and go to setcpu u CAN use the slider bars to hold a min/max and change governor from performance/powersave and it WILL hold the value u set. I have been doing this.for over 5 hours now and it hasn't ONCE dropped below the 456 I set it at for min.
ashclepdia said:
Just wanted to say if u take 03cpufreq from navens init.d hack and put it in init.d folder. Change permission and owners and edit the values to what u want in the script for min/max and go to setcpu u CAN use the slider bars to hold a min/max and change governor from performance/powersave and it WILL hold the value u set. I have been doing this.for over 5 hours now and it hasn't ONCE dropped below the 456 I set it at for min.
Click to expand...
Click to collapse
ive been playing around with all those scripts for a day or 2 and i have been using cputuner to track what freq im at. it will stay until the kernel disables the 2nd core then it goes back to normal. i just did what you said and put it at 608 (its just what ever i clicked on) watch it stay up there until # of cores was 1 then i did something and back to 216. use cputuner to check your freq stats. im willing to bet that you have time spent in 216 and 312. i even used both the script to use performance governor and it runs it at what ever freq it wants. who ever set up this kernel was a ****tard
gnuworldorder said:
ive been playing around with all those scripts for a day or 2 and i have been using cputuner to track what freq im at. it will stay until the kernel disables the 2nd core then it goes back to normal. i just did what you said and put it at 608 (its just what ever i clicked on) watch it stay up there until # of cores was 1 then i did something and back to 216. use cputuner to check your freq stats. im willing to bet that you have time spent in 216 and 312. i even used both the script to use performance governor and it runs it at what ever freq it wants. who ever set up this kernel was a ****tard
Click to expand...
Click to collapse
Ill check that out. There gotta be a way to set both cpus. Some type of script or something. Maybe im wrong tho.

[Q] CPU clock governing app

Hi!
Is there an app that can change the CPU governor according to useage? I mean, I'd like to have the governor on "ondemand" setting, while I'm not using the phone (the screen is black), but it would be cool if an app would set the governor to "performance" as soon as the screen lights up. It could be done with Tasker perhaps, but Tasker doesn't want run on my phone, doesn't even want to install...
Is there an app for this? Thanks for the answer!
koko008 said:
Hi!
Is there an app that can change the CPU governor according to useage? I mean, I'd like to have the governor on "ondemand" setting, while I'm not using the phone (the screen is black), but it would be cool if an app would set the governor to "performance" as soon as the screen lights up. It could be done with Tasker perhaps, but Tasker doesn't want run on my phone, doesn't even want to install...
Is there an app for this? Thanks for the answer!
Click to expand...
Click to collapse
Yyyyy, SetCPU ....
Sent from my GT-I5800 using XDA Premium App
cop1976 said:
Yyyyy, SetCPU ....
Sent from my GT-I5800 using XDA Premium App
Click to expand...
Click to collapse
Such a dumb, I am... Of course SetCPU! I've been using NoFrills for some time, I'm changing that. Thanks!!!
Use Set CPU, go the 2nd page in that and there you can select profiles.
For example suppose your kernel allows you upto 667 MHZ, then you can select in the profile something like :
When in call, max 300 Mhz.....or Screen Off, Max 200 MHz.
in the 3rd page of Set CPU, it also allows you to undervolt, you may try with -50 in the values.
umangsagar said:
Use Set CPU, go the 2nd page in that and there you can select profiles.
For example suppose your kernel allows you upto 667 MHZ, then you can select in the profile something like :
When in call, max 300 Mhz.....or Screen Off, Max 200 MHz.
in the 3rd page of Set CPU, it also allows you to undervolt, you may try with -50 in the values.
Click to expand...
Click to collapse
My default profile is 390-1170 MHz with performance scaling, and I've set up a profile for screen off with 390-780 MHz with ondemand scaling. I suppose I can set it to lower frequencies as you suggested.
How does undervolting affect CPU usage? I don't know much about these things

[Q] Question regarding Voltage Control and No-Frills

Hi guys i have a tiny problem i need clarifying please.
Before anyone says anything i already asked this question and no one seemed to be able to answer it to me. So here it goes.
My question is can we combine the two. What i mean is use Voltage Control to set cpu Voltages and use No Frills to adjust Cpu clock speeds. Voltage Control on my latest rom that i am on Hyperdroid latest version does not save my overclocking and reverts back to stock frequencies 1200Mhz-200Mhz even after i save it on boot. I leave it to reboot for a few minutes till the phone settles and go to check it and governor and i/o schedulers are saved and my voltages also but the only thing that reverts back is the cpu clock frequencies. When using No -Frills though it saves my overclocking.
So my question can i use one app to overclock and the other to undervolt and use them both at the same time?
I know stupid question and i am pretty sure that i know the answer already but if i can get a few opinions regarding the matter i would appreciate it..Also why on the latest firmware it reverts back to stock frequencies even when we save it on Voltage Control is it a bug or something and does anyone if it will get fixed as i really like that app since it does everything i need it to.
Thanks again
you can use both, but I don't see why, VC has also CPU sliders so you can set both parameters from one app
maranello69 said:
you can use both, but I don't see why, VC has also CPU sliders so you can set both parameters from one app
Click to expand...
Click to collapse
Yes i know that. But see the whole point of asking this question is that Voltage Control reverts my frequencies back to stock..So say i try to set my cpu clock frequencies to 1600max-200min and then save it and set on boot once i reboot my phone it reverts it back to stock frequencies...Hence why i am currently using only No frills at the moment till this issue is fixed...And hence why i was wondering if i can undervolt with one app and overclock with the other

[Q] Reboot issue

Just wondered if anyone can help me with this.
If I have an app open, ie messages and the screen times out, the phone locks and I have to take out the battery to reset. This dones not happen if I am on the home screen though.
I have root and I'm running Foxhound 2.7 I have also tried different ROMs and the same thing happens. I have done a megawipe are reinstalled several times.
Any idea what is going on?
syztemlord said:
Just wondered if anyone can help me with this.
If I have an app open, ie messages and the screen times out, the phone locks and I have to take out the battery to reset. This dones not happen if I am on the home screen though.
I have root and I'm running Foxhound 2.7 I have also tried different ROMs and the same thing happens. I have done a megawipe are reinstalled several times.
Any idea what is going on?
Click to expand...
Click to collapse
try changing the kernel.
Governor Setting
1-) Which governor are you using. I got similar problems with "zzmove battery" governor.
2-) If you are using undervolt (UV) values dont make any change for 200mHz step. (or using standar -50mV, -75mV UV options try lower values)
Now using Googy Max Kernel and pegasusq governor and got no problem again.
kadiremrah said:
1-) Which governor are you using. I got similar problems with "zzmove battery" governor.
2-) If you are using undervolt (UV) values dont make any change for 200mHz step. (or using standar -50mV, -75mV UV options try lower values)
Now using Googy Max Kernel and pegasusq governor and got no problem again.
Click to expand...
Click to collapse
Not undervolting but I'll give that kernel a try as I am using zzmoove at the moment with Boeffla.
Thanks

Categories

Resources