Massive battery drain by google service with fresh install of CM11 nightly - LG Optimus 4X HD

After a fresh install, i experienced massive battery drain (50%+ over night).
the culprit was google service, easily identified in the battery overview.
It prevents the phone from going to sleep mode.
i searched for the problem and found
http://forum.cyanogenmod.org/topic/...ce-wakelock-on-cm11-m7-massive-battery-drain/
"it's a new ota update service that was added in a recent Google Play Services update."
Solution:
http://forum.xda-developers.com/showpost.php?p=53739230&postcount=5031
quote:
Finally I was able to block the SystemUpdateService wakelock, using this app:
https://play.google.com/store/apps/details?id=com.rs.autorun (Autorun Manager)
go to settings, enable the option to show system entries
(refresh services)
find google play services and disable:
SystemUpdateService$Receiver
SystemUpdateService$ActiveReceiver
SystemUpdateService$SecretCodeReceiver
done... no more wakelock and it didn't break anything, syncs all work ok
I know this app doesn't look the best, but I tried others like "Android Tuner Free", "Disable Services", "Gemini App Manager", etc, but they allowed me to only disable the main service and didn't show the other receivers that had to be disabled.
Click to expand...
Click to collapse
One thing to add: If you clicked too much in Autorun Manager, it stops working and says "only changing of 10 entries allowed in the free version".
I wont give tipps to bypass this behaviour, so first think, then click.
the app can reset your services status from the menu, if you misclicked.

well, im not sure if this worked out well..
after 6 hrs, still google service takes a huge chunk of my battery. will report tomorrow.

installed latest nightly over this one, flashed google apps zip again, did not wipe anything, did not deactivate any google apps nor services, problem gone.

Related

[Q] Google Services wakelock kills battery

Google Services is killing my battery with its incessant wakelocks! How do I get rid of this?
I flashed my phone a few days ago... from ICS to JB 4.1.2.... I also loaded NOPE kernel and overclocked to 850 MHz. I thought it was the overclocking that was killing my battery but it looks like it's some of the google services.... they keep cpu wakelocking the phone while it should be sleeping. I mean come on, 6444 wakes in 15hrs?
I see that it's a common issue but there doesn't seem to be an easy fix. Can anyone walk me through what they did to solve? attached are my battery/wakelock stats for reference
You can always greenify it (play store -> greenify). Mind it does restart quite often, so it is a real pain, but most of the google apps depend on it. You could also go to google settings on the phone, and in the location section disable location reporting and location history. This is the main battery killer in google services.
P.S. What's the rom you're using on the pictures?
I read that turning off both GPS and network location services will help fix this.... but then all my apps become dumb. I'm looking at the Google Services screen in Wakelock Detector (image first post) and I can see the wake count for different functions or programs. e.g. NetworkLocationLocator woke 206 times, but GTALK_CONN woke 1668. Is there any way to disable certain aspects of the Google Services app or is it an all or none scenario?
P.S. What's the rom you're using on the pictures?
Click to expand...
Click to collapse
It's Speed Droid by addictz10 with the Samsung S5 skin (it's called CM11 CM10.2 TouchWiz 5.0 theme in the Store). The first green pic is using Wakelock Detector and the other 2 are the OS Battery screen.
Well, as for gps, you can turn it off, because it is rarely needed for your phone to have that precise information on your whereabouts. As for network location service, don't turn it off, just turn location reporting and location history in google settings (not phone settings). As for gtalk, well, you'll have to uninstall hangouts and to disable/remove google talk to stop that behavior. I don't think that there is a way of stopping certain wakelocks, and I agree that it would be great if it could be done...

stop Google play services auto update

Hi guys, i have a question. Is there any way to stop Google play services auto updates? I ask, because suddenly my battery drain problem on kit kat came back, and lookin i found that Google ps was on versión 5.x, so i uninstalled updates an left it on versión 4.x, and everything came back to normal.
settngs/apps/all apps , google playstore service... go to manage n clear all data... den uninstall...den disapble
Then he won't have Google Play services at all. It's not what he's asking for.
OP - no, unfortunately there is no way to stop it from auto-updating. However, if you clean the data as I wrote here - you might get lucky and not have any drain with version 5.x. I have it and it's fine.
Jack_R1 said:
Then he won't have Google Play services at all. It's not what he's asking for.
OP - no, unfortunately there is no way to stop it from auto-updating. However, if you clean the data as I wrote here - you might get lucky and not have any drain with version 5.x. I have it and it's fine.
Click to expand...
Click to collapse
Thanks man, i'll try that
Wakelock Termination....
There is only one way perfectly working for me so far with all updates for Google play services....
Install Xposed Framework
Install Wakelock Terminator Wakelock Terminator on Play Store
Activate it in Xposed
Open the Wakelock Terminator and look for google play services
Activate Wakelock Terminator for Google Play Services (In free version only 1 can be added to wakelock).
Add these values in the Filter for Google Play Services
NlpCollectorWakeLock NlpWakeLock CheckinService NetworkLocationLocator
Restart.... You can even check it in app and running menu in settings that you would only see 1 process running for play services and it won't be keeping your CPU awake..... Check it using Wakelock Detector....
Go ahead and give it a try and enjoy.... :good:
Share this info if this helps you..... Let as many people know about it.....
Press Thanks if I helped....
camileind said:
Hi guys, i have a question. Is there any way to stop Google play services auto updates? I ask, because suddenly my battery drain problem on kit kat came back, and lookin i found that Google ps was on versión 5.x, so i uninstalled updates an left it on versión 4.x, and everything came back to normal.
Click to expand...
Click to collapse
Yes there is the way to do it...your device must be rooted...there is an app...here on xda... called LBE security master..in settings there is an option to stop automatically installed software...device still download updated app but LBE stops installation..50 times in 3 days...don't dowload Lbe from play store cos app is in Chinese language. There is one here on xda translated...V5.3.7506 works for me...i an on kitkat 4.4.2
medovici said:
Yes there is the way to do it...your device must be rooted...there is an app...here on xda... called LBE security master..in settings there is an option to stop automatically installed software...device still download updated app but LBE stops installation..50 times in 3 days...don't dowload Lbe from play store cos app is in Chinese language. There is one here on xda translated...V5.3.7506 works for me...i an on kitkat 4.4.2
Click to expand...
Click to collapse
I don't see any setting at all???
medovici said:
Yes there is the way to do it...your device must be rooted...there is an app...here on xda... called LBE security master..in settings there is an option to stop automatically installed software...device still download updated app but LBE stops installation..50 times in 3 days...don't dowload Lbe from play store cos app is in Chinese language. There is one here on xda translated...V5.3.7506 works for me...i an on kitkat 4.4.2
Click to expand...
Click to collapse
nikhilkaushik said:
There is only one way perfectly working for me so far with all updates for Google play services....
Install Xposed Framework
Install Wakelock Terminator Wakelock Terminator on Play Store
Activate it in Xposed
Open the Wakelock Terminator and look for google play services
Activate Wakelock Terminator for Google Play Services (In free version only 1 can be added to wakelock).
Add these values in the Filter for Google Play Services
NlpCollectorWakeLock NlpWakeLock CheckinService NetworkLocationLocator
Restart.... You can even check it in app and running menu in settings that you would only see 1 process running for play services and it won't be keeping your CPU awake..... Check it using Wakelock Detector....
Go ahead and give it a try and enjoy.... :good:
Share this info if this helps you..... Let as many people know about it.....
Press Thanks if I helped....
Click to expand...
Click to collapse
It is not working. Google Play Services still updates.
Upgrade your ROM to 4.4.4
evrycard said:
It is not working. Google Play Services still updates.
Click to expand...
Click to collapse
Sony has ultimately resolved this problem. Simple solution, upgrade to 4.4.4....
I am using it since long and don't find any issues....:good:
nikhilkaushik said:
Sony has ultimately resolved this problem. Simple solution, upgrade to 4.4.4....
I am using it since long and don't find any issues....:good:
Click to expand...
Click to collapse
I think with the advent of Google Play Services 6.5.99 (or perhaps a bit earlier) the auto-update issue has become a problem again.
According to my recent observations Google Play Services 6.5.99 performs periodic location pings (every 15min) or so. With my settings ("Device only" location mode, but "Location reporting" and "Location history" turned "Off"), it is using GPS and thus unnecessarily drains the battery.
I don't see the problem with Google Play Services 6.1.05 so I'd rather wish Google would not auto-update Google Play Services.
Call me a newbie (I'm fine with that because I am as far as Android is concerned) but I find it outrageous that Google can update a core component on my phone without my consent, introducing phone issues, sub-par performance, or undesired behaviour at their whim. An opt-out facility for the auto-updates would be the least one would expect.
The Google Play Store allows one to opt out of automatic updates to downloaded applications so why isn't this setting not consulted when it comes to "Google Play Services"? I realise that probably no one here knows the answer, but I found it very hard to find a place to actually provide Google with feedback regarding "Google Play Services".
TomKay said:
According to my recent observations Google Play Services 6.5.99 performs periodic location pings (every 15min) or so. With my settings ("Device only" location mode, but "Location reporting" and "Location history" turned "Off"), it is using GPS and thus unnecessarily drains the battery.
I don't see the problem with Google Play Services 6.1.05 so I'd rather wish Google would not auto-update Google Play Services.
Click to expand...
Click to collapse
I ve faced the same isse with the repeated gps activities since the last update from the play Services.
But i think the cause of this phenomenon is the Google search! Ive disabled the google search app, and now I dont have this strange gps requests!
wihushae said:
I ve faced the same isse with the repeated gps activities since the last update from the play Services.
Click to expand...
Click to collapse
Thanks heaps for confirming.
I wasn't sure whether my (stock) system got messed up somehow.
I wonder why there hasn't been more of an outcry over the new location pinging behaviour. I find it unacceptable and can only believe it is due to a bug rather than intended.
I hope that future versions of "Google Play Services" will behave differently and found it frustrating that I couldn't locate a forum where Google developers would be listening to "Google Service Play" concerns. I made a post in a "Google Search" thread at a Google forum (not allowed to link to it yet) but I'm afraid it is off-topic there.
wihushae said:
But i think the cause of this phenomenon is the Google search! Ive disabled the google search app, and now I dont have this strange gps requests!
Click to expand...
Click to collapse
I first believed "Google Search" to be the culprit as well because disabling it got rid of the location pings.
However, that only worked once and later attempts to kill the pings by disabling "Google Search" were unsuccessful. Perhaps you should check once in a while whether the pings are coming back because it appears to me that it really is "Google Play Services" and it is just being triggered by various sources.
Also, being able to initiate a google search by just wiping up the home button, is a rather crucial feature to me. Disabling "Google Search" would force me to fire up a browser instead which would be a lot more cumbersome. Given that a different version of "Google Play Services" does not perform the pings even while "Google Search" is available, I'd say one should attempt to tackle the problem by addressing "Google Play Services" not "Google Search".
BTW, I opted out of "Google Now" just to make sure that there aren't any location based cards that request location updates.

Disable OTA Update. No Wakelocks. Need Root.

I'm just relaying my experiences and make no guarantees that you will see the same results that I have but I think most everyone should. First of all, for a long time now I had the SystemUpdateService$Receiver disabled in Google Services Framework and was shocked and extremely annoyed to see the update Monday morning on my N7 and then Tuesday on my N5. I've always been one to flash images as soon as they were available but I've decided to wait. Therefore...
The solution is simple. It really only requires one app but you can use two if you're extra cautious. AutoStarts which is a paid app is what I'm using. I have no idea how much it costs now because I've had it for 2-3 years. The other app is Disable Service. Using Disable Service by itself will cause a major wakelock (SystemUpdateService) which I verified with BetterBatteryStats and also with Wakelock Detector. All of the entries that need to be disabled will be in Google Play Services. In the Autostarts app menu use "Group by application," and under View make sure "Hide systems apps" is not checked. In Google Play Services the third "After Startup" entry from the top needs to be disabled and the second "Connectivity changed" entry from the top needs to be disabled. In the popup for both you will see "SystemUpdateService$Receiver" in the description. My experience so far is that only using Autostarts was sufficient as long as you did NOT go to Settings/About phone/System updates. As soon as you open the "System updates" page the system would re-enable the "Connectivity changed" entry and you will start getting the notifications. Even without going into the "System updates" page the system might at some point re-enable the entry but it never happened to me the day or two I only used Autostarts. To prevent that from happening and to save myself from curiosity when I felt compelled to look in the system updates page, I used the Disable Service app which will completely prevent the system from re-enabling the "Connectivity changed" entry. With the Disable Service app the entry that needs to be disabled is also in Google Play services and it is "SystemUpdateService." After all of the entries are disabled reboot and the notification will be gone and the "System updates" page will say that "Your system is up to date." The "Check now" button is now non-functional and the last time you booted up will be the "Last checked for update" time. I'm getting all of my notifications and the Play Store is auto updating the apps I'm letting update and I'm seeing those notifications also. From what I can see the only thing that is not working is the OTA system update.
Update: I've been using Autostarts by itself to disable two entries in Google Play Services for a few weeks with no issues, no notifications about a system update. Just looked in About phone/System updates and the OTA is still there. Re-enabled the second "Connectivity changed" entry, rebooted and notification is once again gone.
wantabe said:
I'm just relaying my experiences and make no guarantees that you will see the same results that I have but I think most everyone should. First of all, for a long time now I had the SystemUpdateService$Receiver disabled in Google Services Framework and was shocked and extremely annoyed to see the update Monday morning on my N7 and then Tuesday on my N5. I've always been one to flash images as soon as they were available but I've decided to wait. Therefore...
The solution is easy but by no means elegant. It requires two apps and one of those is a paid app (AutoStarts). I have no idea how much it costs now, I've had it for 2-3 years. The other app is Disable Service. Using Disable Service by itself will cause a major wakelock (SystemUpdateService) which I verified with BetterBatteryStats and also with Wakelock Detector. All of the entries that need to be disabled will be in Google Play Services. In the Autostarts app menu use "Group by application," and under View make sure "Hide systems apps" is not checked. In Google Play Services the third "After Startup" entry from the top needs to be disabled and the second "Connectivity changed" entry from the top needs to be disabled. In the popup for both you will see "SystemUpdateService$Receiver" in the description. My experience so far is that only using Autostarts was sufficient as long as you did NOT go to Settings/About phone/System updates. As soon as you open the "System updates" page the system would re-enable the "Connectivity changed" entry and you will start getting the notifications. Even without going into the "System updates" page the system might at some point re-enable the entry but it never happened to me the day or two I only used Autostarts. To prevent that from happening and to save myself from curiosity when I felt compelled to look in the system updates page, I used the Disable Service app which will completely prevent the system from re-enabling the "Connectivity changed" entry. With the Disable Service app the entry that needs to be disabled is also in Google Play services and it is "SystemUpdateService." After all of the entries are disabled reboot and the notification will be gone and the "System updates" page will say that "Your system is up to date." The "Check now" button is now non-functional and the last time you booted up will be the "Last checked for update" time. I'm getting all of my notifications and the Play Store is auto updating the apps I'm letting update and I'm seeing those notifications also. From what I can see the only thing that is not working is the OTA system update.
Update: I've been using Autostarts by itself for over a week with no issues, no notifications about a system update. Just looked in About phone/System updates and the OTA is still there. Re-enabled the second "Connectivity changed" entry, rebooted and notification is once again gone.
Click to expand...
Click to collapse
Thanks for the post. I was searching for a resolution to my 5.0.1 update for my the NEXUS 6. It was literally driving me crazy. I saw a couple of post on how to disable the OTA before, but none worked as efficient as this. Followed your instructions rebooted, no OTA !!!!!!!!So ...................Happy Days are Here Again.
juscozimme said:
Thanks for the post. I was searching for a resolution to my 5.0.1 update for my the NEXUS 6. It was literally driving me crazy. I saw a couple of post on how to disable the OTA before, but none worked as efficient as this. Followed your instructions rebooted, no OTA !!!!!!!!So ...................Happy Days are Here Again.
Click to expand...
Click to collapse
Appreciate the feedback! I thought that it would work on the N6 and N9 but couldn't test it myself. Glad it worked for you!
wantabe said:
Appreciate the feedback! I thought that it would work on the N6 and N9 but couldn't test it myself. Glad it worked for you!
Click to expand...
Click to collapse
Not one single OTA, now I can patiently wait for the wugfreh tool kit to update to 2.0.
My autostarts says "No applications are autostarting". Any ideas?
Rooted Nexus 5 running Dirty Unicorns 4.4.4 ROM

[Q] Version of Google Play-Services

Hello and good morning,
as i have big issues with push notifications (gmail, whatsapp and some other apps),
could you please tell me, the version number installed in your device?
(settings - application manager - all - google play-services)
after long testing, i found at that this issue is being caused by this service,
google search will find a huge thread "Gmail app is not syncing automatically on my phone"
a silent update of google play services installed 8.3.01 (2385995-034) at my device.
shortly after that, push notifications suddenly stopped.
thank you
crxvti said:
Hello and good morning,
as i have big issues with push notifications (gmail, whatsapp and some other apps),
could you please tell me, the version number installed in your device?
(settings - application manager - all - google play-services)
after long testing, i found at that this issue is being caused by this service,
google search will find a huge thread "Gmail app is not syncing automatically on my phone"
a silent update of google play services installed 8.3.01 (2385995-034) at my device.
shortly after that, push notifications suddenly stopped.
thank you
Click to expand...
Click to collapse
Have you checked your apps ops settings? Keep awake must be enabled now I think... I just fixed OMNI ROM driven S3 mini of my friend and he still kept the latest official services.
Otherwise, DL Google store 8.4.20 and Google play services 8.1.15 (2250156-034), go in to airplane mode, uninstall updates for these two, substitute your original Store and Services with indicated above in the priv system folders, do the game with terminal chattr +1 on the store, disable update service on the store, reboot, enable the net and voila. Naturally, do all the backups before all of that and you should be good for all times (my One+1 is not updating the store nor services anymore doing these steps). NOTE: I b0rking something, revert to prev. backups or previous backups and thinker it again.
My wife's S3 Mini has no problem , cause of her setup (no apps ops in between and no services disabled).
my 2"

How to get google notifications working without gms or sketchy downloads

Hey guys, long time lurker around xda and after purposely getting a huawei gms-less phone to see how it would go I ran into some frustrations learning that apks from the playstore whether from downloads or aurora store app etc, nothing would deliver notifications. My huawei is a nova7se but I had a friend test this on his and it is working as well so I presume it works for all huawei/googleless devices to a point.
The goal of this was to find a way to get notifications from playstore apps such as discord, outlook email , banking apps etc. This is not a replacement for google services apis needed for games or google apps which rely on services framework to operate in general.
A few things
-MUST BE CLEAN GOOGLE-LESS PHONE**
-Does not need root/bootloader unlocked
-Does not need sketchy downloads from random sites formatting recovery/ota/hisuite backups etc
-Mostly all open source
-Easily reversible and minimal risk
-All done through phone without additional mods or adb
-Not all apps will work for notification services for this depending on how the original developer team wrote the app to handle this situations. For example: discord, outlook, capital one bank, chase bank, apps work but protonmail did not want to connect to microg for notifications and I have not been able to successfully trick it to connect to it yet)
- APKS MUST BE FROM PLAY STORE ORIGINALLY. Using fdroid variants or personal stuff probably wont work since those packages did not rely on google notification services. I know some apps have a standalone apk you can download externally from the source but it may differ in its functionality.
-THIS IS NOT GOOGLE PLAY SERVICES AND WILL NOT MAKE GOOGLE APPS WORK. The reason it is not working for your google apps and games is because it was never supposed to. Dx
**By "google-less" phone I am referring to not having any leftover packages from attempting to install gms on the device. Google packages conflict with microG and will not be compatible. If you have used lzplay or other methods to attempt to get some form of playstore working, then you will most likely have google packages installed somewhere even if it failed to get GMS working perfectly. Keep this in mind if you get installation issues. Ideally if you are not using the phone as a daily, factory reset it to original settings if possible to ensure cleanest install if you want to pursue this.
STEP 1)
Download microG apps.
-microG services core
(optional)
- **microG services framework proxy
- **microG droidguard helper (? no idea if this is needed but was in my downloads for microg testing)
**the services framework proxy and droidguardhelper were part of the original experiment but later on I managed to get notifications running without needed either one of these.
Easiest way is to use fdroid store app and to add in microg repo found here.
https://f-droid.org/
https://github.com/microg/android_packages_apps_GmsCore/wiki/Downloads
Step 2)
Open microg settings app - self check
-Signature spoofing will not work because we have no access to anything on the phone system wise
-Installed packages should have "playservices gms core installed" and "services framework installed" checked only (see picture)
-Grant permissions and select to ignore battery optimization (so the service is not closed in background)
Step 3)
MicroG settings main menu
-Turn on google device registration
-Turn on google cloud messaging
-Turn on google safetynet (probably is not actually doing anything but turn it on for good measure)
-Add google account (Does not appear to be needed since it did not do anything specific relating to notifs)
Step 4)
Download aurora store.
https://f-droid.org/en/packages/com.aurora.store/
or
https://gitlab.com/AuroraOSS/AuroraStore
Fdroid route is easiest if you used it to install microg apps.
(Why aurorastore? Why not? The main reason is because it accesses google play store apps which inturn are the apks which are known to use google play services for notifications. Downloading an apk from another origin might not be the playstore version making it not really work with this process)
Step 5)
Download apps as needed with aurora store,
In phone settings, make sure you disable auto management of background apps.
Settings-battery-applaunch. Set apps like outlook, discord etc to manual and turn all settings to on (auto launch/run in background/secondary lauch).
Optional step 6) In aurora store settings , add microg apps to blacklist so aurora store does not try to update microg with play services which will erase micro g and give you a systemless apk of play services which does absolutely nothing.
Thats basically it. I was so caught up on trying to find ways to break into my nova 7se's bootloader and attempted to sideload microg for authentic playstore functionality and playservices but as long as notifications are working, aurora store + notifs is all the functionality I need.
No offense to those offering other ways to add in gms to huawei phones but as a security minded individual, it seems like too much of a risk to use randomly hosted internet files overwriting system functionality.
If you go into microg settings and under "google cloud messaging" you can see which apps are being monitored for notifications. Once I restarted my device, its status turned to disconnected but still catches notifications for outlook and discord as I tested. This is not using microg as a replacement for playservices because again this is ONLY FOR NOTIFICATION USAGE in this implementation.
Hope this helps anyone who wants to be able to use some google play apps but had notification issues.
It is not working as i kept getting error to install microG Services Core due to "Failed to install due to an unknown error" on my Huawei P40 Pro
zoold3vil said:
It is not working as i kept getting error to install microG Services Core due to "Failed to install due to an unknown error" on my Huawei P40 Pro
Click to expand...
Click to collapse
If you have any google core packages installed (even as regular systemless apps) or leftovers from previous attempts at getting gms installed then it will conflict with microg installation since it sees it as a conflicting app. This requires a clean almost factory emui without any remnants of google installation attempts. Ill update the initial post for that bit of info.
This is only for notifications, right?
I mean, this doesn't allow you to use YouTube, Gmail, Keep etc...?
i did played with microG Services as well befire... but ended up in still having the original play services installed, did tested now again with microG services and now, outlook, whatsapp, Microsoft Authenticator and Launcher only force closes... what ah mess
futureshock said:
i did played with microG Services as well befire... but ended up in still having the original play services installed, did tested now again with microG services and now, outlook, whatsapp, Microsoft Authenticator and Launcher only force closes... what ah mess
Click to expand...
Click to collapse
Don't worry, you just have to reinstall every app that force closes.
sheikgr said:
This is only for notifications, right?
I mean, this doesn't allow you to use YouTube, Gmail, Keep etc...?
Click to expand...
Click to collapse
Correct. I stumbled upon this accidentally while trying to figure out a way to enable 'oem unlock' in my nova7se since huawei blocked even adb shell sysprop access to change the setting. Its not a full implementation of microG and probably is not intended to be used this way but it gets notifications through which is a plus when pulling apks from play store. Theres no xda forum for the nova7se but figured Id share it here D:
futureshock said:
i did played with microG Services as well befire... but ended up in still having the original play services installed, did tested now again with microG services and now, outlook, whatsapp, Microsoft Authenticator and Launcher only force closes... what ah mess
Click to expand...
Click to collapse
Yea unfortunatly any attempts with getting original play services installed sort of messes with this. Preferably a clean install/phone reset is ideal starting point. App wise you might have to clear cache and data so it 'resets' which is almost the same as uninstalling and reinstalling the apps. You will still get the message that "this app wont function without play services" since you cant spoof it entirely and on some you might have to find the setting to turn notifications off and back on in the app themselves. If it shows up on microG's setting under 'google cloud messaging' option, it is working. Ive been using the nova7se for a couple days now testing it as a daily user, restarted it occasionally and things are functioning similar to regular android phones(notification wise). Just be sure to allow the app to run in background so the system battery saver/app launch process does not turn it off.
as i say'd i did played a little bit with microG services, but for example, even when reinstalling the apps afterwards, whatsapp does start, and you need to relogin, but on the restore backup screen nothing more happens, only loading forever, when microG Services are installed..
another interessting i found out right now, when the apps force closes, when putting the phone into airplane mode, the apps does open normally!
futureshock said:
as i say'd i did played a little bit with microG services, but for example, even when reinstalling the apps afterwards, whatsapp does start, and you need to relogin, but on the restore backup screen nothing more happens, only loading forever, when microG Services are installed..
another interessting i found out right now, when the apps force closes, when putting the phone into airplane mode, the apps does open normally!
Click to expand...
Click to collapse
Oh ok I get what you are talking about now. Backup functionality (for whatsapp) I believe uses google drive account which microG in this sense is not going to provide. Just a friendly reminder that this process is for push notifications only and not google api usage. provided by play services
futureshock said:
as i say'd i did played a little bit with microG services, but for example, even when reinstalling the apps afterwards, whatsapp does start, and you need to relogin, but on the restore backup screen nothing more happens, only loading forever, when microG Services are installed..
Click to expand...
Click to collapse
maybe i found there a bug of whatsapp... as whatsapp trys to find google drive... but does not work correctly it loads forever... for some reason it looks like it ah hidden error message or something like this... i hit back a couple of times, and closed whatsapp and reopend, and suddenly i saw the no backup found page... anyway still all this is BS, i really hate huawei for not unlocking the bootloader, and let us just do what we like to do... there wouldn't even be an issue with GMS anymore as we simply could flash openGapps
So, you did found a new way, GMS + HMS enabled with no notification error? Am i right?
hayals said:
So, you did found a new way, GMS + HMS enabled with no notification error? Am i right?
Click to expand...
Click to collapse
So the statement is a bit misleading, this is not really GMS but its a way to use 3rd party play store apps that would not give notifications because of play services missing. This will only cover the notification portion of apps/apks originally found in the playstore that require notifications through play services push notifications. I have not touched HMS or anything else but this basically inserts a listener under microG to monitor push notifications and deliver them as needed. Again this does not resolve the issue of missing google APIs found in the full GMS package and is not intended to do so. Strictly notification wise for apps that need them.
Personally I used aurora store to get apks from playstore without needing playstore installed (because playstore version apps are looking to use googles push notification services) but how those apps function is another story. For example: Youtube/maps/google pay etc will not work as they need google apis. But 3rd party apps like discord, outlook email, and banking apps like capital one etc do work. Games might not because they might want play games api which is not present here since this is not GMS. (Tried to fun cytus 2 and a few other games and it wouldnt start since license check fails by default)
To my knowledge this will not work with any other GMS procedure attempted so you cannot combine this with a working GMS hacked install since you will have a version of play services and gsf framework active. Think of this as another alternative entirely in a way if you want to not risk questionable modifications and want to stay on default HMS software. Idk what the future holds as huawei seems to block ways to get GMS on phones after they become popular so I see this as an alternative to the unknown with pulled playstore apks functioning as they should.
GMS and this fix won't cooperate.
I've been using this for a while, but sadly not apps are giving me notifications. Reddit for example is not sending anything to my phone.
I did a factory reset on my P40 Pro followed the guide and when you wrote to add an account I do so, I press Agree and then it stays on
Just a sec
Your device is contacting Google to
save information on your account
This can take a couple of minutes
Sorry
There was a problem communicating with Google Servers
Try again later.
And anything like games that use google to login it fails too
GrimTech said:
I did a factory reset on my P40 Pro followed the guide and when you wrote to add an account I do so, I press Agree and then it stays on
Just a sec
Your device is contacting Google to
save information on your account
This can take a couple of minutes
Sorry
There was a problem communicating with Google Servers
Try again later.
And anything like games that use google to login it fails too
Click to expand...
Click to collapse
Unfortunatly for something like that theres too many factors at play to trouble shoot that from my end. I would say to try a different default browser/vpn it etc as it could be any number of reasons why google servers arent connecting for it. Games that use google wont work because this is not google play services replacement. This was only intended for getting notifications working with most* apps that rely on a simple push notification service through google play services. Unfortunatly this isnt a guarentee depending on the app itself and where its pulled from . This was why I use/suggest aurora store since its pulling the playstore version of the app which almost always relies on google services for notifications.
Some apps like discord, outlook etc have a manner of continuous notification scanning in the background processes to try to get itself to connect to a push service even if they give you the error that "the device does not have google services and might not work properly". I can confirm those are working as are my banking and authenticator apps. I had an issue with proton mail specifically where it wouldnt attempt another push notification check to register with microg like the previous apps and wont recieve notifications. Its not a magic bullet but helps where it works.
Vexusia said:
If you have any google core packages installed (even as regular systemless apps) or leftovers from previous attempts at getting gms installed then it will conflict with microg installation since it sees it as a conflicting app. This requires a clean almost factory emui without any remnants of google installation attempts. Ill update the initial post for that bit of info.
Click to expand...
Click to collapse
Thanks for the info
I still can't open google related apps like youtube or google app itself... Even with Vanced youtube, it is hard to keep up because I can't log in, so i can't have my subscriptions and updates. Also certain games can't be played because the data are connected to my Google Play
Bump...
..So does the MicroG method still work in 2021 or with the latest version of the OS?
arsenal74 said:
Bump...
..So does the MicroG method still work in 2021 or with the latest version of the OS?
Click to expand...
Click to collapse
Yes it does work with EMUI11.
Only advantage it's easier to install and Get push Notification and not mush else.
Now This is the only way you can install with Vanced Manager

Categories

Resources