• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[MODULE] Universal GMS Doze

Search This thread

gloeyisk

Senior Member
Jun 17, 2017
659
1,187
27
Cimahi
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
 
Last edited:

gloeyisk

Senior Member
Jun 17, 2017
659
1,187
27
Cimahi
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
 
Last edited:

bartekm01

Senior Member
Sep 3, 2017
93
43
Hi.
I'm using Your doze for some time now and it's working quite good. Good work, thanks.
 

Attachments

  • Screenshot_Settings_20181014-090021.png
    Screenshot_Settings_20181014-090021.png
    85.8 KB · Views: 36,266
  • Screenshot_Settings_20181014-090028.png
    Screenshot_Settings_20181014-090028.png
    107 KB · Views: 36,062

L22EEW

Senior Member
Mar 13, 2008
1,132
250
Wales
www.facebook.com
Known issue for Pie. I have frozen Find my Device via TiB.

Flashed module, but still unable to optimise play services.

Anyone else on Pie managed to get this to work?


Sent from my OnePlus 5 using XDA Labs
 

L22EEW

Senior Member
Mar 13, 2008
1,132
250
Wales
www.facebook.com
Not to freeze those Find My Device, I mean just Turning Off. Inside Settings > Security and location.

Hmm. Tried that. Still no luck

I know this is still in experimental stage, I've been following this project. I can wait for more stable version ?

Sent from my OnePlus 5 using XDA Labs
 

Attachments

  • Screenshot_2018-10-19-14-59-30.jpg
    Screenshot_2018-10-19-14-59-30.jpg
    77 KB · Views: 7,845
  • Screenshot_20181019-150021.png
    Screenshot_20181019-150021.png
    146.7 KB · Views: 7,854
  • Screenshot_20181019-150030.png
    Screenshot_20181019-150030.png
    154.5 KB · Views: 7,819

pinoholo

Senior Member
What's the difference between device health service from Google and turbo app provided in zip, is it the same?
If it is the same could you make the module have an option to install or not, because some dev already included device health service in their roms.
Everytime I install this module and reboot, I got turbo crash first time my device booted up

Thanks in advance
Sorry for my broken English
 

mahir555

Senior Member
Nov 20, 2007
499
206
Samsung Galaxy S4 Active
Nexus 6
Hi thanks for this work . I installed this module . am on android pie unofficial X rom for nexus 6 .

However I got this when I try to open the battery from setting.

I attached a log file too .
 

Attachments

  • Screenshot_20181019-183853.png
    Screenshot_20181019-183853.png
    156.5 KB · Views: 3,348
  • Log_2018-10-19_18-33-34.txt
    90.2 KB · Views: 78

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    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.
    1
    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.
    1
    Screenshot_2021-08-26-06-41-12-585_com.termux.jpg

    Installed and profit right now. Thanks to Dev!
    1
    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.
  • 162
    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
    62
    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: