[GUIDE][FIX]Fix SystemUpdateService wakelock on latest Google Play Services

Search This thread

v7

Retired Forum Moderator / Inactive RC
May 17, 2014
7,959
8,409
Arkham
Not really. Nexus 6p 6.0.1 here and first I got the darn notification that I don't want. So I started by trying to disable the three suggestions. This didn't work in autostarts as it's not 6.0 compatible. Rom toolbox lite said it managed to disable them, and indeed after reboot the notification is gone but guess what I end up with instead: the damn wakelock!

The wakelock in 6.x isn't draining,although it shows up in BBS.

___
v7
XDA Assist
 

TigerSoul925

Senior Member
Apr 15, 2010
212
30
The wakelock in 6.x isn't draining,although it shows up in BBS.

___
v7
XDA Assist

Oh, so it's not really active during screen off? Funny thing is, if I leave the notification and don't do anything about it, I don't get the wakelock anymore. Change the three suggestions and I get the wakelock.

What's the correct way of disabling this notification on 6.0? I don't want to block notifications for google play services as it tells me a whole lot more than just about updates. It's android wear stuff, updates etc.
 

v7

Retired Forum Moderator / Inactive RC
May 17, 2014
7,959
8,409
Arkham
Oh, so it's not really active during screen off? Funny thing is, if I leave the notification and don't do anything about it, I don't get the wakelock anymore. Change the three suggestions and I get the wakelock.

What's the correct way of disabling this notification on 6.0? I don't want to block notifications for google play services as it tells me a whole lot more than just about updates. It's android wear stuff, updates etc.

I'm still on 5.1.1.Are you on stock?

___
v7
XDA Assist
 

TigerSoul925

Senior Member
Apr 15, 2010
212
30
I'm not sure if you can turn off that specific notification.Have you tried asking in your device forum?

___
v7
XDA Assist

I'm discussing the matter in another persons thread about disabling it. I've made some investigation and as it looks now the only way is to disable notifications for the entire framework or using notifyclean.

A pretty ****ty list of options for accomplishing such a simple task really.
 

Caddos

Member
Jan 22, 2016
20
2
Not work, and i use you guide and not work again :(

Google play services 7.5.71
 

Attachments

  • BetterBatteryStats-2016-01-29_135051440.txt
    25 KB · Views: 19
  • Screenshot_2016-01-29-13-48-22.png
    Screenshot_2016-01-29-13-48-22.png
    52.9 KB · Views: 933
  • Screenshot_2016-01-29-13-49-13.png
    Screenshot_2016-01-29-13-49-13.png
    108.8 KB · Views: 926
  • Screenshot_2016-01-29-13-49-55.png
    Screenshot_2016-01-29-13-49-55.png
    161.2 KB · Views: 923

v7

Retired Forum Moderator / Inactive RC
May 17, 2014
7,959
8,409
Arkham
Not work, and i use you guide and not work again :(

Google play services 7.5.71

Screen On (): 48 m 59 s 25.4%

Screen was active for 48 minutes.Head over to my thread and read the FAQ in post #6.Then post me a dump as mentioned in it.I'll take a look :)

___
v7
XDA Assist
 

Caddos

Member
Jan 22, 2016
20
2
Screen On (): 48 m 59 s 25.4%

Screen was active for 48 minutes.Head over to my thread and read the FAQ in post #6.Then post me a dump as mentioned in it.I'll take a look :)

___
v7
XDA Assist

ok, i send again
 

Attachments

  • BetterBatteryStats-2016-01-29_135051440.txt
    25 KB · Views: 53

Sincerity4

Member
Mar 6, 2016
8
1
I follow all steps.
But always see "unfortunately google play services has stopped"
This is terrible
ok, next follow your advice and set KEEP AWAKE enabled
it works untill reboot device
after reboot SystemUpdateService works again

CM11 Android 4.4.4
Google Play Service 8.4.89
 

cridemichel

Member
Oct 18, 2012
14
4
Hi guys,
I want to report also my experience being possibly useful to someone else.
In my case (cyanogemod 11.0 on a samsung galaxy s-plus GT-I9001) I followed all steps suggested in the first post except that (i) I set "keep awake" enabled and (ii) I kill "google play services" on startup once using Automagic (but you can use whatever other app you like to do that, like Tasker, Macrodroid, AutomateIt, etc). It seems that with "keep awake" enabled after system booting "google play services" app remains awake all the time preventing the phone from sleeping, but if you kill it once everything is fine afterward,

Cristiano
 

webfrm

Senior Member
Nov 16, 2006
219
16
Damn Google play

Yeah I am having same experience as everyone else. I also can't seem to disable the services. When I try to disable the play services systemupdateservices I get an error that I can't change it (using autostarts) and claims I may not have root. I know I have root because so many other apps (RomToolBox Pro, Tasker, etc) that I own have been granted root. So if anyone has a suggestion using anything in xposed (appsxposed) or anything I already purchased to address this to address it I'm open. But this BS of Google constant push of updating GooglePlayServices (can't seem to stop that) to end up screwing my tweaks on my battery optimization is really getting old.
 

lace_hvc

Senior Member
May 24, 2015
219
19
Since I get 'google play services has stopped' message when denying 'wake up' and 'keep awake' of google play services in the privacy guard, i allowed both and turned ON system update service in google play services with an app called 'disable service' (system update service always starts disabled leading to wake locks from time to time).

I dont get any wakelocks and no 'google play services has stopped' message, especially when using location services.

Unfortunately, the system update service starts disabled after every reboot, forcing me to enable it every time. but i dont experience any errors this way.

Any other combination always lead to 'google play services has stopped' or to wakelocks.

Hope this helps someone. Im on CM11.
 
  • Like
Reactions: Thynaks

Top Liked Posts

  • There are no posts matching your filters.
  • 70
    This is a fix for SystemUpdateService wakelock on latest Play Services update.

    Requirements:

    • Autostarts from F-Droid
    • Root
    • Privacy Manager/AppOpsXposed
    Procedure:

    • If you have a built-in privacy guard on your rom,disable WAKEUP and KEEP AWAKE of Google Play Services(recommended).If you don't have it, try AppOpsXposed
    • Open Autostarts and grand root access.
    • Search for SystemUpdateService and disable the following receivers
    1. SystemUpdateService$ActiveReceiver
    2. SystemUpdateService$Receiver
    3. SystemUpdateService$SecretCodeReceiver

    • Now reboot the device and enter recovery
    • Wipe Dalvik Cache and Reboot
    • Recheck if the receivers stay disabled on reboot
    If you still have the wakelock.Try this
    • If you have already disabled the update services using any other tools,you'll have to re enable them before trying this.
    • Now try the above fix.
    • Wipe Dalvik Cache and Reboot
    • Now look for the wakelock.
    • Report Here

    No more SystemUpdateService wakelocks :D
    5e9d27325b4eb8b2505ee0bfab5b629d.jpg
    79c5ef00051a27a2fd962e34c9273750.jpg


    Here's the screenshot after the fix.No more Google Play Services in battery stats.
    d839e9df755ad8ad9a03bfae09cf2f7e.jpg
    ac44dd1e4c6e41feb46d4ba78354da8b.jpg
    12
    There isn't any menu.
    But I could turn off systemupdateservice with Disable Service app.
    But Google Play services wakelock still remains. See the screenshots!

    Sent from my C5303 using XDA Free mobile app

    You have to disable the broadcast receivers and not the services, see below what I have to do to eradicate these wakelocks.

    I have received yesterday this bull... Play Service 7.0.97 update like everybody not deep sleep and these massive wakelocks:
    Checkin Handoff, Event Log Handoff and SystemUpdateService (BBS screenshot)

    What surprise:eek: because I always disabled the above three services and the corresponding broadcast receivers on all my device since HTC HD2 without any problems, so now to not having the wakelocks we must re-enable thus services to stop the wakelocks, we walk on the head:eek:

    Personally I have to re-enable three services com.google.android.gms.checking.CheckinService
    com.google.android.gms.checking.EventLogService additionally to com.google.android.gms.SystemUpdateService I had already disabled the corresponding receivers for the above services.

    With My Android Tools which I personally prefer over System Tuner 3C Toolbox Pro and others similar applications because it has very helpful search function also you can sort the app's by disabled and currently running state and under about screen we have the backup option for disabled components.

    So go to Service>Play Service to enable this service (first screenshot) and disable corresponding receivers (second screenshot) under Broadcast Receiver>Play Service.

    Always before searching tap full/short because without doing it can happens that we can't found all items.

    My Android Tools link:
    https://play.google.com/store/apps/details?id=cn.wq.myandroidtools&hl=en

    I see very often the people's recommend Disable Service app instead My Android Tools
    (developed by the same person) they are wrong because disabling only the service without broadcast receiver will cause even more wakelocks except since latest Play Services update Google has messed up the things now we have to enable the services and leave or disable if this is not already done the broadcast receivers to stops the wakelocks. WTF?:what:

    Weird No? Because now it's completely opposite behavior and the massive wakelocks appear as if we have disabled only the service without the corresponding broadcast receivers.

    I also amplified with Amplify (I have set "Allow every" to 86400 seconds) this alarm com.google.android.gms.checkin.EventLogService$Receiver which has appeared after having re-enabled the above services.

    So now my battery drainage is as before this unfortunate Play Service update.
    9
    Ok, thanks for point explained.

    Wanna thank me??
    Hit thanks button :D

    Tapped from my furious ZR ;)
    5
    Simplest solution:
    - Xposed
    - Wakelock Terminator
    Search for the play services, filter: "SystemUpdateService". Done.
    4
    Here you go