Using Tasker for CPU control? - Android Q&A, Help & Troubleshooting

I would like manually create settings for when my CPU is overclocked and underclocked and I was hoping to find some help with this. I want my phone to underclock to roughly 800mhz - 900mhz when the screen is off, battery is bellow 20% and when the phone is above a certain temperature and overclocked to 1.1ghz at all other times. How would I go about doing this? I am new to tasker and there doesn't seem to be an option for CPU controll. If someone could advise me how to do it, rather than just direct me somewhere I can download a profile, I would appreciate it.
I am using a HTC Desire with VJ's CM 10.1 rom (performance control is not in settings as of now, using daemon to overclock)

Related

[Q] Best Setcpu profiles?

Hello,
I am wondering what the best Setcpu profiles are for SGSII when you want performance while awake and save as much as possible in Idle.
Can I put it all the way down to 500mHz while screen off and still be able to run background processes properly?
I don't really see why this shouldn't work. I had it set like that, but I also have it set to 500MHz when active quite often, as this is enough for many applications. Still, that might not be necessary, as it resides in this state quite much of the time anyway.
Since I have undervolted my phone recently, I had to set the "screen off" profile to 800MHz so that the screen comes up (otherwise, it wouldn't). But in the end, it probably doesn't matter too much what you have set for that profile, as the phone should be sleeping most of the time anyway, shouldn't it?
jeo1996 said:
Hello,
I am wondering what the best Setcpu profiles are for SGSII when you want performance while awake and save as much as possible in Idle.
Can I put it all the way down to 500mHz while screen off and still be able to run background processes properly?
Click to expand...
Click to collapse
Profiles are useless, the ondemand governor should scale down your cpu by default when not in use, that' s the whole point of this governor!

set cpu

i am using set cpu...and i set cpu frequency to 800, but sometimes i find the cpu frequency 1200...rebooted but still no use...i think task manager is killing set cpu...anyone can help me to stop setcpu from getting killed? or should i use some other app for underclocking?
kryptoner said:
i am using set cpu...and i set cpu frequency to 800, but sometimes i find the cpu frequency 1200...rebooted but still no use...i think task manager is killing set cpu...anyone can help me to stop setcpu from getting killed? or should i use some other app for underclocking?
Click to expand...
Click to collapse
Use tegrak. Set cpu seems to get ignored
thanks a lot...i'll try it now
kryptoner said:
i am using set cpu...and i set cpu frequency to 800, but sometimes i find the cpu frequency 1200...rebooted but still no use...i think task manager is killing set cpu...anyone can help me to stop setcpu from getting killed? or should i use some other app for underclocking?
Click to expand...
Click to collapse
SetCPU isn't even worth of that US2. Seriously I thought it'd help me save my battery life by setting the clock rate at wanted rate, but it's doing nothing but under clocking the CPU whole time and instead of saving battery it's draining it. I have tried every profile, still. I'd NOT recommend SetCPU to anyone.
I have tried Tegrak too, the free version, not for overclocking, but that thing doesn't even show at status bar, it's hard to find if it's running it not, let alone it's performance. After trying both these I found it better to have nothing installed but to Enable the inbuilt Power Saving feature of the phone.
Regards.

On call / screen off script

I have see a couple of people talk about their screen off / on call script, wherin clocks are limited to a different (lower) max freq when in a screen off / voice call state.
I did some searching and really couldnt come up with anything, if anyone can point me in the right direction that would be awesome.
Thanks!
Nd4
no one ?
Use System Tuner from market
SetCPU is an application that uses "Profiles" (Not the CM ones) so that each profile can be set to a different CPU governor and frequency. This way you can set a screen off or a high temperature profile to use a lower frequency. Fortunately, SmartassV2 has a very good frequency management so you really don't need SetCPU if you are using it.
i swear i have seen something like an init.d script that does what im asking... id much rather not have another app running in the background.
Ianis G. Vasilev said:
Fortunately, SmartassV2 has a very good frequency management so you really don't need SetCPU if you are using it.
Click to expand...
Click to collapse
1% battery drain in 4 hours... minimal screen off frequency... higher frequency only if requested by kernel. I bet your script does only the minimal screen off frequency.
You can do that in tasker app. Its paid app but you can grab a beta trial from their site.
ok... lets try and rephrase this question.
i DO NOT WANT AN APP THAT HAS TO ALWAYS RUN.
i want a scrip that will detect when the phone is in voice call state and limit the phone to a frequency of my choice.

[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

ICS kernel CPU throttle

I am starting to believe that the ICS kernel scales properly although some people may claim it only scales from min to max.
I noticed on the stock GB kernel, the exact same thing happens when trying to use CPU controlling apps such as setcpu. However, for BOTH GB and ICS without using CPU controlling app, I can see the in between frequencies being used. When I try adjusting the slider THEN it starts the freaking out in terms of min/max. (Rom toolbox)
I even notice the battery life worsen tremendously when trying to use setcpu, antutu, etc on STOCK frequencies. Perhaps it has to do with people trying to use CPU apps on a kernel with the perflock enabled?
With the absence of a CPU controlling app on ICS , my battery can last the SAME (not worse, for sure) as it on GB.
Perhaps this can help those who complain about bad battery life on ICS
Sent from my ADR6425LVW using XDA
You don't need to wonder anymore! Its a function built into HTC kernels called "perflock" and its function is to continually reset the values for the min and max frequencies in order to prevent other applications such as setCPU from taking control over the CPU frequencies.
I've been using SEbastianFM's ICS OC kernel with setCPU. You are correct, that it does scale properly even though the min/max frequencies hop around. If you take notice of the current frequency, its usually appropriate for the current load level.
Furthermore, if use setCPU profiles to control the CPU speed, I've noticed it prevents the kernel from periodically reverting back to its default speed and governor settings. setCPU occasionally crashes (FC's) about once a day on me, but since I have the widget on my homescreen I notice it starts right back up again within a second or two and starts controlling the CPU speed again.

Categories

Resources