yashsingh1/xdaforums huggingface dataset:
[ONE Themes and Apps] ocd_amp:
That is not enough info. Also your problem is unrelated to this thread which has to do with Google Play Services SystemUpdateService receivers. Check your other apps. Are you using a Tap to Wake feature? It may be preventing your phone from sleep.

---------- Post added at 08:09 AM ---------- Previous post was at 07:58 AM ----------

I am using KitKat, and Dalvik. The fix here will fix your issues related to Google Play Services only. Your problem is an App that interfaces with your RIL and keeps a wake lock. Most likely for Coarse Location. You might want to Flash an updated Radio. Are you using a Custom Dialer App? Something at Userlevel (aka RILJ) is hitting up your RIL for wake constantly. So your problem is unrelated to the fix in this thread.
[ONE Themes and Apps] Calkulin:
It's not a script that I added, what I did was remove the acquire command, so it doesn't create a wake lock is all. It's actually quite simple if you know what to look for

I can't say how a v038 would react on a v036 phone sorry

My zip only overwrites the GmsCore.apk in priv-app, so you can try to delete it and reboot the phone. It will reinstall itself since gapps need that now and if it shows up, reflash my zip

See above

Nexus 5 or any other phone that has the same resolution
[ONE Themes and Apps] marclaniohan:
Useful mod, I would use it but I have Gms 436... Would you be willing to mod the 436 apk for users of 320dpi? If you don't mind, or instruct me on what you edited/app signing if required...?
[ONE Themes and Apps] BillyHW:
The wakelock issue appears to be fixed for me with the update to 8.1.15 (even before with 8.1.14), knock on wood.
[ONE Themes and Apps] BillyHW:
Spoke too soon. My wakelocks are back. This is ridiculous. My next phone will be an iPhone.
[ONE Themes and Apps] dannieloco:
bro, its your ROM, Ive been on 8.1.15 and my phone sleeps all day.. handle it.
[ONE Themes and Apps] sshafranko:
100% agree. Heres my sleep from last night using 8.1.15....
[ONE Themes and Apps] Lidor167:
still relevant?
[ONE Themes and Apps] dobermann24:
Yes 8.1.15 works fine. :) 8.1.18 i must try.
[ONE Themes and Apps] rabimba:
So in short this will never update anything in the background unless we wake up the device.
[ONE Themes and Apps] ssanddo:
I flash it, but my play store can't be opened. Is there any conflicts with this tweak? Thanks before
[ONE Themes and Apps] digz6666:
Where to get APK for Galaxy S5?
[ONE Themes and Apps] otonieru:
Arm64 please!
[ONE Themes and Apps] MikZa:
Flashed the modded framework and now my phone doesn't start up, the icon keeps spinning on the boot loading screen, any way of going back????
[ONE Themes and Apps] notillas:
You have flashed an incorrect file. You must to flash the correct file of xposed for your model, if not, you must flash your rom again or restore a nandroid.

Enviado desde mi SM-G901F powered by Nova Rom
[ONE Themes and Apps] freaky deaky:
Is anyone getting G Play services drain again? I have around 10% from it on every rom i flashed since few weeks ago.. I'm on mm now
[ONE Themes and Apps] Alex Elder:
Flashed, and battery drain is still there. In fact, it has improved the battery percentage.

How is that even possible?
[ONE Themes and Apps] Irwan Fauzi:
link is down. please reupload thanks.
[ONE Themes and Apps] emptyragnarok:
I modded framework-res.apk as suggested by [MENTION=1188493]Calkulin[/MENTION]. But my Phone doesn't boot up after flashing that apk. using this miui. ROM

any help appreciated.
[ONE Themes and Apps] @rvg:
[MENTION=1188493]Calkulin[/MENTION] Links not working...can you please check.
[ONE Themes and Apps] Aleks 1967:
Здравствуйте хотел попробовать ваш фикс для кит-кат (SystemUpdateService Wakelock Fix), но никак не могу его скачать. Уж очень сильно сервисы гугл плей кушают батарею ! Если можно выложите его пожалуйста. Заранее большое спасибо !!!
[ONE Themes and Apps] riahc3:
Marshmallow?

This looks intresting.
[ONE Themes and Apps] Dan_Jacques:
There is a x86 version?
[ONE Themes and Apps] kryshnakishore:
Where's the file for marshmellow?
[ONE Themes and Apps] Dakudu:
Does this need root or any modification?

File not found

Help moto x draim battery fast while standby
[ONE Themes and Apps] Brenneke:
Can this be used for current versions still as of this date?
[ONE Themes and Apps] massmurali:
Fff
[ONE Themes and Apps] wahuka:
Thank you Calkulin, good job!!!
[ONE Themes and Apps] elpietrodalton:
Thank you very much

, finaly i have deep sleep in my one with Oxygen
[ONE Themes and Apps] Doo Doo:
Do I need to reflash this after flashing a new nightly?
[ONE Themes and Apps] wahuka:
No, i must enable it with disableservices.
[ONE Themes and Apps] darkdragon88:
I hope this doesn't sound stupid but does Cyanogen OS 12 (CM12) need this fix too?
[ONE Themes and Apps] syzkk:
does this one work with the new CM12S update? I feel like the wakelock is still there in the CM12S
[ONE Themes and Apps] rastigo:
How to prevent the app from updating itself

For those who dont want the app to update itself do this: In Kitkat (you need root access and file manager supporting root access)

To implement no auto update mod for play services:

Go to /data/app folder.

create a folder by the name "com.google.android.gms-1.apk"

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

Press thanks button if I was of any help or you like my post
[ONE Themes and Apps] Sander9847:
Thank you! :)
[ONE Themes and Apps] bmwh0r3:
Just want to say this fix plus greenify on oxygen gave me a 3% battery drop overnight(forgot to charge.) Went from 20% at 10pm to 17% at 7am. Forgot to screenshot it but swapped to my n6 for the day. Will test tonight.
[ONE Themes and Apps] jovawankenobi:
ehi man, thank you for your work.

I have a problem. When i try to install i get this:

e: footer is wrong

e: signature verification failed

installation aborted

What should i do??

thx
[ONE Themes and Apps] Rangs641:
Yes
[ONE Themes and Apps] Vorshim92:
what bug we're talking about? what it does and how do I know if I have it?
[ONE Themes and Apps] dragoi90:
Really?

Have you read the OP?I think not!Please READ THE FIRST POST CAREFULLY!
[ONE Themes and Apps] Rangs641:
Problem with Google play services. It keeps your phone awake all the time and drains the battery. If you check phone battery stats, it will show Google services as one of the top consumers. And if you check BBS, it will show a partial wakelock named googleupdateservice keeping your phone awake all the time
[ONE Themes and Apps] joefso:
[MENTION=1188493]Calkulin[/MENTION] Any sollution for the 1013 audiomix partial wakeuplock? present on CM11S and 12 based roms.

Current solution is to disable the sounds. This works for some to reduce the partial wakelock and for others not.
[ONE Themes and Apps] sathish1:
Using Oxygenos

Hi, I'm using Oxygen OS with out ROOT. when i was in cm11s battery backup was good and now it seems Oxygen OS drains the battery.

Will this wake lock Fix this issue, Will it work If i flash this in Oxygen OS(with out ROOT).
[ONE Themes and Apps] NetBender:
You're on TWRP right?

Right before you swipe to flash, you have to disable the "MD5 signature check".
[ONE Themes and Apps] Red5:
Does this fix the constant notification that an app (Google Play Services) requires you to...? I dont seem to have the wakelocks, but I constantly get a notification that the app needs my approval. When I open it up, it just says deactivate or open. There is noting to update or approve.
[ONE Themes and Apps] Doo Doo:
Anybody?
[ONE Themes and Apps] XDAMaxe:
Usually custom roms do not contain gapps and therefore no play services.

If your rom doesn't auto-backup gapps and you'll clean flash rom then you have no gapps at all.

Flash your preferred gapps and the flash.zip from the op and enjoy
[ONE Themes and Apps] jovawankenobi:
Yes I'm in recovery mode. The zip file is placed in the SD card folder but when I choose the zip file from update I have no choice! Immediately a quick android robot appears and after that the error message.

What should I do? Am I doing something wrong?
[ONE Themes and Apps] ritalinnz:
Works great on CM12S

Great work Dev, man, that wakelock was annoying me! I flashed this morning and can confirm it's working perfectly for me on CM12s (sideloaded last night). So happy to see all those spaces breaking up the previously solid "awake" bar. Cheers! :good:
[ONE Themes and Apps] Doo Doo:
I meant after dirty flashing a new nightly because usually gapps stay after a dirty flash but I had to reflash this mod for some reason there has to be a way for it to stay after dirty flashing if anybody knows please fill me in
[ONE Themes and Apps] alexbk66:
I was also using before Greenify, Amplify, DS Battery Saver, etc. Eventually I found that this "Battery Saving" apps are actually the major battery users. So try without them. Android these days is smart enough...

It's better to select a good kernel and adjust its settings. Also uninstall all junk you don't use and configure the rest properly.
[ONE Themes and Apps] XDAMaxe:
Ah, sorry, now I understand.

Yep that's simple.

1. Delete prebuiltgmscore.apk or similar named apk of play services within your gapps.zip and

2. copy the gmscore.apk of calkulin into the resp. folder of your gapps.zip (winrar recommended - it does everything with drag&drop).

Flash gapps as usual and enjoy.

If you have to flash calkulins zip after a dirty rom flash your rom must do some cleaning that deletes gmscore.apk in system/priv-app.

In that case it should help to copy&paste calkulins gmscore.apk into the new rom.zip before dirty flashing it
[ONE Themes and Apps] Doo Doo:
That's weird because before I flashed this mod Google play services was restored after dirty flashing but now after using this mod its not I don't understand that.

Also I looked in my roms zip and couldn't find where to add calkulins gmscore.apk
[ONE Themes and Apps] adlx.xda:
Why aren't you guys giving a try at Amplify module for Xposed? Btw, I'm on CM12 nightly and I don't see those wakelocks you mention you have high. I'm using Amplify, to throttle some wakelocks, but not those.

Sent from my OnePlus One with Tapatalk
[ONE Themes and Apps] abhibnl:
Could anyone please suggest what could i possibly do to stop this? Using cm12s and it doesn't has built in wakelock blocker. Already disabled permissions from privacy manager but still it's happening.

Edit: btw, anybody else facing issue of whatsapp messages not receiving after flashing this mod? Only whn u turn screen on the messages start to come.

Sent from OnePlus One
[ONE Themes and Apps] Hussainally:
If I am not rooted can I use this and flash use g stock recovery?
[ONE Themes and Apps] Heisenberg:
The stock CM recovery can only flash zips signed by CM, you need a custom recovery.

Transmitted via Bacon
[ONE Themes and Apps] XDAMaxe:
it must be placed into system/priv-app - and don't forget to delete any other residing prebuiltgmscore.apk (or otherwise named play services). Again: if you flash any gapps-package afterwards reassure that that zip must not contain any other playservices.apk - it will override your precious calkulin one
[ONE Themes and Apps] Doo Doo:
The only thing that's inside the system folder in my ROMs zip is just build.prop
[ONE Themes and Apps] alexbk66:
Google wakelocks happen sometimes, but just one wakelock can keep phone on until battery dies, so Amplify won't help. You can't completely disable Google wakelocks though.
[ONE Themes and Apps] XDAMaxe:
OK, I don't have an opo. But is there no subfolder 'priv-app' in system ??? (just checked latest kk-nightly from carbonrom for opo and it contains system/priv-app)
[ONE Themes and Apps] Doo Doo:
Nope no other folders inside the system folder my ROM must install apps a different way I guess
[ONE Themes and Apps] XDAMaxe:
hmm, then you'll have to prepair your gapps.zip in the described way if you don't wanna flash calkulins.zip in addition.

But anyway it sounds weird. what rom are you on ?
[ONE Themes and Apps] Doo Doo:
Pacrom download it and take a look and let me know what you think
[ONE Themes and Apps] XDAMaxe:
link please ?
[ONE Themes and Apps] Doo Doo:
https://basketbuild.com/devs/pacman/bacon/Nightly
[ONE Themes and Apps] XDAMaxe:
sorry, but I cannot say anything concerning lollipop.

In general every app, also in priv-app folder, has its own folder (like in calkulins.zim for lp) with its own lib.
[ONE Themes and Apps] Doo Doo:
Well Pacrom doesn't for some reason
[ONE Themes and Apps] solar666:
Anyone knows if the problem is still present in the newest play services 7.3.26 just released?
[ONE Themes and Apps] XDAMaxe:
nope, but remember that we need the 038 version. I guess that [MENTION=1188493]Calkulin[/MENTION] will take care so it's inevitable to be patient ...
[ONE Themes and Apps] pa.pn2:
sure it has to be 038?

flashed calkulins mod and its 438....
[ONE Themes and Apps] XDAMaxe:
yep, 038 is for kitkat and 438 for lp.
[ONE Themes and Apps] solar666:
-438 is already available [MENTION=4569301]apk[/MENTION]mirror
[ONE Themes and Apps] Zephyr!:
Naah I am not using any custom dialer

---------- Post added at 12:12 AM ---------- Previous post was at 12:09 AM ----------

Moreover play store keeps on FC
[ONE Themes and Apps] Calkulin:
Someone test it on Lollipop since the 038 version hasn't been posted and let me know if I still need to mod it
[ONE Themes and Apps] danieldmm:
Strange its apk side since it was fixed in ROM side over CM12 and CM12.1 nightly

Dont expect google fix because maybe its not apk side.

http://review.cyanogenmod.org/#/c/91579

http://review.cyanogenmod.org/#/c/91021
[ONE Themes and Apps] DjDiabolik:
The 7.3.26 of Google Play Service it's been updated by google........ on italian ufficial board someone has already updated on CM12s and reported the wake lock it's not fixed......

[MENTION=1188493]Calkulin[/MENTION] it's only to report to you this newest version :)

*EDIT*

I thinks i have found a mirror:

http://www.apkmirror.com/apk/google...ices-7-3-26-1853132-438-android-apk-download/
[ONE Themes and Apps] fermasia:
Testing it right now on Cyano12, will report back.
[ONE Themes and Apps] Rockhound53:
Sorry for OT, but can anybody test if in this Version the Smart Lock Feature by Location is fixed?

thnx
[ONE Themes and Apps] ek69:
[MENTION=1188493]Calkulin[/MENTION] I was browsing apk mirror and found an updated Google play services 7.3.26

http://www.apkmirror.com/apk/google...ices-7-3-26-1853132-438-android-apk-download/

No idea if it's been fixed but hopefully he can check it out for us since I have no clue what to look for lol

//edit

Just saw now that it was posted. Tapatalk didn't show the post when I posted mine lol the app is so annoying sometimes.
[ONE Themes and Apps] ilbarone87:
038 version is for cm11 (kitkat), while 438 is for cm12 (lollipop). Which one are you testing?
[ONE Themes and Apps] Calkulin:
I just tested 438 since I just finished porting my mods to CM12S and the wakelock is there, so I already got that version fixed. Once 038 is posted, I'll do that version and I'll also add one for all resolutions
[ONE Themes and Apps] fermasia:
I was testing 438, but Calkulin has already cleared it up :good:

May I ask where's that CM12s fixed version? Hope it's not just under my nose and I haven't seen it!

Thanks.
[ONE Themes and Apps] nicesoni_ash:
[MENTION=1188493]Calkulin[/MENTION]

Any comments please? I have the same question for 036.

Thanks.

_____________

Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel

Fueled by 7000mAh ZeroLemon Battery
[ONE Themes and Apps] ocd_amp:
Yes. Would be beneficial for many, I agree.
[ONE Themes and Apps] XDAMaxe:
038 is out (here)
[ONE Themes and Apps] solar666:
And as well a new version of play services 7.3.27

http://www.apkmirror.com/apk/google...ices-7-3-27-1857062-438-android-apk-download/
[ONE Themes and Apps] NeGriTa79:
The new version 7.3.27 solves the problem ???

I pissed the Temasek based Android 5.1.0_r5, install version 438 ???
[ONE Themes and Apps] Guido83:
deleted
[ONE Themes and Apps] pa.pn2:
Im a bit confused now. What version does bacon need now? 038 or 438.what happens if i install the wrong?
[ONE Themes and Apps] XDAMaxe:
your phone will automatically switch to a toasted iphone .... (as said before 0xx is for kk and 4xx is for lp)
[ONE Themes and Apps] saurjk:
Smart Unlock not working?

Did anybody's smart unlock stop working after flashing this fix? I had a trusted device set on my smart lock and that did not work once I flashed this fix, I had to enter the pattern even though the watch was connected.
[ONE Themes and Apps] ilbarone87:
On www.apkmirror.com you get all the explications to what you need for.
[ONE Themes and Apps] omiblack:
sooooo many thanks

[IMG="tons of likes"]http://www.fangdigital.com/wp-content/uploads/2013/06/95048-1-300x295.jpg[/IMG]
[ONE Themes and Apps] DjDiabolik:
As ever already says... apkmirror explain the 038 release it's for ROM based on KitKat 4.4.x....... 438 for ROM based on Lollipop 5.x

*EDIT*

Lol.. i'm subscribe to this thread in some case Calkulin release a newest fixed version..... thanks in advance.
[ONE Themes and Apps] saurjk:
I installed play services 7.3.27 and haven't seen the wake lock since. Hopefully won't happen anymore. Will post again if anything happens.

---------- Post added at 04:20 PM ---------- Previous post was at 04:19 PM ----------

Haven't seen it since installing play services 7.3.27 a few hours ago. Let's see.
[ONE Themes and Apps] Doo Doo:
Is anybody experiencing unknown issues with Google Play Services?
[ONE Themes and Apps] Gamm86:
If they're unknown, how can you experience them?

What error are you refering to?
[ONE Themes and Apps] Calkulin:
I just tested it for a couple of mins and it did have the system update wakelock on CM12S still
[ONE Themes and Apps] noobhero:
This I agree, I'm pulling my hairs out if this one haha.
[ONE Themes and Apps] Doo Doo:
When I try to open gmail or hangouts I get a popup that says (Unknown Issue With Google Play Services)

I even reverted back to a nandroid backup that I had and still does it
[ONE Themes and Apps] HaTrED_:
[MENTION=1188493]Calkulin[/MENTION], how do you perform that check for that wakelock? :confused:
[ONE Themes and Apps] gabrygaggio19:
Do you need to be root to flash it?

Because I've tried with cm recovery but it gives me an error.
[ONE Themes and Apps] saurjk:
Yup came back after a few hours, just went to privacy guard and removed the wakelock permission.
[ONE Themes and Apps] nicesoni_ash:
Simple solution would be to change ur google services to user app from system app using apps like Titanium Backup.

_____________

Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel

Fueled by 7000mAh ZeroLemon Battery
[ONE Themes and Apps] diablos991:
I'm getting the wake issue on 7.3.27 (438)

Can I flash the lollipop .zip from the OP or do I have to wait until Calkulin updates to 7.3.27?
[ONE Themes and Apps] dannieloco:
Installed this and now my Nexus 6 goes to deep sleep even while charging. I can now enjoy 6+ hours of SOT! woohoo! I hope they never update this play services so this stays permanent.
[ONE Themes and Apps] nadiros:
Look back a few pages and there's a super easy method to spoof updates of play services.
[ONE Themes and Apps] Calkulin:
I just posted the updated version for Lollipop, I'll upload the rest once they are available
[ONE Themes and Apps] mohit310:
Unable to download!! Is there a limit..

UPDATE: Don't bother. It's my firewall..
[ONE Themes and Apps] Purerawenergy:
Nice work. Running Exodus 5.0. (Bacon) with no issues to report. Oh, BTW, on the devs thread, someone asked about him implementing this fix for Exodus and he requested Git link. Interested in sharing that by chance?

And much obliged for your hard work, my battery thanks you.

Click, click, boom from a Bacon-wrapped Lollipop.
[ONE Themes and Apps] Kant73:
Thanks a lot, hope that Google will fix it soon ^^

But currently my battery thanks you and not Google =P
[ONE Themes and Apps] Doo Doo:
I tried that already and it still does the same thing I guess I'm going to have to full wipe & clean flash and I really don't want to ? but what other choice do I have
[ONE Themes and Apps] Hawkery:
So i can install this and put my services in privacyguard back to allow right?
[ONE Themes and Apps] pantala:
Is anybody seeing increased battery usage on modded 7.3.27 compared to modded 7.0.99? Not nearly as bad as without the mod but still noticeably higher.
[ONE Themes and Apps] iyousif:
Installing.. thanks!
[ONE Themes and Apps] DJMartini:
Mine has improved a lot! Really big notice for mine. But it might be because I just upgraded from 5.0.2 to 5.1
[ONE Themes and Apps] A.VOID:
I had a couple random sleep reboots today on the old version. Hoping the new version clears that up
[ONE Themes and Apps] iamelton:
im currently on v7.0.99..

do i have to wait for play service to update itself to v7.3.27 and then flash the fix, or can i just flash the fix now?

tia..
[ONE Themes and Apps] raidel00:
Does this flash through Cyanogen recovery?
[ONE Themes and Apps] Heisenberg:
CM recovery can only flash zips signed by CM, so no.

Transmitted via Bacon
[ONE Themes and Apps] raidel00:
ok, cause I tried to flash it and it wasn't working....so I was just making sure I didn't miss something (but I guess I did...by not knowing what you just said). Would there be a way for me to flash this or to upgrade my google play services with the modded one?
[ONE Themes and Apps] Crisisx1:
Does anyone know if this version of resurrection remix ROM has this issue fixed already ?
[ONE Themes and Apps] ocd_amp:
Calkulin, can you please leave the older version on for KitKat for those who still need it? It seems you removed the link.
[ONE Themes and Apps] :
Just read through the thread again and missing why the KitKat one was removed.
[ONE Themes and Apps] r47z:
Anyway for official CM12s (not root) and cyanogen recovery able to have this without waiting for CM to officially fix it (they may take more than 90 days)
[Sony Xperia Miro, Tipo (Dual), J, E] xXChad16Xx:
I was installing a WALKMAN Mod while my phone is Low Battery (About 14%), while the mod installing a wipe my sweat using my phone in the edges(LOL :p ), after a minutes my phone turned off but i did i not see it turning off, after i turned it on it was nothing, the power button part was actually hot, after i inserted a new sim and waited for an hour, my phone vibrated but nothing showed up i removed the battery and boot it again but there was no vibration. After a couple of hours i asked Brother (Previous Owner and Experienced the Problem)if he still knows how to fix it, he said just throw your phone down but not pretty far, i did what he said and i turned on my phone and a red LED light showed up 3 times (indicates its low battery), and the connected to the loptop to restore to stock but the loptop can't recognize the phone and the phone still isn't showing up. :crying: :(

Thanks and in Advance to those who helped me :laugh:
[Sony Xperia Miro, Tipo (Dual), J, E] niteesh madugolkar:
Try to flash it with Sony flash tool.

In the flash tool selectu r device as Sony tippo.

Firstu have to install tippo driver and then select u r device and flash it..

Give me thanks dude
[Sony Xperia Miro, Tipo (Dual), J, E] xXChad16Xx:
Thanks for the Help :good:, but i actually fixed before in a different method. :)
[Sony Xperia Miro, Tipo (Dual), J, E] agusacho:
How?

How you do it??? Please!! My pc only recognize it as Qualcomm HS-USB
[Verizon HTC One (M8)] lennie paz:
Does anyone know how I can sync my Chrome bookmarks to the stock HTC Browser?
[Verizon HTC One (M8)] Tigerstown:
Download bookmark sync.apk

Install it then got to accounts>google then you should know have a browser sync which should do it for you.
[Verizon HTC One (M8)] lennie paz:
This is what I tried, and I still don't have Browser Sync in Google Accounts.

Download ChromeBookmarksSyncAdapter.apk

Push it to /system/app/

Change permissions to rw-r--r-- (not sure if necessary, but do it anyway)

Restart

Go into Settings -> Google Account

Select the account you want to sync

Check browser to turn bookmarks sync on