[Q] setCPU Voltage Table - Atrix 4G Q&A, Help & Troubleshooting

So after installing kholk's OC kernel, setCPU doesn't give me the correct voltages. For example, 1000MHz is set to 7mV and 1100MHz is set to 101mV. I know this isn't right and doesn't apply these voltages until you click apply, then it freezes. It will only let me subtract voltages and not add anything.
Also it gives me the option of 0MHz as a clock speed, however setCPU converts it to 216MHz.
Do I need to change a default file somewhere to fix this?

Related

[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] Unable Edit profile Set CPU

guys, I installed the set cpu apk from xda forum but when I try to add a Profile, I can't change or edit the default minimum (100mHz) and maximum (1700mHz) frequency setting.
I can only edit the Profile Name and Scaling Name.
My Main profile is minimum (100mHz) and maximum (1000mHz)
Im so confused.
Set your frequencies on the main screen to whatever your want. Say 200min and 1200max (just for example), make sure your governor is not set to Performance or you will be maxed out 100% all the time. Then go into profiles and hit Add Profile. Select parameter you want and then you should be able to set the max/min frequencies then. Pretty sure if you don't set max/min on main screen, profiles won't link up and you won't be able to set them.
Been on a kernel that doesn't like profiles, so I haven't used them in awhile and especially don't use Screen Off profile if on any Bali (1.8, 1.8uv, x1.2). It doesn't play nice with screen off profile.
Yeap that's true change to an oc kernel.
Sent from my vibrant using xda premium

Need help in UV vdd

Anyone who can help me out in undervolting the vdd? Here's my code for vdd.
Whenever I try to lower the value of voltage by subtracting a small integer eg. 4, the vdd's dont correctly apply and it shows "VDD set failed" in dmesg. But raising of voltage works..
I think there is some minimum limit of voltage required that's why its not going down. Any way I can lower that limit somehow? Or can I do something so that users can reduce the voltage? Any workarounds for that?
EDIT: Mission succesful

Categories

Resources