[MODULE] Universal GMS Doze

Search This thread

gloeyisk

Senior Member
Jun 17, 2017
653
1,175
28
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
653
1,175
28
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
95
44
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: 38,721
  • Screenshot_Settings_20181014-090028.png
    Screenshot_Settings_20181014-090028.png
    107 KB · Views: 38,518

amitporedi007

Member
Jun 5, 2009
45
4
What's the difference between universal gms doze NMF21F
Because it works great on OnePlus devices ,is the Oct version better than this
 

L22EEW

Senior Member
Mar 13, 2008
1,139
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,139
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: 8,267
  • Screenshot_20181019-150021.png
    Screenshot_20181019-150021.png
    146.7 KB · Views: 8,274
  • Screenshot_20181019-150030.png
    Screenshot_20181019-150030.png
    154.5 KB · Views: 8,242

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
504
207
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,720
  • Log_2018-10-19_18-33-34.txt
    90.2 KB · Views: 130

lazostat

Senior Member
Jul 13, 2014
659
24
I installed the magisk module. How can I see if it work?

I have also installed xxx rom limit with some Google play services wakelocks disabled through aroma installer . Any concern of conflicts?

I have OnePlus5.
 

dukkha

New member
Oct 20, 2018
3
0
Should I have to uninstall previous version of this module and reboot before install new one?
 

gloeyisk

Senior Member
Jun 17, 2017
653
1,175
28
Cimahi
Ok give me some time ~20 min
.. Will report back

Yes . same behavior .. Even it appears when I try to open setting before clicking on battery .

I tried 1.2.2 & 1.2.0
Ohh well, I'll take a look for a new build when I have free time. You can check OP for Telegram group link, you can asking there also.

Sent from my Redmi 3 using XDA Labs
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Update:

    just to make people aware that my simple GMS Doze module referenced at the following post location had issues and wouldnt have worked for google.xml paths other than /system/, it should be fixed now for all other possible locations

    1
    at the risk of repeating myself, only a few posts above...


    If you like you can try my very basic GMS doze module i made for someone else here once (and what i use myself), that copies the existing google.xml, copies it to the module folder and then edits it in place, in accordance with this long running method:


    all the script magic is done in /common/install.sh
    Um sorry I think it was rom specific. I'm now on CrDroid and it's working !
    1
    Um sorry I think it was rom specific. I'm now on CrDroid and it's working !

    It usually will only fail due to a ROM specific weirdness :)
    1
    I'm facing same issue ...I'm using crdroid 8.8 with flamegapps full

    How to solve this? @gloeyisk sir plz help
    Same setup here, I reverted to 1.8.6 meanwhile
    1
    No version working after latest android patch. Realme GT 2 Pro.
  • 171
    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
    66
    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: