yashsingh1/xdaforums huggingface dataset:
[Android General] SkyboneNoya:
Everyone wants to be connected, but save battery right? ;)

I think this is the best solution we've got on kitkat 4.4 While still maintaining

google now/play/services and sync functionality.

(Also works well with most 4.x systems.)

I added updates to the second post. Thanks for visiting!

This tutorial will..

- Show you basics within tasker profiles

- Auto Sync Every 2 Hours (editable). Turns Data Off and On

- Auto airplane mode 12:30am to 5:30am - Mon, Tues, Wed, Thurs and Fri Mornings.

- Auto sound off at night Mon, Tues, Wed, Thurs

- Auto Backup Apps with TiBu at 4am

- Auto pattern lock on location, Disable @ Home

- Auto Turn PowerAmp on/off and set volume with headphone plugin/unplug

- Maps,Chrome,Tapatalk auto gps/data/wifi on/off "WIP"

- College/Home/Elsewhere Location profiles (set your own!)

- Allow google now/play services to hibernate

- Help fix broken .mp3 files (looping media scanner/server)

- Fix bad blocks in android

- Save you a ton of battery!

The following is done in Dalvik mode as ART is not supported by Xposed Framework just yet.

Apps Needed

I am not responsible for what you do with your phone, so take care

and understand these settings regarding kernel may fry your cpu if done wrong.

Also,

DO NOT HIBERNATE CLOCK, PHONE or SMS!

Quick Notes

The worst this guide can do is turn the google now auto voice activation "OKAY Google" off yet google now will still function.

- Some apps like Whats App might not work correctly if hibernated by Greenify.

Be careful of what you hibernate and check How to Hibernate google play services and more! section.

- If you want to stay connected 24/7 via data, omit the

Mobile Data = Off

in the Exit task

End Sync

in Sync Every 2 Hours Profile.

- If %HOME ~ elsewhere

This checks to see what %HOME output is set to by reading the file in the current Profile

Example:

Home

- Read File

File Tasker/Home.txt To Var %HOME

- Enjoy!

Tasker Profiles

I'll share my Tasker profiles below in

Downloads

(if you don't know

what tasker is, check it out on google play and these XDA Youtube Tutorials may also help!)

To import Profiles from Downloads, hold the Home button in tasker.

How to Hibernate google play services and more!

You can also check out this useful thread here that goes more in depth with google service freezing and hibernating options.

[GUIDE] Insanely Better Battery Life When Idle

Kernel Settings & Undervolting Galaxy SIII - Fido,Rogers,Bell,AT&T

How to fix .mp3 files and stop Media Scanner/server loop

Tasker Preferences Tweaks

App Ops

Monitor Battery Wakelocks etc

Tasker Profiles XML Downloads

Installing Profiles

Beginner mode must be disabled!

- Extract zip

- Import holding the Tasker home button (if this does not work)

- Import holding Profiles/Tasks tabs

- Locate XML files location

- Import

To all the hard working people in the community just a few of you mentioned, Thanks!

michael-oc | ktoonsez | polobunny | Skipjacks | xXshur1kenXx | AA1973

PwnCakes193 | czechpunk | KorGuy123 | CrackerTeg
[Android General] SkyboneNoya:
Using these methods, I've been getting around .7% drain per hour + in idle on the stock samsung galaxy sIII battery. (.4777% drain with Airplane mode enabled.)

View attachment 2545370

Updates:

To do:
[Android General] CrackerTeg:
I hit that thanks button for ya. I especially like the tasker profile to hibernate everything. I'm going to give this ROM I threw on late last night a few days to settle before judging my battery life. Thanks for the tutorial!
[Android General] SkyboneNoya:
Thanks! I hope the profiles work. If not, let me know and I'll try make sure I organize them accordingly.
[Android General] CrackerTeg:
The hibernate one is definitely working. I tested it by opening up a bunch of "greenified" apps and backing out then locking up the phone. Opened up greenify and they were definitely sleeping. Its something I hadn't thought of before and it looks like its going to help tremendously. Also, the thread you linked for greenifying Google Play services was another help. That reminds me. Gotta thank that guy too.
[Android General] SkyboneNoya:
Xposed airplane mode just kicked in. Should save more battery now than the 1% an hour I lost since hibernating google play services.

I was not using the xposed airplane mode with tasker since 4.3.1 so this should be interesting as I have another 89% battery to go and Quantum v3 RC5 is a beast!

Update: no screenshot yet, but I'm at 49% @ 2 days 2 hours 26 min w/ two hours screen time, some calls, sync, text and music playback.
[Android General] mbze430:
unfortunately for me... anything below 875mv @ 384mhz V4A starts to act up. Functionality over battery I suppose
[Android General] SkyboneNoya:
try 486 at the same voltage. Not all phone's are the same though, also, decreasing by 25 and letting it run and going down another 25mV is always the best approach.
[Android General] Aaron78:
Tasker profiles are not working for me. I cannot import them into Tasker.
[Android General] mbze430:
I tried 486mhz sub 875mv still does the same... so I have 875mv across the lower frequencies... it is what it is.. I ain't even sweating... I enjoy my music more than battery :D
[Android General] SkyboneNoya:
Which setting do you use for V4A?

Battery Saving: Available for all processors with NEON.

High Quality Mode: Available for processors with NEON.

Super Audio Quality: Available for processors with NEON.

I'm on High Quality Mode if that helps.

I know there are some issues with music playback on PowerAmp mentioned in the Quantum forums. Hopefully it gets fixed with the release of 4.4 nightlies soon.

Also, what cpu are you using (I see from settings/about I'm running Armv7 Processor rev 4 (v7I)

Try unzip them and import with holding the home button bottom left on screen in tasker. You also might have to enable (Allow external Access) in pref/misc tab in tasker.

I've been using tasker for awhile so I don't remember the steps taken to make everything work. Although, I'm happy to try and help!

I will try get the rest of the profiles in the To do: section and current download set into individual downloads as soon as I'm free of this hell called finals. :D

Stay tuned!
[Android General] mbze430:
I am on an ATT SGH-I747 so the ARMv7, and I have it set on HQ Mode, not Super Audio Quality mode.

I believe I have the v1 of the snapdragon chip which is known not to do UV very well. (at least that is what I have been telling myself to sleep better at nights)

If I don't use V4A, I can undervolt to those voltage... and be stable, but the squeeching and popping really hurts my ears when I go below 875mv
[Android General] bensl84:
Don't know if you guys have have checked this out but it's amazing so far. This thread coupled with some others should be insane battery life

http://xdaforums.com/showthread.php?t=2393708

KT-SGS4 [Kernel] Builds [TMO,ATT,SPR,VZW,INTL] [AOSP/TW/GE - 4.4/4.3/4.2]
[Android General] SkyboneNoya:
Extreme overclocking profiles nice. Looks like a big read lol.. Back to the essay.

I was at 2 days 20 hours or so with 30% battery left on 2 hours screen and my phone reboots after updating zooper widget... I read that part in the change log afterwards (will reboot on update sorry) pff... So it reset my counter to 2 days 9 hours. I really wanted a screen shot of at least 3 days lol. Next time.
[Android General] KorGuy123:
I was unable to get Google Play Services to hibernate... Than it dawned on me... the stock Kit Kat Launcher uses Google Play Services... Shame, I really like it. Time to find a new launcher. I switched to Apex for now and Google Play Services is staying hibernated.
[Android General] SkyboneNoya:
Try unchecked the telephony Sms in greenify paid. I see my gsf hibernation with the google launcher.
[Android General] oeusr:
Thanks so much for this. I knew about all of these except for the tasker profiles. I get great battery life already, but never thought to use tasker with greenify. I already notice significant battery savings with the hibernate when the screen goes off profile!
[Android General] Samizdat:
Wow, looks awesome.
[Android General] Gerton:
I like the looks of this! If it keeps performing like this I couldn't get the battery lower then 50% today....

Thanks for the tips!

Edit: looks like screenshot isn't getting in reply, 13% battery used, 48 minutes of screen on...
[Android General] benfiller:
Thanks for the tips, my battery life is way better now.

Just one question : when I greenify Play Services I lose push notifications for Whats App or Facebook messenger. Is it normal or is it just me ?

I'm using Xposed with the Greenify donation.

Thanks for your help.
[Android General] Fendulon:
Hmmm, I've got the tasker profiles extracted but when I try to import them into tasker, it just doesn't see them. Any suggestions?

Edit: Scratch that, I figure it out. I had to longpress the TAB of what I wanted. So to import a Task I longpress the Task tab and import. When you import using the home button it just doesn't show any of the profiles/tasks or anything.
[Android General] michael-oc:
Maybe some of you are interested in some Tasker Profiles I created today. One is for auto sync every hour for 15 seconds and then disable auto sync. You have to edit days/times for your needs.

The second one took me a bit time with try and error. It´s a widget for tasker that enables/disables the Google services framework entirely. To get this working you need: root, Greenify, secure settings and of course Tasker itself. I upgraded the playstore, version 4.5 running right now.

I also noticed that the google play service isn´t starting with playstore/GSF. Only for apps like youtube like before.
[Android General] SkyboneNoya:
You might want to check those apps and degreenify them. I for one don't bother with either so its hard to say. :confused:

Thanks for the wait task, lol I'm noob with java and anything besides html/css. This let sync every 2 hours now takes over about 7 profiles I had created in my phone, being lazy for sure.

This also let me think a little harder on the process of tasker profile making.

The OP is updated

- New profiles in single downloads for those of you wishing to chose.

- The google play services seems to be hibernating more, and less shows time running, usually "0:00 from screen turned on."

- Update, Fixed and To Do sections added in post 2 for those that have not seen it yet. (more info there!)
[Android General] Gerton:
Why don't u want the Telephony Wakeup to be enabled in Greenify? In the other thread Insanely better battery life when idle there is written to put all options on except the last one.
[Android General] xXshur1kenXx:
godbless this thread. really useful information!
[Android General] SkyboneNoya:
You can enable it. It might wake some apps other than phone and Sms though, which you wouldn't want to hibernate in the first place. Although if they don't respond let me know. Thanks

I'm trying out a few apps here that I used to kill things with back on 4.2/4.3. Auto Freeze / unfreeze could be a useful tool if found to work correctly.

Although I'm more after keeping the Rom fully functional, the total freezing of services is good information to take into account as well.

Sent through a Ham radio
[Android General] Fendulon:
Running the latest Quantum with the 12/08 kernel. I am using all the things in this thread. I also added apps to the Facebook profile. Anything that uses Internet, Facebook, Gmail, Chrome, tapatalk, maps, YouTube etc. So data enables when any are open, and on closing all those apps are hibernated and data disables.

I am running a sync every hour. So far with my zerolemon I have 2 days 14 hours battery with 5.5 hours screen, and I still have 34% battery. I'll post screenshots whenever I get closer to a dead battery. This is awesome battery life and amazing sleeping.
[Android General] SkyboneNoya:
Updated the Google Play Services section today, Switch it to a user app with Titanium Backup, then hibernate. I used the first app mentioned in insanely better battery life when idle thread which didn't work sooo I didn't bother try TiBu.
[Android General] Fendulon:
Is there an advantage to doing this? I don't seem to have any problems with Google play services at the moment and it is a system app.
[Android General] SkyboneNoya:
If it's a system app, you have less control over it apparently. I've just had better hibernation with it set as user. Although, a lot of other apps still wake it like google search etc.
[Android General] Gerton:
In the op it says long tap to convert to system app ... So I dont get it.

Greenify donation version does the same right?
[Android General] SkyboneNoya:
Press/hold for settings to pop up on the system app you which to change to a user app. I just ripped the steps from a google search.

I'll try word it better tomorrow. Big project day.. presentation in front of 200 people lol..
[Android General] Gerton:
Succes!

Thing I don't get is that I have to convert it to system app...
[Android General] oeusr:
I think it is supposed to say convert to a user app
[Android General] SkyboneNoya:
I had to get some kernel power last night and flashed Ktoonsez latest kernel for a match against a iPhone 5. @1.7ghz I win. :)

Just leaving it idle here but thought I'd share a screen shot. "Lowest off screen freq is not set"I'm not sure on idle and standby. Anyway I did see a taker topic once to reduce standby. I think it might have been a on and off airplane mode. Anyone able to elaborate further on this?

Sent through a Ham radio
[Android General] metalhead2791:
I managed to get my phone undervolted by around 120mV and seems to be stable so far. I ran the stability stress test to make sure it was stable at all frequency ranges. I am running the latest quantum 4.4.2 + latest quantum kernel. The lowest frequency is 384 mhz drawing a voltage of 725mV. Will report on the battery life after a couple of runs.:good:

Does undervolting affect performance? as opposed to say running the same frequencies at stock voltages. Is it just me or i think the phone is slightly sluggish after the undervolt?:confused:
[Android General] xXshur1kenXx:
I think I know one thing missing. Disable the "scanning always available". Or if possible, use tasker so that it is disabled at night or something. I do notice a slight bit more drain with it on overnight.

That large drop is from temple run 2 hehe. But that is what drain might look like overnight with WiFi scanning always on.
[Android General] karmasblade:
Whenever I try hibernating Google Play Services, it works and then after a while it goes to pending or in use by the android system. How do I fix this?
[Android General] CrackerTeg:
Use the tasker profile that greenifies everything upon screen off.
[Android General] SkyboneNoya:
Lowering voltage will drop performance at times, this is the struggle between voltage and performance. Just as you would overclocking, you need to add voltage to keep performance smooth yet not overbearing on the battery.

This is something I forgot to add into this guide. Also increasing the scan time to 180 seconds with build.prop can help in a minor way. I also have to add in the scan tweaks for Tasker

My Tasker Preferences - Monitor Settings

Display On Monitoring

Application Check MilliSeconds - 1500

Wifi Scan Seconds - 180

GPS Check Seconds - 120

Network Location Check Seconds - 30

GPS Timeout Seconds - 90

Display Off Monitoring

<-------These settings may be the only settings I tweaked if at all.. LOL (over a year ago?)

All Checks Seconds - 900

Timeout Seconds - 90

Accelerometer - No!

Proximity Sensor - No!

Light Sensor - No!

Pressure Sensor - No!

Temperature Sensor - Yes

Cell Workaround - Unchecked

Net/Cell Wake Screen - Unchecked

General Timings

Wifi Minimum Timeout Seconds - 10

Gester Initial Sample Rate - 300

Gesture Match Radius - 3.5

Gesture Match Reset Time - 1200

Orientation State Accuracy - Very Low

Make sure you have the right boxes checked in Greenified paid version mentioned on the OP.

Also, I might have to add this into the guide still..

Go into Google Now settings

- click on phone search tab

- Unclick apps check mark box

- Go back and click on Accounts and Privacy tab

- Turn App Search Stats off

Also, I don't know if its an option in 4.4.2 but App Ops button is in trickstermod kernel app on 4.4.1

- Open Trickstermod

- Go to Tools

- Click on App Ops

- Click on Google Play Services in the Location Tab

- Then Turn Off

Keep Awake

.

Edit: It's just come to my attention that this

App Ops

Might be a nice feature to use on other apps as well, increasing battery by turning off Location and keep awake for Facebook as well as turning off

Keep Awake

for Google Search, Google Play Store, Google+, Keep App + more. Just try it out but remember clock may need certain apps to run and the apps you want to sync might not sync with these turned off.

This or one of the steps in this the guide may turn the google now auto voice activation "OKAY Google" off. I will update as soon as I run the next 4.4.2 Update. Just been busy with moving work and school all at once.

Cheers!
[Android General] oeusr:
I just wanted to share how much better my battery life has gotten. I usually get around 30 hours, 4 hours screen time on. After these tips, particularly the tasked profiles and app ops tip above has increased my battery life a lot.

(Forgot slimhalo rom, quantum core kernal, a cpu1 script, operation killjoy script, greenify, lux, all with location services on)
[Android General] jukiewalsh:
Sorry but what's a killjoy/cpu1 script? Could you link me to a thread maybe
[Android General] Gerton:
Running ARHD 41 and Bullit proof kernel.

Couldn't find this option in trickster mod.
[Android General] AA1973:
App Ops got removed in KK 4.4.2

https://www.eff.org/deeplinks/2013/...cy-features-android-shortly-after-adding-them

Xposed module available

http://www.xda-developers.com/andro...your-control-of-your-application-permissions/

http://www.addictivetips.com/android/how-to-bring-back-app-ops-to-android-4-4-2-kitkat/

Also on PlayStore, there are some apps for bringing back App Ops.

GALAXY NOTE N7000 // KITKAT 4.4.2 // OMNI
[Android General] SkyboneNoya:
Trickstermod is a great app to configure your kernel. I started using it on the nexus7. Here's a screen of app ops

Sent through a Ham radio
[Android General] AA1973:
Yes. I know it is a great app....still, this option might not be available for all ?

Sorry, for The OT.

Merry Christmas

GALAXY NOTE N7000 // KITKAT 4.4.2 // OMNI
[Android General] Maphack:
wow, i didn't even think about trying to UV any lower, even though my problems basically went away a long time ago....

how do you know you're not starving your phone?

i'm going to run my phone at those numbers for a bit...

mine is a verizon model, though.

sorry, bit off topic
[Android General] SkyboneNoya:
As long as your phone doesn't lock up or generate choppy music playback your phone should be working fine. You can add 25mV to each or just a few steps like 486mhz 1136mhz 1350mhz (main freq) on ktoonsez and add another 25 until stable. I should supply stock voltages in the next update. As mentioned these voltages are not for everyone. 700mV is the lowest trickstermod will let me go so I don't think it will ever starve.

Sent through a Ham radio
[Android General] oeusr:
Killjoy:

http://xdaforums.com/showthread.php?t=2411161

Cpu1:

http://xdaforums.com/showthread.php?p=41663912
[Android General] SkyboneNoya:
A Good reference yes I remember using this about a month before xposed hit the news. I'm wondering do these killjoy methods work with exposed and still allow you to use trickstermod?

I don't remember the outcome of the operation killjoy but I noticed a lot of build.prop network speed tweaks that I used on my old captivate. As well as bare bones init.d script modifications.

Sent through a Ham radio
[Android General] oeusr:
Not sure what would conflict with xposed and killjoy but I use both and it works well. Same with Trickster mod
[Android General] CrackerTeg:
Same here. None have really anything to do with each other so there really wouldn't be any conducts.
[Android General] aew0314:
I followed this thread and tried it out. The only problem I'm having is my mobile data keeps turning of during the day and I have to keep manually turning it on so I can receive emails.
[Android General] danesusername:
That's part of the "Sync every 2 hours" Tasker profile. You can edit End Sync and remove the task that shuts off data. I had to do the same.
[Android General] aew0314:
So what do I edit in the end sync task? Or do I just get rid the of the sync every 2 hours profile altogether?
[Android General] SkyboneNoya:
You can delete sync every 2 hours profile. Its just what I use as I don't need email on demand.

Sent through a Ham radio
[Android General] danesusername:
You'd be better off deleting the sun every 2 hours profile altogether if you want to receive notifications for emails as soon as you get them.
[Android General] aew0314:
I just have k9 set to check every 30 minutes, and I want whatsapp messages and sms messages to come on demand. If I just delete the sync every week hours profile will this get me back my data without having to manually turn it on every time?
[Android General] SkyboneNoya:
Yes. Also, do not greenify those apps you wish to enable push notifications and on demand data/WiFi/sync connections.

There's a way around this if you check the box to allow hibernated apps to wake up in greenify experimental settings (phone SMS). Although this defeats the purpose of this guide. (Assuming Google play services will wake on demand as well).

Sent through a Ham radio
[Android General] LG13:
Thanks for the airplane mode profile! Last night my battery stayed at 78% all night.
[Android General] SkyboneNoya:
Updates:

Replace all your profiles from the OP with the updated and new profiles and you should notice the fixes! I mention most if not all

of what has been updated and added in the OP so look to Tasker Profiles section!

This is what I can remember adding to the guide and updating so.. sorry if I miss something or someone!..

I just did all of the new profiles yesterday/today with inspiration from quantum forum [MENTION=4853127]KorGuy123[/MENTION] Your battery post made me flash

quantum 3.15 over again with a mini gapps 12.30 pack. The stock battery I am running just gained at least 20% boost back up to what

I had 4.2.1 on quantum when I posted this thread.

Thanks again [MENTION=1683096]PwnCakes193[/MENTION] for Quantum rom and the kernel and great thread filled with you guys. It's such a great rom and updates too, this is beyond greatness!

I think the wifi part of Home and College profiles which need to be set by each and every one of you as well as the other profiles that

support and make this guide operate properly could be fine tuned still. "Sorry I put this all together in a day with class and everything".

Let me know how it goes and again the new secure settings will drain more battery with gps being enabled and all but I think maps auto

gps and location for home and college etc is worth it.

Happy New Year!
[Android General] matrixzone:
Thanks for this guide. Quick Question: Will these tweak work on Touchwiz ROM?

---------- Post added at 10:04 AM ---------- Previous post was at 09:41 AM ----------

So i followed the above steps and converted the Google Play Services to user app. After phone reboots the app is never hibernated automatically. Always remains in "Not hibernating Automatically".

I was able to hibernate the play services without converting the app to User app i.e. was able to hibernate app when it was System app. The app is always remains in "Not hibernating Automatically" mode and have to be manually hibernated which is useless.
[Android General] Prufta:
Same here but with the difference is when I check greenify app the Google Service is always "PENDING" to greenify and not hibernating.