[TASKER] Share your best Tasker profiles! - LG Optimus 4X HD

I was wondering if anyone here uses Tasker or any other alternative automation app. I'm planning on setting it up a bit more extensively now, already started learning, but it's a kinda hard process.
Starting this thread so you can all give your experiences about automation apps, features, good profiles you use/like. :good:
My first question would be: How does it affect battery life?

I was using it earlier and it was more for fun than hard task creating but i had profiles for games with CPU oc for music with automatic playback when BT connected, some other with brightness in specific apps battery really can improve when u set up things properly like WiFi 2g etc..
There are some extra deep coded tasks explained on the Internet's but they were too hard for me
Sent from my LG-P880 using Tapatalk

Can someone make me a profile that turns wifi every 10 min for 60 sec? Just to sync everything and turns off again. If that is even possible?

SpyKnife said:
Can someone make me a profile that turns wifi every 10 min for 60 sec? Just to sync everything and turns off again. If that is even possible?
Click to expand...
Click to collapse
Profile: time context, repeat every 10 minutes
Enter task: WiFi on
Exit task: wait 60 seconds, turn WiFi off
Sent from my OmniROM-powered LG Optimus 4X HD

Adam77Root said:
Profile: time context, repeat every 10 minutes
Enter task: WiFi on
Exit task: wait 60 seconds, turn WiFi off
Sent from my OmniROM-powered LG Optimus 4X HD
Click to expand...
Click to collapse
isn't there a way to trigger sync when wifi goes on? there is an option like that in several other apps afaik :good:

I forgot to mention to do that while the screen is off

Script dependent tasks works very well specially with iodak kernel since most of its functions are doable via scripts.
I personally like to set app dependent scripts like for exsmple make a list of all 3D intensive games and set higher gpu frequencies for them with an exit task to set default Gpu clock.
Tapatalked from *put place here*

auto speak sms when headphones are on
i use it for many things, one of my favorite is to speak the incoming sms when headphone is on, that really helps when you are driving specially bike

remorema said:
Script dependent tasks works very well specially with iodak kernel since most of its functions are doable via scripts.
I personally like to set app dependent scripts like for exsmple make a list of all 3D intensive games and set higher gpu frequencies for them with an exit task to set default Gpu clock.
Tapatalked from *put place here*
Click to expand...
Click to collapse
How can I over clock my gpu for games using tasker?

Related

Cpu Scaling

How would i go about changing the cpu speed tht the rom has set it at. Like if cyan's rom is at 528 n i want max to be 328...how would i do tht ? wht file to mod ?
Instead of touching mods, better off using either SetCPU or the Open Overclocker widget, both available on the market or here. Just run a search.
The open overclocker widget in the market is fantastic. On cupcake I have mine set to 128-384 and set to 128 constant when the screen is turned off to conserve power.
Not just to hijack the thread, but AdrianK, at those settings do you find wake up too slow? For example when you get a phone call? I used to do the same as you, now I have it as 245 constant when screen is off and 384-528 when on.
Hey guys i appreciate ur replies but i wanted a way to implement it in the rom itself so i dont have to run a widget...thnx though..
SetCPU isn't a widget, its an app that you only need to run once and that's it. However I'm not sure if SetCPU also allows you to set the screen off frequency though which saves you even more battery life.
As for editing the ROM yourself to set the CPU speed, I can't help you there I'm afraid. Not sure if it has been posted on the forum or not too but try a search.
NeoBlade said:
SetCPU isn't a widget, its an app that you only need to run once and that's it. However I'm not sure if SetCPU also allows you to set the screen off frequency though which saves you even more battery life.
As for editing the ROM yourself to set the CPU speed, I can't help you there I'm afraid. Not sure if it has been posted on the forum or not too but try a search.
Click to expand...
Click to collapse
Yes, SetCPU will allow you to have a screen off profile so you can set the speed while the screen is off, and when it is on. It does need to run in the background tho I think...

Random applications

Can someone explain to me why I always have different applications that I didn't specifically start listed in my task killer? I am trying to get a handle on the battery life of my CM7 14 NC. I am pretty new to android and have a hunch that it is something simple that I am missing. TIA.
No one else sees applications running on their NC that weren't implicitly started? Sometimes I look and twitter / facebook will be running even though I didn't start them.
That's pretty much how android works, and it's also the reason why you shouldn't be using a task killer...
Sent from my Nexus One using XDA Premium App
http://geekfor.me/faq/you-shouldnt-be-using-a-task-killer-with-android/
As has already been implied, don't use task killers. Apps start up and shut down on their own and Android has a built in 'task killer'. I found that when I was using a task killer, my phone ran at maybe 10% faster (due to less running on the ram), but the battery life actually was worse by a good margin. IMO, the Nook runs really well (especially if you OC it) and the battery life can better be controlled in other ways. Turning it off when not in use, unlike a phone (because you need it on to make a call, of course), will save a lot of battery. Also, SetCPU can be used to set profiles, they will save you on battery a lot. Disable auto-update and notifications for apps unless you really need them. use the power control and set it to where you can turn the brightness down low on the fly and keep it down unless you need it up. Sure, the screen looks beautiful when bright, but unless you're playing a game or watching a video, you don't need a bright screen.
Sorry for the rant, hope maybe it helps a little. Also, the more updates we have the better battery life will be.
Thanks for the heads up on this. I had not read that article before. I will uninstall the task killer and see what happens to my battery life. The other suggestions about turning off auto updates makes sense also.
JLCollier2005 said:
Also, SetCPU can be used to set profiles, they will save you on battery a lot.
Click to expand...
Click to collapse
Donot use setcpu or set profiles with cm7!
luciferii said:
Donot use setcpu or set profiles with cm7!
Click to expand...
Click to collapse
why not? I know it has built in monitoring, but it seems to me they work together.
JLCollier2005 said:
why not? I know it has built in monitoring, but it seems to me they work together.
Click to expand...
Click to collapse
cm7 already has profiles built into it under the cyanogenmod settings in the settings app! if you run both you are running the same thing twice and wasting both performance and power.
Sent via CyanogenMod7 Encore rc25/Tapatalk Pro

[MOD] [New Version]CPU Editor Modified for ATRICS or ICSROMs

As promised earlier that I would share my work and yes I stand by that promise. The modified CPU editor script.
CREDITS​smokin1337 The original creator of the script​upnndwn4par For his support
todobarato For suggesting optimization which was really useful​
ONLY FOR ATRIX 4G Running ICSROM or ATRICS
The usual warnings. Do not blame me for bricked phones. This is still under testing phase and I need testers.
Please donot PM me with the results, Post them here in this forum
New Version
Added an optimization suggested by todobarato (thanks!!) Works fine. The only problem still is the sticky bit issue. Still Working on it
Download the New Version Here.
Instructions
1. Flash in CWM
2. Reboot
3. The script should start working on its own (Doesn't Work for now)
Open terminal > "auto-cpu" (Without quotes)
And also please let me know if the CPU frequencies are reverting at boot or not?
Changes Made
1. The original script by smokin1337 is kept intact , so advanced users can still use the script as usual.
2. The modifications automatically shutdown one of the cores when its not required.
So please go ahead test it and let me know results.
Anyone is welcome to help and provide suggestion or even modify this and contribute.
deathscream said:
As promised earlier that I would share my work and yes I stand by that promise. The modified CPU editor script.
CREDITS​smokin1337 The original creator of the script​upnndwn4par For his support​
ONLY FOR ATRIX 4G Running ICSROM or ATRICS
The usual warnings. Do not blame me for bricked phones. This is still under testing phase and I need testers coz I just lost my phone to my girlfriend for a week
Please donot PM me with the results, Post them here in this forum
Download the attachment.
Instructions
1. Flash in CWM
2. Reboot
3. The script should start working on its own (Couldn't test it , Sorry guys)
And also please let me know if the CPU frequencies are reverting at boot or not?
Changes Made
1. The original script by smokin1337 is kept intact , so advanced users can still use the script as usual.
2. The modifications automatically shutdown one of the cores when its not required.
So please go ahead test it and let me know results.
Anyone is welcome to help and provide suggestion or even modify this and contribute.
Click to expand...
Click to collapse
Thanks for your job
I try it..to take off one cpu I have do it manually..on reboot the cpu starts both
andrea_marcello said:
Thanks for your job
I try it..to take off one cpu I have do it manually..on reboot the cpu starts both
Click to expand...
Click to collapse
Yes I got those same results from others. Can you try using SManager and select the script /system/xbin/auto-cpu and let me know of the results.
Thanks!
what is this for?
and how do i know if it is working or not?
mindstorms54 said:
what is this for?
and how do i know if it is working or not?
Click to expand...
Click to collapse
It allows CPU mods without using an app (which of course uses battery).
You can change min/max frequencies on each core individually. You can even take one of the cores offline completely. Running on one core is not noticeably different from two for routine use. I hardly see a difference. I can't give any hard number for the increase in battery life since I have only been using it for less than two days. But battery life is definitely better.
There is some more info here:
http://forum.xda-developers.com/showpost.php?p=34427620&postcount=785
*********************************
deathscream,
I just tried it. The script is not running automatically as far as I can tell. I am not seeing the second core shutting down.
Thanks, and keep up the good work.
I'll look into it. I just got my phone back. Now I can test it without any problems.
Sent from my MB860 using xda premium
Hello,
I am following this and I think you are complicating it to much.
I have test this script and the original and it never disable the 2nd core.
If you will disable it is very easy with the following command as su: echo 0 > /sys/devices/system/cpu/cpu1/online
The only issue is that it comes online very fast again and you have to execute the command again... I have found the script that disable the 2nd core but only when the screen off, this isn't our problem, by CPU-spy it show deep-sleep is working.
I have changed the script to disable the 2nd core when the CPU frequency is under 350Mhz, this check every X second (I use 35seconds, this can be changed) , now the second core is offline when it detects low CPU frequency and stay offline, if you need it again I have observed after switch off and on again the screen it comes back online or by open set-CPU(I have it on widget to check CPU temp) if you have. If you use one very CPU intensive app comes only by itself too.
I put the script on /system/etc change the correct permission, run with SDmanager.
The script is:
--------------------------------------------------------
#!/system/bin/sh
#
#
while [ 1 ]
do
CPU0=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq`;
if [ $CPU0 -lt "350000" ]; then && echo 0 > /sys/devices/system/cpu/cpu1/online;
fi;
sleep 35
done
-------------------------------------------------------------
I hope this help, I am using it on CM7 and work better that I have expected.
Sent from my MB860 using xda app-developers app
Thanks a lot. Will try it out.
Sent from my MB860 using xda premium
It' dont work for me automatically after reboot.
I use the terminal to put the values by myself
It's a great tool.
Thanks for the work
Regards
You have a lot of features about OC on Atrix (scripts) here
http://forum.xda-developers.com/showthread.php?p=23715720
And here
http://forum.frandroid.com/topic/93255-autoucuv-forcage-cpu-et-oc-uv-gpu/
And here
http://forum.frandroid.com/index.php?/topic/105205-[APP]-✖-AtrixTweaks-(19/08/12)#entry1701606
it works but not automatically. i noticed a little battery increase. from 12hrs i got about 15 hrs uptime running latest icsrom.
fabianowerner said:
it works but not automatically. i noticed a little battery increase. from 12hrs i got about 15 hrs uptime running latest icsrom.
Click to expand...
Click to collapse
Yes. I tried it . The script doesn't run automatically. The sticky bit setting is driving me nuts. haven't slept the whole night. adding this to userinit also doesn't work , so I guess the only way would be try upacking the booimage, ramdisk and adding to the init.rc . I'll try running that there. That should probably work. But can't say for sure.
relax dude... even with the 2nd core disabled, the battery life had increased just a little almost insignificant hours. im pretty sure that we will have this serious issue solved only if someone can put hands on another ics kernel or this leaked kernel source.
fabianowerner said:
relax dude... even with the 2nd core disabled, the battery life had increased just a little almost insignificant hours. im pretty sure that we will have this serious issue solved only if someone can put hands on another ics kernel or this leaked kernel source.
Click to expand...
Click to collapse
Yeah. Hope for the best . Released a new version. It's not automated but its even better working. The cores are managed better than the original one.
deathscream said:
Yeah. Hope for the best . Released a new version. It's not automated but its even better working. The cores are managed better than the original one.
Click to expand...
Click to collapse
I just released a new version of ICSROM with init.d support.
It might help with your automation.
upndwn4par said:
I just released a new version of ICSROM with init.d support.
It might help with your automation.
Click to expand...
Click to collapse
Perfect. I'll check it. At work now. Thanks!
deathscream said:
Perfect. I'll check it. At work now. Thanks!
Click to expand...
Click to collapse
Thank you for your support!
I'm testing the new version on AOKP (not suggested, I know ) and it seems that doesn't switch well the cores status.....I'm able to set a maximum cpu1 settings but not it doesn't really applies it.
Within my tests I can see that the 2nd core is not so much important....I can play Riptide GP and Shine Runner (heavy games??? ) plus others apps with only 1 core without any noticeable lags...so
I'd like to ask you if you can make a unique profile and cut off other settings:
cpu0 @ 1ghz max, variable
cpu1 @ 456mhz max, variable (enabled only if cpu0 is @ 1ghz more than 5/10 seconds)
screen-off: cpu0 456mhz max, cpu1 disabled.
Thanks a lot for the suggestion. I'll definitely try adding those.
Sent from my MB860 using xda premium
If disabling a core is not fetching significant battery increase in leaked rom(s) then efforts to streamline sampling would we worthless as primary issue of battery drain would not get solved.
This came as a surprise as the second core was suspected to be the mAh drainer. Maybe it could be the GPU that runs at max..
After a long amount of observation, I found out that shutting down a core isn't reducing the battery drain. There is something more to it. Thanks to upndwn4par to release icsrom 1.4.5 so that I could test my scripts... I'm still working on the battery drain issue and will let you guys know the progress soon.
Sent from my MB860 using xda premium

[Guide] Battery Saving Tips (Updated: 32h15m Life!)

UPDATE: Check post #2 for the updated information!
Hey guys, first off I know many are going to say "Another battery thread.." but I wanted to share what I have been doing to my Galaxy S5 and see what you guys are doing.
Device:
-Samsung Galaxy S5 (AT&T)
-Rooted (towelroot)
-Running The Extreme Debloated ROM below
-Stock battery
ROM: Being that we don't have any custom roms yet, less is more. You of course could use titanium backup or the like to freeze many of the apps, uninstall many of the bloat apps yourself or you could install the Extreme Debloated ROM from the link below.
[NCE}{SafeStrap]DeOdexed/Extreme Debloat/Stock/Android L Features/Under 400mb!
Screen: We all know the more dim the screen the better the battery life, I don't use auto brightness but some do.
Greenify: If you aren't using this yet, you should! Rooted or not, this app works!
Auto-Sync: If you can function without this, turn it off. All apps, change to sync less frequently.
CPU: If you are only using your device for simple tasks, underclock it. I have mine running at 300 MHz-1.498 GHz interactive cfq. Of course you can set the Governor to be on demand etc for when you need it. I use No-frills CPU Control
Llama: There are many apps that you can use but Llama is free and is easy to get going, check it out here. Below is what I have my events set to, of course there is a bit more to it (advanced settings, aka delays etc). I have the Llama events that I use attached below, just install Llama and then place the text file in the Llama folder (stored on the local sd, internal). Go to events and press the menu button, then import and select it.
Explanation Of Events For Llama:
1-When screen turns off, but is not in a call and music is not playing. Delay for 1 minute and then disable mobile data, disable wifi, run the shortcut (from greenify) "Hibernate Now", disable account sync. The delay can be customized, but I like it at 1 minute. I have read from Intelli3G that turning the signals on and off can effect battery life, so previously I had it with no delay. This is fine if you don't turn your phone on and off too often.
2-When screen turns on, enable mobile data, enable wifi, enable account sync (but don't update). This is straight forward, turn it all back on. You can select the account sync to update if you want.
3-Wifi off if not connected when screen turns on. Delay for 40 seconds and then disable wifi if not connected. Since event #2 turns on the wifi by default, this will turn it off if it is not connected to a network.
4-Mobile data off if on wifi. When the phone connects to wifi, delay for 45 seconds and then disable mobile data. You will still get texts/calls etc, but not use data of the network.
5-Mobile data on when wifi off. Just as event #4 but the reverse, since we turned off mobile data while the wifi was on we need to turn it on. No delay, because we want it back right away.
6-Phone powered on. When the phone turns on, delay for 30 seconds and then run the greenify hibernate now shortcut. You can increase the delay if you have any processes starting up on boot.
AFWall+: Any firewall app will do just fine, but if you want to specify the IPv6 support (4G) then this one works great! Just realize it is default to selecting apps allowed to use the network (aka white list), which for me is just the browser/messaging/swiftkey. I have a toggle widget set on my screen that I turn on/off depending if I need anything special (use the market/youtube etc). This keeps them from using the network, thus saving your battery.
Autostart Processes: You can use many apps to change this, but I used SD Maid. Turn off anything you don't need running in the background (facebook etc).
Ads: Might not save much, but blocking ads will help on your data usage at least. I like Adaway. I also like to patch the apps from using ads (paranoid much?), I would think that covering two bases is better than one. Use Luckpatcher for this.
Apps: Back on my first smart phone (Palm Pre), we didn't have specific apps at first for normal things like facebook so we used the browser for the majority of our needs. You can use instagram/facebook/email etc all via the browser, thus reducing app usage in the background (data use, push notifications etc). I have tried fast for facebook and many small email clients, but you are sacrificing lots. The mobile pages work close to the app, better than a clone app. If you are like me I like the style and functionality of facebook/gmail/instagram, but I have not found any apps that pull this off very well outside of the official ones. Being you can block the apps via firewall and force stop them with greenify it does help, but apps like facebook/gmail they keep checking for updates and keep running causing wakelocks. Some apps like AquaMail seem to do the trick for me.
Xposed Framework: I LOVE the functionality that it provides, as it reminds me of the modding that we had back on WebOS but with these frameworks running in the background it causes some battery lose.
Closing Notes: There are many other options and possibilities depending on how you use your phone, and of course your mileage may vary. These are from my own testing and readings, some things may not even help or be very effective but this is why I am posting this. Let us share what works best for our device! Being I don't run XPosed I can't use Intelli3G, but since I am cutting off data where I can it helps. I would be interested in putting my phone in 2G/3G/4GLTE with a button click, might be possible with Llama but I haven't tried.
Credits:
[email protected] for the towelroot!
[email protected] and @raynan for their awesome work on debloating the stock ROM!
[email protected] for his suggestions on tasker/Llama!
[email protected] for greenify!
[email protected] for No-frills CPU Control!
[email protected] for Llama, the reason my battery lasts longer!
[email protected] for AFWall+!
-dominik for adaway!
-ChelpuS for LuckPatcher!
If you have found ANY of this useful, have any suggestions, comments etc please post below. Click Thanks if you want to show appreciation if this did help you. Thanks!​
Update #1:
-Coming soon!
Test #1:
Using the above information in post #1 I was able to get 32 Hours 15 Min (1 d 8 h 14 m 54 s) with 6 Hours Screen On Time! Check screen shots below for the proof, and comment below to the awesomeness! I will be doing a new test with the updates coming to the OP!
Test Subject:
-Check the attached BetterBatteryStats log for complete info!
-Samsung Galaxy S5 (AT&T)
-Rooted (towelroot)
-Running The Extreme Debloated ROM below
-Stock battery
-ROM: [NCE}{SafeStrap]DeOdexed/Extreme Debloat/Stock/Android L Features/Under 400mb!
can you post up some screen shots of your battery life / stats?
I'm on stock, rooted, bloat is frozen. I'm using grernify for games and other apps I don't use regularly or don't rely on for push notifications. I use adaway for ad blocking.
with just those steps taken, and using the phone as a smartphone, I can easily get 20+ hours off charger and a screen use of 5 hours.
I understand what you're trying to do here but what is the point of diminishing returns?
I have gotten around the 18 hour mark, but out of the box I was only getting around 12. I will try getting an accurate screenshot and try out a few other settings. Our batteries may vary slightly I'm sure, and at some point I bet there are diminishing returns like with underclocking. I will test it out and report back
Thanks for the input @Russ77
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
Updated! I was able to get 32h 15m battery life with 6h of screen on time! @Russ77 @GDofWR420 @UnhoIy
kalans said:
Updated! I was able to get 32h 15m battery life with 6h of screen on time! @Russ77 @GDofWR420 @UnhoIy
Click to expand...
Click to collapse
Can't put this thing down. Battery is great, I'm always on it and get almost 7 hours screen time before I throw it on the charger. For me I keep the screen on the lower setting with auto turned off and screen set to dynamic for that deep, bold color.
Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app
GDofWR420 said:
Can't put this thing down. Battery is great, I'm always on it and get almost 7 hours screen time before I throw it on the charger. For me I keep the screen on the lower setting with auto turned off and screen set to dynamic for that deep, bold color.
Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
+1
I'm at 4 hours 17 minutes screen use and have 42% battery remaining. I'll easily surpass 7 hours of screen use and probably 20 hours total battery.
when idle on mobile signal my phone consumes about 1%/hr. if I wasn't playing couch potato today (its 107 outside) and was doing stuff I'd use around 6 hours of screen time and could go 30 hours total battery time.
this is all with no battery saving measures taken other than greenifying all banking and game apps.
Hey guys, first off I know many are going to say "Another battery thread.."
Click to expand...
Click to collapse
Yes, to play devil's advocate here:
The apps and tweaks are going to make some difference, but it's more about how you use your phone, rather than doing a bunch of tweaks and modifications, which many of us have done at some point or another (the same tweaks but maybe with different apps and Roms).
I've seen posts around here talking about getting 3 and 4 days average, and sometimes 5 days of battery, and I always say that's because you all don't use your phone that much.
It's all about how you use your phone. I only get up to 48 hours with moderate use; that's terrible battery life by the standards around here; and with heavy use, with my brightness cranked up because I like my colors pretty and bright, and with consistently playing games all day, I'm only getting about 4 and a half hours screen on time. That battery life might be 7 hours or 2 full days, depending on how much else I'm doing with the phone.
I love how I posted this thread to help others but instead it is just getting people to post about the opposite.. I just got 54+ hours out of the OEM battery, but I am sure nothing I did helped.. Insert sarcasm here.
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
kalans said:
I love how I posted this thread to help others but instead it is just getting people to post about the opposite.. I just got 54+ hours out of the OEM battery, but I am sure nothing I did helped.. Insert sarcasm here.
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
Click to expand...
Click to collapse
Oh, I don't doubt the 54 hours battery life. Like I said, the apps and tweaks are going to make some difference. But it all depends on how you use your phone. I'm not going to get 54 hours battery, even if I use your phone because of what I do. I'm playing games, or streaming radio, or watching movies or Youtube, and that's not all day, and with my screen bright.
Just me personally, I don't like to worry too much about how much battery life I'm getting. When I start doing that, then I find myself going out my way and doing things different (such as frequently checking the battery stats and stretching the phone's downtime) like I would not normally do, trying to see how much battery that I can actually get, instead of just enjoying the phone as I would normally use it.
When I had my old HTC Evo a few years back, I was doing everything that you're doing, and then some (as you can find several of these threads for every phone), trying to get every little ounce of juice that I could out that miserable battery. Same type apps and Roms, just different names. I had apps that turned off Wifi, data, bluetooth, and even crashed the phone once in a while. I actually got used to turning my screen brightness all the way down so that I could barely see anything. And it was great having a Rom so de-bloated, that I got a chance to find out what was missing when I got lost driving and needed directions. Yeah, it made a difference in the battery all right.
kalans said:
UPDATE: Check post #2 for the updated information!
Hey guys, first off I know many are going to say "Another battery thread.." but I wanted to share what I have been doing to my Galaxy S5 and see what you guys are doing.
Device:
-Samsung Galaxy S5 (AT&T)
-Rooted (towelroot)
-Running The Extreme Debloated ROM below
-Stock battery
ROM: Being that we don't have any custom roms yet, less is more. You of course could use titanium backup or the like to freeze many of the apps, uninstall many of the bloat apps yourself or you could install the Extreme Debloated ROM from the link below.
[NCE}{SafeStrap]DeOdexed/Extreme Debloat/Stock/Android L Features/Under 400mb!
Screen: We all know the more dim the screen the better the battery life, I don't use auto brightness but some do.
Greenify: If you aren't using this yet, you should! Rooted or not, this app works!
Auto-Sync: If you can function without this, turn it off. All apps, change to sync less frequently.
CPU: If you are only using your device for simple tasks, underclock it. I have mine running at 300 MHz-1.498 GHz interactive cfq. Of course you can set the Governor to be on demand etc for when you need it. I use No-frills CPU Control
Llama: There are many apps that you can use but Llama is free and is easy to get going, check it out here. Below is what I have my events set to, of course there is a bit more to it (advanced settings, aka delays etc). I have the Llama events that I use attached below, just install Llama and then place the text file in the Llama folder (stored on the local sd, internal). Go to events and press the menu button, then import and select it.
Explanation Of Events For Llama:
1-When screen turns off, but is not in a call and music is not playing. Delay for 1 minute and then disable mobile data, disable wifi, run the shortcut (from greenify) "Hibernate Now", disable account sync. The delay can be customized, but I like it at 1 minute. I have read from Intelli3G that turning the signals on and off can effect battery life, so previously I had it with no delay. This is fine if you don't turn your phone on and off too often.
2-When screen turns on, enable mobile data, enable wifi, enable account sync (but don't update). This is straight forward, turn it all back on. You can select the account sync to update if you want.
3-Wifi off if not connected when screen turns on. Delay for 40 seconds and then disable wifi if not connected. Since event #2 turns on the wifi by default, this will turn it off if it is not connected to a network.
4-Mobile data off if on wifi. When the phone connects to wifi, delay for 45 seconds and then disable mobile data. You will still get texts/calls etc, but not use data of the network.
5-Mobile data on when wifi off. Just as event #4 but the reverse, since we turned off mobile data while the wifi was on we need to turn it on. No delay, because we want it back right away.
6-Phone powered on. When the phone turns on, delay for 30 seconds and then run the greenify hibernate now shortcut. You can increase the delay if you have any processes starting up on boot.
AFWall+: Any firewall app will do just fine, but if you want to specify the IPv6 support (4G) then this one works great! Just realize it is default to selecting apps allowed to use the network (aka white list), which for me is just the browser/messaging/swiftkey. I have a toggle widget set on my screen that I turn on/off depending if I need anything special (use the market/youtube etc). This keeps them from using the network, thus saving your battery.
Autostart Processes: You can use many apps to change this, but I used SD Maid. Turn off anything you don't need running in the background (facebook etc).
Ads: Might not save much, but blocking ads will help on your data usage at least. I like Adaway. I also like to patch the apps from using ads (paranoid much?), I would think that covering two bases is better than one. Use Luckpatcher for this.
Apps: Back on my first smart phone (Palm Pre), we didn't have specific apps at first for normal things like facebook so we used the browser for the majority of our needs. You can use instagram/facebook/email etc all via the browser, thus reducing app usage in the background (data use, push notifications etc). I have tried fast for facebook and many small email clients, but you are sacrificing lots. The mobile pages work close to the app, better than a clone app. If you are like me I like the style and functionality of facebook/gmail/instagram, but I have not found any apps that pull this off very well outside of the official ones. Being you can block the apps via firewall and force stop them with greenify it does help, but apps like facebook/gmail they keep checking for updates and keep running causing wakelocks. Some apps like AquaMail seem to do the trick for me.
Xposed Framework: I LOVE the functionality that it provides, as it reminds me of the modding that we had back on WebOS but with these frameworks running in the background it causes some battery lose.
Closing Notes: There are many other options and possibilities depending on how you use your phone, and of course your mileage may vary. These are from my own testing and readings, some things may not even help or be very effective but this is why I am posting this. Let us share what works best for our device! Being I don't run XPosed I can't use Intelli3G, but since I am cutting off data where I can it helps. I would be interested in putting my phone in 2G/3G/4GLTE with a button click, might be possible with Llama but I haven't tried.
Credits:
[email protected] for the towelroot!
[email protected] and @raynan for their awesome work on debloating the stock ROM!
[email protected] for his suggestions on tasker/Llama!
[email protected] for greenify!
[email protected] for No-frills CPU Control!
[email protected] for Llama, the reason my battery lasts longer!
[email protected] for AFWall+!
-dominik for adaway!
-ChelpuS for LuckPatcher!
If you have found ANY of this useful, have any suggestions, comments etc please post below. Click Thanks if you want to show appreciation if this did help you. Thanks!​
Click to expand...
Click to collapse
I would Recommend you to use Hibernate App no need of root
Hibernate App
Running @cstayton bo3 Kool kit active rom and have phenomenal battery life. No spare apps here. Turned on power save mode at 18%.
Watched two episodes of dexter, a little over half an hour on dead space, 4 short phone calls, a hand full of text and a few hours on the Web and using the xda app.
kalans said:
UPDATE: Check post #2 for the updated information!
Hey guys, first off I know many are going to say "Another battery thread.." but I wanted to share what I have been doing to my Galaxy S5 and see what you guys are doing.
Device:
-Samsung Galaxy S5 (AT&T)
-Rooted (towelroot)
-Running The Extreme Debloated ROM below
-Stock battery
ROM: Being that we don't have any custom roms yet, less is more. You of course could use titanium backup or the like to freeze many of the apps, uninstall many of the bloat apps yourself or you could install the Extreme Debloated ROM from the link below.
[NCE}{SafeStrap]DeOdexed/Extreme Debloat/Stock/Android L Features/Under 400mb!
Screen: We all know the more dim the screen the better the battery life, I don't use auto brightness but some do.
Greenify: If you aren't using this yet, you should! Rooted or not, this app works!
Auto-Sync: If you can function without this, turn it off. All apps, change to sync less frequently.
CPU: If you are only using your device for simple tasks, underclock it. I have mine running at 300 MHz-1.498 GHz interactive cfq. Of course you can set the Governor to be on demand etc for when you need it. I use No-frills CPU Control
Llama: There are many apps that you can use but Llama is free and is easy to get going, check it out here. Below is what I have my events set to, of course there is a bit more to it (advanced settings, aka delays etc). I have the Llama events that I use attached below, just install Llama and then place the text file in the Llama folder (stored on the local sd, internal). Go to events and press the menu button, then import and select it.
Explanation Of Events For Llama:
1-When screen turns off, but is not in a call and music is not playing. Delay for 1 minute and then disable mobile data, disable wifi, run the shortcut (from greenify) "Hibernate Now", disable account sync. The delay can be customized, but I like it at 1 minute. I have read from Intelli3G that turning the signals on and off can effect battery life, so previously I had it with no delay. This is fine if you don't turn your phone on and off too often.
2-When screen turns on, enable mobile data, enable wifi, enable account sync (but don't update). This is straight forward, turn it all back on. You can select the account sync to update if you want.
3-Wifi off if not connected when screen turns on. Delay for 40 seconds and then disable wifi if not connected. Since event #2 turns on the wifi by default, this will turn it off if it is not connected to a network.
4-Mobile data off if on wifi. When the phone connects to wifi, delay for 45 seconds and then disable mobile data. You will still get texts/calls etc, but not use data of the network.
5-Mobile data on when wifi off. Just as event #4 but the reverse, since we turned off mobile data while the wifi was on we need to turn it on. No delay, because we want it back right away.
6-Phone powered on. When the phone turns on, delay for 30 seconds and then run the greenify hibernate now shortcut. You can increase the delay if you have any processes starting up on boot.
AFWall+: Any firewall app will do just fine, but if you want to specify the IPv6 support (4G) then this one works great! Just realize it is default to selecting apps allowed to use the network (aka white list), which for me is just the browser/messaging/swiftkey. I have a toggle widget set on my screen that I turn on/off depending if I need anything special (use the market/youtube etc). This keeps them from using the network, thus saving your battery.
Autostart Processes: You can use many apps to change this, but I used SD Maid. Turn off anything you don't need running in the background (facebook etc).
Ads: Might not save much, but blocking ads will help on your data usage at least. I like Adaway. I also like to patch the apps from using ads (paranoid much?), I would think that covering two bases is better than one. Use Luckpatcher for this.
Apps: Back on my first smart phone (Palm Pre), we didn't have specific apps at first for normal things like facebook so we used the browser for the majority of our needs. You can use instagram/facebook/email etc all via the browser, thus reducing app usage in the background (data use, push notifications etc). I have tried fast for facebook and many small email clients, but you are sacrificing lots. The mobile pages work close to the app, better than a clone app. If you are like me I like the style and functionality of facebook/gmail/instagram, but I have not found any apps that pull this off very well outside of the official ones. Being you can block the apps via firewall and force stop them with greenify it does help, but apps like facebook/gmail they keep checking for updates and keep running causing wakelocks. Some apps like AquaMail seem to do the trick for me.
Xposed Framework: I LOVE the functionality that it provides, as it reminds me of the modding that we had back on WebOS but with these frameworks running in the background it causes some battery lose.
Closing Notes: There are many other options and possibilities depending on how you use your phone, and of course your mileage may vary. These are from my own testing and readings, some things may not even help or be very effective but this is why I am posting this. Let us share what works best for our device! Being I don't run XPosed I can't use Intelli3G, but since I am cutting off data where I can it helps. I would be interested in putting my phone in 2G/3G/4GLTE with a button click, might be possible with Llama but I haven't tried.
Credits:
[email protected] for the towelroot!
[email protected] and @raynan for their awesome work on debloating the stock ROM!
[email protected] for his suggestions on tasker/Llama!
[email protected] for greenify!
[email protected] for No-frills CPU Control!
[email protected] for Llama, the reason my battery lasts longer!
[email protected] for AFWall+!
-dominik for adaway!
-ChelpuS for LuckPatcher!
If you have found ANY of this useful, have any suggestions, comments etc please post below. Click Thanks if you want to show appreciation if this did help you. Thanks!​
Click to expand...
Click to collapse
I was/am having some issue importing the events for Llama I was wondering if I am doing something wrong or...? Is there a specific way of importing it?
Hey guys quick question I'm an avid user of power saving mode (not UPSM) but I feel it could do better so I've been working on my own profile in tasker to better extend my battery. My question is what's the CPU underclocked to in power saving mode
daltonhrrll said:
Hey guys quick question I'm an avid user of power saving mode (not UPSM) but I feel it could do better so I've been working on my own profile in tasker to better extend my battery. My question is what's the CPU underclocked to in power saving mode
Click to expand...
Click to collapse
1728 MHz, or 1.7 GHz on mine.
shortydoggg said:
1728 MHz, or 1.7 GHz on mine.
Click to expand...
Click to collapse
How many cores does it under clock

12 Hours of Screen On

AFTER DOING EVERY SINGLE ONE OF THESE INCLUDING THE OPTIONAL ONES YOU'LL GET 12 HOURS OF SCREEN ON TIME
IF YOU EXCLUDE OPTIONAL ONES YOU'LL GET MINIMUM 7+ HOURS OF SCREEN ON TIME
First,obviously, you need a rooted OP3 or OP3T
If your device isn't rooted check this out.
There is several steps to achieve this results,
TAKE A BACKUP
This is the most important. In case you mess something up or this guide doesn't quite work for you, you can always go back to your old setup.
Pick a ROM that works best for you in terms of battery life (I am using this ROM)
Pick a kernel that works well with your requirements and the ROM (I am using Boeffla Kernel)
So the key to achieve the best amount of screen on time is underclocking your CPU and GPU. An average user shouldn't have any problems underclocking but some users that play games or care about benchmarks shouldn't underclock. There is optimal values that I found while messing around in the config app.
After flashing ROMs and kernels don't boot yet! We have more to flash!
Download AKT profiles and flash!
After you've done these you can boot up your OP3/OP3T
Now we have several things to do on the device:
First thing's first, let's tweak the frequencies! The optimal values are around 844 MHz for the little and 1324 MHz for the big CPU and minimum frequencies should be at lowest possible. For the GPU the best value seems to be 401 MHz and again minimum frequency is lowest possible.
Next! Let's set our ROM's battery profile to performance! Wait hold up there wasn't I talking about longer screen on time how is performance profile is going to help? Here is the answer: Since we have already underclocked our CPU and GPU setting this profile to performance will allow things to be used up a little more. And it will make you feel good
Now remember when we flashed AKT Profiles? Now we'll set that to performance.. Oh wait what? Performance again? YES! But we'll pick the most smooth one. Set it to Fusion Performance!
(Optional) Now we have things to do with apps. Download Greenify to hibernate things when you aren't using them. Select apps according to your preferences and hibernate.
(Optional) Now we'll play with some wakelocks. Download a wakelock detector app and monitor the wakelocks. After some amount of time you'll see some useless apps waking your device every now and then. Go to your ROMs wakelock disabled and disable those wakelocks! Show them who is the owner of the phone! (For example you can block The File Manager HD's wakelock since it has no job when screen is off and MX Player's wakelock because again what can a video player app do when you aren't watching anything.)
After this point if you see more lag increase the CPU and GPU frequencies or reduce them if you see no lag and if you want more battery!
This method might not turn out the same for everyone! You might disable some wakelocks that are important for the device and mess up things so be CAREFUL and when hibernating note that all the hibernated apps will stop pushing notifications! So don't hibernate WhatsApp, Messenger etc.
There is a screenshot below as a proof.
I know I've done nothing but writing this but still if you want to donate here it is LOL
*UPDATE*: Blocking the useless wakelocks allow OP3 to survive 24 hours (if you aren't using it at all) only 3G on (no wifi, no GPS ONLY 3G)
what io scheduler and readahead values you use ?
tadessi said:
what io scheduler and readahead values you use ?
Click to expand...
Click to collapse
cfq and 1024 the defaults that came with Boeffla

Categories

Resources