yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] hatdrc:
That's strange. I imported all of them and then updated tasker. Exported the project and then restored my original profiles which deleted the CPU control. I re-imported the project and it worked.

There's only 2 things I can think of that it wouldn't have worked. First I'm on Android L. Shouldn't make a difference but who knows. The other is maybe you have to do them as profiles instead of projects. When I get home I'll export them as profiles, zip them up and post them.

Edit: Try this one, if it works I'll do the rest

https://www.dropbox.com/s/m35d378cds5au3i/CPU_SayState.prf.xml?dl=0
[Android Apps and Games] FordNate:
worked it is in there
[Android Apps and Games] hatdrc:
Cool, I'll do the rest when I get home from work
[Android Apps and Games] Superm@π:
You have the same issue with mtvar?
[Android Apps and Games] hatdrc:
Nope, worked for me.

All right, here it is. Updated to Tasker 4.4u3m. Follow instructions on the OP. You have to import MTVAR into the task tab and the fileTaskerMT is for minimalistic text. The rest get imported to profiles.
[Android Apps and Games] rothbard:
slim governor

Slimkat 7.0 has slim governor as default. I haven't been able to find out how it works yet (don't have permission to post in development forum). It got me wondering if this method of controlling the CPU hasn't more or less been integrated into some of the newer kernels in the last few years. Can anyone enlighten me or point me to elsewhere to figure it out?
[Android Apps and Games] iall5tar:
Hi firstly thanks for this awesome tasks!

Appreciate that you shared them to us.

I have a question and everything seems to be working good except the MTVAR...

This is what shows..

Which plug-in am I missing?

Is that necessary? As I can see in the second post we can erase it and forget it isn't it?

Thanks!
[Android Apps and Games] hatdrc:
Its for minimalistic text

https://play.google.com/store/apps/details?id=de.devmil.minimaltext
[Android Apps and Games] iall5tar:
I know it's for minimalistic text... I already installed it... But error still there.

I imported the 2 tasks, 1 for Tasker (tab task) and the another one for minimalistic widget.
[Android Apps and Games] hatdrc:
Oh, not sure. I didn't try using it
[Android Apps and Games] hatdrc:
So here's a thought. I have a quad core CPU. Do I have to tell tasker to change all 4 cores or by changing the first one do all of them change?
[Android Apps and Games] Invulnerablo:
iall5tar

What is the name of the app that let you see you cpu temp, gpu, tbat on status bar?? (right side?)

Thanks for your attention!
[Android Apps and Games] tomyardyoung:
I get an error after trying to import saying "no profile foud"
[Android Apps and Games] LiL_Assassin:
I really want to try this.. But I get the same thing. Not found. I can view other profiles.
[Android Apps and Games] mullcom:
Same her.
[Android Apps and Games] s.remskiy:
It is necessary to insatall Minimalistic Text 2.6.3
[Android Apps and Games] D200P13:
gotta try this out. is it able to detect if the device runs hot due to cpu?
[Android Apps and Games] firoz_95:
[MENTION=984710]brandall[/MENTION] some help please...i cant import your profiles into tasker. Could you create a new updated zip file please
[Android Apps and Games] masoudm969:
asking for new version of tasker profiles

[MENTION=984710]brandall[/MENTION]

it seems your xml file is old and i can't import your profiles into tasker too. :(

Could you create a new updated zip file please??
[Android Apps and Games] esansnewman:
I made the translation to spanish of SetCPU. Contact me via Telegram [MENTION=7961431]TheWalkingSans[/MENTION] to get it
[Android Apps and Games] Rajeeev13:
Can't find download link !
[Android Apps and Games] brandall:
No. All others should be enabled, APART FROM:

CPU-MaxManual is for when you wish to override all other settings and overclock - if for example you are using a high resource application. You will disable it again after.

CPU-InteractiveManual should remain unchecked as well, unless you've entered another state such as 'batter low' and you still want your device to perform as normal. In that instance, you would disable other profiles and check CPU-InteractiveManual.

The task within CPU-InteractiveManual is CPU INT 245/998. This setting defines your 'regular profile' for 'normal' phone use when your battery isn't low and you're not on charge etc etc. Depending on your individual experience and tests, you may wish to increase or decrease the frequencies or maybe even change the governor...

If at any point you find that your device is sluggish, it's time to look at what you are doing, what CPU profile is active and adjust the frequency/governor accordingly.

Hope this helps. I'll look forward to your feedback.
[Android Apps and Games] brandall:
Glad you sorted it on your own :) I'll add the CPU Action Not Available into an FAQ.

Cheers.
[Android Apps and Games] brandall:
Thanks for pointing that out, you're right - they were indeed selected under CPU-InteractiveManual previously. I'll change the step-through.
[Android Apps and Games] brandall:
I'd welcome your feedback. Hope after you've finished tweaking it saves you some battery life too!
[Android Apps and Games] brandall:
The reason I set it up this way is because the only time I would wish to overclock is when I'm actively and constantly using the phone. If it has gone into a display-off state, then I've assumed I'm distracted or busy doing something else. The Overclocking is therefore killed.

If you'd prefer this wasn't the case, you can add 'Perform Task' (+, Tasker, perform task) CPU PER 998 (Overclocking Task) into CPU-DisplayOn INT DISP ON with an IF for battery level greater than 50 and STOP ticked. Drag to position 2.

Alternatively, to immediately re-enable Overclocking with the current set-up, just unplug and replug the usb quickly (with the display on) and it'll start up again.

Hope that helps. Feedback needed please!
[Android Apps and Games] nmadd:
I understand your reasoning but I'd like it to work the other way. :)

Your above suggestion seems to leave on Overclocking when you unplug, however. Do I need to add another profile that has contexts of screen on and plugged in? I can't seem to find a "plugged in" option in the if statement.

I'm still new to Tasker but am learning this great program quickly. Thanks.
[Android Apps and Games] brandall:
I've just had a good ponder over this and realised that by adding the 'perform task' I suggested, the CPU-DisplayOn will always go to overclocking and not consider whether the phone is plugged in or not... My mistake - sorry.

What you are asking for is an event where at the point the display is turned on AND the phone is charging you want to overclock or visa versa.

I haven't set up any profiles where there is more than one trigger. If you tap on CPU-DisplayOn and then click !DisplayOn you'll see an option to add+. If you click on that you'll see that under 'state' you could select 'power'. DON'T do this.

Instead, you will have to create a separate profile CPU-DispPowerOn for example and add both the event of 'Display On' and the state of 'Power'. The tasks from there will have to redirect to 'performing task' of overclocking and you'll need to add an 'exit task' (as already set-up in CPU-ChargingAny to get ideas from) like that of CPU-ChargingAny.

By clicking on the tools icons of both the profile you create and inside the task, you'll need to mess around with the task priority and also the collision handling to make sure it is not overriding other states!

Make sure you use the speech and widgets to set this up (along with the test button in the task) - don't forget that just because you have a notification telling you you are in a certain state, this may not actually be the case and you may just be missing a task to cancel that notification! The governor and frequency could be doing just as you wish in the background!

I hope that makes sense to you and points you in the right direction. It made my brain hurt just thinking about it! - so I'll leave solving it to you! I'm gunna stick with reconnecting the charger with the screen on!! ;)

Let me know how you get on.
[Android Apps and Games] nmadd:
That make sense. I need to read up on priorities and collisions before I attempt this. Thanks for the tips.
[Android Apps and Games] 0o0o0:
tanks

tell me about this
[Android Apps and Games] TheNewGuy:
since you are the tasker guru I guess you are the person to ask... I have a tmobile G2 and I have been trying to set up a profile to turn on gps when I open an app, like Maps, and I just can't get it to work. I have tested the task from inside tasker and it does turn on the gps but no matter what I do I can't seem to get the task to run by selecting an app from the app drawer.. I have tried following along with the tutorials on the tasker wiki and some other how to and I believe I have done it right... it really doesn't look that hard.. but I can't get it to work.... any help would be great.

thanks for your time.
[Android Apps and Games] brandall:
I'm not sure I qualify for guru status just yet, but my immediate response would be to ask what ROM you are using... There have been changes in Gingerbread resulting in the GPS control being lost. CM have hacked this, but the true AOSP ROM I'm running hasn't and it doesn't function any more. I'm surprised it works when you test it from inside Tasker though?

To avoid cluttering up this thread with the huge amount of head scratching that goes on when you start using this application, I suggest you post in this thread for help --> http://groups.google.com/group/tasker

There is an active thread here --> http://www.droidforums.net/forum/droid-applications/66195-what-have-you-done-tasker.html too. Wrong device, but I'm sure someone will help if they can.

Failing that, feel free to PM me and I'll see what I can do for you...

Good luck!
[Android Apps and Games] TheNewGuy:
Thank you very much for the help! I think I am really going to like tasker when I learn more. Thanks again for your help.
[Android Apps and Games] brandall:
Whilst creating some other profiles I stumbled across the 'Popup Task Icons' option under 'Alert'. If you slot this into CPU-DisplayOn it could bring up the icons (you set) for overclocking and regular profile. You can tap the text to cancel, or select the one of your choice. It has the option of an 'IF' statement too if you wanted to add a battery threshold that suits you for example.

Might be an easier option than we previously discussed!

Good luck.
[Android Apps and Games] brandall:
Feedback!?

I've had a few downloads of this, but no feedback!?

Are all of the profiles functioning and interacting exactly as you'd expect and wish??

Have you seen any battery life improvements??

Please someone let me know! I could take the criticism if necessary :eek:
[Android Apps and Games] harmohn:
Hi brandall, I've been testing your profiles over the last few days; wanted to get a good feel of it's effects on battery life & device in general before providing feedback :)

So here are MY observations:

Battery life:

Without brandall's profiles: ~9hrs

With brandall's profiles: ~16hrs!

My own less sophisticated profiles:~15hrs :(

Device response observations:

All profiles respond excellently, however I've had the phone 'go nuts' (irratic vibrations) on charging with navigation; phone running exceptionally hot. Unfortunately brandall, I forgot to save the log :(

I'm currently testing out IRs CAVS kernal with SS4N1 for a while to see how that compares wrt battery life :)

All in all, otherwise a great experience!

Finally, I really appreciate the time and effort you've taken to writeup this tutorial. I've really learned a lot!

:)
[Android Apps and Games] brandall:
Thanks for the feedback! I think we can say that's a result! I hope others have the same experience too... Will be interested to know how it compares to SS4N1. I've been using my phone so much to sort out a sync and wireless tutorial (coming soon), that I can't really tell!

The 'crazy' vibrates you experienced are due to the CPU-ChargingAny letting you know it's started overclocking. The vibrate pattern can be changed inside the task to something more sensible. As for the overheating, perhaps overclocking + sat nav is too much for the phone. Flicking the display off and on again should return the device to regular interactive state even if it is charging.

If this doesn't work, let me know and I can sort out a STOP (overclocking) entry IF certain applications are running or the device is in doc.
[Android Apps and Games] RonV42:
I set up something simular as soon as Tasker update had the abiltiy to set the CPU. I am running an underpowered Moto Backflip and only have 4 profiles due to the limits of the CPU. It's not as complex as your configuration but it seems to work fine since I only have to tasks to map to profiles, cpu-min, cpu-max. :-)
[Android Apps and Games] soloxp:
Sorry it took so long to reply back. Thank for the info...everything is working good.
[Android Apps and Games] brandall:
I'm using my phone so much at the moment tweaking these that I haven't really been able to see the results for myself! - there's no doubt there is battery life to be saved though - hope you can get a few extra tips from my profiles.
[Android Apps and Games] brandall:
No worries, I'm glad there are no problems with it! Please post back at a later date with your findings on extended battery life :) - or not :eek:
[Android Apps and Games] RonV42:
Yes there were some great patterns that I didn't think about such as the priority of the task which takes care of some of the irregularities in tasker and prevents it from bogging down.

With the ROM I have not all the governors work well with a low mip CPU but I have been experimenting and found that if you really want to save power and still want a responsive phone then setting the CPU frequency to the absolute low end and then a 25% under-clocked for the high end in the "sleep" profile saves the most power. In this config the on demand governor is a must since conservative does not ramp up fast enough when a call comes in to display the slide to answer screen.

With the screen on I over clock about 15% and keep the low end about 25% below the normal frequency of my processor while putting the governor into On Demand. This makes most apps run a bit more responsive.
[Android Apps and Games] wolfinator:
I cannot get this to recognize that my phone is rooted or specified kernels are available.. I have a Thunderbolt rooted and using and Adrenyln kernel.. I looked at the help doc and I added ro.modversion=dummy to the build.prop

and cpuX has all of the specified files.. Anyone else having this issue??
[Android Apps and Games] brandall:
Welcome to XDA wolfinator

Just to double check:

Was the error 'CPU Action Not Available'?

The ro.modversion=dummy you added definitely saved and is there when you check the /system/build.prop file? (definitely spelt correctly :confused:) Have you tried it in a different place in the file?

Do you have frequencies listed in this file:

/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

Do you have the available governors listed in this file:

/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

Finally, the most obvious, have you tried a reboot since installing Tasker?

Let me know!
[Android Apps and Games] brandall:
I'm glad you've experimented and come up with a set-up that suits your device - I hope others that are testing this do the same and don't just delete if things get sluggish....

My desire seems ok with conservative waking from sleep to answering a call, but it's not great at other times. I'm testing the 'smartass' governor that's in a Kernel just released - more to consider!

If you're interested, I posted sync and data profiles here - feel free to test those if you want!?
[Android Apps and Games] yreham:
hello, good going i've been trying to figure out this app for so long now thanks to you i understand it better. two thing for now tell how to drag to position 1 or 2 or 3; and the saystate is loud can we control its volume and can we make it not repeat. is it just untick the repeat option thank you
[Android Apps and Games] brandall:
I'm glad you've found it useful.

To drag an item, you press and hold the action you want to move - you can then slide it up and down, or completely down to the bin if you want to delete it.

Once you are happy that everything is working as wish, you can disable the speaking action completely if you want - it was really just for testing purposes. If you do want the volume lower, I think I set the stream to 'media'? The best way to find out is to wait until it starts talking and then press your volume down button, that'll show which sound group it's in.

As for repeating - it shouldn't be?! (unless you mean every 5 minutes?) It must be driving you mad! I don't see a repeat option... but if you have one, un-tick it!

I've posted another tutorial here. Even if you don't wish to use the profiles, there's some handy Tasker tips in there.

Enjoy!
[Android Apps and Games] yreham:
thanks for the reply, yes i do have a reapeat option for every 5 mn, i will untick or even stop that profile. other thing is that when the screen is off it doesn't always talk but a slight vibrate (very nice). i have yet to understand the notion of "sound group" but will look into it and go through your tutorials. last thing i can get rid of set cpu? allready turned it off, should i uninstall it?? think i will!!! thank you again. ok i understood where i should be moving the actions.thanks

another thing, like every day before using tasker, i go jogging with runkeeper, gps and power amp running; i had these setcpu settings -display off; governor on demand min freq 128 max freq 245 and everything going fine.

today went for the same setup but with tasker(unistalled setcpu) but with one tweek of my own in navigation i added runkeeper as a program and added a new action to displayoff profil that i placed to position 1 which states govenor interactive min freq 245 max freq 422 if %gps is set. now after jogging for two klics phone blacked out; took out batt restarted turned tasker off and continued 2 klics later same thing blackout, i dont know if it tasker or maybe runkeeper tomorrow i'll go back whit my old setting and see what happens

i'm on cm7 stable, my kernel GingerVillain_2.0d_havs_1113Mhz_cfs

thanks for your help
[Android Apps and Games] brandall:
READ BELOW BEFORE USING THAT ENTRY AGAIN!

If you look in CPU-DisplayOff you'll see that if you've added an alternative CPU setting in action 1, action 2 will straight away change it to a different one! This immediate change may be causing the crashes!!? You need to add a STOP entry after the CPU settings you added if the GPS was on. The STOP entry also needs an IF statement if the GPS is on - that way, no other CPU alterations will be made as the task will END at that point (action 2).

You may also find the the frequency you've chosen may not be sufficient to support the use of GPS and application and that is why it's crashing.

Please be very, very cautious with these settings - you could seriously damage your phone with one small mistake. Understand by using widgets and SayState how your phone would perform if ALL of the actions were turned off. From there you can start to adjust them slightly, always applying caution. Trying to save battery when using GPS I would imagine is pretty much a lost cause - I may be wrong though.....

If you are using the separate stand alone CPU-Navigation, you must disable all others, or that will be another CPU state that is changing!

Hopefully if you are happy with how your phone is performing (the above considered!), you can un-install SetCPU, as these options should give you much more flexibility. That was the plan!

Just a quick mention of a useful application called Bloat Freezer which is a bargain price of $1 at the moment - it 'freezes' your unused applications and prevents them from starting and taking up resource, but still applies updates from the market! It's one of the best $'s I've ever spent.

An updated version of my CPU profiles will be out in a few days with some extra tweaks.

Any more questions, please feel free to ask.
[Android Apps and Games] yreham:
i use runkeeper with gps, power amp+eq full volume display off while jogging.with setcpu display off profile 128mhz to 245mhz and everything is fine. but apart from the added action i added in the navigation profile i think that interactive governor is not a good solution for me
[Android Apps and Games] brandall:
Let me know if the reboots still happen with that entry removed and I'll look into it for you
[Android Apps and Games] brandall:
V3 Up

V3

Updated CPU-DuringCall to create an 'in call' variable (%INCALL), that can be used in other tasks.

Updated CPU-EndCall to create an 'in call' variable (%INCALL), that can be used in other tasks.

Changed notification handling to include specific titles, so not to cancel notifications of other Tasker profiles.

Removed Overclocking Sound and chilled the vibrate pattern.

Version 3 updated with a few minor tweaks.

Awaiting your feedback!
[Android Apps and Games] brandall:
This is curious... best to deactivate the profiles for now until we resolve.

What ROM and kernel are you running? Have you un-installed programs such as set CPU, or removed any scripts that may be running? Can you double check you are running the same frequencies and governors as per the step-through? What was your main activity up until 16:00? For example, was the phone sleeping, lots of voicecalls, wifi on, etc etc...? We'll start eliminating from here.
[Android Apps and Games] slapshot136:
does this let you turn the GPS on/off based on battery life? (like I want the GPS on as long as the battery is above 25%)
[Android Apps and Games] brandall:
This particular profile doesn't, but the actual application Tasker can do this very easily assuming your ROM allows GPS control. It can automate almost anything when your battery gets low - screen brightness, volume, CPU, homescreen, data, vibrate - anything to extend the battery life until it's returnedsafely to it's charger!
[Android Apps and Games] wIIse:
looks good, let me try them for a couple of days
[Android Apps and Games] TheSkepticalGuy:
does this works on CM7 Gingerbread 2.3.3?
[Android Apps and Games] wIIse:
Yes it does!
[Android Apps and Games] sag7392:
@ brandall

Thanks for tutorial...very easy to do. But I have a question. Please tell me step by step how to shut-off the voice indicator and replacing it with a vibration, if possible.

TIA!

Edit- I found it---disabling say it fixes this.
[Android Apps and Games] boardlord:
Been using this for a few days now instead of SetCPU. Looking good, save for one issue. Sometimes when I turn the screen on the interactive profile doesn't kick in, so the phone stays underclocked. I have to turn the screen of and on again to resolve this. This could be tasker issue though...

Using CM7 final on an N1
[Android Apps and Games] brandall:
I'll look forward to your feedback

Glad you solved!

Yes, this does happen occasionally - for me, only when I switch the screen back on very shortly after it went off. If it doesn't kick in, you normally get an 'echo error' report when next opening Tasker. I'm pretty certain it's down to the commands to alter the CPU settings being too close together. Adding a precautionary mls delay at the start of CPU-DisplayOn might resolve, but it happens so rarely compared to it working correctly (in my experience), that it would be counter-productive in the long run?

Let me know if your problem is more frequent than this.
[Android Apps and Games] sag7392:
@brandall

So are the other profiles that we didn't have to set, pretty much set for most devices to use? I'm in an EVO and was just curious. Also, I been using the smartass governor for a while with different ROMs and it works well on my device...which is what I'm using in my profiles. Thanks again for taking the time to break this down. I've been wanting to use this app, but it was a little over my skills set.