yashsingh1/xdaforums huggingface dataset:
[Magisk] Depressed T.Bear:
Thanks, it's marked as optimized there, just not shown under the accu optimization section!

Will this mod conflict with Greenify? I use it to enable aggressive Doze and shallow hibernation on some hungry apps.
[Magisk] Cablespider:
I'm not sure. gloeyisk states...

https://xdaforums.com/showpost.php?p=78406953&postcount=210
[Magisk] madbat99:
Takes messages (Android messages) out of doze, messing with chat messaging. (RCS carrier specific), easily solved by enabling optimization for messages. Just a tip.
[Magisk] Depressed T.Bear:
Can you explain it a little bit further? Sounds like I should 'enable' optimization on my messaging apps... Thought it would be bad because I won't get the messages instantly.
[Magisk] habylab:
Question: I can't see Google Play Services in the battery optimization list, but when I go to apps, GPS and battery, it says "optimising battery use". So is it? I haven't disabled find my device and I do use Google Pay.
[Magisk] venkatsrin:
Even if I choose enable nothing changes, seems like messages and phone can't be optimized on Google devices?
[Magisk] gloeyisk:
New stable build is up!
[Magisk] gloeyisk:
Actually it's ROM dependent, a lot of Pie ROMs (i.e. Pixel devices) even Custom ROMs it'll showed both of Message and Dialer app will not optimized. It's kind of Android frameworks which my module doesn't related to it, but to the GMS itself.
[Magisk] venkatsrin:
Yes you are right, your module optimizes GMS as promised :good: I'm just wondering why it's not possible to optimize messages and dialer apps even though the option is there :rolleyes:

BTW, coming back to GMS - do you think there is any way to prevent find my device from being turned on automatically every few hours?
[Magisk] gloeyisk:
For the Message and Dialer:

You don't need to optimized it, both apps isn't made major issue such battery drainage.

For the Find My Device:

Actually I can but maybe it'll hard to do, also this Find My Device is core frameworks which can't handled by any apps (i.e. Terminal) or even any scripts. This is Android limitations.

Hopes you understand ;):fingers-crossed:
[Magisk] lvbaal:
Can't get it to work

I installed the module from Magisk Repo - version 1.5.1

Then; Settings>Apps & Notifications>Special App access>Battery Optimization

Then: View ¨Not Optimised¨, where Google Play Services is ¨Not optimised¨

Changing it to ¨Optimised¨ and pressing ¨Done¨, does not change the status into ¨Optimising Battery Use¨

I am on Huawei P20 pro with an Android 9 custom rom (firstever Android 9.0 for Huawei P20 Pro)

I have uninstalled Android Pay

I have switched off Find my Device in Settings>Security & Location

Any suggestions are highly appreciated.
[Magisk] gloeyisk:
You do the wrong for Find My Device, the correct one is on Device Admin apps section not in Security.

If the GMS still showed Not Optimized, then disabled GPay too and recheck.
[Magisk] lvbaal:
Found it :) Now, Google Play Service is ¨Optimising battery use¨. Thanks

(Device admin apps is also part of Security settings though)
[Magisk] gloeyisk:
Of course you're right, but the right path is on Device Admin apps. Enjoy the module ;)
[Magisk] madbat99:
Sorry, I said it backwards. It allowed my messages app to be "dozed". Motorola device on Sprint which has rcs, slightly modified version of messages I believe. Which killed "chat" messaging. I added it back to not optimized to fix it. Actually I went into advanced--> chat settings and turned it back on and it fixed it by itself.

Some carriers are participating in RCS (rich communication service) which adds some features like typing indicators, and "read" receipts. Also sending texts over data instead of the typical means. I find this useful for work, which is why I mentioned it.

---------- Post added at 08:43 PM ---------- Previous post was at 08:42 PM ----------

I meant to quote you, not myself. LoL, long day.
[Magisk] Sh0X31:
What's the different between UGD and sysconfig patcher
[Magisk] gloeyisk:
I can't explain, I won't say my module "better" "the best" "powerful" etc, just let the users deviced ;)
[Magisk] Sh0X31:
Do UGD only patch /system/etc/sysconfig/google.xml or other files to?
[Magisk] gloeyisk:
Others too, the module shipped with Unity (Un)Installer, and so on.
[Magisk] bmwfrkvt:
Do you have to disable Find My Device after every boot? Im on Pixel 3 XL and like others have posted, each time I reboot I have to go back and disable find my device in Device Admin Apps
[Magisk] quini2k:
I confirm it gets enabled on every boot on my OP6

Joan Tur (OP6)
[Magisk] gloeyisk:
Correct, this issue still persist for some users especially for Pie ROMs.
[Magisk] wildess:
after flash this module via twrp, do I need to manually set each apps to background restricted or everything become effective automatically?
[Magisk] gloeyisk:
Actually the module mainly for optimized the GMS, for other apps which want to restrict all is depend to the users itself.
[Magisk] wildess:
I'm on PE, I have two problems.

1:

"Find My Device" auto re-enabled after every restart.

2:

I have disabled "Google Play Store",

and I have disabled "Find My Device" on these two path:

Security & Location > Device admin apps > Find My Device

Apps & notifications > Special app access > Device admin apps > Find My Device

but,

Google Play Services still is 'Not optimised' and can not be set to restricted.
[Magisk] gloeyisk:
Have you read the OP wisely? Also previous pages talking the same issue and I've already explain ;)
[Magisk] Rustamveer:
dsnt install on magisk 17.2

asking for v18
[Magisk] Bintang Krisna:
what is unity update?

im still curious about it since day one hahaha
[Magisk] gloeyisk:
I only use Unity Template for (Un)Installer functionality. You can also read about Unity on OP, I've attached link there.
[Magisk] MrAman007:
unable to flash in magisk 17.3, asks to install magisk 18. But my device doesnt work correnctly with magisk 18 any solution or the support is dropped for magisk below version 18
[Magisk] mrjuniork:
Flashed the module and after switching off find my phone according to OP, still no GPS visible withing battery optimization setting.

I'm on OP5, 9.0.1...

A while ago I tried sysconfig patcher and it seems no matter what module I use and no matter which android version, it just doesn't seem to work at all... Any ideas?
[Magisk] gloeyisk:
Unfortunately no, I already dropped support for below Magisk 18 :(.
[Magisk] gloeyisk:
Have you read the "Known Issues" section? If the GMS still doesn't Optimized, then you use/apply GPay on Device Administrator which need to disabled first.

After that, recheck and try it once again (with my module installed) ;).
[Magisk] mrjuniork:
I did read the known issues section and I'm not at all using GPay, since it's not even supported where I live...
[Magisk] mrfrantastic:
deleted
[Magisk] gloeyisk:
New stable build is up!

Huft at least actual update is coming.
[Magisk] 1LyRa:
Why is it possible to doze GMS with GPay on Oreo, but not on Pie?
[Magisk] slimshouki:
How to be sure that module.is.working and doze is.really.kicking in because I am not feeling?

My.google play services is optimized and I flashed ur module through magisk not twrp

---------- Post added at 11:28 PM ---------- Previous post was at 11:26 PM ----------

I beleive this consumption is very high in such a short time while ur modue.is.already working

Anyway thank you for ur support and work
[Magisk] slimshouki:
Attached screenshot

Do I have to put google play services in restricted background as well
[Magisk] habylab:
Not wishing to start a comments war, but do you care to comment on this post? Did you copy source?

https://xdaforums.com/apps/magisk/module-sysconfig-patcher-t3668435/post78628160
[Magisk] gloeyisk:
For the Pie one we need to disable few Administrator to make it works.
[Magisk] gloeyisk:
All is depend on you, mine was optimized it and leave.

Users usually difference taste.
[Magisk] MpS005:
Will it work with SeLinux as permessive on Pie?
[Magisk] gloeyisk:
It will, Enforcing SELinux only Unity's requirements which my phone is Permissive SELinux.
[Magisk] shouk_1987:
I have disabled find my device admin and it is enabled after reboot

Is this normal and I should disable.it every reboot ?
[Magisk] Cablespider:
It's normal to have to disable after every reboot.
[Magisk] gloeyisk:
What phone and ROM you're running on? I've confirmed and tested by myself, with January ASB (when I'm do a test running Phh AOSP 8.1 GSI) and the GMS still optimized. Also the Administrator section still there as well.
[Magisk] gloeyisk:
What Cablespider said is right, this Find My Device will enabled automatically after every reboot (according to the OP as well) ;)
[Magisk] paiktaras:
i cant understand how to work this module ........ what is the next step to sould make after install via magisk ?
[Magisk] gloeyisk:
When the module installed, just check whether the GMS showed optimized or not in Settings.
[Magisk] paiktaras:
does not appear at all, I'm looking for it on the menu battery / battery optimization and does not exist nor like GMS or universal gms
[Magisk] gloeyisk:
GMS is Play services, is it showed optimized on battery optimization section? Also can tell me more specific?
[Magisk] paiktaras:
it does not appear at all either optimized or un-optimized
[Magisk] gloeyisk:
May can you send me ss inside that section?
[Magisk] paiktaras:
the entire list of applications ?
[Magisk] gloeyisk:
No, inside both of Optimized and Not Optimized battery section.
[Magisk] paiktaras:
https://postimg.cc/gallery/134vazfu8/
[Magisk] gloeyisk:
Steps to go to Optimization Battery section:

Settings > Apps & notifications > Apps special access > Battery Optimization

Also I've attached ss for you to see, if the GMS (Play services) doesn't showed in Not Optimized (means available in Optimized battery section) so the module properly working.
[Magisk] paiktaras:
to my device ( oneplus 3T with oxygen os 5.0.8 ) to the baterry menu (otimization and not optimizitiaton ) having all apk as I analyzed with ss I sent you, nothing else
[Magisk] gloeyisk:
Uhmm.. open your Optimization section once again, show "System Apps" it'll automatically showed Play services, and check optimize or not.

Edit: Fixing some typos.
[Magisk] gloeyisk:
New stable build is up!

Still not that much the changes except merged Unity update, I'm still following Zack and learn his Unity Addon.
[Magisk] najabi:
Hello. Does this module override 'Sysconfig Patcher'? Since they seem to act on GMS privileges....

What are the differences? Do they conflict each other? If uninstalled, does UGMS Doze revert to defaults?
[Magisk] gloeyisk:
The module is similar, but me and VR25 do different way to the module itself. Not a conflict, but why you use 2 module at the same time? Also if you uninstalled this doze module, yes, it'll reverted to default stats.
[Magisk] sinz0000:
One I tap on done, the play services stay in not optimized state. No change even after tapping done
[Magisk] gloeyisk:
Very well, deactivated Find My Device on "Device Admin apps" section, and you're done.
[Magisk] starche_old:
Is there any way to get Gmail updates while maintaining the rest of functionality?
[Magisk] gloeyisk:
There's nothing wrong with any apps which had Priority Notifications (Gmail, WhatsApp, Telegram, etc.). All is just working fine on my side. If you feels the module make some of your apps got delayed you can try to clear data of these apps.
[Magisk] pebun4:
Hi, I installed the module but when I go to the battery optimization list I can't find Google play services in there. I have a OnePlus 5 running oos latest open beta of pie. I was reading the thread and saw that another guy had a similar problem also with Oxygen os. So is is a problem of the Rom? Does it only work with AOSP based ROMs? Is there something you know that can help me? Thanks in advance.
[Magisk] gloeyisk:
Ahh OOS, you'll not find it because it's different with mostly Custom ROMs. Go through Settings, open the Battery section, enabled Show System Apps and you'll find Google Play services. Tap that Play services and enabled Restricted for it.
[Magisk] pebun4:
Thanks for the fast response, however I searched inside the battery section of my settings and couldn't find anything similar to show system apps. I also searched for a way to enable them on Google but I didn't find anything useful. Any tips?
[Magisk] gloeyisk:
It still there, just because you ain't found it yet. Just search inside Apps section enabled/showed System Apps, you'll find Google Play services on there.

After that, tap it, it'll showed menu "Restrictions..." or ABC XYZ or anything related to it.

If you can restrict that Play services, then the module working fine.
[Magisk] pebun4:
Ohh yeah I found it now, thank you very much and keep up the great work!
[Magisk] sruel3216:
When I restrict in op6t on 9.0.11 my service is lost after a few minutes. I turn airplane mode on, then off and service comes back. But after a few minutes I lost service again

Edit: after another reboot it seems stable now.
[Magisk] Al Gore:
So I'm on Pie, disabled Find my device in google, removed it from admins and after reboot it stays disabled. But in battery optimization when I click on Optimize play services it says not optimized anyway. Is it working or no?
[Magisk] gloeyisk:
No, the main function is how the module can make Play services showed optimized. Because you already mentioned that you running Pie ROM, correct, you need workaround for make it works (deactivated Find My Device first).
[Magisk] Al Gore:
So what could be stopping it from working now?
[Magisk] gloeyisk:
Just check whether the module properly installed, what modules you've used recently.
[Magisk] myself379:
Thank you for your hard work. I thank you also for written down that Android Pie need to disable Find My Device in Admin for it to work on optimizing Google Play Services
[Magisk] Dims_Camper:
latest update got google's backup service grayed out (again) known issue?
[Magisk] gloeyisk:
Hello, to check it's work/not just go to check Google Play services (GMS in short) is Optimized or not.

And also can give you me another info more specific?
[Magisk] gloeyisk:
My module shipped with Unity, just do replace from previous build (the module) and you're good to go for flashing the new one.
[Magisk] ngshixuan:
Hey there I'm also on xXx limits the Google play service wakelock is disabled in aroma with this module installed. So far no problem and conflicts everything is great when xXx is installed.
[Magisk] gloeyisk:
Joining support group will be helpful, the link available on OP. Anyway thanks for your confirm.
[Magisk] lazostat:
Still , I have many alarms from Google play services.
[Magisk] ngshixuan:
Then you should consider using amplify.
[Magisk] TogoFire:
A message appears every time I reboot the device saying the system settings has stopped. The strange thing is that my device the bootloader is unlocked and in settings> developer options, in options OEM unlocking is enabled automatic and can not be disabled, but when flashing this universal module twelve, it is possible to disable OEM unlocking.

Device: Mi A2 Lite. Android 8.1 Stock.

---------- Post added at 06:07 AM ---------- Previous post was at 06:00 AM ----------

When uninstalling the universal module twelve. The OEM unlock option is still disabled. Probably if I cleaned cache and app data the system configuration would look the same way too.
[Magisk] TogoFire:
Err Msg: Advanced Settings Has Stopped.
[Magisk] TogoFire:
LogCat: https://app.box.com/s/qnys7ay5mjbc023rvks2bo6kz5q94zja
[Magisk] gloeyisk:
Another beta build released yesterday on support group (link on OP), another fix for the GMS confirmed.

Any modules I've to uploaded here, it's just mirroring from Magisk Downloads section. Thanks.
[Magisk] TogoFire:
Group link off.

Please send me the new invitation.
[Magisk] gloeyisk:
Hello, the link still fine.

May can you text me directly to my Telegram account? Here's my username [MENTION=8350043]gloeyisk[/MENTION]. Thanks.
[Magisk] crazix:
I observed when using this mod the backup service for my phone disables. Is it a bug or is my device.
[Magisk] gloeyisk:
Hello! Can tell me more specific?
[Magisk] crazix:
When the mod is enabled backup to Google drive stops. My account disappears from the backup service. Though unable to verify if the service continues to operate normally or not.

Device: OP3

ROM: OOS (Latest)
[Magisk] gloeyisk:
Ahhh weird, since my module only focused to GMS itself.

More update will published to support group (link on OP), thanks.
[Magisk] ngshixuan:
I still couldn't see Google play services in battery optimization not even the Google app or Gmail. What's the issue here? I'm using a Oneplus 5.
[Magisk] gloeyisk:
It's weird if the backup services interrupted once again, could you take a clean flash of the module and recheck?
[Magisk] Dims_Camper:
even tho i clean clean flashed the module because i just moved to another rom, reflashed it seems fixed the issue :confused: . Immediately went to google backup settings page and the "backup now" button can be pressed for awhile, then greyed out again (with backup in progress)
[Magisk] gloeyisk:
Oh my, it seems (probably) ROM issue or something went wrong on your side. May can I know which ROM and phone you're using on?
[Magisk] Dims_Camper:
I'm on kenzo running NOS Pie. Anyway the backup seems work for now, just finished backing up the data and the "backup now" is still able to be pressed.
[Magisk] gloeyisk:
Ahhh I'm glad the module kept properly working :D.
[Magisk] Stoffl_:
Hi,

Is there a way to use this module without breaking google location history and geofencing features of say apps like Philips Hue ?

Last time I tried it broke geofencing functionality and even after uninstalling the magisk module and reinstalling the Hue app and setting it up again it wouldn't work.

Had to reinstall the ROM.
[Magisk] gloeyisk:
Oh there I'm sorry for this inconvenient, can you tell me more specific about this app? Also what phone and Android version you were running on?
[Magisk] Stoffl_:
Should Google location history still work when using this module? From what I saw Google location was only updated after Google maps was opened.

I didn't manually disable find my device, I guess that explains why standby battery drain didn't improve?

Device is xiaomi Mi 8 running xiaomi.eu 9.1.24 miui custom rom.

It's android 9.

The app is called Hue by philips.

The geofencing feature does automatically trigger lights when device is further than 50m away or back in range from home location.
[Magisk] gloeyisk:
As I mentioned on OP that I can't guarantee fully for OEMs (MIUI), I'll try to fix the current issue from your side.
[Magisk] Stoffl_:
Thank you, very much appreciated.

I'll test again and check if Google location history is really broken by the module.

*edit*

Unless Google play services are manually added to battery exemptions the module isn't actually doing anything, correct?

I think I misunderstood how this module works.. I assumed it would just do its thing.

Even when find my device is disabled in Google / security and removed from the device administrator page I can't add Google play services to battery exemption. They still don't show in app list with system app filter disabled.
[Magisk] Stoffl_:
Nevermind, I figured it out.

The MIUI battery optimization settings won't show google play services even with the Universal GMS Doze Magisk module installed.

But the general Android 9 battery optimization settings are still there - just hidden. There you can select google play services and enable battery optimization.

Will report back if it actually does anything this time around. :)
[Magisk] 4uvak91:
Dunno if ROM or not, but without latest module my notifications works, with the module not. Latest ViperOS Pie (LOS 16 base), picogapps 23/01, stock kernel, clean flash. Only BGram installed from Play Store and Magisk. No modules, no other apps/configs.

Device: Xiaomi MI5
[Magisk] vl319:
using oneplus 5 and installed this module. Whatsapp message delayed. Need to open the app to receive notification. Any workaround?
[Magisk] gloeyisk:
Try to clear data for your WhatsApp.
[Magisk] gloeyisk:
If your messages become delayed (e.g. WhatsApp), you can give it a try to Clear data first. As I ain't facing any delayed incoming messages issue.
[Magisk] winamp26:
Is qti works on S7 edge exynos?
[Magisk] gloeyisk:
If your ROM doesn't available any Qti stuffs, so the module will ignore it. Don't worry, bad effects won't occurred.
[Magisk] vl319:
I only have two options :clear storage and clear cache.. So is it clear storage? Will my message history and media gone?
[Magisk] peikojose:
I really don't understand what is the problem with find my device? It doesn't work with Android 9?
[Magisk] gloeyisk:
Just backup it first (inside WhatsApp's Backup section) then your data wouldn't gone.
[Magisk] gloeyisk:
The module still working fine, but you need to deactivate Find My Device (in Device Admin apps section) to make Play services optimized. Not sure why this is happened, it seems Google things.
[Magisk] peikojose:
Ok, so I lose that option, right?
[Magisk] gloeyisk:
Wait, what you mean with lost that option?:confused:
[Magisk] peikojose:
Find muy device
[Magisk] gloeyisk:
It's ain't mean you losing it, it's just deactivated.
[Magisk] Alex_9:
Hi

I downloaded the module and installed.

Now Google Play Services are able to be optimized but when i select "Optimize" it doesnt change to that option. Nothing happens. This is on a custom ROM Android Pie
[Magisk] iTalisman:
+1
[Magisk] gloeyisk:
Have you read the OP wisely? To be honest I ever said kind of this issue in previous pages :D
[Magisk] mrjuniork:
Is there anyone here with an OP5 (latest stable Oxygen, Magisk 18.0, RZ kernel), that has this module doing what it claims to be doing?
[Magisk] Eduardo.medi:
So do I have to disable "find my device" in order for this module to work?

Mix 2S on latest HavocOS.

---------- Post added at 09:07 PM ---------- Previous post was at 09:06 PM ----------

So do I have to disable "find my device" in order for this module to work?

Mix 2S on latest HavocOS.
[Magisk] gloeyisk:
If you're running Android Pie, correct, deactivate it first for make it working well.
[Magisk] Eduardo.medi:
Can I turn on battery saver or does it conflict with this module?
[Magisk] gloeyisk:
Of course you can, there's no issue if you turning on Battery Saver with my module installed.
[Magisk] wasd-:
I have Find My Device disabled but still can put it on optimize, LOS 16.

EDIT: Ok, working now. Thanks.
[Magisk] gloeyisk:
I'm glad it's properly working now. Just remind that when you deactivated the Find My Device it'll automatically showing Optimized for Play services (Android 9).
[Magisk] habylab:
Surely disabling Find my Device poses a security risk?
[Magisk] gloeyisk:
It's actually risky, but we're all know it's happened only in Pie :rolleyes:.
[Magisk] kancrutt:
I still have Google Play Services battery drain after optimezed it
[Magisk] gloeyisk:
What you did recently? Have you installed similar modules/tweaks/mods before? It's seems some tweaks a bit conflicted.
[Magisk] kancrutt:
no similar modules installed.

arrgh seeems like find my device automatically enabled after reboot
[Magisk] gloeyisk:
Running Pie? So yes, a little bit disturbing :(.
[Magisk] kancrutt:
yeah running NOS Pie on Chiron
[Magisk] gloeyisk:
Not sure it'll give you the best results...but all is depend on you, keep the module installed or even removed as well ;).
[Magisk] kgirlx:
Just a quick question.. Is this module same thing or newer than otonieru's Enable Doze for GMS Module Located here. https://xdaforums.com/apps/magisk/module-enable-doze-google-play-services-t3608783/page116
[Magisk] gloeyisk:
Let the users decided, I don't want to say that my module is "good" "awesome" "powerful" than the others. But, I've do some optimizations and reworked backup services for some devices running Android 9 (OOS to be precise and most Pixel's Stock ROMs). Firstly, if you interest then give it a try for couple of times. And report back when something went wrong ;).
[Magisk] Medyredy:
Do you think they can be used together at the same time? Or will they cause a malfunction?
[Magisk] gloeyisk:
Which one with "they" you mean?