yashsingh1/xdaforums huggingface dataset:
[Magisk] :
I installed the latest version of the module on my Pixel 4a running stock A13, and it didn't work, installed the previous version and it does.

But I'm suffering from delayed notifications (or better yet, no notifications at all, they only appear after opening each app).

I did apply the fix in the troubleshooting section but no luck.

GMS Doze Simplified breaks stuff such as Google Fit activity tracking, trending/suggested queries in the pixel launcher's google search bar and location based smart lock, I bet there's more i haven't noticed.

Any suggestions?

I hope there is a possible fix as this module reduces standby power consumption by a lot (0.30%/hr instead of about 1%/hr), overnight drain is reduced from 6/7% to just 2/3%. It also seems to increase responsiveness as google play services uses less ram and isn't always active.

Edit: also, find my device doesen't work, screen off, screen on, even while on the find my device settings page. Can't reach device.

EDIT: Uninstalled the module, and everything behaves like it's still installed, reflashed stock rom, nothing, do i have to clean install?

EDIT 2: uninstalling play services updates did the trick, everything works as expected now.

EDIT 3: Gave the module another go, gave me the same issues and this time i couldn't uninstall play services updates, i have no way of restoring play services to a working state without a clean flash.

I should've read the whole thread and the many replies of those that had the same issue and called this module garbage (because it is).

There should at least be a disclaimer that it will permanently modify your rom, which no properly developed magisk module should do, that's the entire point of magisk.
[Magisk] 73sydney:
1) Maybe you should have stopped at any point before you created more issues?

2) Show me a thread on here with a guarantee

3) Raging on a thread when youve continued to compound you own issue, rather than stopping and asking for help) or failing to realise that youve already discovered its unlikely to work - at which point its still totally YOUR choice to continue), and then call something garbage is not going to win you any friends and is childish

4) People have been using this for years, the great majority of them without side effects, but logic would tell you that with a major version bump of Android, and the dev not maintaining it in some time, that its totally YOUR choice to try it out on a ROM not tested by the dev....

5) I can install the main module on 3 different devices or 3 different ROM's and have equal chance of it working, or NOT, on all 3 thats the nature of ROMs, some it will work on, some it wont...again thats the roll of the dice you take trying it. No one held a gun to your head here..

6) I made the Simplified module (for folks having issues with the main one, as a courtesy) , it IS completely reversible and uses the oldest method to doze GMS, and ive used it on every device and ROM ive had for years, not so much as a delayed message. Again, a major Android version bump should tell you that youre guinea pigging...and again...your choice...
[Magisk] :
What do you mean by this?

I didn't have any issues after uninstalling the module the first time, that's why i reinstalled it, how could i have predicted that the option to restore play services would disappear from the settings app?

Most modules are systemless, that's the point of magisk, those that modify system files usually warn about this, that's the problem with this module.

If it modifies system files without any way of restoring them, there should be a warning, the fact it doesen't guarantee 0 issues doesen't mean it shouldn't warn about permanent changes to system files when that's intended behaviour of the module.

Asking for help is literally the reason i posted that reply, I was asking for help troubleshooting the delayed notifications issue, i only made edits as i figured out more stuff to give more info...

Also, am i not allowed to give my personal opinion on something? I don't think calling a magisk module that permanently breaks system files "garbage" is childish or not appropriate. It defeats the entire point of being a module.

Android 13 is supported by the latest version, and that's the version that caused me to need a clean wipe of the phone...

I'm using a Pixel running stock android though... That's closer to AOSP than most custom roms out there, and this doesen't justify the breaking of system files.

The module shouldn't make permanent changes to ANY rom, compatible or not. That's how modules should work.

Have you read my post?

I tried your version, I never said yours isn't reversible. But it breaks lots of stuff and therefore I'm not going to use it, also the delayed notifications apply to it as well.
[Magisk] 73sydney:
Because if you uninstall updates from an app once theyre not going to be there to uninstall a second time

Ideally all modules would be 100% systemless, 100% agree. I personally make all mine that way. Mine copy any system files into the modules folder and then modify those copies. but as with any mod, its up the user to assess the risk of using the mod. Been the law od XDA and every forum ive ever been on.

I usually put a disclaimer on stuff, even though it should generally be accepted as price of admission to the forum.

Calling anyone's efforts "garbage" is not productive. An opinion, even a bad one, usually is at least that

Yes i read your post. Mine is based on the original method, if it "breaks" things (and its benign as can be), along with the rest of the reports from Android 13 users that its not working for them and that something has changed on the ROM side, might have stopped you from continuing further. It would have made me pause after one attempt.....

Maybe youre misreading me, im not defending the module, im pointing out you could have made better choices and stopped at any point instead of compounding things
[Magisk] SnoOkilow:
I installed 1.8.7. Then I deleted it and uninstalled google play services, rebooted, installed google play services again and everything works as before. Remained on 1.8.6 works without problems. This module does not modify the ROM - I have not received confirmation of this.
[Magisk] Zaxx32:
I'm running the latest stock A13 (Oct.5 'security' patch) on a brand new Pixel 6a. Just rooted with latest Magisk (25.2). installed the usual req'd (imo ofc) modules: Systemless, Lsposed, Safetynet Fix 2.3.1, and AOSP Mods.

I use a non-Magisk option to manage/optimize my battery my battery usage. It's been around for years, made by a trusted Dev and it works for dozing/optimizing google play services/GMS and sooo much more...all you need is root and to take the time to read what you're doing...and a couple bucks that worth every penny. Naptime, from the same Dev as FKM. (The GMS tweak is in the 'Experimental Featured' section.)

Naptime - the real battery sav - Apps on Google Play

Makes your device sleep faster to save precious battery life when you need it

play.google.com

I could go on forever about the features...most which are free. And if you REALLY want total control of Android, there's also Servicely.

Servicely to control your phon - Apps on Google Play

Boost your battery life by blocking apps from running in the background & more!

play.google.com

Also from Franco. Not totally free but potent...be careful!

YMMV but it's been my goto for years...on stock roms.
[Magisk] rodken:
Any recommendations or do's and do'nt's that you can share regarding Servicely?
[Magisk] Zaxx32:
I don't have it installed on my new phone yet. Got burned by the A13 ARB bs...they 'repaired' it and sent it back to me with a dead fingerprint reader. I then raised serious hell, again, and got a brand new phone. I'm a bit too rusty re: Servicely to just go off the top of my head. Maybe google round a bit. I'll have it back in soon tho...😉
[Magisk] x_berzerker:
1.8.7 worked on my lavender lineage R, but not on wife's sweet arrow os S.

this simplified didn't work on mine, but fixed my wife's. thanks!
[Magisk] 73sydney:
As youve discovered... others might now (finally), this is very much down to the ROM...its just easier to blame the modules...
[Magisk] SnoOkilow:
I completely replaced the contents of the line in the 1.8.7 directory "# Patch the XML and place the modified one to the original directory" with the directory from 1.8.6 and got a working 1.8.7 module. These aren't bad ROMs, they're a bad new detection method (Improved XML patching logic)
[Magisk] 73sydney:
Nice find but i think it still works for some?

I dont monitor changes in the module as i use my own simplified module

if you think its worth it, attach and the file here OR perhaps fork the repo and make the changes OR share the changed file that works and i may fork it on my github and have others test

fwiw i have also updated my own GMS Simplified module after i discovered a case where the path was failing

attached here
[Magisk] 73sydney:
You might want to read the previous few posts, including mine (both seemed to have path issues) and as you may an older version of my module, its attached to the post above here (remove older one before applying if you use mine):

https://xdaforums.com/t/module-universal-gms-doze.3853710/post-87575831

The main module may get an update so stay tuned
[Magisk] x_berzerker:
ok thx! just removed previous and installed that new one.

now i still need to realize why after so much this and that investigating gms hogness youtube ceased to see my chromecast.
[Magisk] Fishawy:
Mind sharing that custom 1.8.7?
[Magisk] x_berzerker:
So, finally confirmed that your versions, both older one and 1.0, fix gms hog BUT breaks youtube ability to cast to chromecast.

1.8.7 github version won't fix hog but also won't break youtube cast either.

Any ideas on getting best of worlds?
[Magisk] 73sydney:
my module makes 1 change, the original method of removing google play services from a whitelist, nothing more, it does 1 thing and its the most benign version of google play services dozing

if it breaks casting then ive never noticed because ive literally never cast anything in my life because i have a tv that has youtube on it (and to be honest i dont even use youtube on the TV), or im in front of a PC with youtube open - which is where i mainly view stuff

nothing i can do about that, thats the original method

ive never looked at the other version to know what it does/doesnt do, but if its not dozing google play services, and mine is (and its using the original method), then mine is working as it should be and i guess you have to decide whether you want battery saving or to cast stuff - which is the opposite to battery saving...you cant expect one thing to do two diametrically opposed things....
[Magisk] x_berzerker:
thanks for the answer mate. and thanks for the working version too.

but, i must disagree: i see no proof -so far- these things are diametrically opposite. if me or you can't do it, it doesn't mean -yet- that one with superior understanding won't be able to do. maybe someone pop out of chaos with a solution that fits both parts, maybe even you, despite your first impression.

just a thought. don't bother. let's save thread for what is worth.
[Magisk] 73sydney:
if it helps, i can link my phone to my tv (with tv code) and play youtube videos there...first time i ever tried just now...so not sure how thats not working for you

maybe my point wasnt as clear as i meant it, i mean t on one hand you want to save battery, but then you want to cast, and those are two diametrically opposed things....
[Magisk] SnoOkilow:
Ok My friend - My custom 1.8.7 (Version for those who worked 1.8.6 and does not work 1.8.7)
[Magisk] x_berzerker:
thx again mate. i had that tested. my tv have youtube and that works. the thing is that it is for my wife, which is a more limited user.

since we have a chromecast for its broader compatibility, tv native apps end up falling into oblivion.

for now it seems that somehow gms hogging has ceased even after i removed the module.

i will keep an eye on it and other on this thread.

hope my feedback bring some worth contribution anyway.
[Magisk] SnoOkilow:
- I also recommend that everyone immediately apply this tweak.

> su

> cd /data/data

> find . -type f -name '*gms*' -delete

- PS This tweak will save you from possible problems with notification delays. This does not bad affect the energy efficiency in any way.
[Magisk] WarriorMax:
The module installed fine but when i check i get this... What does it mean pls.

/system/bin/sh: gmsc: inaccessible or not found
[Magisk] 73sydney:
you need to run it as root, so type 'su' and then Enter first
[Magisk] kouzelnik3:
Will this module work correctly on oxygen os 13, oneplus 10 pro?
[Magisk] 73sydney:
Its a magisk module, flash it and test for yourself, if it doesnt, let us know....also the beauty of magisk modules is that if they dont work theyre largely completely reversible
[Magisk] 73sydney:
Note: theres now an updated version here (also found via Fox Magisk Module Manager):

GitHub - Magisk-Modules-Alt-Repo/GMSDoze: GMS Doze

GMS Doze. Contribute to Magisk-Modules-Alt-Repo/GMSDoze development by creating an account on GitHub.

github.com
[Magisk] Zaxx32:
No idea if the gms doze module installs does what u need with chromecast or other issue. All I can say is Naptime works great re: basic functions...maybe 'Doze Google Play Services by Francisco Franco v1.1 (@franciscof_1990) is worth a peek (if it doesn't have said bugs ofc) I know it's like $2-3 and I dunno what the licensing is re: taking a peek at his module code. Again...that IF it doesn't have issues ur talking about. It's appear ant perf as a part of Naptime saves me a LOT of battery and has tons of relative features that it's known for. Dunno if said doze module is available separately...or even if it's performance relies on the Naptime app. I think it is worth a look to see if it works for everyone's feature needs. I'm no dev/coder but Franco's apps have a good rep (FKM, Naptime and Servicely). Just a suggestion...;)

Left out another part of my battery sipping 6a...along with Naptime, Google Doze...I also use Battery Guru w/root axx (Free w/ads but Adaway rulez!) I just make sure they don't step on each other's toes. I let Guru do the 'battery saver at screen off" and the settings that light up when pressed, ...leaving 'doze' settings and misc tweaks to Naptime ofc. Have 'extreme battery save' off in And setting, or maybe @15%. It's a precise 'dance' with them but one u have it dialed in just right...You'll always smile when u open BBS, you'll be grinnin'! Not 4 everyone obviously but when u get...you get it! Also recommend BBS Xda Ed. and MVK Kernel if u have a P6, P6Pro or P6a running stock or beta A13. And ACC mod w/AccA to stop battery chrg. at 90% too! :cool:

Servicley is a whole new post! Not currently using it...it can be a bit overkill imho...unless you're a total control freak. :oops:
[Magisk] yassine2217:
Hi,

Has anyone experienced this type of behavior?

I installed this last module on my One Plus 7 Pro running ColorOS A12,1 when I reboot the phone I run gmsc it says optimized after 2 seconds I run gmsc it says not optimized any ideas please?
[Magisk] 73sydney:
Cant say ive ever seen that.....

Do you have any other modules, particularly of the tweak variety or tweak apps installed? Something is obviously resetting it, your best best would be logcat
[Magisk] yassine2217:
Yes, bro, I recall installing another module from this thread called No GMS battery whitelist Magisk.zip alongside gms and getting the same result, in the beginning it always showed me (not optimized), but when I installed the second No GMS battery whitelist Magisk.zip alongside gms, it gave me what you see in the picture.
[Magisk] yassine2217:
I just realized that the second module has nothing to do with this behavior, so I rebooted my phone and ran gms quickly twice, with the first result being gms optimized and the second being not optimized, and I discovered a google.xml in the folder /mnt/vendor/my bigball/etc/sysconfig/google.xml with read only access.
[Magisk] 73sydney:
Okay so can you tell me exactly (or attach) those modules you have installed and tested, as thats not a "legacy" path, and we can fix that

Oneplus device?

I knew id seen "my bigball" path before, a dev friend who has a debloat module recently added it for certain devices....he had to add it to the path list for his module

(these are all mount points under /system or SAR (System As Root)

arMountPointList="/product /vendor /system_ext /india /my_bigball"

can you also try these 2 commands (in a terminal or via adb shell) and paste the results of each (separately):

su -c find /system /system_ext /product /vendor -iname "google.xml" -print

su -c find /system /system_ext /product /vendor /my_bigball -iname "google.xml" -print
[Magisk] yassine2217:
yes sure bro

first command

/system/product/etc/sysconfig/google.xml

second command

/system/product/etc/sysconfig/google.xml

/my_bigball/etc/sysconfig/google.xml

:/data/data/com.termux/files/home #
[Magisk] yassine2217:
This is what i have in magisk

I tried both version of gmsc

1.8.3 and the last one

both version show gmsc is optimized when i reboot the phone few second repeat the command (gmsc not optimized)

OS Coloros 12,1
[Magisk] 73sydney:
good, the 1st command is what the regular module finds, the second is what the adjusted one with new path added finds...which matches with what you mentioned.

after ive had a sleep (ive been up about 20 hours), ill mod the latest one (from the 1st post on this page) and my own "simplified" version and you can test them if you like
[Magisk] yassine2217:
Thank you bro sleep well
[Magisk] 73sydney:
okay, i modded the original 1.8.6 (last version i think that worked out of the box for most folks) and my own GMS Doze Simplified.v1.1 zip (only dozes gms, nothing else) to include the newer path

Please remove any existing doze related mod, and then try only one of these at a time, and tell me if either work

If either work, ill put in a request to have the newest version in the 1st post of this page, and on the magisk repo, to have the path added

Note: modded attachments removed to stop people going off on tangents
[Magisk] yassine2217:
Thank you bro for your hard work unfortunately 2 modules does not work same thing happend, i attache screenshots and if you need any logs or something please tell me
[Magisk] 73sydney:
picture me very much shrugging....i dont have anything i can add at this time to what ive already tried...
[Magisk] yassine2217:
you right, thank you so much for your hard work bro
[Magisk] yassine2217:
Hi bro again

I just realized that gmsc turns green only when my phone is disconnected from the internet; when I turn it back on (mobile network/wifi), it turns red.

No google gms when conection is disabled

Whitelist (except idle) system apps:

com.android.providers.calendar

com.android.providers.downloads

com.qualcomm.qti.telephonyservice

com.android.mms

com.qualcomm.qcrilmsgtunnel

com.qti.xdivert

com.android.cellbroadcastreceiver

com.android.proxyhandler

com.qualcomm.qti.ims

com.qualcomm.location

com.android.shell

com.google.android.cellbroadcastreceiver

com.qualcomm.atfwd

com.android.providers.contacts

google gms existe when conection is turn on

Whitelist (except idle) system apps:

com.android.providers.calendar

com.android.providers.downloads

com.qualcomm.qti.telephonyservice

com.android.vending

com.android.mms

com.qualcomm.qcrilmsgtunnel

com.qti.xdivert

com.android.cellbroadcastreceiver

com.google.android.gms

com.android.proxyhandler

com.qualcomm.qti.ims

com.qualcomm.location

com.android.shell

com.google.android.cellbroadcastreceiver

com.qualcomm.atfwd

com.android.providers.contacts
[Magisk] 73sydney:
I have no idea whats going on there,

as per https://xdaforums.com/t/module-universal-gms-doze.3853710/post-77868802

dumpsys deviceidle | grep com.google.android.gms

should return 1 (nothing), regardless of the state, at least it does here

aka com.google.android.gms shouldnt appear in either list

please attach both:

/system/product/etc/sysconfig/google.xml

/my_bigball/etc/sysconfig/google.xml

here, even then im not promising i can figure it out...
[Magisk] yassine2217:
Thanks for your reply bro

the first command show

umpsys deviceidle | grep com.google.android.gms <

com.google.android.gms

com.google.android.gms

com.google.android.gms

:/data/data/com.termux/files/home #

The files in attachements
[Magisk] yassine2217:
I don't want to disappoint you, but I tried both modules I found on github, and they all go green when I disconnect from the internet, so hopefully there will be a new patch that can fix this in the future, and I want to thank you for your help over the last two days, bro. I apologize for bothering you so much.
[Magisk] 73sydney:
I modded the ones from github, theyre attached to my last post...maybe you missed that i said id already modded them, as both a test, and possibly (if they work) a stopgap....
[Magisk] yassine2217:
let me try them bro
[Magisk] yassine2217:
No bro does not work
[Magisk] gloeyisk:
Nope, I'm use it and Assistant. All is just working fine.
[Magisk] Will008:
I flashed the module on the pixel 2xl with latest Nov security update, it now shows the option to optimize play services, when I choose optimize it still doesn't optimize it. Any thoughts?
[Magisk] gloeyisk:
Disable "Device admin apps" for Find My Device.
[Magisk] Will008:
Thanks for the tip, such a trade off to stop the find my device feature totally though. I recently had one of my phones stolen so that's kind of a concern of mine.
[Magisk] gloeyisk:
That's only workaround for Pie, if you running MM-Oreo all is fine with Find My Device enabled.
[Magisk] KitsuneFoxy:
What are the changes in the xml?
[Magisk] gloeyisk:
I've try to disable Find My Device in Device admin apps section and always disabled even after reboot. So the doze still working fine (GMS still optimized).
[Magisk] 1LyRa:
GPay in store working?
[Magisk] gloeyisk:
GPay still working fine, but you need enabled Find My Device first which is the GMS will not optimized anymore.
[Magisk] Bäcker:
i tried it just now. after each restart device admin is re-enabled for find my device.

I'm running pie on oneplus 6t
[Magisk] gloeyisk:
You need to disabled "Keep Your Device Awake" and "Start at power up" for Google Play services. If you still figure out, you can take a look to OP there's support group link if you need more help.
[Magisk] WarriorMax:
Something is not right in the last 2 version on pie. Battery drain is more. Going back to 1.3.3 version fortunately I've it saved.
[Magisk] gloeyisk:
I'm pretty glad if you come to my support group and tell whatever is really went wrong on your side ;).
[Magisk] Pseudonym:
Latest update hides Youtube Vanced for me
[Magisk] gloeyisk:
I'm using YouTube Vanced also, nothing goes wrong :).
[Magisk] 4uvak91:
Hi, so is there workaround for find my device atm on Pie? Coz it's kinda critical feature that I wanna to keep on.
[Magisk] gloeyisk:
Probably yes :(.
[Magisk] 4uvak91:
5

I kept disabled find my device but instead install just an apk from play store and seems like Google Service are still optimized for battery. Even after using the find my phone feature in google search on PC. Not 100% sure though, need more testing when phone enters into deep sleep.
[Magisk] WarriorMax:
Can any Tasker expert please guide the steps or be kind enough to create a profile to automatically disable Find my device on device boot?? Is it even possible.
[Magisk] 73sydney:
then you my friend, have a possessed device and should seek the assistance of the nearest exorcist :)

i cant think what else to try sorry, maybe someone else will chime in a theory at some point, im just working off available data
[Magisk] yassine2217:
your funny bro 😂 thank you again maybe i call Peter Venkman, Raymond Stantz and Egon Spengler (Ghostbuster) 😂
[Magisk] DeannWinchester:
I don't want to root my device . I tried flashing the latest version in my twrp but it says error 1 , can someone help ?
[Magisk] 73sydney:
you need to have root (magisk) to use this, its a magisk module, and should be flashed via magisk manager, NOT TWRP
[Magisk] simcold:
New version 1.8.8

After install Google store doesn't start.