yashsingh1/xdaforums huggingface dataset:
[Magisk] otonieru:
Oops, sorry miss your mention,

Its "Disable Service" app by WangQi
[Magisk] ulxerker:
Thanks! ... what are your settings for Google Play Services in this app, please share a complete screenshot.
[Magisk] otonieru:
play services contain too many services, LoL, it took few scrollingshot to get it all
[Magisk] DaveedDB:
Damnnnnnnn
[Magisk] ulxerker:
Thanks, in addition you can also disable the analytics services without issues.
[Magisk] henryerdem:
I installed for miui9 but battery usage not change. Is there anything else I need to do then install module?
[Magisk] Will008:
I disabled the Services in the pic but I'm getting FCs with the playstore only when I click on "read more" on any app (to know more info about the tab). Do u have the same thing? Cause I wanna know if it's from a disabled Service or something else.
[Magisk] otonieru:
Mine opened fine. :silly:

What else is your active mod ?

But you can try enable the service one by one and check,

Each ROM can give different result i guess
[Magisk] otonieru:
By saying "didnt change"

How many percent is it ? The Play Services Usage ?
[Magisk] henryerdem:
%7
[Magisk] Will008:
It's fine now, I was on stock rom for two days and the room I liked had a GPS bug but now I'm back on it with no problems. Thanks
[Magisk] otonieru:
Just got Pixel 2 XL myself

And happy to announce, it work fine in this phone :)
[Magisk] joedajoester:
I have a pixel 2 XL as well. I haven't used this magisk module yet but I did finish yesterday with 7hr of screen on time. Not sure if I need it honestly. In total, my phone lost 8% from idle drain and 92% from screen on. I might try it though because it's always nice to get more battery
[Magisk] Prattham:
Is there a normal oreo version without +?
[Magisk] otonieru:
Its here :

https://xdaforums.com/apps/magisk/module-enable-doze-google-play-services-t3608783/post74623269
[Magisk] Prattham:
Not sure i understood but how do i install it?
[Magisk] ulxerker:
Re-pack it as described and flash it in TWRP.
[Magisk] Prattham:
Can you please elaborate a bit :)
[Magisk] otonieru:
Just extract the zip,

And copy it to /system/etc/sysconfig/

set 644 permissions,

Or as describe above, put it inside the .zip for magisk and flash it as magisk module
[Magisk] otonieru:
crappy connection, double posted, sorry
[Magisk] Prattham:
I decide to go with + version

In the first post zip for oreo I have to flash in twrp right
[Magisk] jandia7381:
Yes, i'm using that too
[Magisk] jj71787:
I was having trouble with modules so I uninstalled and reinstalled and only 1 module started working and this was not 1 of them. Is there a bug in magisk? I'm not sure why modules are not working.
[Magisk] Sax_93:
Hi, sorry for asking this but i'm a niub.

What serve this file google.xml and what are the benefit in Oreo?

Then i have tried to flash via twrp oreo_doze but i can't see the module in magisk and playservice is not optimizable. any help? (i use apollo lite mad 8.1.0)

thanks a lot for this work. :)
[Magisk] mattie_49:
Sorry but can't tell latest version on op. Verizon HTC 10 running Viper. Unlocked s-off?
[Magisk] DaveedDB:
Magisk or SuperSu ?
[Magisk] mattie_49:
Magisk
[Magisk] DaveedDB:
Well the 2 that has magisk in the title ,you choice if plus or standard on my 10 the plus version sends almost everything into hibernation lol which is good and bad whatsapp msgs weren't coming through I recommend standard but good thing is you can try both and see which suits your usage
[Magisk] mattie_49:
Thank you my friend. Makes much more sense now and module shows up. Thanks much for the quick reply. Rock on
[Magisk] mattie_49:
Very cool. The + puts em all to sleep. I bet it stops that google snooping bs. Asking me how I like places.
[Magisk] Sax_93:
Anyone can help me ? this is the post: #668 ...

The vr25 works but oreo module no...

And if i flash that module in magisk i receive. "this is not a module".

Image:

https://ibb.co/g0cbjw

https://ibb.co/hG0wjw
[Magisk] Sax_93:
Hey to use doze module on OREO we need to install before EnableDozeGMS+Magisk-by-VR25-Rev5.zip and later flash via twrp this OREO_EnableDozeGMS+_TWRP_by_otonieru.zip ?
[Magisk] ulxerker:
Nope, just flash OREO_EnableDozeGMS+_TWRP_by_otonieru.zip in TWRP.
[Magisk] Sax_93:
I've tried but doesn't work.

https://ibb.co/g0cbjw

https://ibb.co/hG0wjw

There is any error in twrp during flash ? or you get a different write during flash?

P.S.

sorry for my english i'm italian.
[Magisk] jandia7381:
Try redwolf
[Magisk] Sax_93:
can you explain more?

I don't understand what is redwolf :(
[Magisk] jandia7381:
https://xdaforums.com/redmi-note-3/development/recovery-red-wolf-recovery-project-t3633375/page84
[Magisk] Sax_93:
I can't use other TWRP, because that i have now is create by developers for this Rom that i have just now (Oreo 8.1 apollo lite)

Is the module compatible with magisk 15 or 14.5?

----------

If i use EnableDozeGMS+Magisk-by-VR25-Rev5.zip there are some problems for battery drain or other? because it works and i could set playservice optimize.
[Magisk] Daniel91z:
I flashed the oreo version in TWRP (im on 8.1 + FrancoKernel r65), but nothing the Google Play Services arent optimized.

Anyone else?
[Magisk] Sax_93:
Also me.

I've installed this module of VR25 "sysconfig patcher" that permit to optimize playservice on Oreo.
[Magisk] mitchdickson:
Install the file manually instead of flashing in recovery.
[Magisk] Sax_93:
what are the instruction to install the Oreo version "+" manually instead of flashing in recovery?
[Magisk] mitchdickson:
You just manually put the file in the same place as the zip would...
[Magisk] Sax_93:
yes but in the zip there are 2 folders, and where is the right place in the smartphone?
[Magisk] otonieru:
system/etc/sysconfig
[Magisk] Sax_93:
It works. Google play service is optimized.

I have keeped the the in the zip system/etc/sysconfig and replaced in system/etc/sysconfig using root explorer. :good:

But these 3 are optimizable or not? https://ibb.co/hTaLUw
[Magisk] otonieru:
Cell broadcast is unnecessary in my country, so i disabled it all together using TiBu

Do not optimise "Download". It will interupt your downloading process.

As for shell, i dont have it overhere

What ROM n Device is that ?
[Magisk] Sax_93:
Is this:

https://xdaforums.com/android/development/rom-official-mados-vernee-apollo-lite-x-t3725291

---------

I have uninstalled cell broadcast, while i don't know what serve.
[Magisk] geokilla:
I noticed I'm still missing some WhatsApp messages and calls. As soon as I turned on my screen and opened WhatsApp, all my messages downloaded. Could it still be dozing off too aggressively?
[Magisk] ulxerker:
Do you use Forcedoze or Naptime or any other doze app? If so, get rid of it. Also, don't battery optimize WhatsApp in battery settings.
[Magisk] jlb1959.01:
I use naptime(have for years) on current crdroid 8.1 and have no problems at all,yes don't optimize WhatsApp,but I do believe on many ROM using doze effects WhatsApp,the questions come up on crdroid many times.
[Magisk] otonieru:
Even on my pixel 2 with a pretty much barebone android ROM, whatsapp notif is oftenly delayed if doze applied. So i always whitelist whatsapp from doze.
[Magisk] geokilla:
It's already not optimized. I don't use any apps to force doze or anything.
[Magisk] jlb1959.01:
There's 3,4 different forum asking about your same issue,it happens on N as well as O..
[Magisk] anujyadava:
I am using OP5 with Oreo rom and replaced the google.xml file in system/etc/sysconfig and with all permisssion and rebooted.i extracted the google.xml from the file attached in the OP starting with Oreo (+ version).

How do I check whether Google play services are optimised or not?
[Magisk] ulxerker:
When Play Services appear in the battery stats tap on them, on the bottom you will see if it says "battery optimized" or not.
[Magisk] anujyadava:
Yes it shows that 'optimising battery use'
[Magisk] pidocchio:
It doesn't work...

Open up BBS, you'll see under alarms that gms trigger an alarm more than 1 time every minute :(

With nougat and this mod installed it was 30 times in an hour, half of what it is now.
[Magisk] otonieru:
That alarms might have something to do with your activities that using GMS itself,

Mine only triggered 15 times in hour

Pixel 2 Xl - 8.1
[Magisk] pidocchio:
OP5 with stock OOS Nougat and this mod: 30 alarms in a hour, 0.5%/h idle drain.

OP5 with stock OOS Oreo and this mod: 60-80 alarms in a hour, 1.5%h idle drain.

Same apps installed, same settings, same everything, you see something is wrong.

Moreover in oxygen os we can't see system apps in the battery optimization list, so we aren't sure that play services is "optimized" or not.

This is why I said that it doesn't work, maybe it's a oxygen os problem.
[Magisk] Sinaptik:
I'm using an OP5 with Oreo, too.

Google play services aren't shown, you're right, on battery optimized apps list.

But there's a way to check whether it's optimized, go to battery status then click on Google play services, bottom line is the battery optimization status.
[Magisk] Bob823:
A comparison between OOS Oreo with and without the mod would actually make much more sense. Have you tested the amount of alarms without the mod?
[Magisk] pidocchio:
Unfortunately this doesn't respect the doze setting.

For example, I excluded WhatsApp from the optimization and it is now "Not Optimized" in the list but still is "Optimizing battery use" under its details.

Try not using this mod and check Google Play Services again, you'll see it is optimized anyway. I think that text is just cosmetic and doesn't reflect any settings.

It's actually the same, it seems that this mod simply doesn't work with this combination.
[Magisk] otonieru:
Nah, the i think the OOS (or your system installation) is the problem,

Those very text match the optimisation status in my pixel 2 xl, i whitelist LINE, and it said "not optimised", and for Play Services, it say "Optimised" (see screenshot)

I start to hate oneplus when they try to add their own "force doze" option to developer setting back in OP3 time, and then continue with removing optimisation status for some system app :mad:
[Magisk] otonieru:
Btw, for your problem,

I would suggest you to download Brevent, spend some brevoil (in app) and use it AppOps to deny the "Keep Awake" permission of Google Play Services

If you want free option but more hassle,

Download Shizuku Manager and AppOpsX to do the exact same stuff
[Magisk] Iyiren:
can use this on 8.1?
[Magisk] jandia7381:
I'm using it on latest COS
[Magisk] otonieru:
Use OREO version, or do manual installation

It work on 8.1

Am on 8.1 myself
[Magisk] topbasework:
[MENTION=4066277]otonieru[/MENTION]

May i know r u use xposed to enable experiment feature in greenify?
[Magisk] otonieru:
No, am not,

My daily driver are both running oreo, which unfortunately, have no xposed support, yet.
[Magisk] topbasework:
I see.

Mean u use greenify without xposed.

Thanks for rply.
[Magisk] drugs_addicted:
Which one for Oreo 8.1?
[Magisk] gordonpn:
What? Are you serious?

In the exact message that YOU quoted, he says to use the OREO version.
[Magisk] takur69:
Magisk 15.2 stable work or no ?
[Magisk] ulxerker:
Yes, its working stable.
[Magisk] takur69:
thank you for the information :good:
[Magisk] drewski_1:
i flashed OREO version in TWRP. looks like it installed AOK, but not showing in Magisk Manager Modules list :confused:
[Magisk] otonieru:
Its normal,

TWRP version is not module,

I still need to create a module that can give user option which version to flash based on their android version.

Ss for now, TWRP version will serve you just fine. It wont break safety net or anything :)
[Magisk] drewski_1:
Thx, must have missed that in the OP
[Magisk] :
You're right, thanks for the tip ;)
[Magisk] pradhyu69:
Plz provide magisk module for oreo.

On xiaomi MiA1 due to a/b partition after oreo update somehow twrp not detecting partitions .
[Magisk] Prattham:
I'm on pixel 2 xl with January patch

I flashed oreo+ version within twrp

But in battery optimization it still shows play services and and it cannot be optimized

Any ideas?
[Magisk] farquea:
I got this to work easily but i still have obscene amount of Google Play Services wakeup triggers :(
[Magisk] mitchdickson:
Been covered repeatedly. Install the google.xml file manually.
[Magisk] angelus_kun:
My device canti boot after flashing oreo versión :( 8.1
[Magisk] Didgeridoohan:
Check "Module causing issues" here:

https://xdaforums.com/apps/magisk/guide-magisk-troubleshooting-t3641417
[Magisk] :
Can someone

ON OREO ONLY

share the original file please : /system/etc/sysconfig/google.xml

In order to rollback this mod on Oreo (I miss some notifications...)

Thanks !!!
[Magisk] 123SIT:
Here you go:

Original Oreo google.xml

https://www.dropbox.com/s/k7q3g0rx9uyumza/google.xml?dl=0

and I made the below Magisk module for myself but figured others might enjoy it :)

EnableGMSDoze for Oreo

https://www.dropbox.com/s/562drx7q1uenf57/EnableGMSDoze_Oreo_Magiskv15.zip?dl=0
[Magisk] Khotu:
I think that it doesn't work as it should. Yes of course it removes Google play services from whitelist but I think that it takes more battery than before. I have massive count of gcm reconnect wakelocks. I'm using amplify and greenify.
[Magisk] FPSUsername:
I have a problem with this module, clock seems to not work either. I missed my alarm today as it didn't went on. I now disabled its optimization, see if it will make a difference
[Magisk] otonieru:
You should try to trace the problem one by one,

Try using only amplify

Then only greenify

Then only this module

You can't know for sure if you use a lot of mod.

Especially, amplify. Wrong setup in that app, will cause more problem rather than solving it. That app is powerful but need to be used cautiously,

And most of amplify guide available around are outdated and wont really cope well with android N or O
[Magisk] otonieru:
Clock is already in optimisation list to begin with btw, see attached.
[Magisk] FPSUsername:
Yes, this is how I missed my alarm. I'll try to disable its optimization
[Magisk] FPSUsername:
Okay, it seems like this module completely blocks any alarm from the clock app. Unfortunately I'm forced to uninstall it. It didn't fix the issue when I disabled battery optimization for the clock app.
[Magisk] pndwal:
[Hi.

I was having this problem on my phone: Default Launcher won't stay default after reboot!

I finally found a forum suggestion that aggressive doze can cause this, disabled this Enable Doze Magisk module, and finally, no more problem!

Can this issue be sorted with play services dozed? Thanks, PW.]

Edit: think I spoke too soon, sorry. Problem did disappear for a couple of restarts when removed module, but returned. Further troubleshooting showed real problem was Microsoft Launcher (apparently doesn't like other launchers to be set as default). Removed this, reinstalled Enable Doze module, and now after a number of restarts to test, my preferred launcher sticks, so no problem with module after all. PW.
[Magisk] lazostat:
Should i download the module from magisk or download a zip in the 1st post?
[Magisk] jandia7381:
For me, i'm using the + zip. U must try which is the best for ur phone. Sorry if i not helping
[Magisk] redmi_3g:
Yeah..the more u want a battery life..the more problem will happen

Normal battery will be 4hours++ to 5hours++ sot..this good enough..dont push too hard..or ur phone will screwed up!

Get high cap battery..end of story;)
[Magisk] LinuxPanda:
If you are using magisk, install it from magisk manager as its the proper way to do it.

If not using magisk, download twrp zip from OP.
[Magisk] Neo0:
For me 2-3 hours SOT are normal (OP3, OB30) but my battery life wasn't the best since I started using this phone. In a way I'm used to it now
[Magisk] lazostat:
Can this module create problems on Viber notifications? It seems I can't receive them properly. Notifications appear after 4,5 hours despite the fact I open it regularly.
[Magisk] lazostat:
I downloaded yesterday but i still have wakelocks from google play services.. Is this normal?

Cant see this option.. I have OREO and Oneplus5.
[Magisk] lazostat:
Someone help me? I have over 1000 google play services wakelocks in 2 days. Does this module really work? Last updated September.
[Magisk] otonieru:
Having wakelock is : ALWAYS normal. No wakelock would mean the phone/system aint doing anything.

Its only abnormal if the wakelock is too extensive in certain period of time

Oneplus doesnt follow AOSP standard in placing the battery optimisation option for certain system app. You can blame them for that. :silly:

You need to go to Google Play Services app info instead, choose the battery option, scroll down, find "Battery Optimisation" option and see, if module is working. It should say "Optimising battery use"
[Magisk] otonieru:
1000 wakelocks only tell us half of the story,

The more important think is, how many percent of your battery eaten by Play Services ?

And, broke down that 1000 wakelocks you mentioned into more detail,

What wakelock is that specifically ? is it nlpcollector, eventlog, checkin, or ??

without details and data precision, we can't really help you.

Also, number of wakelocks can't used as main measurement, rather, how long does the phone wake up when idling ??
[Magisk] lazostat:
To sum up, I don't see any differences with this module installed.

Should I greenify google play services?
[Magisk] lazostat:
Some photos maybe can help? First photo is from google play services.
[Magisk] jelive:
May be alot of wakeups but very little battery use over the 2 days...fwiw I have about same play services use.
[Magisk] otonieru:
Your devices only awaken by play services for 5 minutes long in 2 days++ of standby,

And play services battery consumption level is bellow 1%

As far as i can see, nothing wrong with your play services.
[Magisk] rignfool:
You're seeing wake ups for the job scheduler... And more than likely... It's been delayed...

There isn't too much reason at this point with the job scheduler to put GMS into doze... If anything... It probably hurts battery with the way things wake up...

Now if we could clobber the alarms in GMS... That would be a feat
[Magisk] otonieru:
If you want to, alarms can be blocked using amplify.
[Magisk] jlb1959.01:
Google play @.06% is great...gcm is your Google cloud apps,cannot control gcm unless limited Google cloud apps.
[Magisk] lazostat:
I used debloater app. I have zero cloud programs. Inly google play services, google play store and google play games. I disabled magisk module and also advanced optimization. I have only done from developer options enabled now.

Don't know if this hurts the battery but I turned off usage access, background activity and modify system settings from google play services.
[Magisk] otonieru:
Its like what being said by everyone above.

You have no problem with your battery life. So you can hold back from modifying things that aint broken :silly:
[Magisk] senpoos:
The Oreo TWRP installation does not show up as an Magisk Module in the Magisk Manager. Is it normal?
[Magisk] otonieru:
It is. Oreo version havent made into magisk module yet.
[Magisk] smallKING81:
I have installed "OREO_EnableDozeGMS+_TWRP_by_otonieru.zip". At first everything was fine but after 7 hours of sleep the phone began to appear errors of various applications including Google Play Services. I have flashed uninstaller and everything became normal.

HTC U11, ROM Viper 2.1.0 (Oreo 8.0), kernel CleanSlate 3.7.10, magisk 15.3 (5.5.5).
[Magisk] Khotu:
Is there any possibility to affect doze on stock weather app or other "not optimised" apps? Not only google play services
[Magisk] matrixios01:
I would like to ask more file than to use. The rom I'm using it Nitrogen Os 8.1in Nexus 6p

Στάλθηκε από το Nexus 6P μου χρησιμοποιώντας Tapatalk
[Magisk] HiQual:
Given the mixed results previously posted I decided not to try this fix.

Instead I found success using the OREO built-in "data saver" toggle and no other tweaks with stock OREO ROM's.
[Magisk] lazostat:
You mean battery saver?

I try to install the module.zip (Oreo version) and says it's not a magisk module without installing it. Any solution?
[Magisk] otonieru:
Its been stated numerous times above that oreo version is not a magisk module. It install directly to your system, but wont break safety net.
[Magisk] demonoidmaster:
At this point people who just don't understand the difference between the zips I'd say you should rename the magisk version zip to include "Magisk only" and have the TWRP zip say "non-magisk module"

That way there's no excuse for anyone to say "halp ey flash'd de twrp verszion but no magisk module in Oreos"
[Magisk] RagingHarry:
Really? Shouldn't they just need to learn to read or search....

What is so complicated about the zips, there is exactly 1 for Oreo and the zip clearly states in the name Oreo, that makes Oreo options 1.
[Magisk] Aftab_khatri:
Please make magisk module if possible, thanks
[Magisk] lazostat:
Ok I installed it via twrp. How can I uninstall it?
[Magisk] otonieru:
If you actually read the main post. Uninstaller is always there, attached.
[Magisk] lazostat:
Ok, but still I can't optimize google play services. How can I see if this really works or not.
[Magisk] otonieru:
From the photo you posted sometimes ago. It showed that your play services is already optimised.

Also just like all other fellow member said, you have no problem with play services. It only using 0.6% of your battery.
[Magisk] lazostat:
With most wakelocks coming from google play services, I doubt the battery they drain is too low.
[Magisk] otonieru:
Again,

As mentioned by other fellow member as well. The amount of wakelock not always represent the true story.

It can wake for thousand time, yet only wake the phone for 1 minute, while in the meantime, other wakelock might only wake the phone 10 times, but keep it awake for 30 minutes.

You need to read the stats as a whole before trying to fix it. Else you might ends up fix unbroken stuff and make it broken instead.

And your play services only keep the phone awake for a minimum amount of time it can be neglected.
[Magisk] lazostat:
Can you tell me what drains my battery? I dont understand.. I think with nougat i had better battery SOT? I used debloater to uninstall most gapps and i dont have heavy drain apps like facebook, messenger or instagram..

https://imgur.com/a/kAsk8
[Magisk] Sinaptik:
You're on OOs?

Not so bad stats,I would say but may be improved, probably.

WiFi seems greedy, though.

Try, maybe, switching to 2.4 GHz frequencies.
[Magisk] otonieru:
You might want to turn off your wifi scanning. Or toggle it automatically using tasker.
[Magisk] otonieru:
Samsung weather should be in samsung.xml in the same sysconfig folder

IMS is volte service, dont doze that !
[Magisk] andybones:
Pure curiosity, why suggest Magisk?

I don't need systemless so I don't use Magisk currently so I just edited my.xml manually.

Appreciate you sharing this!
[Magisk] otonieru:
Because he said his s7 edge is on Magisk, LoL, so its better to maximize its function, also its easier to revert, since its only a module, he can simply toggle it off to test whether it give him good effect or not,

If you are not insystemless root, the direct mod is easier and good way to go of course :highfive:
[Magisk] andybones:
I guess I missed that part, Haha. My mistake, my friend.

Thanks again. :good:
[Magisk] cantenna:
great module, trying to get this to work on touch wiz, but googlep play service is not an availble option on touch wiz doze version
[Magisk] otonieru:
Am using it on Renovate 2.0 which absolutely a touchwiz, LoL

I thought you are on Renovate as well ? Seen you somewhere in S8 forum
[Magisk] cantenna:
yes, that's me :)

and this works for you? i cant found am option to select google play services as an app to sleep.
[Magisk] otonieru:
Yes, of course,

Its under Battery - Battery Usage - Optimise Battery Usage,

Scroll down until you find Google Play Services and toggle it ON

See my screenshot :
[Magisk] cantenna:
yup, found it. thanks :)

nice mod op :svetius: