[SHELL][SCRIPT][10/10/15] SPR Disabler - ONE General

Hello world,
Welcome to SPRs thread page!
What is SPR Disabler?
SPR stands for Services, Providers and Receivers Disabler. This is a standard shell script that will disable unwanted services, receivers and providers from Google Play Services.
What is the difference between this and other conventional methods?
With this method you don't need to install an extra APP that runs in background. This script allows you to disable stuff you do not want, at boot. The only thing you need for this to work, is a ROM with su and /etc/init.d/ support so you can run the script.
How many SPRs does this disables?
231 as of 10/10/15.
For what version of Google Play Services was this compiled?
Google Play Service v8.1.15.
Do you intend to update this script regularly?
I intend to update this script as time permits.
Will there be a problem with my phone if I use this?
I took extra care to verify the logcat after trying the script on my own phone. The only major problem found right now is that the network location service throws an error:
Code:
10-09 12:00:09.817: E/GmsNetworkLocationProvi(1960): Exception
10-09 12:00:09.817: E/GmsNetworkLocationProvi(1960): java.lang.SecurityException: need INSTALL_LOCATION_PROVIDER permission, or UID of a currently bound location provider
10-09 12:00:09.817: E/GmsNetworkLocationProvi(1960): at android.os.Parcel.readException(Parcel.java:1546)
10-09 12:00:09.817: E/GmsNetworkLocationProvi(1960): at android.os.Parcel.readException(Parcel.java:1499)
10-09 12:00:09.817: E/GmsNetworkLocationProvi(1960): at android.location.ILocationManager$Stub$Proxy.reportLocation(ILocationManager.java:1232)
10-09 12:00:09.817: E/GmsNetworkLocationProvi(1960): at com.android.location.provider.LocationProviderBase.reportLocation(LocationProviderBase.java:136)
10-09 12:00:09.817: E/GmsNetworkLocationProvi(1960): at com.google.android.location.network.NetworkLocationService.onHandleIntent(SourceFile:107)
10-09 12:00:09.817: E/GmsNetworkLocationProvi(1960): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
10-09 12:00:09.817: E/GmsNetworkLocationProvi(1960): at android.os.Handler.dispatchMessage(Handler.java:102)
10-09 12:00:09.817: E/GmsNetworkLocationProvi(1960): at android.os.Looper.loop(Looper.java:135)
10-09 12:00:09.817: E/GmsNetworkLocationProvi(1960): at android.os.HandlerThread.run(HandlerThread.java:61)
This error DOES NOT render your phone useless in the sense that the location of your phone will still work without problems (tested with MAPS, WiFI and Data, GPS on also with GPS Test).
The other issue is related to Gmail - when you enter the app, there will be an error from GPS, but don't worry because the app will still work.
How to install this on my phone?
You will need a custom rom with su and init.d support.
1. Place SPRDisabler.sh in your /etc/init.d/ folder and set the correct permissions (Read: Owner, Group and Other / Write: Owner / Execute: Owner, Group and Other)
2. Launch Terminal Emulator (if you do not have this installed on your phone, install it from Play Store)
3. When Terminal is opened, type:
Code:
su
./etc/init.d/SPRDisabler.sh
!Please note that those are 2 lines of code that need to be entered in Emulator. The first one is to acquire su permissions and the other one is to run the script!
4. Script will now run!
How to revert back if I don't like it?
There is a shell script in the zip that will revert back all the disabled SPRs. Just use the same install method to install the Revert script.
What exactly is disabled?
Code:
Chrome Sync
Google OTA updates (you're not a nexus, lol)
Google WiFi Gatherers
Google Usage Reporting
Google CAST feature (to 'share' your screen on TVs or Smart TVs)
Google Pseudonymous
Google Photos backup
Google Phenotype
Google Nearby
Google Kids
Google Help
Google feedback
Google Car (do you own an Android Car?)
Google Fitness
Google Location Reporting
Google ConfigFetch
Google CheckIn
Google Analytics
Google Ads
Google Location Copresence
Google Location Geofencer
What do I actually get afterwards?
You get a slimmed memory footprint for Google Play Services.
Proof?
Google Play Services on a fresh install ROM:
{
"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"
}
Google Play Services on a fresh install ROM, script applied:
OK, I want it!
https://www.androidfilehost.com/?fid=24052804347834365
Pics in the wild
That's it. I hope you enjoy using this script!

Needed!

whoaaa whoa

Excuse my ignorance, but what benefits does this give us? Battery life? More free memory?
Sent from my A0001 using Tapatalk

itslels said:
Excuse my ignorance, but what benefits does this give us? Battery life? More free memory?
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Less services running on your phone. Benefits will range from better battery life, less heat to less memory used.
Sent from my A0001 using Tapatalk

Looks promising! I'll try this out on my device and report back the results. Does this mean that I don't need Amplify anymore to limit the Play Services? Will this script also work on other devices?

GXGOW said:
Looks promising! I'll try this out on my device and report back the results. Does this mean that I don't need Amplify anymore to limit the Play Services? Will this script also work on other devices?
Click to expand...
Click to collapse
The disabled ones won't be visible in Amplify. You can still use it while you use this script. It should work on any Android phone that has Google play services and root.
Sent from my A0001 using Tapatalk

1ceb0x said:
The disabled ones won't be visible in Amplify. You can still use it while you use this script. It should work on any Android phone that has Google play services and root.
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Alright, thanks for the answer. I ran the script, but it looks like there are exceptions all over the place!
I've come across them in every phase of the script, so I don't think that's a good sign.
The script still tells me the services are disabled with success, though.

GXGOW said:
Alright, thanks for the answer. I ran the script, but it looks like there are exceptions all over the place!
I've come across them in every phase of the script, so I don't think that's a good sign.
The script still tells me the services are disabled with success, though.
Click to expand...
Click to collapse
Please give correct permissions to the file. The script is denied because permissions are not correctly given. Refer to the OP for more info.
Sent from my A0001 using Tapatalk

1ceb0x said:
Please give correct permissions to the file. The script is denied because permissions are not correctly given. Refer to the OP for more info.
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
The permissions are correct, but apparently there was an issue with the Terminal app I was using gaining root access. It's working now! I've also successfully applied it on my G Pad 8.3 and so far, the memory footprint of GPS has shrunk enormously! Will report back on battery life later.
Thanks for creating this script!

GXGOW said:
The permissions are correct, but apparently there was an issue with the Terminal app I was using gaining root access. It's working now! I've also successfully applied it on my G Pad 8.3 and so far, the memory footprint of GPS has shrunk enormously! Will report back on battery life later.
Thanks for creating this script!
Click to expand...
Click to collapse
Can you please check if your location still works properly? Mine still works and it shows my location but I need second thoughts. Thanks!
Sent from my A0001 using Tapatalk

1ceb0x said:
Can you please check if your location still works properly? Mine still works and it shows my location but I need second thoughts. Thanks!
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Apps like Maps and Swarm can still acquire my current location without any problems. Smart Lock doesn't work anymore, unfortunately, but that's self-explanatory why it doesn't.

This looks great, thanks for making it! One sorta dumb question, it seemingly disables cast, will that make it so I can't use chromecast? Or is this a totally different kind of cast? Thanks in advance.

PlayingPoise said:
This looks great, thanks for making it! One sorta dumb question, it seemingly disables cast, will that make it so I can't use chromecast? Or is this a totally different kind of cast? Thanks in advance.
Click to expand...
Click to collapse
It is chromecast. If you want it enabled just change "disable" with "enable" in the script for all the services that have in their name ".cast.", save it and then run it. This will disable anything else but leave cast enabled.
Sent from my A0001 using Tapatalk

Thanks for this. Will test for a couple days.
One thing though- any way to get rid of that error dialog in Gmail? It bugs me somehow...
(I'd even be willing to enable a couple of services; 228 services disabled instead of 230 doesn't sound too bad either right? )

The Dork Knight Rises said:
Thanks for this. Will test for a couple days.
One thing though- any way to get rid of that error dialog in Gmail? It bugs me somehow...
(I'd even be willing to enable a couple of services; 228 services disabled instead of 230 doesn't sound too bad either right? [emoji14])
Click to expand...
Click to collapse
I will be working on it tomorrow hopefully. Right now i have no idea why that happens. I know it throws an error regarding the version of the email provider or something like that but I'm not sure which needs to be enabled for now.
Sent from my A0001 using Tapatalk

It's not looking too good at the moment, unfortunately. GPS is having a great impact on my battery life.
http://imgur.com/oVORSxL
http://imgur.com/D2tEk3O
Sent from my OPO running Sultanxda's CM 12.1

Hello! This looks interesting. My friend and I have been in the midst of optimizing our device's battery by doing all sorts of tweaking. Initially have done disabling services manually from another thread. Your script is the answer to the tedious method of disabling 148 services!
One thing to ask, does your script allow the option of enabling some services? Let's say for example, if I really do own an android car, can I enable it?

GXGOW said:
It's not looking too good at the moment, unfortunately. GPS is having a great impact on my battery life.
http://imgur.com/oVORSxL
http://imgur.com/D2tEk3O
Sent from my OPO running Sultanxda's CM 12.1
Click to expand...
Click to collapse
Can you narrow down the problem using bbs or wld? I do not see this behavior on my phone.
skyred5 said:
Hello! This looks interesting. My friend and I have been in the midst of optimizing our device's battery by doing all sorts of tweaking. Initially have done disabling services manually from another thread. Your script is the answer to the tedious method of disabling 148 services!
One thing to ask, does your script allow the option of enabling some services? Let's say for example, if I really do own an android car, can I enable it?
Click to expand...
Click to collapse
The script is pretty explanatory. Each line has a "pm disable" in front of it. If you want some services from the script to be left enabled, just change "pm disable" with "pm enable" inside the script for each line you want, then save it and execute it.
Sent from my A0001 using Tapatalk

I use Google analytics and Google adsense. Can I get it without these being turned off?
Nvm after I completely read the entire thread. I got my answer.
Sent from my BLU STUDIO 7.0 II using Tapatalk

Related

[Q] Help with Google Services Battery Drain

Hey guys,
So I know that this is a common problem lately. I just started experiencing it this last week. I noticed that my idle battery life was going down very quickly. I charged my phone to 100% last night and woke up after 8 hours to see 50%. i was pretty furious. I did a bit of research and I realized that there was an update for Google Play that was supposed to get rid of the drain. I downloaded the update, and it did help. My battery life seems almost back to normal but not quite. I notice that Google Services is still using a good chunk of the battery. It's currently using 10%, which is pretty odd considering i never used to see it pop up on my battery screen.
So I did a bit more reading and I was told on another forum that I need to manually change the sync settings for each Google application. Does anyone know how to do this? I went to Settings > Accounts > Google and clicked on my account. I saw all the options to enable/disable sync, so I disabled sync for a few apps. However, I didn't see any settings to change the length between each sync. Does anyone know how I can change this?
Either way, doesn't this all seem arbitrary? My battery was running great for a couple months and now and Google services was never an issue. How has it suddenly become an issue on my phone? Seems so random
So I disabled sync for everything but a couple of Google apps. The battery is better but I still used 24% overnight. I woke up to a 76% battery. I used to wake up to a 94% battery so I'm not sure what's up. At least google services isn't showing up on the battery stats anymore
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Battery
OnSugarHill said:
So I disabled sync for everything but a couple of Google apps. The battery is better but I still used 24% overnight. I woke up to a 76% battery. I used to wake up to a 94% battery so I'm not sure what's up. At least google services isn't showing up on the battery stats anymore
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Are you running a custom ROM or custom kernel?
Also, is power saving mode enabled? Usually my battery drains 1%/hour when on standby, if even that.
Try messing with the GPS settings or location services?
Delete Google backup transport
Sent from my myTouch 4G using xda app-developers app
N_otori0us_ said:
Delete Google backup transport
Sent from my myTouch 4G using xda app-developers app
Click to expand...
Click to collapse
How do I do this on the s4? Do I just find the apk file and delete it?
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
OnSugarHill said:
How do I do this on the s4? Do I just find the apk file and delete it?
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Yes. Go into
/system/app
It should be there. Delete and then reboot
Also you can freeze the stuff you won't be using by going into settings> apps > all
And then click on the app you don't t want and then it will say disable.
You can freeze more apps with titanium backup though
Hope I helped
Sent from my myTouch 4G using xda app-developers app
Just curious, can we use TiBu to convert Google Play Services to a "user app" and then Greenify it? Or will that have adverse effects?
Sent from my AT&T Samsung Galaxy S4 Badass
N_otori0us_ said:
Yes. Go into
/system/app
It should be there. Delete and then reboot
Also you can freeze the stuff you won't be using by going into settings> apps > all
And then click on the app you don't t want and then it will say disable.
You can freeze more apps with titanium backup though
Hope I helped
Sent from my myTouch 4G using xda app-developers app
Click to expand...
Click to collapse
I've noticed that some apps won't let me disable them. Are there some apps I can't disable without rooting?
Also, will I lose functionality by deleting Backup Transport? I'm not sure exactly what it does. Does it upload changes to my Google apps to my account? For example, will changes I make to my phone calendar still be changed on my Google calendar?
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
I just tried uninstalling the Backup Transport by using Root Finder. It didn't work. Do I need to root my phone to be able to uninstall apps like that? Or do I have to do everything through the App Manager?
OnSugarHill said:
I just tried uninstalling the Backup Transport by using Root Finder. It didn't work. Do I need to root my phone to be able to uninstall apps like that? Or do I have to do everything through the App Manager?
Click to expand...
Click to collapse
You gotta root your phone. To be honest I don't really know what it does.
Sent from my myTouch 4G using xda app-developers app
OnSugarHill said:
Hey guys,
So I know that this is a common problem lately. I just started experiencing it this last week. I noticed that my idle battery life was going down very quickly.
Click to expand...
Click to collapse
If you're not rooted, root your phone and get BetterBatteryStats. You have wake locks that are keeping your phone from going into deep sleep. Bbs will help you find the wake locks.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Problem seems to have gone away. I only lost about 8% battery over about a 9 hour span
{
"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 SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Yep, pfm!
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
OnSugarHill said:
Also, will I lose functionality by deleting Backup Transport? I'm not sure exactly what it does. Does it upload changes to my Google apps to my account?
Click to expand...
Click to collapse
From Google:
Android Backup Service provides a backup transport for Android's data backup framework, which allows you to copy a user's persistent app data to remote "cloud" storage. Backing up persistent data this way provides a restore point for the app on most devices running Android 2.2 or higher. The backup service is not designed for synchronizing application data with other clients or saving data that you'd like to access at random during the application lifecycle.
The Android Backup Service offered by Google provides a backup transport on most devices that include Google Play Store and backs up your app data to Google servers. The backup transport may differ from device to device and which backup transport is available on any device is transparent to your application.
Click to expand...
Click to collapse
Looks like the only functionality you'll lose is certain apps backing up their data to the cloud.
EDIT: I just froze the backup transport with Titanium Backup. This may just be a coincidence...but after a while I noticed I was no longer receiving notifications from certain apps. I unfroze it, and a minute later I was flooded with notifications. Hmm.

Google services

After the new update, I noticed that Google services remains high up on the usage list under my battery stats. I am not rooted and stock. I haven't changed any other of my Google settings since the update nor have I installed any new apps. I installed better battery stats, and although phone is sleeping, under partial wake locks it shows nlpwakelock at the top which is some sort of Google service. Any ideas? Thanks
Sent from my SPH-L720 using Tapatalk 4 Beta
I had this also. This is what I did.
Uninstall Google maps update from Applications. Clear cache/data (whatever is there) and reboot.
Update Maps from play store.
I found this by searching Google, it worked for me, hopefully for you. Now if I can figure out a good screen setting so that won't kill my battery.
I haven't received the update yet but the last few days Google services has used the most battery where normally the display is the highest. I checked my sync settings and my contacts, calendar, ect had errors and it said at the bottom "sync experiencing problems" I unchecked everything and rechecked one by one. Now I don't even see Google services on the battery stats anymore
Sent from my SPH-L720 using Tapatalk 4 Beta
Sync was working fine, and tried the above maps suggestion and still getting that darned Google services.
Sent from my SPH-L720 using Tapatalk 4 Beta
Well, it appears it was google+ related. I just got an update for google+ and Google services no longer remains on top of the battery stats for now. I'll have to keep an eye on it and report back.
Sent from my SPH-L720 using Tapatalk 4 Beta
Google had a major outage this week that affected a lot of the apps that use google services. The high drain might have been caused by the outage and apps continually trying to sync with down servers.
Sent from my icrap 2 using Tapatalk HD
Just out of curiosity, my phone has been running for just over 16 hours and Google services is still showing in battery stats and that it's kept my phone awake for 12 minutes. Although my battery seems to be getting good life, I'm curious what others are showing for awake time for google services. Thanks guys.
Sent from my SPH-L720 using Tapatalk 4 Beta
{
"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 was only having a issue when sync was experiencing issues.
Sent from my SPH-L720 using Tapatalk 4 Beta
That's weird. My accounts are syncing fine yet still remains in battery stats.
Sent from my SPH-L720 using Tapatalk 4 Beta
I have even removed account and Re added. Still in the battery list.
Sent from my SPH-L720 using Tapatalk 4 Beta
Google Services accounted for 68% of my battery, but yet somehow I still managed to get awesome battery life (25hrs).
I am getting pretty good battery as well. I'm starting to think that perhaps with the new update that something has changed in the way Google services is being reported. Nonetheless, would still like to know what others are showing since the update.
Sent from my SPH-L720 using Tapatalk 4 Beta
I had this issue as well.
Turning off location services, google now, and clearing cache and data for google services framework.
Dirty fix, but does the trick
Sent from my SPH-L720 using Tapatalk 2
s.lee1993 said:
I had this issue as well.
Turning off location services, google now, and clearing cache and data for google services framework.
Dirty fix, but does the trick
Sent from my SPH-L720 using Tapatalk 2
Click to expand...
Click to collapse
And then turn them back on?? I use Location Services and Google Now all the time!
i have google service use up 40% of my battery life never use to do that
i guess with GPS - and Apps try to use your location and Google now what causing the google services to use up battery
OK, so after some Googling, it seems this is a widespread problem across many different devices, not just specific to our S4 or to Samsung. This must be on Googles end...possibly network location servers or such? This seems to be happening at random, over the past few months and magically cures itself just ass randomly.
It's still appearing in my battery stats list somewhere in the middle, but what's odd is even with that, I got 27 hours of battery life with half that time over 3g network... Google now on, 2 hours voice calls and 3.5 hours screen time. Perhaps something with Google servers reporting Google services changed but not affecting battery? What type of battery life is everyone else getting?
Sent from my SPH-L720 using Tapatalk 4 Beta
Yea i like them too, but its a dirty fix for the problem
Sent from my SPH-L720 using Tapatalk 2
I've been having this issue since I updated to MF9. I'd see Google Services as the main battery culprit in the built in battery usage display. When looking in BBS it showed up as NLPwakelock. While searching for an answer I came across a post in the International S4 forum talking about the nlpwakelocks.
In the thread rl421403 states the issue is caused by Play 4.1.6, which I had. I just updated my Play Store to 4.1.10 to see if that resolves the issue for me. I'll report back in a few days but this looks very promising.
http://forum.xda-developers.com/showpost.php?p=43676594&postcount=35

Google play services drain - Sensors?

Hi,
Don't know if it's related to OOs 5.0.1 but I noticed a quite important battery drain with Google play services (dirty flashed following a clean Oreo Flash).
I'm not sure but I think it may be due to motion sensors usage like you can see on the snapshot.
What I tried without success:
1/ Removed "Modify system settings" permission (Google play services)
2/ Installed AKT (X.A.N.A. battery extreme)
3/ EnableDozeForGMS through TWRP (doesn't seems to work on OOs)
4/ Removed following permissions for Google play services: "Body sensors" and "Microphone"
5/ Uninstalled (Titanium) GMail app
6/ Google settings > Getting around, deactivated "Google voice & Audio activity"
7/ Blocked all wakelocks on EXKM (Flash kernel)
Going to try:
8/ Reactivating aggressive Doze in battery options
9/ Sys Patcher Magisk module (force Doze for Google play services)
Thanks for your advice. [emoji846]
{
"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"
}
That's very weird. I have GSam battery monitor too and I don't have ANY sensor on Google play services. I have them all, exactly like you have posted, but on Android System.
What version of Google Play Services do you have installed?
It's probably because of the dirty flash. I used to experience similar problems so I stopped doing dirty flashes of OOS updates. I haven't had any weird battery drain issues since.
tWoBrO said:
That's very weird. I have GSam battery monitor too and I don't have ANY sensor on Google play services. I have them all, exactly like you have posted, but on Android System.
What version of Google Play Services do you have installed?View attachment 4382692View attachment 4382693
Click to expand...
Click to collapse
@tWoBrO
Yes that's weird!
I checked Android system, there's also same kind of sensor but there's a lot more usage on Google play services! (14h)
Google play services' version installed is: 11.9.51 (440-177350961)
I just tried to update Google play services to the latest beta version available from APK mirror (11.9.73).
Will see whether there's a benefit!
Sinaptik said:
I just tried to update Google play services to the latest beta version available from APK mirror (11.9.73).
Will see whether there's a benefit!
Click to expand...
Click to collapse
I have the updated version installed but it doesn't seem to make any difference.
I'm also experiencing heavy Google Play Services wakelocks, especially net scheduler. The old fix using MyAndroidTools doesn't work for me on Oreo. Since Xposed is now out, we could try Amplify I guess.
Ok here. Just wipe the data of play services, and u are good to go!
ipredatorv said:
I'm also experiencing heavy Google Play Services wakelocks, especially net scheduler. The old fix using MyAndroidTools doesn't work for me on Oreo. Since Xposed is now out, we could try Amplify I guess.
Click to expand...
Click to collapse
I can confirm the MyAndroid tools trick isn't working on Oreo.
Will see if clearing data of Google play services works better, thanks for the advice.
Sinaptik said:
I can confirm the MyAndroid tools trick isn't working on Oreo.
Will see if clearing data of Google play services works better, thanks for the advice.
Click to expand...
Click to collapse
I tried the app WakeBlock, and it worked perfectly!
For everyone suffering from related wakelocks, and didn't pay for Amplify/don't have Xposed, get WakeBlock from XDA or Playstore.
https://forum.xda-developers.com/android/software/wakeblock-blocking-drain-late-t3526313/page111
Updated OOs to Codename Phoenix (clean flash).
Problem solved, of course.
Is it true that when you block some wakelocks, appear some others?? And how can we stop google play services from waking the device? Its so annoying!!
You can see at screenshot that i haze zero wakelocks, cause i blocked them all with Wakeblock app. But still my device woke up 236 times in 2.45 minutes cpu time? What's going on?
lazostat said:
Is it true that when you block some wakelocks, appear some others?? And how can we stop google play services from waking the device? Its so annoying!!
You can see at screenshot that i haze zero wakelocks, cause i blocked them all with Wakeblock app. But still my device woke up 236 times in 2.45 minutes cpu time? What's going on?
Click to expand...
Click to collapse
You have accounts that needs to be synced all the time? Then they use Google cloud messaging or play services to access the internet. Since(I don't remember the exact version) android 4 or so no app can directly sync accounts without Google play services.
Just turn off "Backup my data" and problem solved for me
Does anyone have a fix that works for Non Root users? There does always seem to be some problem with android battery life in every other device I have used. Also why disable certain features when I was getting the same battery life with the pre installed OOS without disabling those features.
A smartphone is for productivity & if I always have to waste my time finding a fix for it I think I am better off with an IPhone next. Atleast the standby drain is nil, it uses battery when I use my phone as simple as that.
topazonic said:
Does anyone have a fix that works for Non Root users? There does always seem to be some problem with android battery life in every other device I have used. Also why disable certain features when I was getting the same battery life with the pre installed OOS without disabling those features.
A smartphone is for productivity & if I always have to waste my time finding a fix for it I think I am better off with an IPhone next. Atleast the standby drain is nil, it uses battery when I use my phone as simple as that.
Click to expand...
Click to collapse
I have an iPhone 6s too and it drains a lot in flight mode and even when using it it's not better than then android. Accounts needs to be synced too in the background as well as location and you need to disable a lot out of the ios box before battery life on iPhone is better.
Now back to topic:
As I mentioned above, battery draining is a really individual thing which cannot be fixed by one click. There's a big battery guide which you should consider to read(if not known): https://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
strongst said:
I have an iPhone 6s too and it drains a lot in flight mode and even when using it it's not better than then android. Accounts needs to be synced too in the background as well as location and you need to disable a lot out of the ios box before battery life on iPhone is better.
Now back to topic:
As I mentioned above, battery draining is a really individual thing which cannot be fixed by one click. There's a big battery guide which you should consider to read(if not known): https://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
Click to expand...
Click to collapse
Thanks will go through the guide. Then I guess the Smartphones aren't really that smart. Just charge it whenever the battery is low without worrying too much. Dash Charge is always there.

Google Apps misbehaving

So I recently got the Black Shark 2 Chinese ROM version and I followed the steps here:
c(dot)mi(dot)com/forum.php?mod=viewthread&tid=1869591&extra=page%3D1
(just replace the (dot)s with actual dots if you want to see the web page)
It worked and I could now use Google Play but upon downloading Google Maps and other associated apps requiring location, It keeps giving me the "Google Play Services are updating" notification and it's been that way for a week now (How long does the updating even take?)
I enabled all location permissions for all apps and still it's a no-go.
Additionally, when trying to make in-app purchases for google play games, it gets stuck at loading, never going through to the billing pop-up part where I select my payment methods.
I've gone nuts going through all the usual self-fixes. Tried rebooting, clearing cache, clearing data, reinstalling, reformatting, but still the problem persists.
Please help me, I'm at my wits end. :crying:
Shenanigans1179 said:
So I recently got the Black Shark 2 Chinese ROM version and I followed the steps here:
c(dot)mi(dot)com/forum.php?mod=viewthread&tid=1869591&extra=page%3D1
(just replace the (dot)s with actual dots if you want to see the web page)
It worked and I could now use Google Play but upon downloading Google Maps and other associated apps requiring location, It keeps giving me the "Google Play Services are updating" notification and it's been that way for a week now (How long does the updating even take?)
I enabled all location permissions for all apps and still it's a no-go.
Additionally, when trying to make in-app purchases for google play games, it gets stuck at loading, never going through to the billing pop-up part where I select my payment methods.
I've gone nuts going through all the usual self-fixes. Tried rebooting, clearing cache, clearing data, reinstalling, reformatting, but still the problem persists.
Please help me, I'm at my wits end. :crying:
Click to expand...
Click to collapse
I did a search by saying Google in the Google shark app store section (as in the image below) and I installed the application in Chinese. I installed the app and added to the play store. I've installed Google services, but I'm getting some errors
{
"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 SKW-A0 using Tapatalk
Shenanigans1179 said:
So I recently got the Black Shark 2 Chinese ROM version and I followed the steps here:
c(dot)mi(dot)com/forum.php?mod=viewthread&tid=1869591&extra=page%3D1
(just replace the (dot)s with actual dots if you want to see the web page)
It worked and I could now use Google Play but upon downloading Google Maps and other associated apps requiring location, It keeps giving me the "Google Play Services are updating" notification and it's been that way for a week now (How long does the updating even take?)
I enabled all location permissions for all apps and still it's a no-go.
Additionally, when trying to make in-app purchases for google play games, it gets stuck at loading, never going through to the billing pop-up part where I select my payment methods.
I've gone nuts going through all the usual self-fixes. Tried rebooting, clearing cache, clearing data, reinstalling, reformatting, but still the problem persists.
Please help me, I'm at my wits end. :crying:
Click to expand...
Click to collapse
1. Navigate to the permission section in the image and click
2. Is the picture shown in the multimedia and data permissions allow? Can you check? Pls
Sent from my SKW-A0 using Tapatalk
Also have this problem. Also the calendar is not synching with google calendar. How to fix this?
Just allow all permissions on the Google Play Services and you're good to go. Maps works perfectly fine here.
All google services (Contacts, Maps, Drive, Gmail, etc.) are working fine for me now except the Calendar. Hopefully someone has had luck in making the Google Calendar sync on our Black Shark 2 devices.
How about GOOGLE PLAY GAMES guys? Is it working properly in your device? Mine is buggy, I cant play most of the new games. Pls help.
junnrossd said:
How about GOOGLE PLAY GAMES guys? Is it working properly in your device? Mine is buggy, I cant play most of the new games. Pls help.
Click to expand...
Click to collapse
Perfectly fine here. Have you allowed all its permissions?
batuken said:
Perfectly fine here. Have you allowed all its permissions?
Click to expand...
Click to collapse
Thanks God! Its working now!! Thank you for that, I was having doubts buying the china rom (joy ui with overclock) because of the incompatibility issues of some google apps, but it seems to be working now, just set all permission to all google apps to ALLOW.
Mine is allowed all permissions and its still initialization went wrong error already tried reinstalling clear cache and clear data still no help
UriieL00 said:
Mine is allowed all permissions and its still initialization went wrong error already tried reinstalling clear cache and clear data still no help
Click to expand...
Click to collapse
batuken said:
Perfectly fine here. Have you allowed all its permissions?
Click to expand...
Click to collapse
Mine is allowed all permissions and its still initialization went wrong error already tried reinstalling clear cache and clear data still no help
UriieL00 said:
Mine is allowed all permissions and its still initialization went wrong error already tried reinstalling clear cache and clear data still no help
Click to expand...
Click to collapse
Have you used the Google installer from the Mi Store?
batuken said:
Have you used the Google installer from the Mi Store?
Click to expand...
Click to collapse
Yes tried uninstalling everything and reinstalling from mi store
UriieL00 said:
Yes tried uninstalling everything and reinstalling from mi store
Click to expand...
Click to collapse
Double check the permissions. You might have missed allowing read/write permissions as it is "inquire" by default. Anyway, you can allow all permissions by accessing the three-dot menu.
PLay services updating
Does anyone have the play services updating while using uber or cabify?
I clear cache, clear data, Reinstall, allow to all permissions but still not loading the maps(notice that google maps works perfeclty)
thanks!
Cant switch account or topup using google accounts
Am I the only one who has this problem? Google play services is working now but i still cant switch accounts or topup using google and all my permissions are allowed
UriieL00 said:
Am I the only one who has this problem? Google play services is working now but i still cant switch accounts or topup using google and all my permissions are allowed
Click to expand...
Click to collapse
Lock your PlayStore in background. Black Shark 2's task management is as aggressive as Greenify's Aggresive Mode that's every time an app calls PlayStore for in-app purchases, IAP doesn't work because PlayStore's process is killed.
in app purchases google play
on blackshark skywalker you need to turn on permission of the auto start management for google play store. that way, playstore will pop up in game.
Shenanigans1179 said:
So I recently got the Black Shark 2 Chinese ROM version and I followed the steps here:
c(dot)mi(dot)com/forum.php?mod=viewthread&tid=1869591&extra=page%3D1
(just replace the (dot)s with actual dots if you want to see the web page)
It worked and I could now use Google Play but upon downloading Google Maps and other associated apps requiring location, It keeps giving me the "Google Play Services are updating" notification and it's been that way for a week now (How long does the updating even take?)
I enabled all location permissions for all apps and still it's a no-go.
Additionally, when trying to make in-app purchases for google play games, it gets stuck at loading, never going through to the billing pop-up part where I select my payment methods.
I've gone nuts going through all the usual self-fixes. Tried rebooting, clearing cache, clearing data, reinstalling, reformatting, but still the problem persists.
Please help me, I'm at my wits end. :crying:
Click to expand...
Click to collapse
Just received my black shark 2 in USA Android play store was already installed. The seller, Trading Shenzhen, may have done this. Upon initial runs, could not get by the login screen of play store. Ran some updates and eventually play store worked. Seems like logging into mi account and running some mi updates and/or updating the Joy UI resulted in play store and Google services working. Really no effort or anything special on my part to get this going. There were three or four Joy UI updates that ran. Play store started working after the first or second Joy UI updates. Did all this on wifi before inserting sim chip. All good after putting in T-Mobile USA sim chip. So far so good!
update - Google Assistant won't run. It starts and says device not supported. Anyone else experiencing this?

[EXYNOS] [BATTERY LIFE] (Possibly) longer Battery Life after degoogling.

It seems like I get longer Battery life after completely wiping everything related to Google (Including Google Play/Mobile Services) with root (I was already. It isn't worth it to root just to degoogle your phone as you can remove most google packages with tha adb shell uninstall command. But with root you can wipe every single one of them). Is this possible (I think yes as there is no Google Services running in the background all the time. No location services, no Google Play, no Mobile Services or Google Synchronization......)? Should I post a tutorial?
Your thoughts?
JanBoyGamer23 said:
It seems like I get longer Battery life after completely wiping everything related to Google (Including Google Play/Mobile Services) with root. Is this possible (I think yes as there is no Google Services running in the background all the time. No location services, no Google Play, no Mobile Services or Google Synchronization......)? Should I post a tutorial?
Your thoughts?
Click to expand...
Click to collapse
Hi...i don't think it makes sense to root it for that..you can disable all off with CCSWE or Package Disabler apk and enable it on again if necessary .... and as for the battery, it will certainly last a bit longer without Google service... if you already have a turorial ready, why not ...
S20U Exynos
Xode said:
Hi...i don't think it makes sense to root it for that..you can disable all off with CCSWE or Package Disabler apk and enable it on again if necessary .... and as for the battery, it will certainly last a bit longer without Google service... if you already have a turorial ready, why not ...
S20U Exynos
Click to expand...
Click to collapse
I was already rooted. It would be really stupid to just to remove some apps as you can remove most of them with adb.
JanBoyGamer23 said:
I was already rooted. It would be really stupid to just to remove some apps as you can remove most of them with adb.
Click to expand...
Click to collapse
Exactly , and that's another example that doesn't need root for something like that...and that stupidity has nothing to do with this case ... anyone can do whatever they want with their device ... it was my opinion that you suggested in the OP.. [emoji6]
S20U Exynos
Play services tends to use more than it should for battery on ANY device and disabling it will definately help with battery life. The hit in battery is just the sacrifice you make to run ANY app that utilizes play services (not just google apps, and more than one would think).
I debloat and remove a lot of useless sh*t using adb appcontrol.
Player04 said:
I debloat and remove a lot of useless sh*t using adb appcontrol.
Click to expand...
Click to collapse
I think app control only disables the package. Correct me if I'm wrong.
For a full removal I recommend the adb uninstall command it goes:
adb shell pm uninstall -k --user 0 [PackageNameHere]
You can use an app like package names viewer 2.0 to get the package names
Sent from my SM-G988B using XDA Labs
I removed only the stuff that I am absolutely certain I will never need, like Facebook and kids crap. The rest is disabled via CCSWE App Manager.
You can do whatever you like. Just make a list of everything you remove, in case you need to reinstall something later.
if it is rooted, make backups of the apps with Titanium. Disabling it doesn't do much good because they will still be on the device. Crap is Crap, delete it...
JanBoyGamer23 said:
I think app control only disables the package. Correct me if I'm wrong.
For a full removal I recommend the adb uninstall command it goes:
adb shell pm uninstall -k --user 0 [PackageNameHere]
You can use an app like package names viewer 2.0 to get the package names
Sent from my SM-G988B using XDA Labs
Click to expand...
Click to collapse
As far as I understand it only removes it from user 0, the primary user, but still persists, although it´s not actiated. If an app is locked, you can´t uninstall it entirely. On the other hand, I understand that you can still make the official updates when doing it this way.
JanBoyGamer23 said:
It seems like I get longer Battery life after completely wiping everything related to Google (Including Google Play/Mobile Services) with root (I was already. It isn't worth it to root just to degoogle your phone as you can remove most google packages with tha adb shell uninstall command. But with root you can wipe every single one of them). Is this possible (I think yes as there is no Google Services running in the background all the time. No location services, no Google Play, no Mobile Services or Google Synchronization......)? Should I post a tutorial?
Your thoughts?
Click to expand...
Click to collapse
If you haven´t tried it already, try to install PCAPdroid and see how many apps are trying to connect to some server somewhere all the time without any benefit for you. Although I knew I was beeing monitored at a very detailed level, I was still shocked. Now I got it under control with NetGuard, an other app I can recommend. The paid version of NetGuard also comes with a simple network log (not straight forward to configure, but works fine). It´s some very handy tools.
The point is, of course you can save battery if you uninstall all those abusive apps that constantly uses your CPU and Internet connection. I don´t know how much, but some you can save.

Categories

Resources