[Q] Switch CPU governor via Tasker? - Galaxy Ace S5830 General

I tried the available CPU governors on my CM7.2-Ace. So far I would like to keep the smartass one. But when I start listening to music and the display goes dark the sound begins to stutter.
So I would like to change the governor to ondemand or interactive whenever the music app is active or the headphones are plugged in for example.
Is this possible?

McLeod5000 said:
I tried the available CPU governors on my CM7.2-Ace. So far I would like to keep the smartass one. But when I start listening to music and the display goes dark the sound begins to stutter.
So I would like to change the governor to ondemand or interactive whenever the music app is active or the headphones are plugged in for example.
Is this possible?
Click to expand...
Click to collapse
No. But you could get someone here to try writing a script for it maybe. See here for more details androidforums.com/eris-all-things-root/267498-program-specific-overclocking.html

Related

[Q] Audio problem

i am using tazzfroyo 8.0 with collin_ph battery tweak (using CFS tweaks, disk boost, audio fix, underclocking, interactive governor, bfq scheduler)
when using pandora or the stock music application i can play fluid audio for around a minute before it gets extremely choppy to the point where i hear bursts of music every 5 seconds. once the phone starts playing the choppy audio it will not stop and the screen freezes until a just pull the battery. has anyone else had this problem or found a way to fix it?
underclocking is the issue...... your min should be no less than 245. i would recommend using the stock rom settings... there is no reason to underclock when using batt tweak
Sent from my ERIS using XDA App

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.

App: cpu clock scheduler and governor settings to higher when call

Hi.
Is there a simple cpu speed governor and scheduler settings tool which clocks to higher speeds when there is a phone call whilst stays on normal when there is no call?
Thanks in Advance
I am using SetCPU now.
I stopped using it because there was no development.

[Q] Using Setcpu on razr xt910.

Hi all,
I couldn't find the relevant information anywhere else, so thought I should ask if someone has experienced this.
Well I'm using setcpu on my razr and it is quite a brilliant app to be honest, helps me save battery quite alot by setting up profiles.
But recently I've been having crashing problems with the phone whenever i set the scaling to hotplug.
Previously, i was just using the default scaling, I guess Interactive it was, and was working quite happily. And, then i read about advantages of using Hotplug scaling, that it enables/disables cores depending on the amount of load on the cpu, which is really good for saving battery.
And before how I was using the phone, was to set a profile for screen off to drop the cpu down to 300MHz, using the default scaling.
But as soon as I changed from default scaling to Hotplug, it starts crashing randomly, and I've to restart the phone using keys.
Scenarios tried:
- Main scaling: Hotplug -- Screen off scaling: Interactive, Ondemand, Performance, Hotplug -- Processor Max: 300MHz
Result: crashing as soon as u turn the screen on, or sometimes while the screen is off.
- Main scaling: Hotplug -- Screen off scaling: Interactive, Ondemand, Performance, Hotplug -- Processor Max: 600MHz
Result: crashing as soon as u turn the screen on, or sometimes while the screen is off.
- Main scaling: Interactive -- Screen off scaling: Hotplug -- Processor Max: 300MHz
Result: In process of checking, hasn't crashed yet for more than an hour. :fingers-crossed:
Can someone kindly point out the obvious mistake I'm making here?
I really want to use hotplug, both as main and screen off.
FYI: I haven't done anything else to the phone apart from gaining root access.
i had issues with setcpu, i recommend no frills cpu control, and setting it down that low more then likely is also an issue, the second core i couldn't see turning off at a low clock and also i think it would max out easily causing instability (especially ICS) and above id say. uninstall setcpu give no frills a try and let me know would be glad to help with what i can!
Thanks for ur reply, yes I'll try no frills, but
mr4r4n said:
setting it down that low more then likely is also an issue
Click to expand...
Click to collapse
I thought the same, but while i was using interactive scaling, it worked perfectly, no issues at all. Probably because both cores were active by default, so both on 300MHz when screen was off.
mr4r4n said:
the second core i couldn't see turning off at a low clock and also i think it would max out easily causing instability (especially ICS)
Click to expand...
Click to collapse
No, I've checked cpu usage visa adb shell, and if the screen off is in hotplug, like what it is right now, the phone stays at 300MHz with the second core turned off, most of the time. And the phone has been running now for more than 3hrs with screen off profile set to Scaling: hotplug -- Max: 300MHz, and the main scaling set to Interactive.
The problem I've seen is, when main scaling is set to hotplug. Doesn't matter whatever u set in screen off profile, it crashes if the main scaling is set to hotplug. But, if no screen off profile is set then, hotplug in main works flawlessly.
That's weird. I've been using SetCPU for a year or so on my RAZR GB/ICS and never encountered any crashes with hotplug or the default ICS's interactive.
I have even tried unofficial governers like smartass2, boostedassv2 and etc, no crashes.
I personally set my phone to use u/c 200-200 for screen off and I find it really saves a lot of battery, and even o/c to 200-1300 when it's on.
Are you using the setcpu from xda or from playstore? I'm using the one from playstore with Razr asia ICS.
Nikorasu said:
That's weird. I've been using SetCPU for a year or so on my RAZR GB/ICS and never encountered any crashes with hotplug or the default ICS's interactive.
I have even tried unofficial governers like smartass2, boostedassv2 and etc, no crashes.
I personally set my phone to use u/c 200-200 for screen off and I find it really saves a lot of battery, and even o/c to 200-1300 when it's on.
Are you using the setcpu from xda or from playstore? I'm using the one from playstore with Razr asia ICS.
Click to expand...
Click to collapse
I think I downloaded it from here.
But I think, they both are the same, from same developer
hsyasin said:
I think I downloaded it from here.
But I think, they both are the same, from same developer
Click to expand...
Click to collapse
This means that you're using an old July 2011 version.
Do make use of playstore's 15 min return policy to test the newer ver. Maybe it will solve your problem.

[TIP] Music lags while locked? Don't worry! [13/03/2013]

Have you ever faced and issue with music while your phone is locked?​
Don't worry! I had them too! They're caused by the minimal CPU frequency. Set your min frequency to 245mhz instead of 122. That will fix your issue. Here's an awesome app that will help you to adjust your CPU, GPU and more!
Kernel Tuner

Categories

Resources