This is a guide to implement universal Gms Doze in pie Roms
Note - this is a temperory fix
Process
- Install universal Gms doze module From Magisk manager
- reboot
- go to device admin tab under security in Settings and just disable find my device
- then go to apps and Notification > Advanced > special App access > battery optimisation > all apps
If google play services showing under apps then it is good to go
Note - as this is a temporary fix you have to disable find my device after every reboot.
@gautam said:
This is a guide to implement universal Gms Doze in pie Roms
Note - this is a temperory fix
Process
- Install universal Gms doze module From Magisk manager
- reboot
- go to device admin tab under security in Settings and just disable find my device
- then go to apps and Notification > Advanced > special App access > battery optimisation > all apps
If google play services showing under apps then it is good to go
Note - as this is a temporary fix you have to disable find my device after every reboot.
Click to expand...
Click to collapse
Why need gms doze module? Pie is already optimize.
People experience crashes after enabling doze in magisk.
If u want fix for google service drain then use agni kernel. There is option to enable.
Black_Stark said:
Why need gms doze module? Pie is already optimize.
People experience crashes after enabling doze in magisk.
If u want fix for google service drain then use agni kernel. There is option to enable.
Click to expand...
Click to collapse
I am just using it from many days - didn't experience any crash
cant enable the optimising option in the menu. it enters but it doesnt select, a fix for that ?
nevermind , i fixed it
darkdemoneyes said:
cant enable the optimising option in the menu. it enters but it doesnt select, a fix for that ?
nevermind , i fixed it
Click to expand...
Click to collapse
Follow the process it will
@gautam said:
Follow the process it will
Click to expand...
Click to collapse
I followed it doesn't set play services to optimise
我想试试效果
Related
I dunno what's wrong, but obviously my s health stopped working after rooting the phone using CF AUTO ROOT. Anyone having the same problem?
wm2001wm2001 said:
I dunno what's wrong, but obviously my s health stopped working after rooting the phone using CF AUTO ROOT. Anyone having the same problem?
Click to expand...
Click to collapse
You can install xpose framework, and install wanam > under security hacks > (enable) disable secure storage
if not work, go setting > application > s health > clear data
it can fix =)
xoo88 said:
You can install xpose framework, and install wanam > under security hacks > (enable) disable secure storage
if not work, go setting > application > s health > clear data
it can fix =)
Click to expand...
Click to collapse
Thank you for your fast and accurate reply... and that solve my problem instantly
Yeah!! you are welcome
many feature at wanam, you can play around with it =)
Dear Friends,
please look here.:
http://repo.xposed.info/module/ma.wanam.xshealth
This Module works fine with Note 4 and you must not change the secure Settings with build.prop
XSecureStorage module bypass the secure storage checks on SHealth and Private mode services, this will let you load the SHealth App with no hangs and activate Private mode on Rooted Samsung devices running Xposed framework.
Why we do that? because somehow if you are using Xposed framework on GalaxyS5 (and the newest Samsung flagships), Secure storage will fails to process and save data, which leads to a Sensor service hangs.
Click to expand...
Click to collapse
Install and activate the attached apk in Xposed Installer and S-Health works fine.
best regards
N9005 said:
Dear Friends,
please look here.:
http://repo.xposed.info/module/ma.wanam.xshealth
This Module works fine with Note 4 and you must not change the secure Settings with build.prop
Install and activate the attached apk in Xposed Installer and S-Health works fine.
best regards
Click to expand...
Click to collapse
i had same problem clear data didnt work and wanam was causing the phone to freeze and lag really badly so i unrooted it and tried to do factory reset but it wouldnt reset when i pressed erase everything nothing happened so i reset through recovery and it wouldnt restart after that it was stuck on samsung logo in the end i had to download and reflash stock rom anybody know why thats happened as i like the wanam features but dont want that heart in the mouth moment again if i try to root it agin...
Don't worry the steps is easy
1. new phone (after factory store or flash rom by odin)
2. root it
3. install xposed and wanam
4. enable it under wanam > security hacks > "disable secure storage"
5. clear data under setting > application manager > shealth
6. reboot, shealth will be work!
good luck
xoo88 said:
You can install xpose framework, and install wanam > under security hacks > (enable) disable secure storage
if not work, go setting > application > s health > clear data
it can fix =)
Click to expand...
Click to collapse
Awesome, thank you! I had the same issue and your solution fixed mine too!
xoo88 said:
You can install xpose framework, and install wanam > under security hacks > (enable) disable secure storage
if not work, go setting > application > s health > clear data
it can fix =)
Click to expand...
Click to collapse
I was having same problem u have to download free ROM Toolbox lite From play store then go to performance click on Build.prop editor then go down and click on ro.securestorage.support change True to False. And reboot then it will work perfect.
this was really quick thanks guys now i can start doing some exercise
s health working properly
Many people have been having a problem with the SystemUpdateService Wakelock from Google Play Services on their OnePlus One. On other custom roms people have been able to fix it by disabling Wakeup in Google play services in Privacy Guard. I tried that using appops using Xposed but the wakelock was still there even after disabling Wakeup to Google Play services.
Looking at how CM12 Nightlies fixed the issue I learned how to fix it on Oxygen OS.
Method 1 (Tasker)- credit Dimitris Psallidas
* Tasker and Root required
** tested and survives reboot
1. Create a profile based on "Event > System > Device Boot"
2. Add a "Run Shell" action with the command
"pm enable com.google.android.gms/.update.SystemUpdateService"
and tick the "Use Root" option
3. Add a "Run Shell" action with the command
"pm disable com.google.android.gms/.update.SystemUpdateService"
and tick the "Use Root" option
https://plus.google.com/112425488314892935797/posts/VqubRkcTpEE
Method 2 - credit Calkulin
This method fixes the problem at the source by flashing a zip file through your custom recovery. It will fix the wakelock until play services updates. Then you will have to flash a new updated zip. Find it here: http://forum.xda-developers.com/one...mod-google-play-services-update-wake-t3078082
Method 3
First, you need to download Disable Service from the Play Store, it requires root. Then under the System tab you need to go to Google Play Services and enable SystemUpdateService. That will fix your wakelock. You will notice that there is another SystemUpdateService under Google Services Framework, but leave that one disabled. -
This method is a Temporary Fix. You must enable that service again after a Reboot. OxygenOS disables it by default on boot which causes the wakelock.
http://forum.xda-developers.com/optimus-l9/general/carbonrom-wakelock-systemupdateservice-t3059218
Already posted it on the Ox OS thread.
jdtimothy said:
Does anyone no now to enable the service on boot with Tasker? I don't know if a terminal command or a script could be used to enable that service.
Click to expand...
Click to collapse
Yup. This was posted for CM back when it had the same wakelock: https://plus.google.com/112425488314892935797/posts/VqubRkcTpEE
Thanks, those methods work great for automatically taking care of the problem.
It's by far easier:
- Xposed
- Install "Wakelock Terminator" from the Play Store
- Search for the Play Services, filter the wakelock "SystemUpdateService"
kurtextrem said:
It's by far easier:
- Xposed
- Install "Wakelock Terminator" from the Play Store
- Search for the Play Services, filter the wakelock "SystemUpdateService"
Click to expand...
Click to collapse
Not working with oxygen os (5.0.2)
I did this Tasker fix on mine and holy crap what a difference. Back to similar battery life as when I was running stock 4.4.4.
denyo81 said:
Not working with oxygen os (5.0.2)
Click to expand...
Click to collapse
You need to download xposed for 5.0
Jgard said:
I did this Tasker fix on mine and holy crap what a difference. Back to similar battery life as when I was running stock 4.4.4.
Click to expand...
Click to collapse
Can you guide me configuring tasker ? I never used it actually. Please tell me a step by step procedure as I am a total noob in this.
I pretty much haven't ever gotten Tasker to work because it requires a lot of effort. But if you follow the OP, it's really easy to figure out. (this is my way of saying I barely know what I'm doing and don't feel qualified to explain how to do it)
jdtimothy said:
Many people have been having a problem with the SystemUpdateService Wakelock from Google Play Services on their OnePlus One. On other custom roms people have been able to fix it by disabling Wakeup in Google play services in Privacy Guard. I tried that using appops using Xposed but the wakelock was still there even after disabling Wakeup to Google Play services.
Looking at how CM12 Nightlies fixed the issue I learned how to fix it on Oxygen OS.
Method 1 (Tasker)- credit Dimitris Psallidas
* Tasker and Root required
** tested and survives reboot
1. Create a profile based on "Event > System > Device Boot"
2. Add a "Run Shell" action with the command
"pm enable com.google.android.gms/.update.SystemUpdateService"
and tick the "Use Root" option
3. Add a "Run Shell" action with the command
"pm disable com.google.android.gms/.update.SystemUpdateService"
and tick the "Use Root" option
https://plus.google.com/112425488314892935797/posts/VqubRkcTpEE
Method 2
First, you need to download Disable Service from the Play Store, it requires root. Then under the System tab you need to go to Google Play Services and enable SystemUpdateService. That will fix your wakelock. You will notice that there is another SystemUpdateService under Google Services Framework, but leave that one disabled. -
This method is a Temporary Fix. You must enable that service again after a Reboot. OxygenOS disables it by default on boot which causes the wakelock.
Click to expand...
Click to collapse
Works like a charm thank you very much
HUGE THUMBS UP! This totally fixed my battery issue! Thank you so much!!!
Sent from my A0001 using XDA Premium HD app
Any fix without root. I can't root for work apps on phone.
What a difference this makes... Loving oxygen with xposed... It does everything I want and rock solid stable. Thanks for this fix!
A.VOID said:
Any fix without root. I can't root for work apps on phone.
Click to expand...
Click to collapse
This will work for you but you need a custom recovery to flash
http://forum.xda-developers.com/one...mod-google-play-services-update-wake-t3078082
Calkulin said:
This will work for you but you need a custom recovery to flash
http://forum.xda-developers.com/one...mod-google-play-services-update-wake-t3078082
Click to expand...
Click to collapse
Was there another non-root solution? The two methods in the op speak to root.
I have twrp recovery installed now
I haven't seen any that don't require root but then again, I didn't really look since I fixed the source of the issue the first time I saw it on my phone
Calkulin said:
I haven't seen any that don't require root but then again, I didn't really look since I fixed the source of the issue the first time I saw it on my phone
Click to expand...
Click to collapse
I posted your fix as a method on the original post. Thanks for your contribution.
works great thanks
Hey, so just wanted to ask if anubody knows any apps/xposed modules to revoke permissions and such? Purenexus had this implemented, but since they dont offer cmte version anymore im using du now and really miss this feature. Mainly i just turn off permission for start at boot and prevent from sleeping, but every app i tried doesnt really work. Any suggestions? Thanks
go to settings > device > apps > tap gear icon or the three dots > app permissions
or if it's a permission you can't edit there... XPrivacy
Hi.
In Settings -> Battery -> Battery Optimization. Does someone know some other way to disable battery optimizing for all apps, other than just manually going through them all.
I found command to disable doze "dumpsys deviceidle disable". But now I need help to make it run at boot. I tried to put it in init.d but it runs too early to work.
Hi,
I've switched to xiaomi.eu rom and installed Magisk. Unfortunately Google Pay doesn't work anymore. Same thing for one of my banking app that doesn't allow me to use fingerprint to authenticate :crying:
Everything worked fine with the stock rom and locked bootloader.
I tried to use Magisk hide for Google Pay and my banking app with no success.
Also tried "SafetyPatch" Magisk module and it still fails.
SafetyNet test in Magisk is successful so I have no idea what can be the problem ?
I think there is a solution. I found it at Polish forum. I translated it with google. Should be good enough to know what to do. I didn't test it yet. I need to wait for BL unlock.
We install Magisk - Magisk Canary (.apk file). With Magisk Manager, we download the latest .zip Magiska and install it in TWRP.
Go to Magisk> Magisk Hide and select Google Pay , Google Play Services and other banking applications .
In the Google Pay app settings, we're cleaning data and cache (Settings -> Applications -> Management -> Google Pay).
Go to TWRP -> Advanced (Advanced) -> File manager .
Go to file: /data/data/com.google.android.gms/databases/dg.db
We click chmod , enter 440 and confirm.
We run the system (reboot system) and configure Google Pay . After correct addition of the card and verification by the bank, we should be able to pay with NFC.
Thanks a lot! It worked for me too on my Mi9 with xiaomi.eu !
pok5 said:
I think there is a solution. I found it at Polish forum. I translated it with google. Should be good enough to know what to do. I didn't test it yet. I need to wait for BL unlock.
We install Magisk - Magisk Canary (.apk file). With Magisk Manager, we download the latest .zip Magiska and install it in TWRP.
Go to Magisk> Magisk Hide and select Google Pay , Google Play Services and other banking applications .
In the Google Pay app settings, we're cleaning data and cache (Settings -> Applications -> Management -> Google Pay).
Go to TWRP -> Advanced (Advanced) -> File manager .
Go to file: /data/data/com.google.android.gms/databases/dg.db
We click chmod , enter 440 and confirm.
We run the system (reboot system) and configure Google Pay . After correct addition of the card and verification by the bank, we should be able to pay with NFC.
Click to expand...
Click to collapse
pok5 said:
I think there is a solution. I found it at Polish forum. I translated it with google. Should be good enough to know what to do. I didn't test it yet. I need to wait for BL unlock.
We install Magisk - Magisk Canary (.apk file). With Magisk Manager, we download the latest .zip Magiska and install it in TWRP.
Go to Magisk> Magisk Hide and select Google Pay , Google Play Services and other banking applications .
In the Google Pay app settings, we're cleaning data and cache (Settings -> Applications -> Management -> Google Pay).
Go to TWRP -> Advanced (Advanced) -> File manager .
Go to file: /data/data/com.google.android.gms/databases/dg.db
We click chmod , enter 440 and confirm.
We run the system (reboot system) and configure Google Pay . After correct addition of the card and verification by the bank, we should be able to pay with NFC.
Click to expand...
Click to collapse
Thanks I will give it a try.
pok5 said:
I think there is a solution. I found it at Polish forum.
Click to expand...
Click to collapse
I am from Poland and today or tomorrow I will be doing root, 7 days have passed. On which Polish forum did you find these tips? I will read and check on Saturday.
rogeros123 said:
I am from Poland and today or tomorrow I will be doing root, 7 days have passed. On which Polish forum did you find these tips? I will read and check on Saturday.
Click to expand...
Click to collapse
MIUIPolska. It was actually on their main page.
pok5 said:
MIUIPolska. It was actually on their main page.
Click to expand...
Click to collapse
K20 / Mi9T. I confirm, the method works. After the root and installation Miui EU I paid today in the store via google pay. Everything was OK
Roger
https://miuipolska.pl/forum/topic/45746-naprawianie-niedziałającego-google-pay-poradnik-2019/
Here is the tutorial and 4 methods to fix this issue. If Google Translate doens't work, I can translate it for you. Btw. those methods are from xda too (https://forum.xda-developers.com/apps/magisk/magisk-google-pay-gms-17-1-22-pie-t3929950).
Google Pay doens't work after unlocking bootloader on Global too.
Is there an solution to enable Google pay without unlocking and rooting the device? Doesn't seem to work while I tested yesterday.
Tyerlo said:
Is there an solution to enable Google pay without unlocking and rooting the device? Doesn't seem to work while I tested yesterday.
Click to expand...
Click to collapse
Did You change wallet type in settings for "Use HCE"? It won't work without that.
Huge thanks guys Google Pay is now working :good:
Unfortunately my banking application still doesn't allow me to authenticate with my fingerprint.
Tyerlo said:
Is there an solution to enable Google pay without unlocking and rooting the device? Doesn't seem to work while I tested yesterday.
Click to expand...
Click to collapse
Like the other post said you have to enable HCE Wallet. And also have a look if Google Pay has the right permissions like using NFC. After I did all that it started to work like a charm.
is Google Pay still working with this fix ?
I know that even if it works for some time it will stop working after few days ...
Cheers,
It's still working for me.
How does this issue show itself?
I've been using the xiaomi.eu weekly with Magisk and MagiskHide Props Config add on, and was able to activate Google Pay (haven't used it yet, that's why I'm asking), and use my banking apps.
panni said:
How does this issue show itself?
I've been using the xiaomi.eu weekly with Magisk and MagiskHide Props Config add on, and was able to activate Google Pay (haven't used it yet, that's why I'm asking), and use my banking apps.
Click to expand...
Click to collapse
Since you use root, you are the one to ask for, is really that fingerprint scanner works slow?. Textually:
Sir_gpm said:
Since you use root, you are the one to ask for, is really that fingerprint scanner works slow?. Textually:
Click to expand...
Click to collapse
Not a single issue over here after rooting. Your mileage may vary.
Any problem w the fingerprint scanner for bank apps?
Any updates on this solution? did it really work?
Something went wrong
I followed the procedure. Doesn't complain about being rooted but always pops that something when wrong went I try to setup my card