yashsingh1/xdaforums huggingface dataset:
[Magisk] gloeyisk:
New stable build is up!​

Make sure to test everything especially for ones who still don't get GMS optimized for almost in all versions. This release contained major improvements and detections. Don't forget that I can't go this far without the help by [MENTION=5377508]JumboMan[/MENTION], and of course the entire users that still using and following this project until now. Anything you want to hear from me? That's only THANK YOU SO MUCH I can say!
[Magisk] giodeluigi:
Thank you very much for keeping this jewel alive!

Much love <3
[Magisk] yyz71:
I've got working with my Pixel 4. But I noticed it disables my Pixel buds 2 features ?

---------- Post added at 07:54 PM ---------- Previous post was at 07:48 PM ----------

Edit nvm. Just reinstalled it and it's working again ?
[Magisk] Sid220:
Hi all, i have to report that i have multiple issues with Cast function.

I use multiple app to cast to my Chromecast: Netflix, Disney+, Prime Video and YouTube.

Only with YouTube i don't have issues, but with the others after some time (approx 20min) of streaming or unlocking device during cast the cast itself interrupts and Chromecast goes back to homepage.

It is a quite annoying problem. Anyone who has it too? Is there anything i can do to resolve?
[Magisk] sanoayyk:
1.8.2 update made it optimized on Android11 based MIUI, and device with Android10 that was could not be optimized by previous version.

Nice work!
[Magisk] -CALIBAN666-:
Last version runs perfect like ever for me on my device,thanx and keep it up,Cheers!!!!
[Magisk] blackhawk_LA:
Maybe stupid question, but I've searched through last pages... Where can I find latest stable build?
[Magisk] Lord Sithek:
https://github.com/gloeyisk/UniversalGMSDoze/releases/tag/v1.8.2
[Magisk] Shotg1:
Thanks for this module
[Magisk] blackhawk_LA:
I think that the latest version is triggering safety net in my galaxy note 8. Anyone else facing this? I think it's strange but since I've disabled it, safety net is ok again
[Magisk] gloeyisk:
If you need me to confirm, here's the status on my phone. I knew the phone isn't Galaxy Note 8 but trying to figured it out.

Screenshot attached.
[Magisk] DJ AJB:
I'm facing persistent crash of Carrier service with latest version 1.8.2 I'm using magisk 21.1

Android 9 pie
[Magisk] gloeyisk:
Open /data/adb/modules/UniversalGMSDoze, edit these lines written on service.sh, then reboot.

cmd appops set com.google.android.ims BOOT_COMPLETED ignore
cmd appops set com.google.android.ims AUTO_START ignore

And if the issue still persist, please let me know.
[Magisk] DJ AJB:
Ok I opened service.sh but It's already as you wrote also new info the crash happens only when I have the connection activated
[Magisk] gloeyisk:
Sorry was give you a wrong guide, I meant delete those lines written in service.sh.

I hope this will help.
[Magisk] blackhawk_LA:
Actually, I've re enabled it and now it passes safety net. I don't know what happened, but when it didn't pass, just disabling and rebooting fixed it.
[Magisk] DJ AJB:
I rebooted once again my phone but this time I waited more time before unlock and no crash even with connection I didn't edited the script it is as you wrote so no problem at this time thanks for your reply
[Magisk] DJ AJB:
Edit : the problem it's back again and so I deleted those lines but It didn't work
[Magisk] DJ AJB:
Seems that the problem is caused by Hosts systemless one of your module for magisk [MENTION=8350043]gloeyisk[/MENTION]
[Magisk] hawk81:
Miui 12, android 10. Module 1.8.2 Messages do not come or come if the phone is unlocked with a long delay. I read the forum and did the following:

1. Cleared the date of applications

2. installed a fix from the first posts.

3 Excluded apps from battery optimization. Messages arrive with a delay. What else can I do?
[Magisk] darkstar73:
I have the same issue. The fix in the OP doesn't work. The only thing that fixes the issue for me is removing the module.
[Magisk] sauudmir:
yeap facing the same issue, did you find any solution to this?
[Magisk] PoochyX:
I went to micro G

([emoji88]Cr Droid[emoji88])
[Magisk] sauudmir:
I deleted GMS doze and am still safetynet keeps failing, don't think GMS doze caused it now
[Magisk] PoochyX:
Damn that's crazy when you trying to narrow down a issue and the culprit is not the culprit

([emoji88]Cr Droid[emoji88])
[Magisk] sauudmir:
can u guide me towards any possible solutions?
[Magisk] -CALIBAN666-:
So,after many days and tests i can say.....this is one of the usefullest thing ever for battery,the very best thing is that the options that i must NOT disable the device security administration apps after reboot and(ive test it for days) my battery lives nearly 3 hours longer,great work.Cheers!!!

Edit:

I never have issues with everything,rock stable.
[Magisk] f4ww4z:
Question: how can I check if this module is installed? So I flashed Magisk in TWRP first, then universalGMSdoze v1.8.2 straightaway (without rebooting) and now my device is stuck in boot loop. I can fix the boot loop but whenever I flash Magisk the boot loop appears again. So now I don't have magisk installed (otherwise it will boot loop again), and I'm not sure if this module is installed.

Also, how can I install both from the state I'm in?

Android 11 Pixel 2 EvolutionX 5.1
[Magisk] gloeyisk:
I assuming you don't have Magisk installed at this moment so the module is not installed. You still need Magisk for this module to be installed, but the installation is support in 2 ways, either from Magisk Manager or any custom recoveries (e.g. TWRP).

Regarding your issue (bootloop), better to ask some support to your device/ROM maintainer, record some logs or whatever is necessary, and after you get Magisk properly installed, you can try to install the module once again.
[Magisk] f4ww4z:
Yeah I ended up reinstalling the custom rom, then Magisk, then flashed this mod using Magisk. Thanks
[Magisk] OvaisAlam:
This GMS module is not available in the Magisk Module section.

How to find and install this module?

* Sorry for my noob question.
[Magisk] CobalTitan:
install with Magisk

Releases · gloeyisk/universal-gms-doze

Patches Google Play services app and certain processes/services to be able to use battery optimization - gloeyisk/universal-gms-doze

github.com
[Magisk] -CALIBAN666-:
Have testet on my Redmi 9 with Miui 11/Android 10 stock rootet,works like a charme.Cheers!!!
[Magisk] charlessxavier:
Hi, so this module was all good until i created my google work profile, play services started to eat my battery again. any idea if there is a way to prevent this ?
[Magisk] Youtube_Ll0r3nt3:
Latest ver in realme x2 pro Android 10 dont WORK magisk 20.3 21 21.1

Previus work.
[Magisk] Youtube_Ll0r3nt3:
Inaccesible or not found comand gmsc its ok? Work?
[Magisk] Anand4rockline:
Going to try with Redmi note 7 Android 11
[Magisk] Anand4rockline:
Flashed and worked like charm. And how tk check battery performance?
[Magisk] xk00l:
firebase cloud messaging service does not work after this module. it did not change even after uninstalling. But im not sure if this module causing. I really want to use the module but i also want to reciee notifications. :(
[Magisk] Youtube_Ll0r3nt3:
Realme and oppo dont work.

Solution:

Copy this file in /system/oppo/ and reboot.

Please, make magisk ver for this.
[Magisk] BakaPhoenix:
I see, there is no workaround for this?
[Magisk] gloeyisk:
Not yet, I'm still figured it.
[Magisk] cultofluna:
Doesn't work for me ..i can't set Google play services to optimize

OP3T

Skydragon 9.0
[Magisk] gloeyisk:
Sure you have disabled Find My Device in "Device admin apps" section? And also if you have installed GPay, you need to disabled it too.
[Magisk] cultofluna:
I had it disabled but after the reboot it was enabled back..

Google play services optimized now .. thanks
[Magisk] WarriorMax:
I'm not sure if it helps, but i thinks its magisk issue. Today i clean flashed a new rom and this time before i installed magisk itself i disabled "Find my device" from admin access and now no matter how many times i restart, the option stays deactivated. Also i flashed the module via TWRP instead of the the repository. Hope this helps.
[Magisk] Diesmiling:
Services to be not optimised

Which Google services should not be optimised??

Any thing I should set to not optimised apart apart from what is not optimised already?

Optimise much?
[Magisk] gloeyisk:
It's depend on which GApps you use, the result will be showed different for each users. You can also check on Battery section inside Settings.

Edit: My module mainly for Optimized Google Play services only (+ CarrierServices if it's available).
[Magisk] Diesmiling:
Only ones that came with the phone. Haven't installed anything else.

So when I install this (which I already have) it auto optimised all the necessary and leaves the unnecessary services (ones that might cause problem if optimised? Or is there even such possibilities)
[Magisk] gloeyisk:
There's no a problems after any services optimized already (after installed the module). The services still running in the background, just because it isn't make/affect battery drain, as simple example the module help for achive better battery life.
[Magisk] Diesmiling:
Gotchya.

Thank you very much! Will use it more and report back.
[Magisk] WarriorMax:
Not sure what was changed in the New build but it has increased my battery consumption. Somehow the previous version was awesome.
[Magisk] gloeyisk:
Thanks for the report, currently the build was happened the same issue with people if you applied in Pie. Let me recheck once again.
[Magisk] gloeyisk:
Hi! What happen?
[Magisk] gnabtib8:
I thought I was experiencing a bug but in the op it clearly states cloud backups are disabled on certain devices
[Magisk] Penstituatu:
How do I know if it works? Honor 6x,nougat, thanks for the reply.
[Magisk] gloeyisk:
You can do a check, the Google Play services optimized or not.
[Magisk] phillytemptation:
Does this affect "okay google"? I've been having trouble recently with it recognizing my voice and not sure what the cause could be.
[Magisk] kadyt:
Can this module be used together with the magisk module to doze Google Play Services that is installed by Naptime? Could there be any problems using both modules at the same time?
[Magisk] 73sydney:
Its not terribly hard to create a magisk module

I use Zack's extended magisk module template

GitHub - Zackptg5/MMT-Extended: Magisk Module Template Extended

Magisk Module Template Extended. Contribute to Zackptg5/MMT-Extended development by creating an account on GitHub.

github.com

And the documentation:

Home

Magisk Module Template Extended. Contribute to Zackptg5/MMT-Extended development by creating an account on GitHub.

github.com

And to get you started, heres one i whipped up in 30 seconds, you can test if you like

Disclaimer: i dont have an oppo device, but after i created the path and dummy file on my Pixel 2 XL, it overwrote/put the xml file in the folder, so assume it will work.

But i take no responsibility if it bricks your device or eats your cats food.

All i did:

1) Downloaded template from above link

2) Edited the module.prop

3) Created oppo folder under system in template folder

4) Added xml file from your post to /system/oppo/

5) Zipped file

That's all thats needed for a simple file addition/overwrite situation. Depending on what youre doing with your module, you dont need to do everything in the documentation, so dont be overwhelmed

A word of caution: What you whitelist in your xml may not work or work well for others

Also please do not ask me to maintain it, all that needs updating if you want to change it is to change the xml file or its entries...

Module uninstall reverts the changes
[Magisk] 73sydney:
I wouldnt personally - naptime kills too much for me - i just use this module, but the obvious best answer would be for you to try it yourself...none else can really tell you for sure, we dont have your device and your apps and settings...
[Magisk] varunpilankar:
Tired using the latest build from GitHub on my OnePlus 5T (OSS 9), after flashing it through TWRP. My system started lagging a lot and its still acting weird.

I disabled the module from magisk and rebooted but still sthe same.

How can I clean uninstall it? And get back to normal behaviour?
[Magisk] -CALIBAN666-:
Flash rom or firmware dirty.Cheers!!!
[Magisk] n0j0e:
Hi, i'm installed Universal GMS Doze 1.8.2 on crDroid 7.3 (LOS18, A11, open_gapps-arm64-11.0-pico-20210130-TEST) and if i start Google Maps (installed from Play Store, not from gapps package) it crashes immediately!

So i add

<!-- Specify the explicit set of other applications whose app data directories are
accessible by other applications. -->
<app-data-isolation-whitelisted-app package="com.google.android.gms" />

in..

/data/adb/modules/UniversalGMSDoze/system/etc/sysconfig/google.xml

Google Maps works great for now but i didn't know if this makes the module faulty or something!?
[Magisk] CobalTitan:
V1.8.2 not work anymore with last version GMS v21.06.13 at all phone.
[Magisk] voroxda:
I can't confirm this. I have the same versions as you have mentioned and my play services are optimised.
[Magisk] CobalTitan:
3 phone S7 with stock rom, DeluxeRom and LineageOS not work. I am clean install GMS modules v1.8.2 for all, not work optimization. Problems it started with last update google GMS.
[Magisk] TylerHarrison21:
Works great for me! OnePlus 7 Pro on HavocOS 3.12
[Magisk] Spartacus500:
For me not working, Samsung Galaxy S7 Custom 9.0 Pie 🤔
[Magisk] CobalTitan:
Same problem with S7e DeluxeRom
[Magisk] rayray07:
Hey will this work on a OnePlus 6 running android 11 (evolution x 5.5)? If yes then is it okay to use it with servicely and how much of battery will this save in idle, because I have around 8 to 10% idle battery drain on my device.

Thanks
[Magisk] Callliope:
Any idea if gms doze has something to do with notification coming when i unlock the phone? if its screen off, notification wont come until i press the power button to turn thr screen on
[Magisk] asusgarb:
seems that i can't receive whatsapp notifications. once removed the module. they restarted showing up.

I used the command in the screenshot to fix notifications not showing. I can't understand if it's a persistent fix, or if i need to do it more than once. can someone tell me?
[Magisk] gloeyisk:
Test it first, but since you asking "Is it okay with Servicely" the answer is ok but not recommended.

Let's say, if you counter an issue then I don't have any clue whether that's causing by my module or Servicely.

For both of you, do run the fix once and reboot. If the issue still persist and the incoming messages were still delayed, put WhatsApp (or any other apps that had similar issues) to Not Optimized battery.
[Magisk] gloeyisk:
This is beta build, nothing special in particular except I try to create a new one that someone pulled request to the repo and I need to know does it work or not (especially for those that don't have the module working yet).
[Magisk] voroxda:
For me 1.8.3 beta works, like 1.8.2
[Magisk] 73sydney:
@gloeyisk

1.8.3 works the same as previous version here on my Pixel 2XL, across at least 2 custom ROMs
[Magisk] AllanEloy:
Op, thanks for this module!

It works wonders. But i have question, I use Whatsapp WEB a lot in my work, but with this module turned ON, after a couple of minutes with the screen off, whatsapp web goes offline.

As soon as I unlock the phone, whatsapp web connects again.

I have battery optimization OFF for whatsapp.. Any thoughts? Is it possible to completely white list whatsapp from dozing?
[Magisk] exnokiafan:
Hi @gloeyisk ! I have been using your module for a long time.

Now I have a rooted OnePlus Nord with the latest Android 11 stable update. I have to report that Google Maps keeps crashing. I casually came across a thread on your github about that specific issue.

I have to report that Google Maps stops crashing if I disable your module (the latest November version).

Any solution? :)
[Magisk] Fishawy:
Thanks for that, I was going crazy trying to figure this out.

Same here. Maps started crashing after upgrading my OnePlus 7T today to Android 11 stable. Disabling the module restores the maps functionality.

Hopefully this can be fixed.
[Magisk] Normusmaxamus:
Update Android System Webview in Google play store. That will resolve your app crashes. Its a known issue. Hope this helps.
[Magisk] Fishawy:
Already updated to the latest version. This is separate from the webview issue that happened a couple of days back, and the problem is resolved by disabling the module.
[Magisk] exnokiafan:
If you have a look at the GitHub page there is a guy that reports the same issue and a possible workaround.
[Magisk] n0j0e:
Google Maps crashes.. · Issue #1 · gloeyisk/universal-gms-doze

Hi, i'm installed Universal GMS Doze 1.8.2 on crDroid 7.3 (LOS18, A11, open_gapps-arm64-11.0-pico-20210130-TEST) and if i start Google Maps (installed from Play Store, not gapps package) it crashes...

github.com
[Magisk] exnokiafan:
Yup thanks, it works. I don't know how and if this additional string will affect the whole module itself. Anyway, until further updates, it is working.
[Magisk] danbest82:
1.8.2 acts like Google play services needs an update but won't let me sign in to Google play store. 1.8.3 allows me to update and seems to work so far. Just installed and still making sure everything works. Android pie on LG V30, services 21.09.15.
[Magisk] exnokiafan:
There's no 1.8.3 on github. Any link?
[Magisk] 73sydney:
maybe if you did the exhausting job of clicking back one page, you might find it :) :)
[Magisk] danbest82:
gloeyisk posted it a page before this. It's the beta release.
[Magisk] GrayJack:
In fact you just disabled the com.google.android.gms from being dozed :)

I can confirm the issue with Google Maps (and generally getting maps information from Google Play Services being dozed) - more info in github was published.
[Magisk] loshabih:
I've same issue, did you able to solve it?
[Magisk] camellbizz:
Please tell me on Redmi note 7 MIUI 12.5 Android 10 will this module work ?
[Magisk] 73sydney:
Quickest way to get an answer is to try it....
[Magisk] Burt Squirtz:
I'm not sure if the module is working properly, because when I go to Google Play services, it only gives the option for 'intelligent control,' or 'not optimized'. There's no 'optimized' choice. (OnePlus 9 Pro and the newest version of oxygen OS.)
[Magisk] camellbizz:
Can you recommend applications to check the functionality of the module?
[Magisk] 73sydney:
No app needed.

Use either of the first two commands in Post #2:

https://xdaforums.com/t/module-universal-gms-doze.3853710/post-77868808
[Magisk] camellbizz:
Something very bad result for universal gms doze overnight Does not work ((
[Magisk] ariscma355:
Thank You Very Much....working great on Miui 12
[Magisk] gloeyisk:
Long time no see with GL-DP development?

Here's the new update!

Don't be shy, just take a look at it ;)
[Magisk] asusgarb:
In case this would cause delayed notifications, what is the better way to solve the bug?

is it enough using the command line (post 2), or will be better remove the module and, after that, use the command line?
[Magisk] alefmm:
Command-line for fix delayed incoming messages issue:

su
cd /data/data
find . -type f -name '*gms*' -delete
[Magisk] jakito:
Is that fix permanent or something we need to keep doing frequently?
[Magisk] alefmm:
Any idea to solve this?

All on my possibilities have done but still running in second plan. Other devices it doesn't happen.

Spoiler content hidden.
[Magisk] walkwitmeinhel:
I just installed doze but how to know module is working or not
[Magisk] alefmm:
Troubleshooting:​

Command-line for check optimization (with add-on installed):

su
gmsc
[Magisk] alefmm:
Using BBS it show the same results, I can't link gservices issue with other processors, services or app.

Any idea to help me?

Device: Alioth (Poco F3)

ROM: Lineage OS 18.1 (A11)

Firmware: Tested 12.5 and 12.0.3 (Global)

SIM card: Not insert.

Spoiler content hidden.
[Magisk] thxcertified:
I have an issue (probably) with 1.8.3...

For some apps (including Gmail and eBay) I don't receive notifications AT ALL anymore. Also tried the delayed notification command - no luck.

I can't really track it down to when exactly it started, but I remember with the 1.8.3 beta everything was working fine, problems started with the newest (non beta) update.

I'm on MIUI 12.6 of xiaomi.eu with a mi 10 pro.

Removing my Google account and readding it didn't bring back notifications. Also deleting the module didn't bring back notifications.

Notifications for whatsapp, telegram, etc. Are working just fine so I have no idea where to start.

Maybe someone on here can help?
[Magisk] alefmm:
After command, you need to reboot system.

Even remove the module, you need to restart gservices manually because it was hibernated.

Open all apps that you need notifications to try wake up gservices.
[Magisk] thxcertified:
Rebooted several times since then... Even used the command multiple times

How do I manually restart Google services? I cleared data and cache in settingsand rebooted but I don't know how to really "restart" it

When I open the apps that don't receive notifications (e. G. Gmail) I see the reason why I SHOULD have gotten a notification (e. G. An email). But the notification still doesn't pop up afterwards (delayed).
[Magisk] alefmm:
If you have a custom recovery (TWRP or OrangeFox) and your ROM allows that:

0. Do your backup before.

1. Dirty install your ROM (just flash the same ROM, without format or Wipes).

2. It will restore your ROM to stock settings.

3. Will be required flash, install and set Magisk/Modules again. Flash then after flash the ROM.

4. Maybe Magisk is enough to restore your modules, after boot check them on it.
[Magisk] thxcertified:
Also did that quite a few times as the beta updates for xiaomi.eu are released every thursday... Still no change... I really don't know what to do anymore 😅
[Magisk] alefmm:
Clean install and do not use this module.
[Magisk] Monkeysss01:
Would you be so kind to share the download link of the patched mixer paths module or where you downloaded it from, thanks
[Magisk] gloeyisk:
I don't even think that it'll make someone reacted like this, but well since you're asking for it so here you go.
[Magisk] Monkeysss01:
thank you very much
[Magisk] enebro77:
Is it possible to modify the whitelist in order to include more procceses to be ´dozed' ?

Many thanks in advance
[Magisk] gloeyisk:
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.
[Magisk] gloeyisk:
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.
[Magisk] 73sydney:
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.....
[Magisk] Divolka:
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?
[Magisk] 73sydney:
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
[Magisk] RainGater:
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?
[Magisk] NKjou:
does this support android 11 and custom rom?
[Magisk] 73sydney:
yes