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

[MODULE] Universal GMS Doze

Search This thread

Sir_gpm

Senior Member
May 27, 2011
2,360
311
Managua
Xiaomi Poco F3
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
147
36
Xiaomi Poco F3
Last edited:

alefmm

Senior Member
May 15, 2013
147
36
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
147
36
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.
 

danbest82

Senior Member
I'm having problems with maps apps not being able to use compass. It has happened every phone I had since years ago. And I've always had this module enabled. Could it be somehow related? Other apps [Gps Status] work without issues.
Thank you!
I have universal GMS doze installed and both Google maps and Waze work for me.
But it could be the phone and how it handles it?I'm not too sure.
 
  • Like
Reactions: blackhawk_LA

73sydney

Senior Member
Jul 21, 2018
1,900
1,660
Sydney
Google Pixel 2 XL
I'm having problems with maps apps not being able to use compass. It has happened every phone I had since years ago. And I've always had this module enabled. Could it be somehow related? Other apps [Gps Status] work without issues.
Thank you!

All my nav works too and ive been using this module for eons (since the beginning)
 
  • Like
Reactions: blackhawk_LA

blackhawk_LA

Senior Member
Dec 27, 2010
1,492
632
HTC One (m7)
Sony Xperia XZ1 Compact

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I think I've found the culprit. I have naptime installed and the option to disable motion detector seems to be disabling sensors access to gms.
    1
    Q .Which is better installation ?
    Magisk or Custom Recovery

    You should be installing modules via magisk manager these days...
    1
    I'm having problems with maps apps not being able to use compass. It has happened every phone I had since years ago. And I've always had this module enabled. Could it be somehow related? Other apps [Gps Status] work without issues.
    Thank you!
    I have universal GMS doze installed and both Google maps and Waze work for me.
    But it could be the phone and how it handles it?I'm not too sure.
    1
    I'm having problems with maps apps not being able to use compass. It has happened every phone I had since years ago. And I've always had this module enabled. Could it be somehow related? Other apps [Gps Status] work without issues.
    Thank you!

    All my nav works too and ive been using this module for eons (since the beginning)
  • 160
    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: