[MAGISK 16][Battery Saver][6.0+] ENABLE DOZE on Google Play Services - Magisk

Hi guys,
I actually made this module for my personal own use, but who knows, someone here might find it useful as well.
PIE & Magisk v19 Compatible Update
https://drive.google.com/file/d/1-Nw6xHIhOPz06j4FqD-geAnMCz2NzPKX/view?usp=drivesdk
UPDATE NOTES :
OOS Nougat & Oreo User might not be able to find system app on Battery Optimisation list, you can work around this by using 3rd party app like Greenify or Naptime to open Doze Whitelist, you will see Google Play Services already listed as "Optimised App". Or go to App Info from setting, choose "Battery" and scroll down to "Battery Optimisation" - if the module work, it should written "Optimising Battery Use"
OREO User, PLEASE USE OREO version. v6 Update is already in the Magisk Repo.
BACKGROUND :
I always find that Google Play Services is way too aggresive in doing its activities in the background. And its no secret that this main services from google is oftenly one of the main culprit for the sub par battery performance on most stock or even custom ROM across devices.
THE IDEA & THE BARRIER :
Starting in Android 6.0, Google has introduced one of my favorite features in battery saving : DOZE (quick read about this Here), it help us to make apps go into a "shallow" hibernation state. Where it use less energy but retain it's functionality.
Thing is, this feature is NOT applicable for Google Play Services. Thus, it cant help you to save the battery from being eaten by Google Play Services. And this is not for no reason of course (read SIDE EFFECT/NOTE section bellow for further explanation)
THE SOLUTION :
Quick study (if you are interested, one of the discussion can be found Here) reveal that Google put simple configuration is /system/etc/sysconfig/google.xml that WHITELISTING Google Play Services from the DOZE Mechanism.
So to make DOZE able to work on it, we simply need to remove the whitelisting.
This is WHAT THIS MODULE DO - SYSTEMLESSLY (obviously)
By installing this module, you can move Google Play Services from the "App Not Optimised" list to "App Optimised" which mean DOZE mechanism will work its magic on Google Play Services, thus should saving you more juices/batt throughout the day.
THE SIDE EFFECT/NOTE :
Saving energy never come without side effect. Same goes with this method.
By enabling Doze on Google Play Services, it will theoritically delay/pause some it's services. Most noticeable might be the GCM (cloud messaging) services.
App that use this services might experience delay in notification when Doze already kick in.
Although, in my experience (i use this mod on all of my three devices) my notif for LINE, WhatsApp and Telegram (my main comm app) is never been delayed. ( I put all these apps in my whitelist btw)
The one i noticed had slight delay is GMail. But i check my mail regularly throughout the day, so i need no real time notif for that.
As for all other main services like Accounts, Alarm, Location and elses, i never have any issue with them when i got this module active. GPS work fine, Alarm ringing, Account Syncing normally.
HOW TO INSTALL :
SO if after reading all the PROs and the probable CONs above , you still interested in trying this mod,
Simply dowmload it from the attachment, and install it through your MAGISK MANAGER. And reboot.
After reboot, go to "Setting" - "Battery" - tap the tri-dot menu on the top right and choose "Battery Optimisation"
Choose "All Apps" and switch ON the toggle for Google Play Services (in most ROM, it will be automatically switched to ON once this mod is installed)
ENJOY THEN ! :highfive:
Addendum :
WHAT IS THE DIFFERENCE between (+) and standard module ?
• Plus (+) version modified by @VR25 has an extra feature, which removing Google Play Services from Background Data Access Whitelisting. Thus enabling data saver or restricting background data will impact Google Play Services as well. This might save you extra juice, but BEWARE for interrupted background data activities.
Choose the one suit you most.
COMPATIBILITY :
This Mod should compatible with any Marshmallow and Nougat ROM (Official & Custom) that has Google Play Services Installed on it,
Tested on :
OOS, LOS, CM13, MIUI, EMUI, and TouchWiz
If you found that this module causing issue for your set up, simply uninstall it from magisk manager, or use the TWRP Uninstaller.
Screenshot of expected level of Google Play Services Battery Usage :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Simple and work fine with RR rom, Thanks :highfive:
Sent from my Nexus 6 using XDA Labs

Htc 10 on viper rom. This breaks fingerprint sensor/home button for me

JohnFawkes said:
Htc 10 on viper rom. This breaks fingerprint sensor/home button for me
Click to expand...
Click to collapse
Thats weird,
My S8, OP3 and P9 all has fingerprint scanner, and work normal.
Can you try,
Before placing finger on the scanner, turn on your screen first by pressing lock button,
If it managed to scan, then it means it doesn't actually break FP, it just the phone go to deeper sleep (since GMS is now hibernated as well) and refuse to wake up simply by placing finger.
But if it atill refuse to scan even with screen on. Send me a logcat

otonieru said:
Thats weird,
My S8, OP3 and P9 all has fingerprint scanner, and work normal.
Can you try,
Before placing finger on the scanner, turn on your screen first by pressing lock button,
If it managed to scan, then it means it doesn't actually break FP, it just the phone go to deeper sleep (since GMS is now hibernated as well) and refuse to wake up simply by placing finger.
But if it atill refuse to scan even with screen on. Send me a logcat
Click to expand...
Click to collapse
I don't have any FPs set up but waking screen and using it as a home button does not work and I get no vibration either even though it's set to 90 in exkm
edit give me a few minutes to reinstall and I'll get a logcat for you

Works great on my nexus 6p, thank you!
Sent from my Nexus 6P using Tapatalk

so after flashing this time I lost root and no cell serviceafter reboot. Looked at your module.prop and from my understanding with v12 modules are supposed to use versioncode 3 not 1. So I changed it 3 and zipped it back up. Booted into twrp used magiskmount to delete this module and flashed the one with 3 as versioncode and after booting up I have root and cell service and my home button is working like it should.

JohnFawkes said:
so after flashing this time I lost root and no cell serviceafter reboot. Looked at your module.prop and from my understanding with v12 modules are supposed to use versioncode 3 not 1. So I changed it 3 and zipped it back up. Booted into twrp used magiskmount to delete this module and flashed the one with 3 as versioncode and after booting up I have root and cell service and my home button is working like it should.
Click to expand...
Click to collapse
Crap, so that's where the issue belong,
although am using v1 myself on v12 Magisk, since it's supposed to have backward compatibility. And so far there's no issue.
I think ROM combination might have something to do as well,
but as for now i'll update the installer zip.
Thx for the debug!

otonieru said:
Crap, so that's where the issue belong,
although am using v1 myself on v12 Magisk, since it's supposed to have backward compatibility. And so far there's no issue.
I think ROM combination might have something to do as well,
but as for now i'll update the installer zip.
Thx for the debug!
Click to expand...
Click to collapse
No problem! Happy to help. If you need a tester for anything just let me know

Works successfull, thanks for works :good:

Hi. I tried installing it. Installation worked and module appeared in the list, but on reboot it disappear. I'm on Galaxy Note 3 with custom kernel and custom magisk. I've asked if it could be that magisk's problem, but maybe could be this module fault?
My rom is Unofficial LineageOS 7.1.2.
P.S. I also tried flashing it with TWRP without success. I'll try this module in my tablet to check too (Lineage 7.1.2 too).
Inviato dal mio SM-P605 utilizzando Tapatalk

asusgarb said:
Hi. I tried installing it. Installation worked and module appeared in the list, but on reboot it disappear. I'm on Galaxy Note 3 with custom kernel and custom magisk. I've asked if it could be that magisk's problem, but maybe could be this module fault?
Inviato dal mio SM-P605 utilizzando Tapatalk
Click to expand...
Click to collapse
Well, all i can say is that i only test it on official Magisk
But, try use the new module attached, and whether it solve your issue

otonieru said:
Well, all i can say is that i only test it on official Magisk
But, try use the new module attached, and whether it solve your issue
Click to expand...
Click to collapse
Just for information, with modified magisk didn't work, but it works in both devices with official magisk 12.
And now let's test its impact on battery life![emoji1]
Inviato dal mio SM-N9005 utilizzando Tapatalk

Thanks a lot bro .. Working fine . Improved my battery life a lot :fingers-crossed:

Thanks:good:

Works like a charm.
BTW, there is also Download Manager which cannot be optimized. Can you add it to your module?

Shished said:
Works like a charm.
BTW, there is also Download Manager which cannot be optimized. Can you add it to your module?
Click to expand...
Click to collapse
You do realize if you're downloading a big file and download manager is optomize your download will stop soon after you turn off the screen when doze starts. Download manager doesn't produce any wakelocks or alarms.

DroneDoom said:
You do realize if you're downloading a big file and download manager is optomize your download will stop soon after you turn off the screen when doze starts. Download manager doesn't produce any wakelocks or alarms.
Click to expand...
Click to collapse
Hidden downloads such as play store or play services are also downloaded with this app.

Shished said:
Hidden downloads such as play store or play services are also downloaded with this app.
Click to expand...
Click to collapse
What is your point?
---------- Post added at 04:21 PM ---------- Previous post was at 04:17 PM ----------
Shished said:
Hidden downloads such as play store or play services are also downloaded with this app.
Click to expand...
Click to collapse
Download manager is independent from those services. If everything is optomize, nothing should be invoking download manager in the first place during doze. Thus download manager shouldn't be bothered with the battery optomize option.

DroneDoom said:
What is your point?
---------- Post added at 04:21 PM ---------- Previous post was at 04:17 PM ----------
Download manager is independent from those services. If everything is optomize, nothing should be invoking download manager in the first place during doze. Thus download manager shouldn't be bothered with the battery optomize option.
Click to expand...
Click to collapse
This is true @Shished
I even put ADM to whitelist. I dont want any of my downloads interrupted when the screen is off or when am sleeping
Thus, it shouldnt be bothered.

Related

MobileIron app issue / solution

I use the MobileIron app for my work email and calendar. I've seen other people have the same issue with that app failing on the Note 7 as I did. I discovered why, in case you have the same issue.
I was getting the following error "Your company has set up a work profile. To continue using [email protected], please use the badged version installed on this device." Then It would disabled the app.
The issue is that you have activated Secure Folder, which is Knox controlled. That prevents MobileIron from working. Go into your Secure Folder settings and uninstall Secure Folder. You will now be able to run the MobileIron app.
I hope that helps.
rile1564 said:
I use the MobileIron app for my work email and calendar. I've seen other people have the same issue with that app failing on the Note 7 as I did. I discovered why, in case you have the same issue.
I was getting the following error "Your company has set up a work profile. To continue using [email protected], please use the badged version installed on this device." Then It would disabled the app.
The issue is that you have activated Secure Folder, which is Knox controlled. That prevents MobileIron from working. Go into your Secure Folder settings and uninstall Secure Folder. You will now be able to run the MobileIron app.
I hope that helps.
Click to expand...
Click to collapse
This is absolutely correct. Secure Folder causes the issue.
Hello all,
I am trying to use [email protected] in MI Redmi Note 3, I am getting the following error "Your company has set up a work profile. To continue using [email protected], please use the badged version installed on this device." Then It would disabled the app.
could anyone please help me, how to solve this issue.
it looks similar to Samsung Note 7, but there is no secured folder in MI Redmi Note 3.
I am also facing the same problem. Any solutions?
i am alfo facing same issue in MI 5s.Once [email protected] get installed i get this error and application gets disabled.
xdduser said:
I am also facing the same problem. Any solutions?
Click to expand...
Click to collapse
Hello, have you found a solution? Can share?
There is no solution. Even resetting the phone did not work.
MobileIron is the WORST app ever made. See its rating on Play Store.
I purchased Samsung 8 with much ho ha and ditched iPhone 8 for the same but this issue has made me handicapped.. considering I am not able to use my office emails now
Disable your secure folder. That's what is preventing mobile iron. I'm using Mobile Iron on my Note 8 just fine, but I didn't setup the secure folder. Lessons learned from my Note 7.
i have te same problem on the Mate 10 Pro. I didn't see any secure folder..
Who can help me??
@sjorsvandam @rile1564
This is an open bug with MobileIron with no fix as of yet, but there are a few workarounds:
Galaxy S8/Note8: Disable "Dual Messenger" (Settings -> Advanced Features -> Dual Messenger -> Uncheck All). Additionally, you might also have to disable Secure Folder.
XiaoMi: Disable "Second Space" and "Dual App"
Mate 10 Pro: Disable "App Twin" (Settings -> Apps & Notifications -> App Twin -> Disable All)
If all else fails, try sideloading [email protected] 9.4 from APKPure.
YandereSan said:
@sjorsvandam @rile1564
This is an open bug with MobileIron with no fix as of yet, but there are a few workarounds:
Galaxy S8/Note8: Disable "Dual Messenger" (Settings -> Advanced Features -> Dual Messenger -> Uncheck All). Additionally, you might also have to disable Secure Folder.
XiaoMi: Disable "Second Space" and "Dual App"
Mate 10 Pro: Disable "App Twin" (Settings -> Apps & Notifications -> App Twin -> Disable All)
If all else fails, try sideloading [email protected] 9.4 from APKPure.
Click to expand...
Click to collapse
Hi YandereSan, thanks for your help! I have the same issue with a Nubia Z17S, a beautiful phone, but cannot install MobileIron due to the "badged version" error.
See already this topic that I started, where nobody could help me at that moment: https://forum.xda-developers.com/nubia-z17/help/nubia-z17s-encommon-v1-02-phone-t3711145.
About your options about the other phones, that is why I have looked around in my phone for:
- "dual apps", and there is a functionality called "dual instance", however I do not use it and it seems I cannot "disable" it? Any clue how to do that? I cannot find it in system apps either.
- "secure folers", I cannot find anything like that. I see a system app called "virtualboxservice", but disabling seems not to resolve my issue. Also no other system apps found.
About side-loading the APK from APKPURE, how does that work, as I cannot root my phone / install TWRP? I tried just to install the APK, but no luck.
- do you have an idea how to get the APK side-loaded and bypassing the "badged version" error from Mobile Iron?
Thanks a million!!!!
Roy.
Troxelke said:
Hi YandereSan, thanks for your help! I have the same issue with a Nubia Z17S, a beautiful phone, but cannot install MobileIron due to the "badged version" error.
See already this topic that I started, where nobody could help me at that moment: https://forum.xda-developers.com/nubia-z17/help/nubia-z17s-encommon-v1-02-phone-t3711145.
About your options about the other phones, that is why I have looked around in my phone for:
- "dual apps", and there is a functionality called "dual instance", however I do not use it and it seems I cannot "disable" it? Any clue how to do that? I cannot find it in system apps either.
- "secure folers", I cannot find anything like that. I see a system app called "virtualboxservice", but disabling seems not to resolve my issue. Also no other system apps found.
About side-loading the APK from APKPURE, how does that work, as I cannot root my phone / install TWRP? I tried just to install the APK, but no luck.
- do you have an idea how to get the APK side-loaded and bypassing the "badged version" error from Mobile Iron?
Thanks a million!!!!
Roy.
Click to expand...
Click to collapse
Mmm.. that dual instance is definitely causing your issue. Can you elaborate on what you mean by "I tried just to install the APK, but no luck." ?
Your phone does not need to be rooted to install APKs. However, you have to make sure that you uninstall the existing version of MobileIron before attempting this.
1. Using your device, download this version of MobileIron.
2. Go to Settings -> Security, and enable "Unknown Sources".
3. Once the download is finished, tap on it inside your notification settings to install it.
4. Go back to Settings -> Security, and disable "Unknown Sources".
5. Open MobileIron and attempt to register.
If you successfully register, you can go ahead and update MobileIron through the Play Store as you normally would.
YandereSan said:
Mmm.. that dual instance is definitely causing your issue. Can you elaborate on what you mean by "I tried just to install the APK, but no luck." ?
Your phone does not need to be rooted to install APKs. However, you have to make sure that you uninstall the existing version of MobileIron before attempting this.
1. Using your device, download this version of MobileIron.
2. Go to Settings -> Security, and enable "Unknown Sources".
3. Once the download is finished, tap on it inside your notification settings to install it.
4. Go back to Settings -> Security, and disable "Unknown Sources".
5. Open MobileIron and attempt to register.
If you successfully register, you can go ahead and update MobileIron through the Play Store as you normally would.
Click to expand...
Click to collapse
Thanks for your reply!! I tried exactly what you proposed, already the first time, but no luck.
Also with this version, I still get the same error of the "badged version" if I open the app ... Too bad .
But what is surprising: after installation of this version (but no "open" yet) I could set mobileiron as the device administrator. But after that, still the same error.
Do you have any further suggestions for me? Maybe some other more early version?
I am really needing this app to work! Again thanks for your help!
Troxelke said:
Thanks for your reply!! I tried exactly what you proposed, already the first time, but no luck.
Also with this version, I still get the same error of the "badged version" if I open the app ... Too bad .
But what is surprising: after installation of this version (but no "open" yet) I could set mobileiron as the device administrator. But after that, still the same error.
Do you have any further suggestions for me? Maybe some other more early version?
I am really needing this app to work! Again thanks for your help!
Click to expand...
Click to collapse
MobileIron 8.5 is an earlier version.
YandereSan said:
MobileIron 8.5 is an earlier version.
Click to expand...
Click to collapse
Thanks, but again the same error. Are there any other versions I could try? Up to now all the same error.
Should I focus more on disabling the dual instance feature? I have gone through all system apps, but cannot find the service to be switched off / disabled. Any clue to find the solution here?
Thanks again!!
Troxelke said:
Thanks, but again the same error. Are there any other versions I could try? Up to now all the same error.
Should I focus more on disabling the dual instance feature? I have gone through all system apps, but cannot find the service to be switched off / disabled. Any clue to find the solution here?
Thanks again!!
Click to expand...
Click to collapse
Sorry about the delay. I did some poking around with grep inside the ComboRom mod by @pesa1234 - I think the dual instance feature actually lives inside ZMiniLauncher5 APK.
See if you can disable ZMiniLauncher5. Before you do that, you should install Nova Launcher so that you have something to fall back on.
If disable is greyed out:
1. Install Nova Launcher - reboot - set it as your default launcher.
2. Set up MobileIron right up to the point before it fails.
3. Press the home button to hide MobileIron.
4. Go into settings -> apps -> force stop ZMiniLauncher5.
5. Quickly tap the multi-window button, switch back to MobileIron, and try to continue with the setup.
If this doesn't work.. I'm afraid your only option would be to root your device. I know it probably sounds ridiculous, but welcome to the world of MobileIron - it has really gone to **** as of late. Their engineering team takes ages to fix rather serious issues.
YandereSan said:
Sorry about the delay. I did some poking around with grep inside the ComboRom mod by @pesa1234 - I think the dual instance feature actually lives inside ZMiniLauncher5 APK.
See if you can disable ZMiniLauncher5. Before you do that, you should install Nova Launcher so that you have something to fall back on.
If disable is greyed out:
1. Install Nova Launcher - reboot - set it as your default launcher.
2. Set up MobileIron right up to the point before it fails.
3. Press the home button to hide MobileIron.
4. Go into settings -> apps -> force stop ZMiniLauncher5.
5. Quickly tap the multi-window button, switch back to MobileIron, and try to continue with the setup.
If this doesn't work.. I'm afraid your only option would be to root your device. I know it probably sounds ridiculous, but welcome to the world of MobileIron - it has really gone to **** as of late. Their engineering team takes ages to fix rather serious issues.
Click to expand...
Click to collapse
Hi YandereSan, first of all really thanks for all your efforts you are willing to put into this, great! And you don't need to apologize for the delay, it is just great you try to help me out!
Although your deep research, I tried the above steps you mentioned, however still no big success, here is why:
- I cannot find the ZMiniLauncher5 exactly in the apps list, also not within the system apps. The ROM you mentioned is for the Z11, and I have a Z17S.
- I can only find system apps like "key chaine clone", "mini launcher", "nubiaLauncher", "nubiaShare", "virtualBoxService", these I have tried to "forced stop".
- I tried your above steps exactly, with all system apps I mentioned above. Every time a fresh install, enabled MobileIron as "device administrator" after install.
- Then disabled the apps, tried to continue installation by opening M.I. but, every time I still get the "badged version" error.
You mention that the last option now would be to root the phone, but I don't understand ... rooting would be detected by MobileIron so that it won't install?
Last idea from my side: is there a LOG file that MobileIron makes if it shows the "badged version" error, so that I can see more on where I have to look?
Also there is no way of reporting this error to MobileIron, so that they can make a case out of it to help me out? I tried to email them but no answer.
Thanks again for your help ...
Troxelke said:
Hi YandereSan, first of all really thanks for all your efforts you are willing to put into this, great! And you don't need to apologize for the delay, it is just great you try to help me out!
Although your deep research, I tried the above steps you mentioned, however still no big success, here is why:
- I cannot find the ZMiniLauncher5 exactly in the apps list, also not within the system apps. The ROM you mentioned is for the Z11, and I have a Z17S.
- I can only find system apps like "key chaine clone", "mini launcher", "nubiaLauncher", "nubiaShare", "virtualBoxService", these I have tried to "forced stop".
- I tried your above steps exactly, with all system apps I mentioned above. Every time a fresh install, enabled MobileIron as "device administrator" after install.
- Then disabled the apps, tried to continue installation by opening M.I. but, every time I still get the "badged version" error.
You mention that the last option now would be to root the phone, but I don't understand ... rooting would be detected by MobileIron so that it won't install?
Last idea from my side: is there a LOG file that MobileIron makes if it shows the "badged version" error, so that I can see more on where I have to look?
Also there is no way of reporting this error to MobileIron, so that they can make a case out of it to help me out? I tried to email them but no answer.
Thanks again for your help ...
Click to expand...
Click to collapse
Dang.. that's unfortunate. I think the launcher service restarts too fast. Hard to say.
As far as logs and reporting - MobileIron is aware of this problem, however they made that claim last year and thus far posted no updates. That's what I meant by MobileIron hell. :/
Good news.. I managed to edit the MobileIron APK and remove that obnoxious check. I highlighted the code I deleted:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
However, I had to sign the application with debug keys, so you will not be able to update MobileIron via Play Store. This is probably the best I can do for you.
Also, make sure you install MobileIron once, then uninstall it again from the Play Store before you install this. MobileIron does something wonky when that badged version error comes up, and it hides (disables) the client.
Also, keep in mind: I don't know how MobileIron will react to you using an edited client. I tested this with my Samsung / Dual Messenger, and I got past the splash screen. I did not attempt to register.
https://mega.nz/#!0yQxAK7A!6Ms_SWAzcuis6Gy36LrncAeXhnL9Iwgb5cGkQwWV-0w
YandereSan said:
Dang.. that's unfortunate. I think the launcher service restarts too fast. Hard to say.
As far as logs and reporting - MobileIron is aware of this problem, however they made that claim last year and thus far posted no updates. That's what I meant by MobileIron hell. :/
Good news.. I managed to edit the MobileIron APK and remove that obnoxious check. I highlighted the code I deleted:
However, I had to sign the application with debug keys, so you will not be able to update MobileIron via Play Store. This is probably the best I can do for you.
Also, make sure you install MobileIron once, then uninstall it again from the Play Store before you install this. MobileIron does something wonky when that badged version error comes up, and it hides (disables) the client.
Also, keep in mind: I don't know how MobileIron will react to you using an edited client. I tested this with my Samsung / Dual Messenger, and I got past the splash screen. I did not attempt to register.
https://mega.nz/#!0yQxAK7A!6Ms_SWAzcuis6Gy36LrncAeXhnL9Iwgb5cGkQwWV-0w
Click to expand...
Click to collapse
Hi, well first of all thanks for all the work you did, whoaa that is some deep searching and fixing there, great ! And the first good news, I was able to install the app and can now go beyond the first error screen!
I am now at the screen where I need to enter my PIN from the company, I requested one this morning and waiting for the mail to arrive with my new PIN for installation.
By the way, I saw in play-store that it recognises Mobile-Iron to be installed already, so I guess it will update if a new version is available, don't you think?
I keep you posted on this! And ... can I buy you a beer somewhere? You really deserve it for all the work!
And, if this works, you may have solved a reall BIG issue for 1000's of users that face the same issue!
Thanks again,
Roy.

Tips for Better Standby Time?

Hey everyone,
I know i've been asking questions ALL over the forum lately, but as a phone I have to use as a daily driver for some time, I wanted to hear some of your suggestions for ways to increase standby time when the phone is not in use. It's weird, because as I used some Nougat ROMS and a Sense ROM for some time now, my results were mixed bag and my phone was still eating battery even though I wasn't using anything.
Right now I do got the GPE firmware flashed, and atm using a sense ROM to see where battery life will take me the most. Any apps you people recommend so I can make the most of my device?
There is one thing what brought me the most juice of my battery back as if i had a new battery... Dont use gapps, use microG. If you configure it correct you will have the same functions as if you use gapps but without the waste of battery. There is a magisk module called nanomod microG since this exist its realy easy to use microG even for beginners. You dont need the full nanomod package, only microG and the patcher. You will have full access to play store also with paid apps, you will have contacts and calender synch, cloud messaging and location services by mozilla. The only thing that doesnt work is streaming to chromecast devices with apps that doesnt have it build in like youtube and spotify, those need gapps for streaming to other devices.
saturday_night said:
There is one thing what brought me the most juice of my battery back as if i had a new battery... Dont use gapps, use microG. If you configure it correct you will have the same functions as if you use gapps but without the waste of battery. There is a magisk module called nanomod microG since this exist its realy easy to use microG even for beginners. You dont need the full nanomod package, only microG and the patcher. You will have full access to play store also with paid apps, you will have contacts and calender synch, cloud messaging and location services by mozilla. The only thing that doesnt work is streaming to chromecast devices with apps that doesnt have it build in like youtube and spotify, those need gapps for streaming to other devices.
Click to expand...
Click to collapse
Interesting. So with MicroG I can't use YouTube? Even by itself? And will you help me set it up?
1) Use an android 5.x rom (e.g. NuSenSeveN )
2) Install Xposed (Probably using the Xposed Installer app)
3) Install Power Nap
4) Consider also installing Amplify
5) Consider using the "Battery -> Power saver -> Data connection" setting in sense.
6) Enjoy your new battery life
Doing these things has gotten me through 4 days on 1 charge with minimal use. Albeit, you'll still go through the battery very quickly if you use something like Google Maps. Something else to keep in mind is that your battery life is heavily dependent on your cell reception. If I don't turn airplane mode on before going into a basement, for instance, the phone will kill itself in a few hours trying to find reception.
With Power Nap and Amplify it doesn't matter whether you have google apps and facebook - these xposed apps will block other apps from touching your CPU while the screen is off.
zeeBomb said:
Interesting. So with MicroG I can't use YouTube? Even by itself? And will you help me set it up?
Click to expand...
Click to collapse
You can use all apps on the device itself, just streaming to TV doesnt work. And yes i can help you with the setup.
1. Flash Rom of your choice
2. Flash Custom Kernel if you want
3. Flash Magisk
4. Flash nanomod microG
5. Boot into system (dont setup anything)
6. Reboot into recovery
7. Flash nanomod patcher (takes a few minutes)
8. Boot into system and open microG settings
9. Activate Device Registration, cloud messaging, saftynet and grant permission to deactivate Battery optimization
10. Tap on "UnifiedNLP Settings" in microG settings app and activate both (grant permissions as system ask)
11. Go into system settings and activate Location "high acuracy"
12. Go into microG settings and check if everything works
13. Setup your Google Account like allways on every Rom
There are some Roms like AIM Rom which support "Signature Spoofing", on those Roms you dont need to flash the patcher. On those Roms you need to grant a special permission for the play store app. Go into system settings, go into apps, tap an Google Play Store, tap on Permissions and grant permission for Signature Spoofing.
Sometimes you need to restart your device after Setup everything. That is just necessary if Play Store shows an error during first start.
saturday_night said:
You can use all apps on the device itself, just streaming to TV doesnt work. And yes i can help you with the setup.
1. Flash Rom of your choice
2. Flash Custom Kernel if you want
3. Flash Magisk
4. Flash nanomod microG
5. Boot into system (dont setup anything)
6. Reboot into recovery
7. Flash nanomod patcher (takes a few minutes)
8. Boot into system and open microG settings
9. Activate Device Registration, cloud messaging, saftynet and grant permission to deactivate Battery optimization
10. Tap on "UnifiedNLP Settings" in microG settings app and activate both (grant permissions as system ask)
11. Go into system settings and activate Location "high acuracy"
12. Go into microG settings and check if everything works
13. Setup your Google Account like allways on every Rom
There are some Roms like AIM Rom which support "Signature Spoofing", on those Roms you dont need to flash the patcher. On those Roms you need to grant a special permission for the play store app. Go into system settings, go into apps, tap an Google Play Store, tap on Permissions and grant permission for Signature Spoofing.
Sometimes you need to restart your device after Setup everything. That is just necessary if Play Store shows an error during first start.
Click to expand...
Click to collapse
This would work on apps like smapchat too? How much extra SOT do you think I'll gain from this?
zeeBomb said:
Hey everyone,
I know i've been asking questions ALL over the forum lately, but as a phone I have to use as a daily driver for some time, I wanted to hear some of your suggestions for ways to increase standby time when the phone is not in use. It's weird, because as I used some Nougat ROMS and a Sense ROM for some time now, my results were mixed bag and my phone was still eating battery even though I wasn't using anything.
Right now I do got the GPE firmware flashed, and atm using a sense ROM to see where battery life will take me the most. Any apps you people recommend so I can make the most of my device?
Click to expand...
Click to collapse
Me personally, I use greenify with root on my device. I kill much of application that run on background ( mostly FB and FBM) but would kill battery due to YouTube background playback. But while phone sits, it helps out a lot on my end
zeeBomb said:
This would work on apps like smapchat too? How much extra SOT do you think I'll gain from this?
Click to expand...
Click to collapse
All apps are working no matter which app. What i said was ONLY related to streaming to TVs. I cant tell you hom much sot you will get but play services suck about 10-15% of your battery and microG is about 1-3%.
saturday_night said:
All apps are working no matter which app. What i said was ONLY related to streaming to TVs. I cant tell you hom much sot you will get but play services suck about 10-15% of your battery and microG is about 1-3%.
Click to expand...
Click to collapse
That is truly amazing. Thank you for helping me out...does AICP support signature spoofing too?
zeeBomb said:
That is truly amazing. Thank you for helping me out...does AICP support signature spoofing too?
Click to expand...
Click to collapse
AICP doesnt support it, you need to flash the patch there. But i would recommend not to update every nightly only if there are some heavy changes. Because some apps like whatsapp need to register for cloud messaging and you need to clean install those apps everytime you flashed an update+microG. And espacily whatsapp doesnt notice that the registration for cloud messaging is gone after an update of the rom. Also you need to flash microG with every rom update and setup everything in microG again.
saturday_night said:
AICP doesnt support it, you need to flash the patch there. But i would recommend not to update every nightly only if there are some heavy changes. Because some apps like whatsapp need to register for cloud messaging and you need to clean install those apps everytime you flashed an update+microG. And espacily whatsapp doesnt notice that the registration for cloud messaging is gone after an update of the rom. Also you need to flash microG with every rom update and setup everything in microG again.
Click to expand...
Click to collapse
Okay, I got everything to work but my "system grants signature spoofing permission" and "UnifiedNlp do not have Location to test Geocoder" is off. How to fix
zeeBomb said:
Okay, I got everything to work but my "system grants signature spoofing permission" and "UnifiedNlp do not have Location to test Geocoder" is off. How to fix
Click to expand...
Click to collapse
Hmm, wait a few minutes until it finds your location
saturday_night said:
Hmm, wait a few minutes until it finds your location
Click to expand...
Click to collapse
Okay. Is it normal to have the WIFI to turn on and off repeatedly? Do I need to have location set on high 24/7?
zeeBomb said:
Okay. Is it normal to have the WIFI to turn on and off repeatedly? Do I need to have location set on high 24/7?
Click to expand...
Click to collapse
Wifi isnt related to google services or microG. And no you dont need to have location active all the time, if you dont need it just disable it.
Hello Everyone. It's been a week since i first tried out MicroG, and all is well! Battery life is improved as I don't drain as much as 20% on light usage throughout my days when I'm busy. Definitely a great way to get the best out of the aging M7. Thank you @saturday_night for helping me set this up, and @Watercycle for helping with some additional stuff!

best debloat app for pixel 4 XL

I used ccswe app to debloat apps and close unnecessary apps to preserve battery on my note 10 plus. Is there an alternative for that app for the pixel 4xl?
Adb commands are absolutely too complicated and I use a Mac so that combo isn't ideal. If anyone knows of a simple alternative, suggestions are greatly appreciated.
I honestly don't know what there is to debloat on a pixel. Anything you don't want can easily be disabled. No extra apps are necessary. Sure Samsung needs the extra apps for that but pixels...no way.
Sent from my Google Pixel 4 XL using XDA Labs
Mr Patchy Patch said:
I honestly don't know what there is to debloat on a pixel. Anything you don't want can easily be disabled. No extra apps are necessary. Sure Samsung needs the extra apps for that but pixels...no way.
Click to expand...
Click to collapse
Fair enough, however I've disabled all I could manually yet even the disabled apps when updated show up on my applications so I have to re-disable them again. So I'm hoping there's an app that can permanently disable apps regardless of updating them. Also I'd like to disable certain services with guarantee and the CCSwe app for some reason provided reassurance when disabling apps and Services. Which is why I'm looking to debloat a bit more
thepersona said:
Fair enough, however I've disabled all I could manually yet even the disabled apps when updated show up on my applications so I have to re-disable them again. So I'm hoping there's an app that can permanently disable apps regardless of updating them. Also I'd like to disable certain services with guarantee and the CCSwe app for some reason provided reassurance when disabling apps and Services. Which is why I'm looking to debloat a bit more
Click to expand...
Click to collapse
What apps are you disabling?
Sent from my Google Pixel 4 XL using XDA Labs
Very surprised and first time hearing that a pixel phone needs debloating! What exactly is it you want to disable or remove?
Demolition49 said:
Very surprised and first time hearing that a pixel phone needs debloating! What exactly is it you want to disable or remove?
Click to expand...
Click to collapse
YouTube music for example or pixel live wallpapers. I want them disabled so that when an update arrives at the Play store I can update them freely without them being automatically re-inabled. This is totally doable on my note 10 plus. So I'm curious if there's a way to do it on pixel. Or even Google auto. I'm legally blind and not allowed to drive so that app is useless for me.
thepersona said:
YouTube music for example or pixel live wallpapers. I want them disabled so that when an update arrives at the Play store I can update them freely without them being automatically re-inabled. This is totally doable on my note 10 plus. So I'm curious if there's a way to do it on pixel. Or even Google auto. I'm legally blind and not allowed to drive so that app is useless for me.
Click to expand...
Click to collapse
I actually have them disabled and I don't get updates from the playstore unless I re-enable them. I've noticed upon clean flash when I disable apps they do an automatic update and re-enable themselves, but when I clear the data and disable they stay disabled and no updates come through. You don't need extra apps to disable anything in a pixel. Save yourself the headache man.
Sent from my Google Pixel 4 XL using XDA Labs
Mr Patchy Patch said:
I actually have them disabled and I don't get updates from the playstore unless I re-enable them. I've noticed upon clean flash when I disable apps they do an automatic update and re-enable themselves, but when I clear the data and disable they stay disabled and no updates come through. You don't need extra apps to disable anything in a pixel. Save yourself the headache man.
Click to expand...
Click to collapse
thanks for the advice man I really appreciate it maybe I just might save myself the headache. What did you do the clear the data? Cuz I manually restricted its background usage prevented it from using data in the background cleared cache and cleared storage before force closing the app and then disabling. Am o missing anything? Cuz those specific disabled apps still show up as updates on my play store. Which is what I'm trying to remove. If I update them they will just re-install.
I have Chrome disabled because I use Chrome Beta and it never asks me to update. As you can see, update isn't an option in the Play Store. Maybe try disabling all the apps you want, restart, and check the Play Store?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Pixel 4 XL using Tapatalk
i use adb to disable digital wellbeing and system tracing.
thepersona said:
I used ccswe app to debloat apps and close unnecessary apps to preserve battery on my note 10 plus. Is there an alternative for that app for the pixel 4xl?
Adb commands are absolutely too complicated and I use a Mac so that combo isn't ideal. If anyone knows of a simple alternative, suggestions are greatly appreciated.
Click to expand...
Click to collapse
i have been searching for a response to this very question too , only google apps on my phone that i want are google photos, notes, drive and gmail , hopefully someone with more experience will be able to provide a solution to actually removing the unwanted google apps instead of just disabling them
If they are system apps, then you will have to root to remove them. If they aren't system apps, then you should have the option to uninstall them.
If they are system apps and you don't want to root, then your only option is to disable them. No app is going to be able to remove them without root privileges.
sic0048 said:
If they are system apps, then you will have to root to remove them. If they aren't system apps, then you should have the option to uninstall them.
If they are system apps and you don't want to root, then your only option is to disable them. No app is going to be able to remove them without root privileges.
Click to expand...
Click to collapse
The system can't be modified so the apps can't be removed even if you're rooted.
If you are rooted, you can install the Debloater Magisk module (support thread - https://forum.xda-developers.com/apps/magisk/module-terminal-debloater-debloat-t3584163)
This still works under Android 10. I just now uninstalled the Chrome app using the module (on my Pixel 3a XL on the November security update).
After installing the module using the Magisk Manager App, here are the steps to remove a system app:
1) Open a terminal app and type "su" to get root privileges.
2) Type "debloat"
3) Most likely you need to choose menu option "4 - System Process App", but if you don't see the desired app listed under this selection, try some of the other menu selections.
4 ) If the app you want to uninstall is listed, simply type in the number of the app you want to uninstall.
5) Confirm that you want to uninstall the app
6) After the process finishes, reboot the phone .
That should really uninstall the system app - even under Android 10's new file system.
Edit - here is a screen shot of the Play store showing that Chrome isn't installed and can be installed. Edit 2 - for some reason the image doesn't show, but you can click on it to be taken directly to imgur to see it.
sic0048 said:
If you are rooted, you can install the Debloater Magisk module (support thread - https://forum.xda-developers.com/apps/magisk/module-terminal-debloater-debloat-t3584163)
This still works under Android 10. I just now uninstalled the Chrome app using the module (on my Pixel 3a XL on the November security update).
After installing the module using the Magisk Manager App, here are the steps to remove a system app:
1) Open a terminal app and type "su" to get root privileges.
2) Type "debloat"
3) Most likely you need to choose menu option "4 - System Process App", but if you don't see the desired app listed under this selection, try some of the other menu selections.
4 ) If the app you want to uninstall is listed, simply type in the number of the app you want to uninstall.
5) Confirm that you want to uninstall the app
6) After the process finishes, reboot the phone .
That should really uninstall the system app - even under Android 10's new file system.
Edit - here is a screen shot of the Play store showing that Chrome isn't installed and can be installed. Edit 2 - for some reason the image doesn't show, but you can click on it to be taken directly to imgur to see it.
Click to expand...
Click to collapse
The tip / advice I really do appreciate it. However I am not rooted sadly and seems to me that in order to get the most out of my 4XL, sadly I'll need to root my device.
Unfortunately routing seems exponentially tedious and I don't want to have to constantly flash my device per every update. Plus if I root I wouldn't be getting any updates as scheduled. I love to maximize the full potential ofmy device but I'm not familiar with routing and I have the impression that once my device is rooted, it's not a one and done deal I'm always going to have to flash ROMs constantly which seems like an exponential amount of extra work. Which sucks ?
thepersona said:
The tip / advice I really do appreciate it. However I am not rooted sadly and seems to me that in order to get the most out of my 4XL, sadly I'll need to root my device.
Unfortunately routing seems exponentially tedious and I don't want to have to constantly flash my device per every update. Plus if I root I wouldn't be getting any updates as scheduled. I love to maximize the full potential ofmy device but I'm not familiar with routing and I have the impression that once my device is rooted, it's not a one and done deal I'm always going to have to flash ROMs constantly which seems like an exponential amount of extra work. Which sucks
Click to expand...
Click to collapse
Well if you just want to root to remove bloat, then you don't need to worry about retaining root when taking updates. Just go back to taking updates normally without all the extra work. You'll lose root, but that won't bring back the apps you removed. They will be permanently removed.
(However, never re-lock your bootloader without going back to 100% stock - which would bring back the bloat - because you can brick your phone if there are issues moving forward).
if you are rooted magisk debloater =)
sic0048 said:
Well if you just want to root to remove bloat, then you don't need to worry about retaining root when taking updates. Just go back to taking updates normally without all the extra work. You'll lose root, but that won't bring back the apps you removed. They will be permanently removed.
(However, never re-lock your bootloader without going back to 100% stock - which would bring back the bloat - because you can brick your phone if there are issues moving forward).
Click to expand...
Click to collapse
thank you for the advice I really appreciate it. Man there is a lot of benefits with rooting specifically with the custom g cam app that allows up to 20 x zoom and the viper4android mod on top of other modifications like theming and substratum. it would be ideal for me to use any and all of those I would love to get the maximum potential of my pixel 4 XL specifically for the camera but it seems like a lot of legwork. I'm tempted to just pay somebody to route it bearing that they could do it successfully but it seems like routing isn't as easy either. But thank you for the suggestion I appreciate it. I'll just be patient and trust that my disabling of those apps have permanently disabled them.
thepersona said:
thank you for the advice I really appreciate it. Man there is a lot of benefits with rooting specifically with the custom g cam app that allows up to 20 x zoom and the viper4android mod on top of other modifications like theming and substratum. it would be ideal for me to use any and all of those I would love to get the maximum potential of my pixel 4 XL specifically for the camera but it seems like a lot of legwork. I'm tempted to just pay somebody to route it bearing that they could do it successfully but it seems like routing isn't as easy either. But thank you for the suggestion I appreciate it. I'll just be patient and trust that my disabling of those apps have permanently disabled them.
Click to expand...
Click to collapse
Disabling apps does seem to work as expected. I had disabled Chrome for months now (because I use Brave) and it never "activated" itself or showed up in the app drawer, etc. However, it was nice to be able to permanently remove it using Debloater.
As far as rooting....... it really isn't that hard. I have created a detailed walk though on how to root on the Pixel 3a forum - but the steps are exactly the same for the Pixel 4s. It not only gives instructions on how to root, but also on how to take updates in the future as well. Be sure to check it out and post in that thread if you have any questions. https://forum.xda-developers.com/pixel-3a/how-to/how-to-root-pixel-3a-preferred-t3938783
virtyx said:
i use adb to disable digital wellbeing and system tracing.
Click to expand...
Click to collapse
What does disabling the system tracing do? And what do you disable in it? Trace debuggable applications?

How to get notification without freezing GSF

Below is a third version of the guide (ok, it's 3.5). As of January, 15th I've added great finding by @Seresseran1. Thanks man!
The below guide will provide you with fully working Google services, play store will work, push notifications will work, location accuracy etc. Everything will work until you restart the phone without enabling flight mode first. Then you might start receiving play protect notifications and you have to redo the procedure.
Prerequisite : GMS has to be installed and fully working without play protect notifications. Any method of installation should be OK, i prefer manual but Googlifier is fine.
1a. Run following commands using ADB:
adb shell
cmd appops set com.google.android.gsf RUN_IN_BACKGROUND ignore
cmd appops set com.google.android.gsf RUN_ANY_IN_BACKGROUND ignore
cmd appops write-settings
1b. Open Settings - Apps - App Launch
Tap the three dots, select "Show system Processes".
Search For Google Services Framework.
Change from Manage Automatically- To Manage Manually. Deselect Options "Auto-launch" and "Run in background". Only secondary launch remains selected.
2. Put phone in airplane mode. It's very important!
3. Open Settings, go to Apps, Apps, tap three dots, select Show system processes, find Google Services Framework. Open it.
4. If you have frozen Gsf defrost it (enable).
5. Stop it if it's running. Go to Storage, clear cache, clear data. Stop it again if necessary.
6. Restart the phone.
7. Do not disable airplane mode yet! Wait few minutes in airplane mode or check with Device ID app if you see your GSF ID.
8. Disable airplane mode and check play store. If you see error message, close it from task list and try again.
If you restart the phone without enabling airplane mode first all you have to do is redo above guide starting from point 2.
If you see play protect notifications do not panic! Enable airplane mode, go to settings, apps, apps, find Google framework services, goto storage, stop it, clear cache, clear data, restart your phone then you should be good.
I do not use Google apps except maps, but they should work. Remember that using above guide does not mean your device will get play protect certification. So, Google pay will not work for sure.
Nice it works. Playstore and all push Notification works whiteout problems. Thanks man
djrush said:
Nice it works. Playstore and all push Notification works whiteout problems. Thanks man
Click to expand...
Click to collapse
mmarkq said:
The below guide will provide you with fully working Google services, play store will work, notifications will work, location accuracy etc.
Prerequisite : GMS has to be installed and fully working without play protect notifications. Any method of installation should be OK, i prefer manual but Googlifier is fine. If you have frozen gsf it's OK too.
1. Install device ID app to get Google service id. Copy it. If you have frozen gsf, defrost it to get ID.
2. Register gsf id on https://www.google.com/android/uncertified/
3. Freeze GSF and make sure your apps are having notifications. You can use push notification tester to check if push is supported and fully working.
4. Wait. At least a day or two.
5. Put phone in airplane mode. It's very important!
6. Defrost GSF. Wait few minutes in airplane mode. Do not restart phone.
7. Disable airplane mode and check play store. If you see error message, close it from tak list and try again.
If you see play protect notifications do not panic! Enable airplane mode, go to settings, apps, apps, find Google framework services, goto storage, stop it, clear cache, clear data then froze it and wait another day or two then repeat above procedure.
So far tested on two different p40 pro and mate 30 pro. All three devices working great
I do not use Google apps except maps, but they should work. Remember that using above guide does not mean your device will get play protect certification. So, Google pay will not work for sure.
Click to expand...
Click to collapse
But we will have still all the notifications about Play Protect certified every single second? Or not? Thanks
No play protect notifications.
mmarkq said:
No play protect notifications.
Click to expand...
Click to collapse
We can update also Play Services apk from Play Store?
You will get fully working gms. You can update play store, services etc.
djrush said:
Nice it works. Playstore and all push Notification works whiteout problems. Thanks man
Click to expand...
Click to collapse
Hi, how long have you waited exactly to have it working? Thanks
djrush said:
Nice it works. Playstore and all push Notification works whiteout problems. Thanks man
Click to expand...
Click to collapse
ummm it says to wait a day...how long did you wait?
Nice, just waited like 6 hours and my gmail just took 2 minutes to notify me, thank you!!
Edit: sometimes they still take a while, so its better but definately still not working as it should
alvaro761991 said:
Nice, just waited like 6 hours and my gmail just took 2 minutes to notify me, thank you!!
Edit: sometimes they still take a while, so its better but definately still not working as it should
Click to expand...
Click to collapse
What you mean with "sometimes they still take a while"? If push notifications work, they work like should in theory.
I waited 6 hours but i have always this error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I will try to wait more. The gfs id is registred well, it's always the same number.
mmarkq said:
You will get fully working gms. You can update play store, services etc.
Click to expand...
Click to collapse
Are you sure we can update Play Services apk? Can you try to update it and see what happens?
denzel09 said:
I waited 6 hours but i have always this error:
I will try to wait more. The gfs id is registred well, it's always the same number.
Click to expand...
Click to collapse
It takes a time. Wait longer.
I don't have update the play service. I will try it later.
denzel09 said:
I waited 6 hours but i have always this error:
I will try to wait more. The gfs id is registred well, it's always the same number.
Click to expand...
Click to collapse
Did you see, that your Device is registered for Google Play Protect? For me, there is no About Option at Playstore Settings.
I am trying on Mate 30 Pro. (Waiting for 1 or 2 days)
Thank you for sharing.
I will share in here if i can success
Slightly edited OP. Looks like sometimes you have to wait just an hour or two and it's enough.
In worst case scenario you will get play protect notifications; then you have to clear cache, data, freeze gsf and wait bit longer. When you freeze gsf all your apps will still have push notifications, only playstore will not work (and google location accuracy0.
Hi all,
Can you confirm that it works more than 8 hours and even after reboot? Cause there was an option before that was working only for 8 hours or till next update.
P.S. can you also confirm that GSF ID stays the same? Because after I defrost it, it is same as registered. Once I reboot, it changes different value and I start getting errors.
djrush said:
It takes a time. Wait longer.
I don't have update the play service. I will try it later.
Click to expand...
Click to collapse
Thanks, please try to update Play Services, i think this can be a problem with Play Protect notification.
chiposh said:
Hi all,
Can you confirm that it works more than 8 hours and even after reboot? Cause there was an option before that was working only for 8 hours or till next update.
Click to expand...
Click to collapse
What you mean with "there was an option ..."?
denzel09 said:
What you mean with "there was an option ..."?
Click to expand...
Click to collapse
There is a method on youtube for working notification + Playstore for 8 hours or till next reboot. Steps are very similar

Question Reduce idle battery drain

Hello everyone,I left my phone overnight for 8 hours at 100% battery and after 8hours of idling it was at 80%,this seems to much for me. I'm on EEA firmware 12.5.3 and I debloated removing many apps what do you suggest to check or remove?
Try putting it on airplane mode before setting it down for the night. I noticed this drain also, but this made a significant difference. I'm hoping the 12.5 update will sort it!
You are right,putting it into airplane mode should reduce power consumption, probably 5g consume a lot of energy. Now I went into battery mode and resticted apps in background I don't use like assistant, scanner,recorder, notes, and much more
Kill cloud and cloud backup apps.
If you got Google play Services, disable that when not using. Google backup Transport and Framework can be permanently disabled. Kill Google Firebase and feedback for Google, manufacturer, apps and carrier. For starters.
No need to put in Airplane mode if you take out the trash that's needlessly running in the background sucking the battery down.
Could you drive me trough the settings please? Where I can do this? I disabled many things but I want to be sure what I missed
xNAPx said:
Could you drive me trough the settings please? Where I can do this? I disabled many things but I want to be sure what I missed
Click to expand...
Click to collapse
I'm not holding the device and I have a Note 10+ but there are similar issues on all Android phones.
You need to be able to see what apks are draining the battery and using the internet. On Pie which I use is easier to do than with Q and 11 however you may have resources on those systems I'm unaware off.
Disable all power management and address the power hogs individually on a case by case basis.
You can use Karma Firewall to block internet access to rogue apps which will decrease their battery usage. However it's valuble logging features are disabled in Q and above. There may be a ADB work around... I don't know.
Package Disabler is very useful as well. There are non-Samsung variants of the apk you can likely use real time.
Play with it which what I did.
It's time consuming... and what works for some won't work for all. My 10+ was a hot running power hog; today it's a cool running, fast, stable, heavily optimized platform. Once done, do not update the OS or you'll be starting from scratch, again.
Use the Hidden Settings for MIUI app on the Google Play store to disable all the apps that cannot be disabled through the normal app menu (no root required):
Hidden Settings For MIUI - Apps on Google Play
More settings for Xiaomi devices to get a better user experience.
play.google.com
Well the most draining app is Google play services which I don't know what it is used for
xNAPx said:
Well the most draining app is Google play services which I don't know what it is used for
Click to expand...
Click to collapse
Google Backup Transport, Gmail, Gmaps, Find my Device and Playstore mostly. A few other 3rd party apps are dependencies as well like paid for Playstore apps, some of those will run normally without it though*.
Otherwise you can safely leave it disabled.
Find my Device will not initialize as a Device Administrator on reboot without it enabled, an apk I loathe. A reboot with Google play Services enable though will likely be needed to access Playstore.
Playstore is a mess, running in the background.
*like Accubattery if you firewall block it. SD Maid same issue.
That's what I don't understand, Google gmail has been uninstalled via adb, gmaps has been restricted in background (also need to ask location permission everytime it starts), play store has been restricted in background and find my device disabled, so I don't know why it keeps running all the time, what should I do? Shall I install MIUI optimization? The only thing I don't want to lose are whatsapp push notifications, step counter, messages and phone calls notifications
Also my device is rooted, hiw can I prevent Google play services from running in background and being used only when requested? Same for carrier services (what's used for?) And Xiaomi services framework
xNAPx said:
That's what I don't understand, Google gmail has been uninstalled via adb, gmaps has been restricted in background (also need to ask location permission everytime it starts), play store has been restricted in background and find my device disabled, so I don't know why it keeps running all the time, what should I do? Shall I install MIUI optimization? The only thing I don't want to lose are whatsapp push notifications, step counter, messages and phone calls notifications
Click to expand...
Click to collapse
Find my Device still runs even when disabled.
As does Google Backup Transport and Framework.
Google play Services just does what it wants.
WhatsApp... you're kidding, right? I won't let that FB etc or any "social app" on my machine. Multiple security risks written all over (and into) it.
20% overnight is a lot, I get 4% overnight with no special settings. How's the signal strength? I've noticed that signal strength can have a negative impact on battery when looking for a signal as you mentioned airplane mode seems better.
wilpang said:
20% overnight is a lot, I get 4% overnight with no special settings. How's the signal strength? I've noticed that signal strength can have a negative impact on battery when looking for a signal as you mentioned airplane mode seems better.
Click to expand...
Click to collapse
It's using the internet either polling or transferring data needlessly. You need to find the source.
My 10+ can receive texts and calls at night and still uses only 2-3% in 6 hours with touch to see AOD running.
Before when Google Backup Transport was running (even though it was turned off) it was more like 8-10%. Gookill is a mess.
blackhawk said:
Find my Device still runs even when disabled.
As does Google Backup Transport and Framework.
Google play Services just does what it wants.
WhatsApp... you're kidding, right? I won't let that FB etc or any "social app" on my machine. Multiple security risks written all over (and into) it.
Click to expand...
Click to collapse
Well WhatsApp is need to communicate with my wife lol,and my family.
Where can I find these backup transport? I run through the settings and restricted background activity for many apps, I got to see overnight what my new drain will be so I can report you.
What carrier services does? If I restrict background activity will I still receive sms and WhatsApp?
The only apps I have installed on my phone which I installed are: Whatsapp, tapatalk, Kiwi browser (uninstalled chrome), youtube vanced and magisk. All the rest if the apps are the one that came with the firmware. I uninstalled a lot of them plus some packages through adb. Still Google play services and carrier services are the most demanding. I don't want to loose the ability to use maps but only when I use it obviously. I want super low battery drain in idle
xNAPx said:
Well WhatsApp is need to communicate with my wife lol,and my family.
Where can I find these backup transport? I run through the settings and restricted background activity for many apps, I got to see overnight what my new drain will be so I can report you.
What carrier services does? If I restrict background activity will I still receive sms and WhatsApp?
The only apps I have installed on my phone which I installed are: Whatsapp, tapatalk, Kiwi browser (uninstalled chrome), youtube vanced and magisk. All the rest if the apps are the one that came with the firmware. I uninstalled a lot of them plus some packages through adb. Still Google play services and carrier services are the most demanding. I don't want to loose the ability to use maps but only when I use it obviously. I want super low battery drain in idle
Click to expand...
Click to collapse
Why not use text messaging instead? It's battery usage is low.
-You- really need to know what you are disabling... one at a time.
There are likely more than one or two apps contributing to high battery usage.
Play with it.
Like I said you can enabled/disable Google play Services as needed in settings.
You'll find Google Backup Transport Services and Framework there as well.
Each device and user are different, one solution doesn't work for all. You'll need to become familiar with your device to do this right.
In settings where? And what should I restict or deactivate?
I think I solved the issue by resticting a lot of background activities through manage apps, usage access, revocation and permissions, now the phone stayed a 100% for more than 5hours
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Cell standby seems very high.
Try a network resort, clear system cache.
Network resort? Where can I clean system cache
xNAPx said:
Network resort? Where can I clean system cache
Click to expand...
Click to collapse
*reset

Categories

Resources