Since I wasn't getting any responses on the magisk module thread, I'll just post it here.
Hi, im running stable xiaomi.eu 9.0.3.0 ROm wiht the latest "sysconfig patcher" version (GMS Doze+). And just to be clear, what I did was settings > installed apps >google play services, > battery > battery optimisation and then i select optimise, is that how to enable Doze on MIUI? So, everytime i reboot my device, battery optimisation will reset to not optimised. And strangely, when i select battery optimisation within google play services, the popup selection box, has Google Backup Transport heading? Is that normal with you? Sometimes I get Google Account Manager too, instead of Google Play Services.
The reason for all of this is I found out that Google Play Services consumed quite a bit of battery when my phone is awake and when it is on standby. So I am just wondering if anyone managed to get GMS Doze working on their devices?
I've been reaserching this too and I still have not found a fix. I'm going to install elementalx as my custom kernel and hopefully that will do the trick!
u guys could also try and use greenify donation package in order to hibernate system processes like google play store. that should do the trick
You'll have to root with SuperSu or Magisk, install Xposed and then Greenify + donation package. It's a massive hassle and you end up using more battery than just leaving Miui stock.
Oh and forget your banking apps working.
Theseusperse said:
You'll have to root with SuperSu or Magisk, install Xposed and then Greenify + donation package. It's a massive hassle and you end up using more battery than just leaving Miui stock.
Oh and forget your banking apps working.
Click to expand...
Click to collapse
no need for xposed to use greenify donation flashing magisk via TWRP is not that much of a hassle tbh... plus u have magisk hide, so no issues with banking apps ive been rooted basically ever since i started with android phones back in 2011 on gingerbread and in all that time i have had exactly one single instance of an app misbehaving due to root. switched from supersu to magisk and voila, problem solved...
jbmc83 said:
no need for xposed to use greenify donation flashing magisk via TWRP is not that much of a hassle tbh... plus u have magisk hide, so no issues with banking apps ive been rooted basically ever since i started with android phones back in 2011 on gingerbread and in all that time i have had exactly one single instance of an app misbehaving due to root. switched from supersu to magisk and voila, problem solved...
Click to expand...
Click to collapse
i think you don't understand what OP is asking, he doesn't want to just Greenify apps, anyone can do that without Magisk, but he wants to Greenify (sleep) Google background stuff like Google Services which requires Xposed, and Xposed isn't compatible with Magisk hide, so your banking (and other sensitive apps) wont work. I've done it a million times now on my Xiaomi, it's the only way. Forget NFC because it wont work after you do this (not that the Mi Max has NFC anyway)
Theseusperse said:
i think you don't understand what OP is asking, he doesn't want to just Greenify apps, anyone can do that without Magisk, but he wants to Greenify (sleep) Google background stuff like Google Services which requires Xposed, and Xposed isn't compatible with Magisk hide, so your banking (and other sensitive apps) wont work. I've done it a million times now on my Xiaomi, it's the only way. Forget NFC because it wont work after you do this (not that the Mi Max has NFC anyway)
Click to expand...
Click to collapse
aaaah i had no idea that xposed doesnt work in combination with magisk hide!
question though: why hibernate google processes in the first place? never had battery drainage problems with them...
Sent from my Xiaomi Mi Max 2 (Oxygen) using Tapatalk
I use Magisk module "Enable Doze for GMS Magisk Module" to enable dozing for Google Play Services (i.e. to be able to set to "Optimized" under Doze whitelist). Works fine.
The solution that worked with me 100% ,Mi max 1:
1-Install titanium backup and freeze this app:
"Battery and performance"
2-You need also to download sysconfig patcher magisk module in order to enable doze for google play servicesoptional)
https://forum.xda-developers.com/ap...ig-patcher-t3668435/post77502727#post77502727
Good luck
leprince2007 said:
The solution that worked with me 100% ,Mi max 1:
1-Install titanium backup and freeze this app:
"Battery and performance"
2-You need also to download sysconfig patcher magisk module in order to enable doze for google play servicesoptional)
https://forum.xda-developers.com/ap...ig-patcher-t3668435/post77502727#post77502727
Good luck
Click to expand...
Click to collapse
Freeze Battery and Performance ? But that would disable the feature to control Doze whitelist
hyborian said:
Freeze Battery and Performance ? But that would disable the feature to control Doze whitelist
Click to expand...
Click to collapse
Install greenify +xposed then make all apps "optimized" in optimization list
Related
Recently, I installed the Greenify *ROOT* apk, which means i would be able to use full donation package functions.
While features that require only doation package work great, I cannot use the Xposed modules things.
Each time I try to activate one of those, the activate module interface appears, asking me to activate the module and reboot. The problem is that I have already activated the module and rebooted but the prompt keeps appearing, preventing me from using the Xposed module feature of Greenify.
I have updated my SU binary and installed Greenify as a system app but no use.
Any help?
I'm using OmniROM 5.0 Unofficial ROM on Galaxy S2.
Silvery Caster said:
Recently, I installed the Greenify *ROOT* apk, which means i would be able to use full donation package functions.
While features that require only doation package work great, I cannot use the Xposed modules things.
Each time I try to activate one of those, the activate module interface appears, asking me to activate the module and reboot. The problem is that I have already activated the module and rebooted but the prompt keeps appearing, preventing me from using the Xposed module feature of Greenify.
I have updated my SU binary and installed Greenify as a system app but no use.
Any help?
I'm using OmniROM 5.0 Unofficial ROM on Galaxy S2.
Click to expand...
Click to collapse
This is because only the Greenify Beta works with XPosed for Lollipop.
Uninstall Greenify, you can keep the donation package installed.
Go here to become a tester: https://play.google.com/apps/testing/com.oasisfeng.greenify
Wait like 5 minutes then install Greenify.
Activate the module, reboot, enjoy
I got this
There may be several reasons:
The app you’re looking for doesn't exist
or
the app developer is not currently running a test
or
you are not eligible to participate in the testing program.
If you received the link to this page from someone, we recommend you contact them for more information.
???
What now?
Is this the greenify don pack?
I'm on Ressurection Remix Mod, which comes with Magisk installed by default. It was working just fine before, but recently I've noticed it may have caused issues with battery drain. So I decided to remove Magisk - I ran magisk-uninstaller, which removed Magisk itself but the MagiskManager stayed. As I don't have su/root now I can't use Titanium Backup to remove it.
I was under the impression, that magisk-uninstaller should remove the manager as well.
How should I remove the manager altogether?
.wojtek said:
I'm on Ressurection Remix Mod, which comes with Magisk installed by default. It was working just fine before, but recently I've noticed it may have caused issues with battery drain. So I decided to remove Magisk - I ran magisk-uninstaller, which removed Magisk itself but the MagiskManager stayed. As I don't have su/root now I can't use Titanium Backup to remove it.
I was under the impression, that magisk-uninstaller should remove the manager as well.
How should I remove the manager altogether?
Click to expand...
Click to collapse
If the ROM creator has included the Manager as a system app (which is just stupid), the uninstall script can't remove it... You'll have to do it manually, either by re-rooting or from recovery.
I'm not sure if it's included as system app (seems so, can't uninstall, only 'disable'). I've tried running 'full uninstall' from Magisk Manager witout success.
Can I install SuperSU as root to remove Magisk Manager? Or will there be any conflict?
.wojtek said:
I'm not sure if it's included as system app (seems so, can't uninstall, only 'disable'). I've tried running 'full uninstall' from Magisk Manager witout success.
Can I install SuperSU as root to remove Magisk Manager? Or will there be any conflict?
Click to expand...
Click to collapse
If you only have the option to disable the app, it's installed as a system app (why, oh why :crying. There's nothing the Manager or Magisk uninstall zip can do about that.
If you've uninstalled Magisk otherwise (you've run the uninstall zip), there shouldn't be any conflict with another root solution. The Manager is only that, a manager for root and modules.
So, installing SuperSu and then uninstalling Manager with TitaniumBackup will eliminate it completely - correct?
Bonus questions:
* why is it a bad idea to install manager as a system app (vide your comment)?
* is it possible to only install MagiskSU (and have the superuser/su/root) without whole Magisk (I don't need modules and it seems that Magisk Manager is draining my battery - lot's of screen wakelock - totalling in 1h30m in 2h45m total time according to wakelock detector, however screen seems to be off)
Magisk is a systemless interface... Having any part of it installed to /system just grinds my gears. :laugh:
But, it's not only that, of course. The feature to hide the Manager is completely nonfunctional if the Manager is a system app and there are possibly other issues... It's perfectly possible that your issue with battery draining is caused by it. I don't even see the Manager on any battery usage list, and I've been using my device quite heavy today.
If you don't want modules and that part of Magisk, you can enable Core Only Mode, but you'll still needed the Manager for managing superuser requests.
Well, what you say about /system and being system-less totally makes sense now!
As for battery drain - calculation done by Android are weird quite often, but on the clean system it popped right at the top with the screen wakelock…
As for "Core mode" - I'm wondering what was causing the wakelocks - unfortunately I don't have currently screenshot with MagiskManager extended in WLD, which would show the information, but there were only 5 screen wakelocks. At any rate - given that the Manager itself was listed as the cause for the wakelocks (https://www.dropbox.com/s/aj0e6hj77cfwyw6/WLD_magisk.png?dl=0) I'm kinda reluctant to install it again.
It's quite possible that there is different culprit that drains my battery but I'm currently running quite bare-bone (even no gapps and I'm using NewPipe instead of YouTube application )
All I can say is that the Manager causing that kind of wakelock is very wrong. Possibly caused by having it installed as a system app (wild guess). I'd try with removing the system installed Manager and try again with a proper, clean install.
Went with superSu for the time being and will observer how it goes.
Oh fun:
https://www.dropbox.com/s/6aidw5czlrzpo93/WLD_supersu.png?dl=0
I'm... confused...
You could have some app spamming su requests. Check the superuser requests log.
After I posted I had similar though and the registry was spammed with ForceDoze every couple of minutes... so I guess instead of helping it was doing disservice Will see how it goes in the long run.
removed
My Experience, A standalone Install did not pass "SafetyNet" checks, even the basic integrity check failed.
I just installed it from Magisk as a module but again the same, both the checks (basic and cts) are failing., Just wanted to post this reply to see if somebody has a suggestion so that I can also follow.
Update:
I can conclude that Xposed from magisk is the best choice right now.
Installing Xposed in anyway makes this thing called "safetyNet" fail, and you cannot use apps like Netflix and Google pay.
If you install Xposed as standalone, you have to uninstall xposed to set the safetyNet back to true. (I tried that disabling from 'xposed installer' app isn't helping)
But if you install Xposed via Magisk, it is as good as a module and you can disable Xposed whenever needed from the modules menu of magisk and reboot to use the apps mentioned above..
To put it simple, if a friend were to ask me to send money via Google pay, it is better to ask for 2 minutes to disable Xposed and reboot via magisk.. instead of saying that i have Xposed installed and i cant use the Google pay app.
sagar2208 said:
My Experience, A standalone Install did not pass "SafetyNet" checks, even the basic integrity check failed.
I just installed it from Magisk as a module but again the same, both the checks (basic and cts) are failing., Just wanted to post this reply to see if somebody has a suggestion so that I can also follow.
Update:
I can conclude that Xposed from magisk is the best choice right now.
Installing Xposed in anyway makes this thing called "safetyNet" fail, and you cannot use apps like Netflix and Google pay.
If you install Xposed as standalone, you have to uninstall xposed to set the safetyNet back to true. (I tried that disabling from 'xposed installer' app isn't helping)
But if you install Xposed via Magisk, it is as good as a module and you can disable Xposed whenever needed from the modules menu of magisk and reboot to use the apps mentioned above..
To put it simple, if a friend were to ask me to send money via Google pay, it is better to ask for 2 minutes to disable Xposed and reboot via magisk.. instead of saying that i have Xposed installed and i cant use the Google pay app.
Click to expand...
Click to collapse
Way to go[emoji41][emoji1419]
Sent from my SM-N920T using Tapatalk
2 question:
does actually by rooting Pixel 5 will make loose Google Pay functionality ?
does Bank apps will be affected from root here ?
Whitch methods to 100% make working things above ?
Hi!
For 1) use safetynet fix - https://forum.xda-developers.com/t/magisk-module-universal-safetynet-fix-1-1-0.4217823/
For 2) use magisk hide feature
This is how it works for me without any issues
somin.n said:
Hi!
For 1) use safetynet fix - https://forum.xda-developers.com/t/magisk-module-universal-safetynet-fix-1-1-0.4217823/
For 2) use magisk hide feature
This is how it works for me without any issues
Click to expand...
Click to collapse
can you tell me:
how to force an app in Full Screen ? I can't see any option to make this job.
the best app here to make camera ring notifications ?
Just an fyi, some apps can still detect root. I have root via magisk, safety net fix, magisk hide for apps needing it with safety net passing but Chase app, while it runs, certain features such as points, redemption etc fail with the message about root or malware devices.
wolfgart said:
can you tell me:
how to force an app in Full Screen ? I can't see any option to make this job.
the best app here to make camera ring notifications ?
Click to expand...
Click to collapse
Are you talking about the black bar that covers the camera hole in landscape mode? There's a new magisk module that fixes that.
Download the module.zip from here: https://github.com/logmd/N3O-No-Nonsense-Notch-Overlay/releases
Flash that with Magisk Manager and reboot.
Go to settings > system > developer options > scroll down to display cutout > select the Pixel 5 option
That's it, no more black bar
wolfgart said:
2 question:
does actually by rooting Pixel 5 will make loose Google Pay functionality ?
does Bank apps will be affected from root here ?
Whitch methods to 100% make working things above ?
Click to expand...
Click to collapse
I was shocked this worked so easily, but if yiu go into the terminal just issue this command:
Code:
chmod 440 /data/data/com.google.android.gms/databases/dg.db
```
For me Google pay immediately started working, don't really remember where I found this tip somewhere googling...lol so credit to unknown.
I've been successfully able to use GPay and other security/DRM sensitive apps with the folllowing:
Magisk 23001 with MagiskHide and Universal SafetyNet Fix 2.1.1
Magisk 23014 with DenyList and Universal SafetyNet Fix 2.2.0
Use MagiskHide/DenyList on all components of Google Play Services (com.google.android.gms) and Google Play Store (com.android.vending), as well as GPay, banking apps, and DRM sensitive apps such as Netflix, Hulu, Prime Video, etc.
Hi
I have a problem in the clubhouse app that login not complete on any rooted device ... no problem on Non Root devices
I hide magisk app add clubhouse to magisk hide and EDExposed blacklist but still not working.
also, the same issue is in Mcdonald's app.
any idea how to solve these issues
Note: My Bank app works after adding it to magisk hide and hide magisk app, which means i did it right.
thanks
anyone help me please
Have you tried removing the Magisk app? That's a popular way of detecting Magisk, even with a repackaged app. It's practically impossible to completely hide it on anything below Android 11, and even then it's necessary for the app to target A11 for full hiding to work (which won't happen until Google enforces that, maybe later this year).
Of course, Xposed/EdXposed/LSPosed tools can probably be used to hide the app fully...
Didgeridoohan said:
Have you tried removing the Magisk app? That's a popular way of detecting Magisk, even with a repackaged app. It's practically impossible to completely hide it on anything below Android 11, and even then it's necessary for the app to target A11 for full hiding to work (which won't happen until Google enforces that, maybe later this year).
Of course, Xposed/EdXposed/LSPosed tools can probably be used to hide the app fully...
Click to expand...
Click to collapse
thanks for your reply
if i removed magisk .. everything that use root will stop and i don't want that
also can you please tell me how to hide the app fully using EDXposed
I did not say "remove Magisk"... I said "remove the Magisk app". Just uninstall the app and try and see if Clubhouse still triggers. If it works we know it's looking for the app and you'll have to either freeze/uninstall the Magisk app when using Clubhouse and then reinstall it again afterwards, or use one of the available isolation methods. I've got a few of those mentioned here, but I'm sure you can find more if you search (it's been covered a lot):
https://www.didgeridoohan.com/magisk/MagiskHide#hn_Isolation_apps
zamlkawy said:
Hi
I have a problem in the clubhouse app that login not complete on any rooted device ... no problem on Non Root devices
I hide magisk app add clubhouse to magisk hide and EDExposed blacklist but still not working.
also, the same issue is in Mcdonald's app.
any idea how to solve these issues
Note: My Bank app works after adding it to magisk hide and hide magisk app, which means i did it right.
thanks
Click to expand...
Click to collapse
for Mcdonald's try this
[MOD][XPOSED][4.1+] McRoot (McDonalds Global App)
McRoot McDonalds Global App security fix Remove checks of: root unacceptable apps unacceptable device properties (developer options etc) Note: The app requests SafetyNet pass! Use Magisk+Riru+Riru-Unshare etc Install notes: install apk...
forum.xda-developers.com
Hi. I also have Magisk installed on my device. I uninstalled Magisk app, tried logging into clubhouse again, but still the issue persists.
After receiving the missed call while trying to sign in, I get the notification, 'There was an error please try again'
Clearing the clubhouse app data, uninstalling and reinstalling the app again hasn't helped at all. I get the same issue.
I have Magisk 23.0 installed on my Oneplus5T running Android 10.