[MODULE] Universal GMS Doze

Search This thread

enebro77

Senior Member
Aug 19, 2008
479
70
Is it possible to modify the whitelist in order to include more procceses to be ´dozed' ?

Many thanks in advance
 

enebro77

Senior Member
Aug 19, 2008
479
70
What do you want to be whitelisted, to be exact?
Because I only focus to Google Play services.
You can create your own creation based on my module, and if you find it useful. Use it.

Well .... this is my whitelist.
Lets say I would like to doze,

com.samsung.android.knox.pushmanager
com.sec.android.app.samsungapps
com.samsung.android.game.gamehome

How would I manage ?
Modifying file google.xml (located in / system / etc / sysconfig / ) would be enough ?
(credits to -> https://respuestas.me/q/como-hacer-...y-y-otras-aplicaciones-predetermi-60475271004)


Many thanks in advance


>>>>>>>
Whitelist (except idle) system apps:
com.sec.vsim.ericssonnsds.webapp
com.samsung.android.app.galaxyfinder
com.samsung.android.app.cocktailbarservice
com.microsoft.appmanager
com.android.providers.calendar
com.osp.app.signin
com.samsung.android.service.airviewdictionary
com.samsung.android.smartmirroring
com.sec.android.app.safetyassurance
com.samsung.android.easysetup
com.samsung.android.aware.service
com.sec.android.easyonehand
com.samsung.android.rubin.app
com.android.providers.downloads
com.sec.android.widgetapp.easymodecontactswidget
com.samsung.android.knox.pushmanager
com.sec.android.app.samsungapps
com.samsung.android.game.gamehome
com.sec.android.daemonapp
com.android.vending
com.samsung.android.knox.attestation
com.samsung.android.privateshare
com.sec.android.mec.mecagent
com.samsung.cmh
com.samsung.android.sm.devicesecurity
com.samsung.android.service.stplatform
com.android.mtp
com.samsung.android.messaging
com.samsung.android.app.telephonyui
com.samsung.android.bixby.agent
com.sec.imsservice
com.facebook.services
com.samsung.android.mobileservice
com.samsung.android.mdx.kit
com.samsung.android.kgclient
com.samsung.knox.securefolder
com.samsung.android.game.gametools
com.samsung.android.app.contacts
com.samsung.android.service.peoplestripe
com.samsung.android.app.smartcapture
com.sec.android.app.clockpackage
com.sec.spp.push
com.android.proxyhandler
com.samsung.android.allshare.service.fileshare
com.samsung.android.authfw
com.samsung.android.dialer
com.sec.android.app.ringtoneBR
com.samsung.android.game.gos
com.samsung.android.forest
com.samsung.android.hdmapp
com.samsung.android.beaconmanager
com.sec.unifiedwfc
com.samsung.android.fast
com.samsung.android.app.notes
com.google.android.apps.turbo
com.samsung.android.bluelightfilter
com.samsung.android.service.aircommand
com.samsung.android.providers.contacts
com.android.shell
com.google.android.apps.carrier.carrierwifi
com.samsung.android.app.appsedge
com.samsung.android.sdk.handwriting
com.facebook.appmanager
com.google.android.cellbroadcastreceiver
com.samsung.android.allshare.service.mediashare
com.samsung.android.cidmanager
com.samsung.sec.android.application.csc
com.samsung.android.video
Whitelist system apps:
com.sec.vsim.ericssonnsds.webapp
com.samsung.android.app.galaxyfinder
com.samsung.android.app.cocktailbarservice
com.microsoft.appmanager
com.osp.app.signin
com.samsung.android.service.airviewdictionary
com.samsung.android.smartmirroring
com.sec.android.app.safetyassurance
com.samsung.android.easysetup
com.samsung.android.aware.service
com.sec.android.easyonehand
com.samsung.android.rubin.app
com.android.providers.downloads
com.sec.android.widgetapp.easymodecontactswidget
com.samsung.android.knox.pushmanager
com.sec.android.app.samsungapps
com.samsung.android.game.gamehome
com.sec.android.daemonapp
com.samsung.android.knox.attestation
com.samsung.android.privateshare
com.sec.android.mec.mecagent
com.samsung.cmh
com.samsung.android.sm.devicesecurity
com.samsung.android.service.stplatform
com.android.mtp
com.samsung.android.messaging
com.samsung.android.app.telephonyui
com.samsung.android.bixby.agent
com.sec.imsservice
com.facebook.services
com.samsung.android.mobileservice
com.samsung.android.mdx.kit
com.samsung.android.kgclient
com.samsung.knox.securefolder
com.samsung.android.game.gametools
com.samsung.android.app.contacts
com.samsung.android.service.peoplestripe
com.samsung.android.app.smartcapture
com.sec.android.app.clockpackage
com.sec.spp.push
com.samsung.android.allshare.service.fileshare
com.samsung.android.authfw
com.samsung.android.dialer
com.sec.android.app.ringtoneBR
com.samsung.android.game.gos
com.samsung.android.forest
com.samsung.android.hdmapp
com.samsung.android.beaconmanager
com.sec.unifiedwfc
com.samsung.android.fast
com.samsung.android.app.notes
com.samsung.android.bluelightfilter
com.samsung.android.service.aircommand
com.android.shell
com.samsung.android.app.appsedge
com.samsung.android.sdk.handwriting
com.google.android.cellbroadcastreceiver
com.samsung.android.allshare.service.mediashare
com.samsung.android.cidmanager
com.samsung.sec.android.application.csc
com.samsung.android.video
Whitelist user apps:
com.samsung.android.ipsgeofence
com.samsung.accessory
 

gloeyisk

Senior Member
Jun 17, 2017
653
1,180
29
Cimahi
Well .... this is my whitelist.
Lets say I would like to doze,

com.samsung.android.knox.pushmanager
com.sec.android.app.samsungapps
com.samsung.android.game.gamehome

How would I manage ?
Modifying file google.xml (located in / system / etc / sysconfig / ) would be enough ?
(credits to -> https://respuestas.me/q/como-hacer-...y-y-otras-aplicaciones-predetermi-60475271004)


Many thanks in advance


>>>>>>>
Whitelist (except idle) system apps:
com.sec.vsim.ericssonnsds.webapp
com.samsung.android.app.galaxyfinder
com.samsung.android.app.cocktailbarservice
com.microsoft.appmanager
com.android.providers.calendar
com.osp.app.signin
com.samsung.android.service.airviewdictionary
com.samsung.android.smartmirroring
com.sec.android.app.safetyassurance
com.samsung.android.easysetup
com.samsung.android.aware.service
com.sec.android.easyonehand
com.samsung.android.rubin.app
com.android.providers.downloads
com.sec.android.widgetapp.easymodecontactswidget
com.samsung.android.knox.pushmanager
com.sec.android.app.samsungapps
com.samsung.android.game.gamehome
com.sec.android.daemonapp
com.android.vending
com.samsung.android.knox.attestation
com.samsung.android.privateshare
com.sec.android.mec.mecagent
com.samsung.cmh
com.samsung.android.sm.devicesecurity
com.samsung.android.service.stplatform
com.android.mtp
com.samsung.android.messaging
com.samsung.android.app.telephonyui
com.samsung.android.bixby.agent
com.sec.imsservice
com.facebook.services
com.samsung.android.mobileservice
com.samsung.android.mdx.kit
com.samsung.android.kgclient
com.samsung.knox.securefolder
com.samsung.android.game.gametools
com.samsung.android.app.contacts
com.samsung.android.service.peoplestripe
com.samsung.android.app.smartcapture
com.sec.android.app.clockpackage
com.sec.spp.push
com.android.proxyhandler
com.samsung.android.allshare.service.fileshare
com.samsung.android.authfw
com.samsung.android.dialer
com.sec.android.app.ringtoneBR
com.samsung.android.game.gos
com.samsung.android.forest
com.samsung.android.hdmapp
com.samsung.android.beaconmanager
com.sec.unifiedwfc
com.samsung.android.fast
com.samsung.android.app.notes
com.google.android.apps.turbo
com.samsung.android.bluelightfilter
com.samsung.android.service.aircommand
com.samsung.android.providers.contacts
com.android.shell
com.google.android.apps.carrier.carrierwifi
com.samsung.android.app.appsedge
com.samsung.android.sdk.handwriting
com.facebook.appmanager
com.google.android.cellbroadcastreceiver
com.samsung.android.allshare.service.mediashare
com.samsung.android.cidmanager
com.samsung.sec.android.application.csc
com.samsung.android.video
Whitelist system apps:
com.sec.vsim.ericssonnsds.webapp
com.samsung.android.app.galaxyfinder
com.samsung.android.app.cocktailbarservice
com.microsoft.appmanager
com.osp.app.signin
com.samsung.android.service.airviewdictionary
com.samsung.android.smartmirroring
com.sec.android.app.safetyassurance
com.samsung.android.easysetup
com.samsung.android.aware.service
com.sec.android.easyonehand
com.samsung.android.rubin.app
com.android.providers.downloads
com.sec.android.widgetapp.easymodecontactswidget
com.samsung.android.knox.pushmanager
com.sec.android.app.samsungapps
com.samsung.android.game.gamehome
com.sec.android.daemonapp
com.samsung.android.knox.attestation
com.samsung.android.privateshare
com.sec.android.mec.mecagent
com.samsung.cmh
com.samsung.android.sm.devicesecurity
com.samsung.android.service.stplatform
com.android.mtp
com.samsung.android.messaging
com.samsung.android.app.telephonyui
com.samsung.android.bixby.agent
com.sec.imsservice
com.facebook.services
com.samsung.android.mobileservice
com.samsung.android.mdx.kit
com.samsung.android.kgclient
com.samsung.knox.securefolder
com.samsung.android.game.gametools
com.samsung.android.app.contacts
com.samsung.android.service.peoplestripe
com.samsung.android.app.smartcapture
com.sec.android.app.clockpackage
com.sec.spp.push
com.samsung.android.allshare.service.fileshare
com.samsung.android.authfw
com.samsung.android.dialer
com.sec.android.app.ringtoneBR
com.samsung.android.game.gos
com.samsung.android.forest
com.samsung.android.hdmapp
com.samsung.android.beaconmanager
com.sec.unifiedwfc
com.samsung.android.fast
com.samsung.android.app.notes
com.samsung.android.bluelightfilter
com.samsung.android.service.aircommand
com.android.shell
com.samsung.android.app.appsedge
com.samsung.android.sdk.handwriting
com.google.android.cellbroadcastreceiver
com.samsung.android.allshare.service.mediashare
com.samsung.android.cidmanager
com.samsung.sec.android.application.csc
com.samsung.android.video
Whitelist user apps:
com.samsung.android.ipsgeofence
com.samsung.accessory
I'd say better to keep them like that, untouched and unmodified. That's Samsung system stuff, I don't want something bad is happened to your phone.
 
  • Like
Reactions: enebro77

73sydney

Senior Member
Well .... this is my whitelist.
Lets say I would like to doze,

com.samsung.android.knox.pushmanager
com.sec.android.app.samsungapps
com.samsung.android.game.gamehome

How would I manage ?
Modifying file google.xml (located in / system / etc / sysconfig / ) would be enough ?
(credits to -> https://respuestas.me/q/como-hacer-...y-y-otras-aplicaciones-predetermi-60475271004)


Many thanks in advance


>>>>>>>
Whitelist (except idle) system apps:
com.sec.vsim.ericssonnsds.webapp
com.samsung.android.app.galaxyfinder
com.samsung.android.app.cocktailbarservice
com.microsoft.appmanager
com.android.providers.calendar
com.osp.app.signin
com.samsung.android.service.airviewdictionary
com.samsung.android.smartmirroring
com.sec.android.app.safetyassurance
com.samsung.android.easysetup
com.samsung.android.aware.service
com.sec.android.easyonehand
com.samsung.android.rubin.app
com.android.providers.downloads
com.sec.android.widgetapp.easymodecontactswidget
com.samsung.android.knox.pushmanager
com.sec.android.app.samsungapps
com.samsung.android.game.gamehome
com.sec.android.daemonapp
com.android.vending
com.samsung.android.knox.attestation
com.samsung.android.privateshare
com.sec.android.mec.mecagent
com.samsung.cmh
com.samsung.android.sm.devicesecurity
com.samsung.android.service.stplatform
com.android.mtp
com.samsung.android.messaging
com.samsung.android.app.telephonyui
com.samsung.android.bixby.agent
com.sec.imsservice
com.facebook.services
com.samsung.android.mobileservice
com.samsung.android.mdx.kit
com.samsung.android.kgclient
com.samsung.knox.securefolder
com.samsung.android.game.gametools
com.samsung.android.app.contacts
com.samsung.android.service.peoplestripe
com.samsung.android.app.smartcapture
com.sec.android.app.clockpackage
com.sec.spp.push
com.android.proxyhandler
com.samsung.android.allshare.service.fileshare
com.samsung.android.authfw
com.samsung.android.dialer
com.sec.android.app.ringtoneBR
com.samsung.android.game.gos
com.samsung.android.forest
com.samsung.android.hdmapp
com.samsung.android.beaconmanager
com.sec.unifiedwfc
com.samsung.android.fast
com.samsung.android.app.notes
com.google.android.apps.turbo
com.samsung.android.bluelightfilter
com.samsung.android.service.aircommand
com.samsung.android.providers.contacts
com.android.shell
com.google.android.apps.carrier.carrierwifi
com.samsung.android.app.appsedge
com.samsung.android.sdk.handwriting
com.facebook.appmanager
com.google.android.cellbroadcastreceiver
com.samsung.android.allshare.service.mediashare
com.samsung.android.cidmanager
com.samsung.sec.android.application.csc
com.samsung.android.video
Whitelist system apps:
com.sec.vsim.ericssonnsds.webapp
com.samsung.android.app.galaxyfinder
com.samsung.android.app.cocktailbarservice
com.microsoft.appmanager
com.osp.app.signin
com.samsung.android.service.airviewdictionary
com.samsung.android.smartmirroring
com.sec.android.app.safetyassurance
com.samsung.android.easysetup
com.samsung.android.aware.service
com.sec.android.easyonehand
com.samsung.android.rubin.app
com.android.providers.downloads
com.sec.android.widgetapp.easymodecontactswidget
com.samsung.android.knox.pushmanager
com.sec.android.app.samsungapps
com.samsung.android.game.gamehome
com.sec.android.daemonapp
com.samsung.android.knox.attestation
com.samsung.android.privateshare
com.sec.android.mec.mecagent
com.samsung.cmh
com.samsung.android.sm.devicesecurity
com.samsung.android.service.stplatform
com.android.mtp
com.samsung.android.messaging
com.samsung.android.app.telephonyui
com.samsung.android.bixby.agent
com.sec.imsservice
com.facebook.services
com.samsung.android.mobileservice
com.samsung.android.mdx.kit
com.samsung.android.kgclient
com.samsung.knox.securefolder
com.samsung.android.game.gametools
com.samsung.android.app.contacts
com.samsung.android.service.peoplestripe
com.samsung.android.app.smartcapture
com.sec.android.app.clockpackage
com.sec.spp.push
com.samsung.android.allshare.service.fileshare
com.samsung.android.authfw
com.samsung.android.dialer
com.sec.android.app.ringtoneBR
com.samsung.android.game.gos
com.samsung.android.forest
com.samsung.android.hdmapp
com.samsung.android.beaconmanager
com.sec.unifiedwfc
com.samsung.android.fast
com.samsung.android.app.notes
com.samsung.android.bluelightfilter
com.samsung.android.service.aircommand
com.android.shell
com.samsung.android.app.appsedge
com.samsung.android.sdk.handwriting
com.google.android.cellbroadcastreceiver
com.samsung.android.allshare.service.mediashare
com.samsung.android.cidmanager
com.samsung.sec.android.application.csc
com.samsung.android.video
Whitelist user apps:
com.samsung.android.ipsgeofence
com.samsung.accessory

It would be a spectacularly bad idea to do what you're suggesting

What are you actually trying to achieve? please explain, because there might be other modules etc to achieve what youre trying to do.

But blanket applying one thing across all apps on Android rarely ends well.....
 
Last edited:

73sydney

Senior Member
From what I understand I should be able to flash it through TWRP or orange fox recovery? Is it possible or did I just misunderstood?

While flashing magisk modules through TWRP was an option, these days, its probably best to flash it through the magisk manager app, as some modules will not flash with TWRP anymore...

So, tap on last icon on the bottom toolbar...the puzzle piece , and then tap Install From Storage (at top)...locate the module in your storage, tap to install, reboot
 
Last edited:

RainGater

Senior Member
Aug 5, 2013
1,196
717
OnePlus 8T
Samsung Galaxy Tab S7 FE
Thank you for this wonderful magisk module.

So, I can flash gms_v1.8.3.zip right from Magisk (v23) on my 8T (Havoc-Android v11) and reboot and don't have to do anything else, correct? After rebbot, Play services will start to behave well?

I see that you have some command line commands to perform if there are delayed messages, for example. Do I have to do any of that or only if the messages are delayed?
 
  • Like
Reactions: gloeyisk

73sydney

Senior Member
Thank you for this wonderful magisk module.

So, I can flash gms_v1.8.3.zip right from Magisk (v23) on my 8T (Havoc-Android v11) and reboot and don't have to do anything else, correct? After rebbot, Play services will start to behave well?

I see that you have some command line commands to perform if there are delayed messages, for example. Do I have to do any of that or only if the messages are delayed?

install it, reboot

worry about it if you notice issues

no point trying to worry about things before they happen, you'll develop ulcers...

i didnt make it to 50 by being "risk averse"
 

73sydney

Senior Member
Yeah right! Worry about it after sh*$ happens? No thank you!

FWIW, flashed it and didn't see any negative impact so far.
Well, ive been using it since the first version, if there was a risk of anything terrible, i would have pointed that out :)

For the record, pretty much the point of magisk modules is they are reversible, meaning if you have a negative experience, you remove the module and reboot...hopefully this provides some clarity and comfort
 
  • Like
Reactions: gloeyisk

Sourabh Gharde

Senior Member
May 13, 2017
232
46
Sonipat
Samsung Galaxy M21
Thanks a lot. This works for me.
All olivelites (8A) have custom roms (with gapps) have system ui freeze and touch not responding. This isuue is not in vanilla with custom gapps package.
After flashing this module I haven't seen mentioned issue.
 
  • Like
Reactions: gloeyisk

Sir_gpm

Senior Member
May 27, 2011
2,364
312
Managua
POCO X4 Pro
Screenshot_2021-08-26-06-41-12-585_com.termux.jpg

Installed and profit right now. Thanks to Dev!
 
  • Like
Reactions: gloeyisk

alefmm

Senior Member
May 15, 2013
150
39
Xiaomi Poco F3
Last edited:

alefmm

Senior Member
May 15, 2013
150
39
Xiaomi Poco F3
I'm going to install a custom A11 rom and was wondering if the new version 1.8.4 work on Android 11 ?

No, this module don't effect on Gservices with Android 11.
For Battery optimization I choose to keep AOSP stock and using only Greenify was enough.

With UGMS my consumption and idle was terrible (up to 2 days of standby and 6h of SOT).
Without it I achieve 3 days of standby and 8-10h of SOT (6h using 120hz and 8-10h using 60hz).

My device is alioth running ArrowOS.

1630832199802.png


1630832097501.png


1630832123758.png
 
Last edited:
  • Sad
Reactions: sturges

alefmm

Senior Member
May 15, 2013
150
39
Xiaomi Poco F3
Version 1.8.4 along with 1.8.3 on Android 11 definitely allow me to select Google play services on the "optimize battery usage" settings. Whether this helps with battery in the background and actually optimizes play services, I don't know

Doesn't matter. Gservices still get party during idle even it "optimized" on Battery Settings.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 173
    Universal GMS Doze

    Overview:
    - Optimized and adjusted Google Play services.
    - Support API 23 or later.
    - Support Magisk Live or Custom Recovery installations.

    Contents:
    - Base extensions
    module: 1.8.4 (0830)
    code: 184

    Credits:
    - @topjohnwu / Magisk - Magisk Module Template
    - @JumboMan / Custom installation script

    Extras:
    - Donation: PayPal - LiberaPay
    - Mirror Links: GitHub Releases - Telegram - Index
    - Source Code: GitHub
    69
    Troubleshooting:

    - Command-line for check optimization (with add-on installed):
    Code:
    > su
    > gmsc

    - Command-line for check optimization (general):
    There's a line written Whitelist (except idle) system apps: and if com.google.android.gms line does not exist it means Google Play services is optimized.
    Code:
    > su
    > dumpsys deviceidle

    - Command-line for fix delayed incoming messages issue:
    Code:
    > su
    > cd /data/data
    > find . -type f -name '*gms*' -delete

    - Command-line for disable Find My Device:
    Code:
    > su
    > pm disable com.google.android.gms/
    com.google.android.gms.mdm.receivers.MdmDeviceAdminReceiver

    Changelog:

    v1.8.4
    - Removed redundant script (GMS: Stay with disabling Find My Device only)


    v1.8.3
    - Android 12 support
    - Additional boot complete check
    - Multi-User support
    - Set ignore for GMS and IMS WRITE_SETTINGS
    - Minor improvements

    v1.8.2
    - Android 11 support
    - Improved installation (Magisk Live and Custom Recovery)
    - Improved patching detections (XML files and conflicting modules)
    - Integrated add-on (run 'gmsc' with superuser rights for check optimization status)
    - Set ignore for GMS and IMS BOOT_COMPLETED
    - Set ignore for GMS and IMS AUTO_START (custom permissions for Oxygen OS)
    - Updated template

    v1.8.1
    - Integrated custom recovery installation
    - Added boot logic for search and patch any conflicting modules (if present)
    - Whitelisted IMS and Turbo (this should fixed location crash issue in MIUI)

    v1.8.0
    - Initial re-release
    - 100 seconds Magisk Boot Service
    35
    So this is it guys, both of my old machines are totally broken and some parts are get burned. I've no idea to revive it since my money were spent for my primary demands. I've built ±5 beta builds available in the support group (if you want to) but there's no special things since I'm still tinkering with every devices that Find My Device doesn't disabled automatically. Talking/sharing in here or in support group would be a nice place to find other workarounds. I'm so sorry for the lack of updates, also I just want to tell that I'll married soon.

    Keep up all of your supports, sorry for the inconveniences.
    Have a nice day!
    30
    New stable build is up!​

    This is like a dilemma, where I've to continue this GMS optimization stuff or not. But I got a few ideas lately where my loyal supporters always ask about GMS optimization and this is the answer. I will continue to try to make this module work well, stable, efficiently and of course optimized GMS.
    Please remember to read installation guides on OP, and don't use similar modules or tweaks because I won't know where the issue came from that might one day happens to you. I would like to say Thank You to all my supporters for my simplicity-oriented-usability project.
    Happy flashing :fingers-crossed:
    27
    GL-DP wishes you Happy Eid Mubarak
    and
    Here's the Stable Update!​

    I've made a lot of changes regarding I'll stop/drop supports or works for optimizing GMS. Now I'm starting to focus to prevent unnecessary GMS running in the background with my own modified services in hope for getting better battery life. Please note that I'm not referred you to use similar modules while reporting any issues you've faced of. So I can check whether the wrong is from my module or in your ends.

    While the ponds is starting to dry, don't forget that the ponds will stay wet when the rain comes.
    Happy flashing! :fingers-crossed: