yashsingh1/xdaforums huggingface dataset:
[ONE Themes and Apps] bulletmark:
Why do you say it is fixed? Everywhere else I have seen comments the consensus seems to be that 7.3.29 does not fix the wakelocks problem. I have been running it myself today and it seems to me already that the problem still exists.
[ONE Themes and Apps] mysteres:
I used oxygen and cm12. The only solution that worked on my opo after installing these modified services was unistalling every google app but not calendar and chrome .
[ONE Themes and Apps] DjDiabolik:
7.3.29 ??? How you can obtain the update ?? If i can't install manually the 7.3.27 my cm12s it's ever stuck at 7.0.99........
[ONE Themes and Apps] lephoenix73:
I think I got it via applications update
[ONE Themes and Apps] mohit310:
The latest google play services V7.3.29 for Lollipop 5.0 and 5.1 has fixed the issue of wakelock.

You can get the latest gapps with CameraNext and MaxxAudio only for CM12 in following link

http://xdaforums.com/showthread.php?p=60108493
[ONE Themes and Apps] gerciolisz:
I have 7.3.29 and it is draining like hell
[ONE Themes and Apps] Pepsy89:
Don't know how i flashed the mod from the first page but when i check the version inside app section it says 7.3.29 , but for now i am glad with the battery drain , google play service doesn't drain any battery , but i dont understand why google chrome drained so much , an hour ago before i made the screen prints google chrome wasn't there.
[ONE Themes and Apps] mohit310:
Can you install better battery stats and also disable the changes in privacy for google play services. It's working as expected. The drain seems to be from some other service. Do you have location settings always on?
[ONE Themes and Apps] gerciolisz:
Everything is the same as on fixed .27 version location on and no changed privacy settings so .27 version worked very well .. I am at work and sry maybe later ill share bbs stats
[ONE Themes and Apps] DJMartini:
Maybe for you, but not for others and myself.
[ONE Themes and Apps] mohit310:
Can you provide data to back your claim? SOD is very basic so we cannot trust it.
[ONE Themes and Apps] ocd_amp:
You are promoting your own thread here and also giving out false information. This issue has NOT Been fixed. A fixed issue means its fixed for EVERYONE who is effected by it. That included CM 11 Users. If you are going to write such threads please be Specific about the fix ie. Which Android? Which Device?

This entire thread should be moved as it is not just a OnePlus issue its everyone on CM issue.
[ONE Themes and Apps] mohit310:
I've not forced anyone to use my gapps and I'm definitely not promoting my thread. I'm trying to help the community as I tested the fix along with others reporting the same. If it is working for majority of people then the best outcome is to share with people. Anyways, if you feel I've stepped on someone's shoes I'm glad to delete my post.
[ONE Themes and Apps] ocd_amp:
You are taking this out of proportion. The context of this thread is based on an underlying issue which affects EVERYONE on CM11. *And some on CM12* Check the main XDA Page, there is a huge article about this. You are helping the community yes, but the information you just gave out is not specific unless the link is followed. Secondly, most people here will not realize that flashing what you are posting may not work for them even though you have written it in your own thread. The reason being, you simply state "It's Fixed..." It is not, and you should mention that. A proper way to write your thread would have been: Gapps specifically for OnePlus with Camera Mod + Maxx Audio.

Please understand that while you are indeed trying to help, let's try to keep things less confusing as Google queries now link to this thread as one of the most Popular XDA threads regarding this General and Widespread issue.

This is not as much a Google Apps issue as it is a Cyanogenmod issue. Various broad releases of Cyanogenmod prevent a service from starting at boot thereby keeping a perpetual wakelock within Google Play Services, and since this service is disabled, the wake lock never cycles off because it is constantly looking to update. This prevents phones from entering into Deep Sleep. This issue does not affect any ROM which allows Google Play Services to operate as it should.

So in closing, this problem has NOT been fixed, and we are awaiting a permanent and elegant solution to this.

Thanks, and next time, please take your time and be specific so people don't start flashing the wrong Gapps - Yes many people will do this. If you read all of the posts in this thread, you will see that a lot of people are having trouble with something as simple as following Calkulin's instructions. Many people are new here or new to Android. Please take that into consideration.
[ONE Themes and Apps] mohit310:
Agreed, I should have been more specific. I will change my original post to mention exactly the same. Forgot about people still on CM11. I changed my original post. Hope this will cool you down.

I'm not promoting my post. I'm helping the community. End of discussion.
[ONE Themes and Apps] gerciolisz:
Thats the spirit i like, normal discussion:)

BTW for example i like to flash only services not whole gapps again.
[ONE Themes and Apps] mohit310:
Well in that case there is apk available on apkmirror. For oneplus make sure you download the 438 version. That's specific for Oneplus. and install it.
[ONE Themes and Apps] gerciolisz:
Sry but i am on 430 [emoji14]
[ONE Themes and Apps] nuwan32:
[IMG="asd"]http://i.imgur.com/fv3dVIj.png[/IMG]
[ONE Themes and Apps] néonaloj:
Not yet no...:)
[ONE Themes and Apps] Calkulin:
that's UID 1013, so probably something media related

Oh ok, they way you said it, I thought it was released/leaked :good:
[ONE Themes and Apps] nuwan32:
yea im not too worried about that, its related to touch sounds and turning it off reduced it a lot, but as you can see its the NextAlarmTracker thats causing the big issue.

[IMG="sdfgsg"]http://i.imgur.com/aCMir7e.png[/IMG]
[ONE Themes and Apps] Calkulin:
Sorry I was looking at the wrong thing but take a screenshot of the included packages for Android System in the Settings\Battery menu to see what might be causing it
[ONE Themes and Apps] nuwan32:
here you go:

[IMG="afsdf"]http://i.imgur.com/5p5qFk9.png[/IMG]
[ONE Themes and Apps] DjDiabolik:
I have installed immediately on my OnePlus One whit OxygenOS........... flashed the zip whitout problems from TWRP 2.8.6.0 and whitout wipe the cache/dalvik cache at restart i have watched and optimization for 1 one (i thinks the google play at this point).

At this point i have a simply question:

The default "Google Play Services" usually has been autoupdating in background when we lauch a google application (like chrome for example or the Play Store)........ now i'm installed this modified version but if i lauch Play Store i will re-obtain the default bugged version ?? I need to disable this autoupdate in some mode ?

*EDIT*

Otherwise in next charge of my opo i can see the "Google Play Services" disappers from stats of battery usage.... :) On this i have alot % used.. on next i thinks the % it's been lowered than now....
[ONE Themes and Apps] Calkulin:
What ROM?

It will only update when a newer version is available but I'll try to update the OP with the latest version before that happens. And yes, you should see the keep awake time go way down but you will still have some due to other functions, so don't expect it to disappear completely
[ONE Themes and Apps] nuwan32:
temasek v9.5 with ak 205.
[ONE Themes and Apps] Calkulin:
I don't run that ROM, so I won't be able to help but it has to be one of those listed causing the problem. Have you tried a different ROM to see if it happens on other ROMs?
[ONE Themes and Apps] Spaulding89:
It happen on all CM 12.1 builds and I reduced it with disabled stock calendar and greenified Google Calendar and disable show next alarm and show next meeting (?) in cLock.
[ONE Themes and Apps] vila123:
thx calculin, it really works in mine

im on TN nocturnal oxygen custome os

before flash this file my bbs dont have deep sleep state

after flash finally it showed up

:good::good:
[ONE Themes and Apps] nhshah7:
Just flashed a few hours ago. Rock solid battery and deep sleep since then. Thank you!!!
[ONE Themes and Apps] dudas89:
Thank you! I will give it a try on Cm12 Nighlirs :)
[ONE Themes and Apps] NullyOne:
Thank you. I flashed it on One+ Oxygen.

I don't know what to control. Do I have just to have a look to the battery?
[ONE Themes and Apps] néonaloj:
It's working in the background.

Plus qu'à observer le résultat ;)
[ONE Themes and Apps] NullyOne:
Merci :p
[ONE Themes and Apps] zlynx:
Stuck on needing to authenticate to Google. Can't sign in.

Cleared Data and cache on Google Play and Google Play Services. Still can't sync at all.

Any help on this? Thanks!

On latest CM12 Nightly.
[ONE Themes and Apps] jpjdlv:
Sorry but i flashed thinking that would solve the TAP to wake euphory issue but i guess it is not for that?
[ONE Themes and Apps] mohit310:
See versioning scheme. 0 is the best.

XYZ

430

* X defines Android version:

0 for Android <5.0

4 and 7 for Android >=5.0

8 for Android TV

* Y defines CPU architecture:

1 for armeabi

3 for armeabi-v7a

4 for arm64-v8a

7 for x86

* Z defines DPI:

0 for universal

2 for 160

4 for 240

6 for 320

8 for 480

There is one for 430 too v7.3.29
[ONE Themes and Apps] ocd_amp:
Case in point. See what I mean?
[ONE Themes and Apps] watsinaname:
Possible noob question, I was on 7.3.27, I too see the play services updated to 7.3.29, and that has brought back to wakelocks, would it be safe to flash 7.3.27 again on top of 7.3.29?

Running CM12, TWRP Recovery, OnePlus One.
[ONE Themes and Apps] mohit310:
Yes you can.
[ONE Themes and Apps] lazer9:
Stupid question, but what is this "disable changes in privacy for google play services" talk about? Is it being done from an Xposed module of some sort I may not be familiar with OR are we talking all the extra crap Google has added in it's "Google App" for search under settings?

Thanks
[ONE Themes and Apps] mohit310:
If you using any CM12 ROM there is Privacy option under Settings.

Check this Post.

http://xdaforums.com/oneplus-one/general/guide-google-play-services-battery-t2832525
[ONE Themes and Apps] Crisisx1:
I'm back on 44s .. Can I use the first zip in op?
[ONE Themes and Apps] DjDiabolik:
yeah... you have absolutely right... i have look 5 second ago and i obtained (and it's been autoupdated from Calkulin 7.3.27) this 7.3.29 also on my CM12s................ for now my OPO Continue to goes in deep-sleep whitout problems.

I can give more feedback otherwise after some reboot...............
[ONE Themes and Apps] lou2s:
Sry an off-topic question, in S3 and Oneplus One CM11s the google play services and play store will update themselves. Now on Oneplus One CM12s, the service and playstore do not update themselves anymore. E.g. the play store stays at 5.3.6 while you guys have been updated to 5.4.12. Is it because I disabled systemupdateservice or because I have flash this fix? Cheers
[ONE Themes and Apps] lgkahn:
I am now on 7.3.29 and not seeing the wake lock issue but that doesn't mean it is fixed as it used to cone and go

Sent from my SGS 5
[ONE Themes and Apps] Crisisx1:
My phone is not deep sleeping at all after flaying calkulins cm11s 44s rooted stock ROM.
[ONE Themes and Apps] nadiros:
I'm quoting this post as a reminder to those who may find this information useful.

Now does anyone know if this works for Lollipop?
[ONE Themes and Apps] Calkulin:
v7.3.29 is now up.....
[ONE Themes and Apps] Calkulin:
And FYI, I'm still experimenting with how to stop it from updating without breaking other things, so hopefully I can have a solution by the weekend
[ONE Themes and Apps] jnraj:
what about calkulins Stock Rooted YNG1TAS0YL, do I need to flash this services mod :confused:

oops didn't notice calkulins post in between
[ONE Themes and Apps] simpsonr:
The latest (...29) in the OP isn't deep sleeping for me. 100% wakelock.
[ONE Themes and Apps] FNIB:
For some reason after I flash 7.3.29 (030), my phone auto updates to 7.3.29 (038) and obviously the wakelock issue with systemupdate is back. im running stock rooted cm11s. Any ideas why?
[ONE Themes and Apps] simpsonr:
Ah, apparently that's what mine has done.. I installed the 030 ...29 zip and my app info is showing 038. That's why I have wakelock.
[ONE Themes and Apps] Calkulin:
That ROM is affected by the issue, so yes you need it

Make sure you don't have a GPS apk in the data partition
[ONE Themes and Apps] rahimali:
I hope you don't mind but where should the actual gms apk be present to implement this? should it be in system/app or system/priv-app or data/app?
[ONE Themes and Apps] MaLiXs:
What do you mean by GPS apk?
[ONE Themes and Apps] Fenvarien:
google play services ;) He probably meant the GsmCore.apk.
[ONE Themes and Apps] sublimaze:
[MENTION=1188493]Calkulin[/MENTION]

Any progress on the arm64-v8a version?
[ONE Themes and Apps] rajatthakran:
Which version of the file should i use on onplus Cm12, google play services v7.3.29 ?
[ONE Themes and Apps] rastigo:
Ok, Am gonna make it a bit more Fooflproof (assuming you have root permissions) for those experiencing issues still:::

1. Copy the version that you want the phone to retain and rename the apk as : CoreGms.apk

2. Use File manager and delete any of the following files

and their odex counterparts

if any from /data OR /system/app OR /system/priv-app

PrebuiltGms.apk, CoreGMS.apk, com.google.android.gms-1.apk, com.google.android.gms-2.apk Gms.apk

3. Now Copy CoreGms.apk to /system/priv-app folder using -rw-r--r-- or 0644 permissions.

4.Go to /data/app folder and create a folder by the name "com.google.android.gms-1.apk"

5.Reboot.

Now the app will never update by itself and you can have the same version of play services until you choose not to.

To restore the above mod:

Simply delete the "com.google.android.gms-1.apk" folder from /data/app folder.

Reboot

IMP: For Lollipop there are separate folders created under /system/priv-app....Its normally a folder such as GMS or PrebuiltCore or CoreGMS.

You must go in the folder to first see the apk and ensure from the app icon that it is the google play services app. THEN GO BACK AND SIMPLY DELETE THE FOLDER and GO TO STEP 3 above

I hope this helps and solves your issues.

If you think I helped please press the THANKS BUTTON
[ONE Themes and Apps] Genericxx:
SystemUpdateService Wakelocks seem to have stopped for me on stock 7.3.29 without this fix. Usually i'm denying wakeup/keep awake/autostart to Google Play Services, but i passed on this for testing. Is it normal that without that denials com.android.google.gms takes about top alarmers according to better battery stats? I mean, it's not that drainer like before (getting about 85% deep sleep currently), but with denials i'm using to get about 92-94% deep sleep.
[ONE Themes and Apps] rajaa_sekaran:
Same for me.....
[ONE Themes and Apps] hasnol143:
I think its only a matter of time, I'm getting mine right now as we speak on stock 7.3.29
[ONE Themes and Apps] Calkulin:
I posted the system fix for this wakelock for the stock YNG1TAS0YL ROM, so the modded GPS versions are not needed anymore with that :good:
[ONE Themes and Apps] Calkulin:
I meant the Google Play Services apk that reside on the data/app folder named com.google.android.gms-*.apk

If you updated your ROM, then you have the system fix that CM implemented because that version still has the wakelock issue
[ONE Themes and Apps] mohit310:
[MENTION=1188493]Calkulin[/MENTION] - Can you please add a poll to your OP with following questions

1. Using [MENTION=1188493]Calkulin[/MENTION] fix v7.3.29

2. Using google play services default v7.3.29.

This will help everyone understand the demographics of people still affected by the issue.

Just a suggestion if you want to do it.
[ONE Themes and Apps] Calkulin:
There's really no use for that as the issue is ROM specific, so if you have updated your ROM to one that was built recently, then you won't be affected by this issue anymore or if you apply my ROM fix for the stock ROM in the OP, then the same thing
[ONE Themes and Apps] Zolao:
Does this work for the fire phone? I cannot download the file.
[ONE Themes and Apps] JoaoMarcos:
I'm having bootloop with Modded Framework in CM 12.1 :crying:
[ONE Themes and Apps] DeeFolt:
Thanks for quick fix!!!
[ONE Themes and Apps] davebugyi:
Read!

It's for stock COS 12
[ONE Themes and Apps] szulolo79:
Nexus 5, carbon rom. My GPS were updated yesterday to 7.3.29 and wakelock issue is gone for me. I have restarted it and it goes deep sleep as it should. :rolleyes:
[ONE Themes and Apps] topbasework:
It is normal,after flash new version in op.im on kk rom

In op said (30)

But mine is (34)

On my data/app/folder names " com.google.android.gms-1.apk dont have apk google play services
[ONE Themes and Apps] Genericxx:
If you install gps with -030 in the ending and change your dpi and gps auto-updates itself, it'll become the version fitting your dpi. -034 would mean you're running kitkat with 240 dpi. If i remember right, the folder "com.google.android.gms-1" should be named like this, not ".com.google.android.gms-1.apk". It's okay if it is empty, but you named it just wrong. Just rename it.
[ONE Themes and Apps] topbasework:
Thanks...

Tht is normal right

Im using 240dpi

How did yr know im using 240dpi base on version of gps -030 and -034?
[ONE Themes and Apps] Genericxx:
Coz -030 is universal dpi and -034 is for 240dpi. So if GPS detects 240dpi and auto updates, it chooses -034 automatically. Auto Update was not prevented coz you've misspelled the folder-name.
[ONE Themes and Apps] anshumangoyal:
Thnaks, what DPI should I use for OnePlusOne on Euphoria ROM?
[ONE Themes and Apps] Genericxx:
DPI is not ROM dependant, it's device dependant. Stock for bacon is 480. Try 400 and see if it suits your needs. You can also try 360 but this means Tablet mode and is way to small for most people.
[ONE Themes and Apps] hawkerpaul:
Hi [MENTION=1188493]Calkulin[/MENTION]

Is there any chance you can explain what exactly you modded in framework-res.apk in OP so that we can compile the root-cause fix into any rom please, and not just the stock YNG1TAS0YL ROM?

Many thanks
[ONE Themes and Apps] JazonX:
Yes Please! I second this request.
[ONE Themes and Apps] samuele94:
Sorry can i use https://www.amazon.com/clouddrive/share/r2SoY5zDIBWWJJGgZcMA61K8aAO56LafrykOZS_SFso on my lg g2 d802? I use gplay services 7.3.29 -438

Works fine on lg g2 d802 5.0.2
[ONE Themes and Apps] szulolo79:
After another reboot wakelock is back again,

so it seems google did not fix it
[ONE Themes and Apps] Calkulin:
Instructions are up in the OP now

Yes that is the version you want

Like I said, that version still has the issue if your ROM was affected by it and doesn't have the fix
[ONE Themes and Apps] akulata:
hi [MENTION=1188493]Calkulin[/MENTION]

I'm using YNG1TAS17L on OnePlus. flash which I need to take?

google modded play sevices or modded framework?
[ONE Themes and Apps] miguepereira77:
None...it's already fixed on YNG1TAS17L
[ONE Themes and Apps] rsxelrate:
Huge thanks for this. My battery last insanely long now!

Tried many fixes, but nothing worked out well.
[ONE Themes and Apps] hawkerpaul:
Many thanks for taking the time to explain this Calkulin.

My ROM (Dan's GPE) doesn't have a config_disabledComponents entry in Arrays.xml.

Does this mean this ROM shouldn't be affected by this problem, or is it still recommended insert the "after" code into Arrays.xml, or flash one of the GSM core fixes in the OP?
[ONE Themes and Apps] M_P_E:
No, it's not. Have the same Version and heavy amount of Wakeups by GPS. So i have the same question as akulata.
[ONE Themes and Apps] Calkulin:
If you didn't see that, then it's not your ROM causing the issue if you have the SystemUpdateService wakelock

That ROM does have the fix(that was the first thing I checked), so if you have the SystemUpdateService wakelock, then it's something else keeping the service off but it's not the ROM anymore
[ONE Themes and Apps] GreggoryD502:
Excuse my ignorance but which one do I need to flash? Thanks
[ONE Themes and Apps] fogame:
I believe the 438 one.
[ONE Themes and Apps] Calkulin:
Removed since fogame answer before me
[ONE Themes and Apps] cantenna:
[MENTION=4272718]hawkerpaul[/MENTION], I have this rom too, to clarify; the problem, some ROMs have a problem with google play services sleeping that starts if system framework has the wrong code and to fix it you can either correct system framework code per op or patch google services app, correct?

Did you look at the system framework of fans current ROM or previous last aroma one?

[MENTION=1188493]Calkulin[/MENTION]Last can system framework be modified from uninstalling and installing different google play services and play stores?
[ONE Themes and Apps] hawkerpaul:
nothing has changed in dans rom itself for well over a month now so it's the current version I'm on.
[ONE Themes and Apps] cantenna:
Thanks hawkerpaul, but are you flashing this fix or no need to? Thanks
[ONE Themes and Apps] DjDiabolik:
WARNING........ 5 minutes ago on my CM12s i have flashed by TWRP 2.8.6.0 this file:

cm-12.0-YNG1TAS17L-bacon-signed.zip

It's the new OTA for CM12 rollout some days ago......... after that i have wipe the cache and the dalvik cache and restart to System and i obtain a continue crash to Google Play Services com.google.process.gapps) and i can't do nothing for eliminate this crash!

For FIX this problems i need to boot onto TWRP and re-flash the 7.3.29 by Calkulin!

At this point i suggest to post the mirror for official apk by Google otherwise some other member can reinstall the official Play Services before to install this OTA for CM12s.
[ONE Themes and Apps] Calkulin:
That ROM does not have the issue that this thread is about, so are you still getting the SystemUpdateService wakelock?
[ONE Themes and Apps] Calkulin:
If you had crashes for GPS, it's probably due to GPS reverting back to the version that was included in the OTA, which is a very old(v6.5.99)

And if you want the stock GPS versions, www.apkmirror.com has them
[ONE Themes and Apps] GreggoryD502:
I believe the 438 one.

I see a 430 and a 43(with an emoji) . again sorry for my stupidity.
[ONE Themes and Apps] meccs:
After doing this a Service called "Google Services" (without the Play) has the same behavior now. Uses most of the battery...

I'm on Kitkat.
[ONE Themes and Apps] Calkulin:
The one with the emoji, 480 dpi

Install BetterBatteryStats or something similar to see what the actual wakelock is
[ONE Themes and Apps] meccs:
Yes I will do that. But I noticed that it worked at first (clean install of Cyanogenmod) and then the "Google Services" problem started. So I just uninstalled all Google apps that didn't come with the Cyanogenmod and did a reboot. Now the Google Services is back to not using all my battery. Must be some of those apps I guess. I'll check one by one with BetterBattery.
[ONE Themes and Apps] DjDiabolik:
yeah... it's a great suggestion for next ota ;)