yashsingh1/xdaforums huggingface dataset:
[Magisk] XDAMaxe:
Yep, but in general you can check under settings-apps-google play services if it is 'optimized' which means the module works.

Depending on your device sometimes it does not work. In that case tell it the dev for further investigation...

But: Due to googles 247 update mania you cannot be sure forever that the module will work a lifetime.

So far the dev kept an eye also during 247 to provide us with a working module. :good:
[Magisk] leobahlis:
this module delays messages from messenger (face)?
[Magisk] psychoela:
Please help module not work, also with stable version, custom rom 10.tq
[Magisk] x1ld3n:
Same here. It says that optimization is not available. Android 10. crDroid 6.1.
[Magisk] xontax:
Hahaha oh my .. this isn't wild west. Use a Microsoft or Apple Phone If you dont like Google.
[Magisk] Sir_gpm:
The OP is not clear about what to do after flash the module. Is there something to do?

I think to put the service optimized in battery. No sure.

There's captures to the service that drain battery and the 2 that appear and can be optimized, are the same Wich one should I optimize.
[Magisk] gloeyisk:
You just need to check whether GMS is optimized or not after installed my module, in MIUI you need 3rd party app to check it, the app name is MIUI Hidden Settings (you can find it on Google Play).

And which Google is need to check? It's only Google Play services.
[Magisk] matrixios01:
This module work on Android 10?

Στάλθηκε από το Pixel 2 XL μου χρησιμοποιώντας Tapatalk
[Magisk] jprimero15:
Seems not
[Magisk] gloeyisk:
Have you try the latest beta?
[Magisk] Sir_gpm:
Working as it should.
[Magisk] psychoela:
Latest beta v1.7.5d1
[Magisk] jprimero15:
Yes and stable.. Both doesn't work
[Magisk] Sir_gpm:
As you can see it's working well. But GMS keep appearing in stats.
[Magisk] marietto79:
Even for me doesen't work both stable, beta and latest debug.:crying::crying:

I'm on havoc Rom 3.1 (android 10) on LG G6 H870.

Any advice?

Many Tahnks
[Magisk] gloeyisk:
For anyone who still interest to use my module but still not working yet, could you guys send me all sysconfig files from your phone? No matter what ROM you're running on, and the version of Android that supported this module is starting from Marshmallow to Q. The directory may vary, it's placed either in /system/etc/sysconfig, /system/product/etc/sysconfig, or anywhere else you can find them (as long as it's the right files that I searched for). Thank you ;)
[Magisk] jprimero15:
This is from /system/etc/sysconfig
[Magisk] gloeyisk:
You used BitGApps. The XML already modified by the author, I can't help any after this, else, replace the XML with a clean one, then re-flash my module. It should work now.
[Magisk] marietto79:
This is my sysconfig

Many thanks for you effort :good::good:
[Magisk] Laker87:
DerpFest Q
[Magisk] Guillosd:
OnePlus 5, Xtended Rom (Android 10)
[Magisk] nfsmw_gr:
This is from Xiaomi.eu latest stable Q ROM.

Xiaomi Mi 8.

Hope it helps. :)
[Magisk] hawk81:
This is from MiuiPro latest weekly 20.1.9

Xiaomi Mi Max 3.

Hope it helps.
[Magisk] 73sydney:
Pretty much doesnt work on any Pie ROM ive used in 6 months, ive reported this many times, and im not sure you can fix it anyhows, Find My Phone always runs (no matter if you manually disable it) and ruins the modules ability to do anythign
[Magisk] gloeyisk:
If you're running custom ROM, please tell me which GApps package do you use?
[Magisk] marietto79:
I'm running Havoc OS 3.1 (android 10) on LG H870. I've used open gapps arm64 nano package (BETA).

Previously i've attacked my sysconfig.

THANKS:good::good::good:
[Magisk] gloeyisk:
So do I. I've maintain these module especially for Google user, I'm running custom ROM, as well as using Open GApps as my Google apps package. Been using those GApps since first time I knew about custom ROM development and until now, glad to tell that now I'm running Android 10 and my module working as it should. As example:

1. Google Play services shows Optimized

2. Find My Device deactivated by default

3. <insert coin here>

If you and anyone else asking, how good the module help the battery life? I myself know nothing because how good/bad is your battery life, it's depends to your daily usage and what you did to tinker your phone there.

i.e. you're a gamer, you need performance to play the game, you sacrifice your battery life as long as you can get better experience while gaming.

I hope you guys can understand by this short explanations (tell me if I'm good as a fairytale creator haha).
[Magisk] marietto79:
I noticed an improvment in battery life with your moduel actived.

I'm not an extreme gamer, and i use the smartphone for work.

So if you can do something i really Thank you
[Magisk] kemdroid:
This really works. Now I'm able to get 2 days battery.
[Magisk] gloeyisk:
New stable build is up!​

Merged all beta/debug builds, and also I wrote a new Troubleshooting either in README and on 2nd post.

I hope this release will fix any leftover issues. And... happy flashing :fingers-crossed:
[Magisk] marietto79:
Many May Many thanks :good::good::good:

now let's give a try and report if it works.

---------- Post added at 01:48 PM ---------- Previous post was at 01:33 PM ----------

Unfortunally for me doesent' work :(:(:(:crying::crying:

I can't optimize battery for google play service

Thanks for your time, really appreciate :good::good::good:
[Magisk] Ramone360:
I previously was on 1.7.4 with no issues. Now updated to 1.7.5 battery not optimized on Google play services. I'm always on stock rom & kernel with latest stable magisk
[Magisk] Dexer125:
Do I need to manually disable Find My device? Mine is On after installation.
[Magisk] gloeyisk:
Have you guys try to reboot once and wait? Or even read the troubleshooting? I hope it help.

No, you don't need to disable Find My Device manually.
[Magisk] Dexer125:
Thanks for quick reply [emoji28] One more thing, I tried to reboot and wait but play services shows Battery optimization not available [emoji848]
[Magisk] meduza:
[MENTION=8350043]gloeyisk[/MENTION] ,

1.75 worked like a charm! Thank you!!

(1.74 didn't)

m.
[Magisk] marietto79:
even after reboot for me doesen't work.

what else i can try?
[Magisk] gloeyisk:
Text me in Telegram (@gloeyisk) so we can investigate more what causing this.
[Magisk] marietto79:
ok Many thanks for yor time:good::good:
[Magisk] trantiendat3004:
1.7.5 not work on my huawei watch 2 classic wear os 8.1 :crying: with module Sysconfig Patcher works perfectly , I have the extract /system/etc/sysconfig ( only framework-sysconfig, clockwork )
[Magisk] 73sydney:
Hi,

Open-Gapps (Aroma, as i cherry pickt he apps i like/use) always
[Magisk] gloeyisk:
I'm trying to create separate module for SmartWatch.

Edit: Done, please give it a try.
[Magisk] warrencoakley:
How do i know if this is working? The obvious one is the battery, but if is there something i can check?
[Magisk] warrencoakley:
Google Pixel 2 XL Android 10, stock with custom kernal
[Magisk] warrencoakley:
Nevermind. Ran the terminal command and on the beta version and it seems to work now. Will report back.
[Magisk] Toni Suwanto:
Do i need delete previous build or just flash on top of it?

Edit: found it, it have auto update.
[Magisk] Aguys:
Doesn't work on PixelDust X. Sysconfig attached.
[Magisk] trantiendat3004:
thanks you so much . It worked :fingers-crossed::fingers-crossed:
[Magisk] 73sydney:
Tried latest on clean flash of AEX (AOSP Extended ROM) a Pie ROM on the Note 4, but could be any AOSP ROM, wouldnt make a difference, module doesnt work, even after manually disabling Find My Device, Google Services are still in the unoptimized list

View attachment 4937803

View attachment sysconfig.zip
[Magisk] snakx:
not work on EvolutionX rom (android 10)

my sysconf
[Magisk] preducer:
Working as intended. Wil report back on the delayed notification. Thanks
[Magisk] dd805bb:
Got it working yesterday on Pixel 3 XL.

Rebooted and no go today. Says it started. But play services back to not optimized. Retried the fix because that is how I got it working yesterday. No go. Not home but will pull a log when I do get home. Nothing in magisk log unusual.

---------- Post added at 10:14 PM ---------- Previous post was at 10:12 PM ----------

Yours is working. It just isn't optimized. Look under those in your picture. They can be optimized now. FYI.
[Magisk] warrencoakley:
Found by running the scripts in terminal made play services optimized. Also try the beta 1.75
[Magisk] Wolfcity:
I can confirm that for v1.7.4 and 1.7.5.

With these I have the exact same behaviour on my Moto G 2014 running AEX Pie, I'm able to tap on optimize for GS but the setting doesn't stick.

I flashed v1.7.3_beta6.1 which is working well on my stock Moto G5+ and that one did the trick, after flashing the module GS are optimized by default on AEX Pie too.
[Magisk] 73sydney:
Cheers found a copy of v1.7.3_beta6.1 here:

https://t.me/AndroidRepo/1925

About to test now

Update:

Appears to work

1) remove old module

2) reboot

3) install 1.7.3 beta 6.1

4) disable Find My Device (again)

5) reboot

Appears 1.7.3 beta 6.1 is the only version that works for devices where it hasnt worked for eons/ever

Hats off to [MENTION=5237901]Wolfcity[/MENTION] - confirmed by rebooting several times, and its stuck....

[MENTION=8350043]gloeyisk[/MENTION], the 1.3.7. beta 6.1 is the only one thats ever worked on Pie for me, maybe thanks to [MENTION=5237901]Wolfcity[/MENTION] you may be able to figure out the diff and why, cheers.
[Magisk] mattgyver:
Thread's had a little cleaning done. Play nice or don't play at all.

Seriously, be civil. Keep the off-topic and tangent stuff to the Off-topic forum (yes, we have one).
[Magisk] gloeyisk:
For anyone who still facing "GMS not optimized" issues, help me to send your default sysconfig files once again (but this time without my module installed) so I can check what causing this.

About any oldest built that I made long ago and working for you, I checked the zip that I did manually to put the modified XML to the directory path which I think it's obsolete (since now it's handled and automated by some scripts).

Here's my results using latest stable build (1.7.5) in hope for educational purposes only.
[Magisk] psychoela:
This zip without module,thanks
[Magisk] trantiendat3004:
wow wow :laugh: befor and after flash Universal GMS Doze for smartwatch :good: , thanks [MENTION=8350043]gloeyisk[/MENTION]
[Magisk] nfsmw_gr:
I guess that means everything is working well right?
[Magisk] add_pl:
OxygenOS 10.3.0 - OnePlus 6
[Magisk] preducer:
sadly to say, even with the quick fix I'm still having delayed notification.
[Magisk] XDrz:
nice！AWESOME！

update again！

THX DEVELOPER???

is any buddy tried on Android 10?

I've backed to Android 9 to avoid awful google idle drain...Greenify and xposed never help a little..more excited on new gmsdoze modules!
[Magisk] warrencoakley:
Do you have to turn off Find My Device? Mine is optimizing GMS with it still on.
[Magisk] Ubimo:
I cannot optimize Google Play-Services, see Screenshot.

I have installed latest module 1.7.5 (175)

Magisk 20.3

Android 9

Samsung Galaxy S7 edge

Edit:

I think it's working now. The line with Google Play-Services is gone now. It's not in the list anymore. I had to reinstall the module.
[Magisk] gloeyisk:
Which app? Mind to share your experience?

As long as GMS is optimized, you don't need to disable Find My Device. Disabling Find My Device is required mostly for Android 9 or later.
[Magisk] warrencoakley:
OK wicked, thank you.
[Magisk] preducer:
Mainly 3 apps that i use frequently, WhatsApp Line and Gmail. Nothing will come in unless i unlock the phone. Sometimes it will work and other time it will just get 'stuck' until the phone is unlock. I dont mind if it gets delay like few minutes but it's a problem if nothing comes in at all
[Magisk] warrencoakley:
Try running the scripts in terminal.
[Magisk] gloeyisk:
Maybe you need to try to put them to Not optimized battery section, execute the scripts in terminal, then try to reboot once again. I hope this will fix your issue.
[Magisk] WniGr:
For the quick fix for notification delay, does it means to delete all the files that containing the word 'gms ' inside the /data/data/?
[Magisk] gloeyisk:
No, it means for re-create the Push Notifications, whenever the GMS is optimized you won't getting delayed issues afterward.
[Magisk] WniGr:
Alright, got it
[Magisk] :
If I install the module, will Google's location history still work?
[Magisk] gloeyisk:
Of course, it won't harmful.
[Magisk] meistr91:
OP6 aosip custom rom gms cannot be optimized.. i couldn't get it working from day 1 doesnt matter is it custom or OOS its alway cannot be optimized. Maybe there is some work arounds?
[Magisk] Anzee:
How do i remove this module completely? Couldnt fix the notifications delay problem so I removed it from magisk and rebooted but im still getting the notification delay problem. It was working fine before installing this module.
[Magisk] gloeyisk:
Clear the data of your Play services, and reboot once.

Thanks for your participation ;)
[Magisk] DragonRUJ:
Code needed in late_start service mode…

Hello, in my experience, for a script to be executed in late_start service mode without problems, the following code must be added to the start, replacing the sleep statement —if it exists—:

# Add —or replace SLEEP statement with— this:

# Wait until boot completed
while [ "$(getprop sys.boot_completed)" != 1 ];
do sleep 1;
done

This is an important detail to take into account when writing modules and is not mentioned in any Magisk help or guide.
[Magisk] gloeyisk:
Mind to share your own zip? I want to check it first and of course, credit will be given as well.
[Magisk] asusgarb:
I had 2 times a weird behaviour with this module.

I am on Realme X2 Pro with ColorOS 6. When I installed it GMS had a boost in battery consumption. After flashing this module it went on top of most battery consuming apps.

I tried also after an update of the ROM but I had same result. Maybe incompatibility with ColorOS?
[Magisk] warrencoakley:
I tried doing that and the optimization is still there. Nothing has returned to normal.
[Magisk] warrencoakley:
I have even optimized WhatsApp but getting delays. I cleared data and cache on Google services and nothing has changed. Even removed the script too. It was pain clearing the data and having to set up my cards in GPay yet again.
[Magisk] nonobi:
how do I check the module really works? because I checked the application settings, battery optimization, gms still can't be optimized. I'm on Android 10
[Magisk] warrencoakley:
Ryn the.scripts in terminal. That worked for me.
[Magisk] Sir_gpm:
[MENTION=8350043]gloeyisk[/MENTION] something happened with your host I'm using the 8.8 but in Google experience and miui 11 both based in Android 10 ads still shown.
[Magisk] coldpeter2000:
What script is put in the terminal to optimize play services bro?universal gsm doze
[Magisk] warrencoakley:
Go to the first post and you'll see. Use a terminal emulator to run them.
[Magisk] coldpeter2000:
Lo ise pero no me aparece play services en las aplicaciones optimizadas , y tiene muchas alarmas ayuda

---------- Post added at 07:43 PM ---------- Previous post was at 07:39 PM ----------

Despues tienes que reiniciar ?
[Magisk] :
Noob question:laugh:

After loading this module through magisk do I need to goto battery optimization in setting and turn this on? Or should it be off?

Included screenshot....should I be sliding the Google Play Services to on? Assuming not....
[Magisk] sauudmir:
Can someone guide regarding why the google play services is not optimized?

The option is there but I can't turn it on

Using Galaxy Note 8, stock room.

*EDIT*: Ran the script in the first page and the Google play service got optimized after running the script but keeps getting 'Not optimized' and I can't optimize it from the option
[Magisk] warrencoakley:
This is a really cool module but the notification delays for various apps is really annoying.
[Magisk] Boulder08:
The module seems to work very randomly. Sometimes Find My Device is disabled after boot and optimising GMS works, sometimes Find My Device is enabled and optimisation does not work. If I then disable FMD, the service gets optimised immediately.

Is there any debugging I could do to help solve the issue? I'm running my S7 on Blackdiamond v5.1 + Thunderstorms latest Pie kernel. No custom GApps or anything like that.
[Magisk] sauudmir:
I'm experiencing something very similar and unable to find a solution about it
[Magisk] LionHeart90:
Same issue for me [MENTION=8350043]gloeyisk[/MENTION], play services still not optimized :(
[Magisk] gloeyisk:
For anyone who still faced not optimized issue, confirm me with this hotfix. Clean flash for the module is required.
[Magisk] LionHeart90:
I unistalled the module, rebooted, and After flashed the fix. Still the same
[Magisk] psychoela:
Same here,gms optimization not available
[Magisk] Utini:
Same here, optimization is not available.

Does it optimize anything else besides google play services?
[Magisk] Trovies:
Where is the setting for this module?
[Magisk] LionHeart90:
[MENTION=8350043]gloeyisk[/MENTION] if u have another test ver, or fix, we can test It and share the results
[Magisk] itspapashamsi:
Flashed it via magisk but not working. Google services not optimized ?

Tried flashing the hotfix too. But no hope.
[Magisk] Jounessss:
Hello,

Nice module ! Thx
[Magisk] Sir_gpm:
Mine is optimized but still appears in battery stats. Is that good?
[Magisk] :
Don't we want to have this not optimized ? Meaning the slider off? isn't that the point of the module to allow us to turn optimization off?
[Magisk] Sir_gpm:
I think is the other way. Allow you to optimize gsm, other way you can not.
[Magisk] :
When the module is not employed the play services is greyed out with slider on... When module is employed you can choose. I thought when it was on it would drain more battery as it explains in settings?

Anyone else?
[Magisk] gloeyisk:
Yes, your screenshot already telling "Battery saver exclusion" which means whenever you turning On "Battery saver" mode, the GMS will follow your current profile.
[Magisk] :
So we should have the slider for play services off right? Which means slider to the left... Not to the right? As in my screen shot?

I also don't use battery saver
[Magisk] gloeyisk:
Yes, it is ;)
[Magisk] :
Yes it is? Meaning my slider is correct?
[Magisk] LionHeart90:
I think that the issue for the missed optimization Is related to the Aosp Q Rom.
[Magisk] gloeyisk:
Every screenshots you uploaded it's showing that the module is working fine for you, also the slider too.

I guess you're new about these kind of module?

Fortunately, I'm running Android 10 too and the module just working. You can check my screenshots in previous posts.
[Magisk] LionHeart90:
Fantastic so, actually im on Raphael and i tested the module on Derp and Syberia. But unfortunately with the. Same results
[Magisk] Boulder08:
As mentioned, it sometimes works and sometimes doesn't. To me it looks like the phone/rom/kernel has issues keeping Find My Device disabled, that is the one keeping GMS from being optimized even if I disabled it manually before a reboot. I'd say that most of the time the module works after a reboot or shutdown. The optimization starts working immediately after FMD is disabled.
[Magisk] LionHeart90:
Tried too, nothing to do
[Magisk] meduza:
Exactly, +1!

m.
[Magisk] shayanb2004:
[MENTION=8350043]gloeyisk[/MENTION]

Thanks for your great module, I have been using your module for so long and it worked ok.

Just wanted to let you know the module is not working with nikgapps on Android 10 and google play services wont be dozed
[Magisk] gloeyisk:
I already mentioned these issue on 2nd post (point 1).
[Magisk] shayanb2004:
Yes I read that before

Just wanted to inform you :good:
[Magisk] Utini:
Tried rebooting several times but doesn't seem to work in my Pixel 4 with Android 10 since February update.
[Magisk] sbdz:
please, latest beta works for miui devices ?

Thanks
[Magisk] gloeyisk:
You can use latest stable build.
[Magisk] Sir_gpm:
Using last release (end with w) in Aosp Rom in my mi9t and doesn't allowed me to optimize the Google play services.
[Magisk] gloeyisk:
Those build are only for Smartwatch.
[Magisk] 73sydney:
[MENTION=8350043]gloeyisk[/MENTION]

Just reporting back that since my last post, ive been using v1.7.3_beta6.1 on several flashes of different Pie ROMS, i found it works fine, and ive found it doesnt need Find My Device Manually disabled

For others I found a copy here:

https://t.me/AndroidRepo/1925
[Magisk] Sir_gpm:
Uninstall and flashed the stable. Didn't work. Gsm is not able to be optimized.
[Magisk] LionHeart90:
Same here
[Magisk] :
Is there a new version today? I see it was updated today at least the Magisk module says so... But it still is 1.7.5
[Magisk] asusgarb:
Hi. After a reset I installed it again on my realme X2 Pro. I don't know if you know, bit it should have a slightly different battery saver setup. Until now I have no problems, but I can't see any battery improvement. There is no way to see if system app are dozed (or similar in realme) or not. Is there any way (like from terminal) to see if it's working or not?
[Magisk] LionHeart90:
Even with bitgapps (normally optimzed yet), still play services cannot be optimzed for Q. Is a problem related to Raphael (my device actually), or for something related to feb security patch? Really i dont understand.
[Magisk] svendsvin:
After installing this mod Google Play services had some 1000 wake-ups since last battery charge. That doesn't sound like doze to me.
[Magisk] DaveedDB:
Lol what does it sound like ? A triathlon? ?
[Magisk] gloeyisk:
For anyone who still don't get GMS optimized can test these hotfix? And also don't forget to provide installation log (in Magisk Manager).
[Magisk] Sir_gpm:
Flashed fixed 2. Nothing happend. Still can applied to gsm.
[Magisk] LionHeart90:
I tried too. Nothing to do
[Magisk] AsusZenFone3Deluxe:
I am used Evo X cannot optimize but when use miui optimizable gms

Poco F1
[Magisk] damarwardoyo:
Here's the log from hotfix v2
[Magisk] asusgarb:
Can this module work with canary? Yesterday evening I tried to flash hotfix 2 on my Realme X2 Pro, but it bootlooped in twrp. So I had to uninstall it. But it was working with 20.3
[Magisk] The Wrath of Kahn:
Just wanted to give my thanks for this. A friend of mine with a 2XL (that I recommended) upgraded to 10 and got horrible battery drain, installed this and it went back to levels she was used to. Same for mine. Very pleased.
[Magisk] asusgarb:
I cannot check if on my Realme X2 Pro your module is working, because Realme adopted an unusual battery optimization system.

I tried with terminal and this is what I get:

How can I make a log?

P.S. I'm on Realme X2 Pro with colorOS 6 (Pie).
[Magisk] Sir_gpm:
Flashed in MiRoom latest for mi9t and now my appdrawer look like this. Totally clear no app is shown.

Pd: it is not this module fault. Disable it and still no app shown. :(
[Magisk] gloeyisk:
It's happened to my mother's phone too since I installed Miui Launcher Beta (which has app drawer). Not related to my module though :crying:

Edit: Typo fixed
[Magisk] Prattham:
Hi i used this module for a while but recently i updated my rom and I'm on pixel 2 xl with android 10 but whenever i install this now the module is installed successfully but GPS is still not optimized
[Magisk] LionHeart90:
News about some hotfix to test? [MENTION=8350043]gloeyisk[/MENTION]
[Magisk] LionHeart90:
Nothing.
[Magisk] gloeyisk:
I'll inform you (and everyone else) when a new build is ready to release.