Related
I have been trying on and off for over a year to eliminate these horrible wakelocks without disabling location services all together, and have finally found a solution.
I have tried wakelock terminator, amplify, and various other tweaks without the results I was looking for. I could only stop them by disabling location completely. Even with GPS only enabled the phone will eventually want to find its location and then if you're in a building where there is no GPS single, it will kill your battery trying to find one. So I finally stumbled across SlimLP which is an AOSP rom that has app ops baked into it. I found that if I simply modify the permissions of google play services and not allow it to use location, and also disable its ability to hold a wakelock, the nlp wakelocks (both) are gone forever. However, as soon as nlp is gone, the phone falls back to its backup plan which is RILJ to locate itself. So I then went into the phone apps permissions and disabled location and wakelock for it too. FINALLY these wakelocks are gone forever. My phone now loses 3% over 8 hours without disabling location services. There are literally 10 or less wakelocks system wide over 8 hours while I sleep, which is a huge contrast to the waking once every 25 seconds to check my location (or whatever absurd rate it was doing it). The only thing I can spot thats out of place it that google play services is registering a ton of alarms for location related stuff in better battery stats. I'm happy with this so far but feel it could be even better once I learn more.
What I really want to do is to be able to apply this to any android phone, such as my girlfriends z3. Unfortunately I can only get this to work with AOSP roms that have app ops built into them. I tried adding app ops to google based roms and even aosp roms and it doesnt work the same. If anyone could tell me what is different about roms with app ops built in, that would be great. I think we should look into this more to learn as much as possible because this affects everyone with an android phone. Thanks for reading.
seh6183 said:
I have been trying on and off for over a year to eliminate these horrible wakelocks without disabling location services all together, and have finally found a solution.
I have tried wakelock terminator, amplify, and various other tweaks without the results I was looking for. I could only stop them by disabling location completely. Even with GPS only enabled the phone will eventually want to find its location and then if you're in a building where there is no GPS single, it will kill your battery trying to find one. So I finally stumbled across SlimLP which is an AOSP rom that has app ops baked into it. I found that if I simply modify the permissions of google play services and not allow it to use location, and also disable its ability to hold a wakelock, the nlp wakelocks (both) are gone forever. However, as soon as nlp is gone, the phone falls back to its backup plan which is RILJ to locate itself. So I then went into the phone apps permissions and disabled location and wakelock for it too. FINALLY these wakelocks are gone forever. My phone now loses 3% over 8 hours without disabling location services. There are literally 10 or less wakelocks system wide over 8 hours while I sleep, which is a huge contrast to the waking once every 25 seconds to check my location (or whatever absurd rate it was doing it). The only thing I can spot thats out of place it that google play services is registering a ton of alarms for location related stuff in better battery stats. I'm happy with this so far but feel it could be even better once I learn more.
What I really want to do is to be able to apply this to any android phone, such as my girlfriends z3. Unfortunately I can only get this to work with AOSP roms that have app ops built into them. I tried adding app ops to google based roms and even aosp roms and it doesnt work the same. If anyone could tell me what is different about roms with app ops built in, that would be great. I think we should look into this more to learn as much as possible because this affects everyone with an android phone. Thanks for reading.
Click to expand...
Click to collapse
Wrong section...you might want to try Xposed and Amplify.
EDIT: I just realized I posted wrong section. For some reason, I thought this was Android Dev. Sorry
niral7 said:
Wrong section...you might want to try Xposed and Amplify.
EDIT: I just realized I posted wrong section. For some reason, I thought this was Android Dev. Sorry
Click to expand...
Click to collapse
I've tried amplify as stated in the op. I'm surprised more people aren't bothered by wakelocks. I can't stand them.
seh6183 said:
I've tried amplify as stated in the op. I'm surprised more people aren't bothered by wakelocks. I can't stand them.
Click to expand...
Click to collapse
They're necessary to some degree. Google Now and other location-based/sync programs need them to work. They just get annoying when they're fired up every minute.
niral7 said:
They're necessary to some degree. Google Now and other location-based/sync programs need them to work. They just get annoying when they're fired up every minute.
Click to expand...
Click to collapse
Well I've disabled the wakelocks and every location service including google now still functions as normal. The only benefit is me gaining 50% of my battery back. I just need to figure out what is so special about AOSP ROMs that have app ops baked in so I can apply these techniques to other phones.
So the App Ops Xposed module doesn't work the same way?
hayzooos said:
So the App Ops Xposed module doesn't work the same way?
Click to expand...
Click to collapse
It works exactly the same except for some odd reason the wakelocks won't stop when you start disabling google play services and phone. It will disable other things without any problems. I'm thinking that maybe SlimLp has a different google play services app with different permissions or something. I'm not exactly sure what it is yet but I'm still looking into it on a daily basis. All I know is that 9000 wakelocks at the end of the day from google play services is UNACCEPTABLE and pisses me off. So I set out to find a way to stop them.
seh6183 said:
It works exactly the same except for some odd reason the wakelocks won't stop when you start disabling google play services and phone. It will disable other things without any problems. I'm thinking that maybe SlimLp has a different google play services app with different permissions or something. I'm not exactly sure what it is yet but I'm still looking into it on a daily basis. All I know is that 9000 wakelocks at the end of the day from google play services is UNACCEPTABLE and pisses me off. So I set out to find a way to stop them.
Click to expand...
Click to collapse
Glad you found a way to stop them and more so you decided to post your way to stop them here.
seh6183 said:
It works exactly the same except for some odd reason the wakelocks won't stop when you start disabling google play services and phone. It will disable other things without any problems. I'm thinking that maybe SlimLp has a different google play services app with different permissions or something. I'm not exactly sure what it is yet but I'm still looking into it on a daily basis. All I know is that 9000 wakelocks at the end of the day from google play services is UNACCEPTABLE and pisses me off. So I set out to find a way to stop them.
Click to expand...
Click to collapse
Cataclysm Rom also has a App Ops. So I assume i can get same improvements as you do?
Or am I wrong and thinking the opposite direction?
Zwambo said:
Cataclysm Rom also has a App Ops. So I assume i can get same improvements as you do?
Or am I wrong and thinking the opposite direction?
Click to expand...
Click to collapse
It should work yes. Go into google play services from apps, its in settings, then click modify, then disable location and wake lock. Do the same for phone. There are two phone apps and a dialer making it confusing. You'll want to disable the location and wakelock setting on the phone app which has the location toggle. The other phone app doesn't have a location toggle and you'll know that's not the right one.
After doing this, if you monitor with wake lock detector, you'll see that both NLP wakelocks are stopped completely instead of the 1000 an hour like usual. Same goes for RILJ. Google play services is still generating thousands of alarms each day for location related stuff and I have found a way to fix that as well but it needs more testing.
To put it simply, when my phone goes to sleep, that exactly what I want it to do, not appear as if its asleep and constantly check my location so that it can better offer me ads and places of interest near by.
Doesn't the Phone app NEED to be able to keep the phone awake, so that it doesn't go to sleep mid-call?
setspeed said:
Doesn't the Phone app NEED to be able to keep the phone awake, so that it doesn't go to sleep mid-call?
Click to expand...
Click to collapse
It has no effect on the function of the phone at all except to eliminate the RILJ wakelock. I'm pretty sure this wakelock is the phones radio trying to triangulate your position using cell towers but not sure.
All solutions I've seen or heard about untill now are just workarounds, and I found an elegant solution that allows geoloc to be on all the time.
I detailed it in a battery thread because of the savings it can offer : it consist of an app that replaces nlp with a local db : http://forum.xda-developers.com/showthread.php?p=59184505
I didn't try out with all google goeloc services but maps didn't seem to bother...
Gentaz said:
All solutions I've seen or heard about untill now are just workarounds, and I found an elegant solution that allows geoloc to be on all the time.
I detailed it in a battery thread because of the savings it can offer : it consist of an app that replaces nlp with a local db : http://forum.xda-developers.com/showthread.php?p=59184505
I didn't try out with all google goeloc services but maps didn't seem to bother...
Click to expand...
Click to collapse
My solution has zero impact on location services as well. You're saying that your method totally stops NLP wakelocks and if you were to open maps, it would lock your location precisely?
seh6183 said:
It should work yes. Go into google play services from apps, its in settings, then click modify, then disable location and wake lock. Do the same for phone. There are two phone apps and a dialer making it confusing. You'll want to disable the location and wakelock setting on the phone app which has the location toggle. The other phone app doesn't have a location toggle and you'll know that's not the right one.
After doing this, if you monitor with wake lock detector, you'll see that both NLP wakelocks are stopped completely instead of the 1000 an hour like usual. Same goes for RILJ. Google play services is still generating thousands of alarms each day for location related stuff and I have found a way to fix that as well but it needs more testing.
To put it simply, when my phone goes to sleep, that exactly what I want it to do, not appear as if its asleep and constantly check my location so that it can better offer me ads and places of interest near by.
Click to expand...
Click to collapse
Thx a million!
Will look in to those settings from the phone apps and google play services. Love it when the app ops is included in the ROM!
seh6183 said:
My solution has zero impact on location services as well. You're saying that your method totally stops NLP wakelocks and if you were to open maps, it would lock your location precisely?
Click to expand...
Click to collapse
The fact that the gapps have a mind of their own is not big news, but alternatives exists to avoid dealing with them☺
I didn't say it will stop any wakelock (and I don't want to) : on the contrary, it consist of replacing the stock nlp with a more evolved one that allows to switch to a local db which is far less battery consuming for several reasons.
I didn't say it was "gps precise" either : it will locate you at the nearest antenna if you try a gps app like maps (did you actually read my link ?). Most of the time it has between 500m and 1500m (about a mile) uncertainty reported by the apps.
It just provides precise enough geoloc services for 95% of the apps you're using, even with your screen off like weather, loc. based profile mangers, local news, traffic, job/dating app or whatever... Granted : it won't compete with gps for you navigation or atronomy app but that's the 5% left when you'll switch the gps on ?
There should be a reason why you have so much wakelocks that does not involve blocking calls from a middleware as an answer.
Gentaz said:
The fact that the gapps have a mind of their own is not big news, but alternatives exists to avoid dealing with them
I didn't say it will stop any wakelock (and I don't want to) : on the contrary, it consist of replacing the stock nlp with a more evolved one that allows to switch to a local db which is far less battery consuming for several reasons.
I didn't say it was "gps precise" either : it will locate you at the nearest antenna if you try a gps app like maps (did you actually read my link ?). Most of the time it has between 500m and 1500m (about a mile) uncertainty reported by the apps.
It just provides precise enough geoloc services for 95% of the apps you're using, even with your screen off like weather, loc. based profile mangers, local news, traffic, job/dating app or whatever... Granted : it won't compete with gps for you navigation or atronomy app but that's the 5% left when you'll switch the gps on
There should be a reason why you have so much wakelocks that does not involve blocking calls from a middleware as an answer.
Click to expand...
Click to collapse
If its crippling the phones ability to locate itself accurately then I am not interested as occasionally navigation is important to me. Also of it doesn't stop wakelocks then I am certainly not interested. The way that you word things makes it very difficult to get your point across I might add. I had a hard time following your post.
What I did to get zero battery drain with GPS set on high accuracy:
- Download Disable Service from Google Play: https://play.google.com/store/apps/details?id=cn.wq.disableservice&hl=nl
- Go to System, then Google Play Services and disable everything that has something to do with 'Wear' and 'Fitness' since I don't use any of these features (for me these gave me wakelocks, but I'm not sure if this is the case for everyone), so: BrokeredFitnessService, WearableControlService, WearableService and WearableSyncService.
- Download LBE Security Master (http://forum.xda-developers.com/showthread.php?t=1422479) for its permission manager.
- Disable any location permission of all your apps that you don't want to use GPS (and other permissions to save more battery, but that's another topic).
I have to say I have Google Now disabled, and of course my phone is rooted to be able to use these apps. I run stock rom with stock kernel, and my battery is great with GPS enabled constantly.
seh6183 said:
If its crippling the phones ability to locate itself accurately then I am not interested as occasionally navigation is important to me. Also of it doesn't stop wakelocks then I am certainly not interested. The way that you word things makes it very difficult to get your point across I might add. I had a hard time following your post.
Click to expand...
Click to collapse
I guess you missinterpreted what I said : just enable gps when you need navigation... Gsm based location accuracy is ok for all the rest.
- wakelock issues either came from the way the phone is set up or an uncommon situation causing this (bug, bloat, bad network or gps reception...) : blocking them is not a solution, it's a workaround and, if I undestood you correctly, is only valid for some cases and is fastidious/maintenance intensive. There are already many nexus 5 and other threads dealing with those issues anyway and It would be easier to just disable geoloc when screen is off.
- I suggested a solution less battery draining for 95% of goeloc based needs and is valid for most android phones and roms as long as you have root, not yet another a nlp/wakelock blocking "trick".
It's ok if your girlfriend doesn't mind having her z3 flashed with an ASOP ops enabled rom and learn to block the wakelocks of the new apps she installs, but I prefer not having to explain mine what a wakelock is ☺
- It doesnt cripple your phone at all, it extends its possibilities by adding a gsm based backend to the location provider : your phone was already doing the same except it had to go to a google hosted database to match your location to your antenna or ip when it is set to use network based location.
Gentaz said:
I guess you missinterpreted what I said : just enable gps when you need navigation... Gsm based location accuracy is ok for the all the rest.
- wakelock issues either came from the way the phone is set up or an uncommon situation causing this (bug, bloat, bad network or gps reception...) : blocking them is not a solution, it's a workaround and, if I undestood you correctly, is only valid for some cases and is fastidious/maintenance intensive. There are already many nexus 5 and other threads dealing with those issues anyway and It would be easier to just disable geoloc when screen is off.
- I suggested a solution less battery draining for 95% of goeloc based needs and is valid for most android phones and roms as long as you have root, not yet another a nlp/wakelock blocking "trick".
It's ok if your girlfriend doesn't mind having her z3 flashed with an ASOP ops enabled rom and learn to block the wakelocks of the new apps she's installing, but I prefer not having to explain mine what a wakelock is
- It doesnt cripple your phone at all, it extends its possibilities by adding a gsm based backend to the location provider : your phone was already doing the same except it had to go to a google hosted database to match your location to yourantenna or ip when it is set to use network based location.
Click to expand...
Click to collapse
Your solution is very interesting for sure and something I will try, but my gut feeling is that google play services is still going to look for my location just as often, waking the phone, even though it's communicating with a different database.
Also I'm not sure if you're suggesting that my phone specifically is having NLP wakelocks because it is broken or setup incorrectly, but if so that is totally inaccurate. All android phones are suffering from this wakelock whether the user is aware of it or not. The only ones not having NLP wakelocks are the ones who have disabled location services or somehow turned off the wakelock like I have.
Update 09.12.17: The methods below may not fully work on the latest OS versions. There is an ongoing discussion in the last pages so I hope it gets cleared out eventually, sadly I've been busy with my studies and haven't touched my phone since initially making this thread (it's on OOS 4.0.2). I write this just to make sure I don't waste your time accidentally, so please check the latest replies if you're on newer OS versions.
Hello everybody,
*the undermentioned methods and app(s) require root*
I have asked you guys in the AKT thread if you would like to see a small tutorial on how to stop the constant "com.google.android.gms/.measurement.PackageMeasurementService" and "net_scheduler" wakelocks that might or might not be responsible for the device waiting longer than it should before dozing off.
Please keep in mind that this method does work for me, and might or might not work for you, as everybody uses different things/apps so in case you see unwanted behavior, just revert back and sigh that the method has failed you.
I am not responsible for any hardware-/software damage that may occur upon using these settings.
So, now that we've got all the generic stuff out of the way, first few words about why this might bother you:
1) You don't like your device doing stuff you didn't make it do.
2) You want to minimize wakelocks
3) You're here because you just saw the two beforementioned wakelocks and already decided you want to get rid of them.
So, regarding the first one, all I can say is I got the method from this reddit post , which briefly explains which services are doing the waking and what they are. Starting with "At the heart of Firebase is Firebase Analytics, a free and unlimited analytics solution. .." got me raising an eyebrow, as I don't like handling control of my device to other people, without me even knowing.
UPDATE: I have merged the two approaches into just using one app and making the changes on a global level, so you can just do them in like 5 minutes and forget about it, but in case you have problems with disabling package measurement you can also check the hidden text just below for instructions using another app, which was basically "the old way".
So to get rid of the "snooping", as already described in that post, you need to download MyAndroidTools.
Disclaimer: Disabling some services/receivers may "crash" the app. I found it is normal, just go back to where you were and check if you managed to disable the thing you wanted, if yes, then it was successful.
1. Open the app
2. Click on the top left to open the panel, click on Broadcast Receiver.
3. On the menu that opens go to the right column named System. Click search on the top right, type "Play" and choose the Google Play Services option.
4. In the search bar there type at least "ana" and disable the two found results with the names "AnalyticsReceiver" and "AnalyticsSamplerReceiver"
5. Hit x and search again for at least "meas". You will see three results with the names "AppMeasurementInstallReferrerReceiver", "AppMeasurementReceiver" and "PackageMeasurementReceiver*". Disable all three.
****Update 15.02.17*** Apparently this one resets every once in a while, I blame this again on Google's efforts to have their spying on, but anyways. Go to services->system->Google Play Services->search "meas"->disable both "AppMeasurementService" and "MeasurementBrokerService". The third one (PackageMeasurementService) will restart too so don't bother. This should do the trick though.
6. There was discussion about "Campaign Tracking" . I only found it in the same System menu, in Android Pay, by searching at least "cam" you get the result "CampaignTrackingReceiver". Disable it if you feel you want to. I don't use Android Pay and cannot say if it breaks something there, but otherwise have it disabled and haven't noticed any problems so far.
7. Search for Google Play Store in System. In that option, search for at least "app" and disable "AppMeasurementReceiver". Hit x and search for at least "fir", then disable the two results with names "FirebaseInstanceIdInternalReceiver" and "FirebaseInstanceIdReceiver"
8. Done. All the setttings are now global for any sort of app measurements, as far as I know.
This is the "old way" of dealing with app measurement. If you have done the steps above just ignore (hide) this part and continue with disabling net_scheduler below.
So to get rid of the "snooping", as already described in that post, you need to download Root Package Disabler or equivalent alternative.
ATTENTION: As per the last version of the app, I see there might be a bug which reverts some settings when you use the search bar, so please try and find the services by hand in stead of searching, as it is more reliable.
1. Open the app
2. Start with the left-most pane, e.g. "Installed". There you can see all your installed apps
3. Click on the first app on the list, it will display a small menu. Apps that use services will have the bottom-left option named "SERVICES" available, click there. This will take you to the services list that this app uses.
4. Click on the searching icon on the top-right in order to filter the services we need disabling.
5. Write at least "appm" . If the AppMeasurementService is used by this app, it will now be displayed.
6. Tick that off (the switch will turn gray)
7. Hit x, and search again for at least "fireb". This will display all services that use the Firebase SDK. You may also check under the name of the service and see the word is contained in the "executable name", so it might not always have "an official" name that states Firebase, but still use one of their "executables" (sorry for lack of detail)
7.1 Check for any other services that have "analytics" in their description, although I haven't checked if this stops something useful, but I doubt it.
8. When you're done with the current app, it will no longer call these services and cause wakelocks as long as the services remain stopped. To my experience the settings stay after reboot, it's just the above mentioned bug you have to keep in mind since it happened to me now while making the guide, and I know it came with the latest update.
9. Go back to the installed pane and maybe tick on the star next to the app in question. It will be added to the "favourite" list where you can have all those apps and don't bother to search them again if needed.
10. Repeat from step 1 for the next app and go through all your apps. If not you will still get calls to this service from the apps that still have these services on. Also a reminder here, you have to remember and check every new app you install, as most apps do have the service enabled.
11. After you're done with all apps in "Installed", check out bloatware (I think I haven't found anything there, but it's worth checking).
12. "System" apps that I know have some of those services: Calendar, (probably) Chrome (I have that disabled so dunno), Drive, Duo, Gboard, Google Play Services, Google Play Store, Google VR Services.
Here are two pictures how an app's services list looks like, and one with some of the services disabled:
all services on
some services off
After doing these steps, you should charge your battery to 90% to reset the battery statistics and you should see that the "com.google.android.gms/.measurement.PackageMeasurementService" wakelock no longer occurs (or stays really, really low, and not thousands like before). If you still have it after all this, then you probably have an app you haven't disabled the services for.
The second approach will get rid of the "net_scheduler" wakelock. Thanks to @denon480 for the idea, it's post #34 in this thread It involves installing (again) MyAndroidTools or equivalent alternative.
1. Open the app
2. Click on the top left corner to open the menu panel.
3. Click on Broadcast Receiver
4. Navigate to the System pane
5. Click on search on the top right. Search for Google Play Services. Click on them when they show up
6. In the search top right, write at least "sche" and you will see the two receivers responsible for the "net_scheduler" wakelock, "SchedulerInternalReceiver" and "SchedulerReceiver" . Here's a picture how it looks
7. Switch the first one off. The app will quit, don't worry.
8. Go back to where you were (steps 1 to 6) . You will see that you indeed managed to swtich that receiver off.
9. Switch the second one off. The app will quit, again no worries.
10. Check if you managed to switch the second one as well. After that you're done!
I hope I could help you guys out. I know there is nothing fancy in these methods but felt a thread might be useful as I saw a good number of requests when I mentioned it in the AKT thread.
Also sorry for misleading the guys I already told it was going to be a short guide, I honestly thought it would take way less words than it did. But I think it is for the better.
Have fun.
* Reserved *
Going through this guide, I was able to get the services disabled through root package disabler, bit my android tools kept force closing for some reason.
*edit* uninstalled, rebooted, reinstalled, and was able to get the app to stay open, and got them disabled. I'm curious to see what my wake locks are going to look like tomorrow. This is pretty much the nougat answer to amplify, huh? =)
MeggaMortY said:
* Reserved *
Click to expand...
Click to collapse
I think Everything is fine or?
tzbigworm said:
Going through this guide, I was able to get the services disabled through root package disabler, bit my android tools kept force closing for some reason.
*edit* uninstalled, rebooted, reinstalled, and was able to get the app to stay open, and got them disabled. I'm curious to see what my wake locks are going to look like tomorrow. This is pretty much the nougat answer to amplify, huh? =)
Click to expand...
Click to collapse
Hope it gets rid of those for you too. If I remember correctly I noticed the problem since Nougat, but then again I've been on Android since only a few months, coming from a big pause. Last time I was around we were rocking the HTC HD2 and had to deal with very different problems.
1+3_FA said:
I think Everything is fine or?
Click to expand...
Click to collapse
Yup looks great.
MeggaMortY said:
Hope it gets rid of those for you too. If I remember correctly I noticed the problem since Nougat, but then again I've been on Android since only a few months, coming from a big pause. Last time I was around we were rocking the HTC HD2 and had to deal with very different problems.
Click to expand...
Click to collapse
Crazy how much of a beast that phone was. People forget it's actually a windows phone, Android was put on it so much lol!
Thanks for the tips. Works great!
Thank you for your awesome work!
I have two more questions:
1. What about CampaignTrackingService? Could we disable this one as well?
2. In MyAndroidTools under Broadcast Receiver there are lots of receivers like AppMeasurementReceiver or FirebaseInstanceIdReceiver. They also need to be disabled or disabling the corresponding service is sufficient?
Thank you very much
youknownothing said:
Thank you for your awesome work!
I have two more questions:
1. What about CampaignTrackingService? Could we disable this one as well?
2. In MyAndroidTools under Broadcast Receiver there are lots of receivers like AppMeasurementReceiver or FirebaseInstanceIdReceiver. They also need to be disabled or disabling the corresponding service is sufficient?
Thank you very much
Click to expand...
Click to collapse
1. I initally disabled that in a few apps and didn't have problems System-wide or with the apps. So you can give it a go and in case of apps not functioning you can revert those back.
2. No for now it's okay to just use the Package Disabler for that. Like I said both apps have similiar functionality, there's probably a way to find the right service/receiver and disable it globally from MyAndroidTools, then we won't need the Package Disabler. But since it did work for me and I don't install new apps more than like once a week, I just didn't bother figuring it out. I can only say that disabling certain services/activities in MyAndroidTools can brake functionality or even bootloop your device, so be very careful in case you wanna find out if it's possible.
MeggaMortY said:
1. I initally disabled that in a few apps and didn't have problems System-wide or with the apps. So you can give it a go and in case of apps not functioning you can revert those back.
2. No for now it's okay to just use the Package Disabler for that. Like I said both apps have similiar functionality, there's probably a way to find the right service/receiver and disable it globally from MyAndroidTools, then we won't need the Package Disabler. But since it did work for me and I don't install new apps more than like once a week, I just didn't bother figuring it out. I can only say that disabling certain services/activities in MyAndroidTools can brake functionality or even bootloop your device, so be very careful in case you wanna find out if it's possible.
Click to expand...
Click to collapse
Thank you for your quick response. I'll give it a try, if anything goes wrong I'll let you know.
Is there any difference between Package Disabler and Disable Service app? I've tried the former, but it was really buggy. Scrolling was so glitchy and with lots of stutters that I've accidentally disabled few services. So I've used Disable Service with success. Now I only wonder whether both apps have the same functionality. Do you happen to know that?
Thanks in advance
youknownothing said:
Thank you for your quick response. I'll give it a try, if anything goes wrong I'll let you know.
Is there any difference between Package Disabler and Disable Service app? I've tried the former, but it was really buggy. Scrolling was so glitchy and with lots of stutters that I've accidentally disabled few services. So I've used Disable Service with success. Now I only wonder whether both apps have the same functionality. Do you happen to know that?
Thanks in advance
Click to expand...
Click to collapse
Assuming you're disabling services, which we are lol (should've been more obvious for me too I guess), I'd say you should be fine, and even say maybe the same goes for just using MyAndroidTools, just scroll through the Service menu in Table Third-Party and you'll see the same settings you applied with the other app/Package Disabler. I guess I was lazy to realize that since I liked I can favourite the apps I need to keep an eye on in the Package Disabler.
So all in all you should be okay, but even better you may try and just use MyAndroidTools for both. I have some exams coming so I won't be able to test those things but will make sure to update the tutorial if indeed that turns out to be right (for the app you suggested or even just MyAndroidTools).
Give a shout in case you find out something more. And thanks for the info
Followed the guide, thanks for this like said before kind of amplify for nougat. But as I was disabling net.schedule I noticed "my android tool" can do the fire base and app activity. Under service activity and press <...>
I suppose that this two methods doesn't compromise any function of the device right? For example loosing notifications or similar
Sent from my OnePlus 3
Mr.Jay said:
I suppose that this two methods doesn't compromise any function of the device right? For example loosing notifications or similar
Sent from my OnePlus 3
Click to expand...
Click to collapse
Like mentioned, it works fine for me, and probably depends on personal usage. I don't use Google Pay for example, and Chrome, and Google Music.... but besides those I haven't had problems anyway.
Disabled everything that is said to do in this thread and it worked great while I was at home while on wifi. I had drain of .5% an hour at times. However today while at work and on LTE, drain went up to 2.6% an hour, plus wakelocks from play services was waking up the device on average over 3 times a minute. When I looked into it further there was one service under play services where all the alarms were coming from. I do have a screenshot of this. Anyone have any insight to this? For the record, I do keep location off on my device.
Edit: I wonder f it comes from moving around a lot, as I'm always on the move as I manage a restaurant. Its not really a major drain, but still makes me wonder.
NJGSII said:
Disabled everything that is said to do in this thread and it worked great while I was at home while on wifi. I had drain of .5% an hour at times. However today while at work and on LTE, drain went up to 2.6% an hour, plus wakelocks from play services was waking up the device on average over 3 times a minute. When I looked into it further there was one service under play services where all the alarms were coming from. I do have a screenshot of this. Anyone have any insight to this? For the record, I do keep location off on my device.
Edit: I wonder f it comes from moving around a lot, as I'm always on the move as I manage a restaurant. Its not really a major drain, but still makes me wonder.
Click to expand...
Click to collapse
Have you disabled location history in the Google App? The problem is this guide fixes only one concrete aspect of the whole "Google stalking experience" shenanigans. Please check for the thing I mentioned and also in Settings -> Backup & Reset, make sure Back up my data is off if you haven't logged in an account and intend to use that - these two things were also draining battery for me when I was on the go as far as I can remember.
LMcR92 said:
Followed the guide, thanks for this like said before kind of amplify for nougat. But as I was disabling net.schedule I noticed "my android tool" can do the fire base and app activity. Under service activity and press <...>
Click to expand...
Click to collapse
I did some checking on that list and am currently testing a way to only use MyAndroidTools for the whole aproach. If it turns out to be working the whole guide would get reduced to like 10 clicks, since the settings are global. I'll post more info after a day or so to make sure it is working, but as for now I see promising results.
Anyone used Franco's Servicely app to do this?
Up, I have updated the guide to just using MyAndroidTools and disabling the receivers on a global scale. So now you just have to do it once and (hopefully) forget about it.
MeggaMortY said:
Up, I have updated the guide to just using MyAndroidTools and disabling the receivers on a global scale. So now you just have to do it once and (hopefully) forget about it.
Click to expand...
Click to collapse
Will Doing like #1 post notifications from Gmail?
techusthad said:
Will Doing like #1 post notifications from Gmail?
Click to expand...
Click to collapse
Don't know what you mean by #1 - disabling the AppMeasurement stuff, e.g. first set of instructions? I haven't had problems with Gmail and I use it with two accounts on there.
Hey all,
Just wanted to share a simple Magisk Module that tweaks the Ambient EQ on our phones to behave more like Apple's True Tone feature. This idea and module was originally created by @MishaalRahman and published here. As you can see the article was published in November 2019, and the structure of Magisk Modules has since changed. So, the module that you can download from that article no longer works. I've simply updated the module to be compatible with the new Magisk Module file structure and function correctly on our phones.
Instructions and Notes:
Note: This module was originally created for the Pixel 4 (Flame). Due to the Pixel 4 XL (Coral) using a different panel, this module may have unintended effects on screen color and gamma that I have not been able to test. Give it a shot if you'd like, but YMMV.
Install via Magisk Manager or flash the .zip using your favorite Kernel Manager and reboot.
The module has been submitted to the Magisk Module Repo, where it will be able to be downloaded directly from the Magisk Manager app, but it is awaiting approval.
Download (AFH)
Original Author: @MishaalRahman
Original Module and Associated Documentation: https://www.xda-developers.com/google-pixel-4-ambient-eq-tweak/
Source: https://github.com/Alcolawl/AmbientEQTweak
Thanks! I really appreciate it.
Like two months without the module working and you fixed it.
After normal installation, the performance of some apps is significantly reduced.
gyuuuu said:
After normal installation, the performance of some apps is significantly reduced.
Click to expand...
Click to collapse
I haven't noticed it
Alcolawl said:
Hey all,
Just wanted to share a simple Magisk Module that tweaks the Ambient EQ on our phones to behave more like Apple's True Tone feature. This idea and module was originally created by @MishaalRahman and published here. As you can see the article was published in November 2019, and the structure of Magisk Modules has since changed. So, the module that you can download from that article no longer works. I've simply updated the module to be compatible with the new Magisk Module file structure and function correctly on our phones.
Instructions and Notes:
Note: This module was originally created for the Pixel 4 (Flame). Due to the Pixel 4 XL (Coral) using a different panel, this module may have unintended effects on screen color and gamma that I have not been able to test. Give it a shot if you'd like, but YMMV.
Install via Magisk Manager or flash the .zip using your favorite Kernel Manager and reboot.
The module has been submitted to the Magisk Module Repo, where it will be able to be downloaded directly from the Magisk Manager app, but it is awaiting approval.
Download (AFH)
Original AuthorMishaalRahman
Original Module and Associated Documentation:https://www.xda-developers.com/google-pixel-4-ambient-eq-tweak/
Source:https://github.com/Alcolawl/AmbientEQTweak
Click to expand...
Click to collapse
Somehow after enabling this module on Android 11 beta 2.5 phone goes crazy.
I get delayed sms, delayed emails, app in the play store don't download and weather doesn't show.
Disabling an restarting fixed it , enable, restart, problem comes again
peikojose said:
Somehow after enabling this module on Android 11 beta 2.5 phone goes crazy.
I get delayed sms, delayed emails, app in the play store don't download and weather doesn't show.
Disabling an restarting fixed it , enable, restart, problem comes again
Click to expand...
Click to collapse
Wild stuff. I'd assume it's because you're using Android 11 beta. The way this works is basically an overlay for System UI, which I'm assuming has seen at least some moderate changes from Android 10 to Android 11. I'm not entirely sure why it would break things like SMS, but I would definitely assume that this isn't compatible with Android 11. This will be something I'll have to work on when Android 11 officially drops.
Alcolawl said:
Wild stuff. I'd assume it's because you're using Android 11 beta. The way this works is basically an overlay for System UI, which I'm assuming has seen at least some moderate changes from Android 10 to Android 11. I'm not entirely sure why it would break things like SMS, but I would definitely assume that this isn't compatible with Android 11. This will be something I'll have to work on when Android 11 officially drops.
Click to expand...
Click to collapse
Yeah it doesn't make any sense but at least with this beta it does that.. and it is totally easy to reproduce for me...
Any update to make it work properly with Android 11? Just asking.
Thanks!
peikojose said:
Any update to make it work properly with Android 11? Just asking.
Thanks!
Click to expand...
Click to collapse
Unfortunately I may just abandon this idea. It turns out that this module was actually responsible for the frustratingly horrible performance I was experiencing when using Snapchat. Like the phone totally locking up for 5-10 seconds sometimes for seemingly no reason. I know Snapchat is a massive piece of ****, but unfortunately, my tries to convince several groups of friends to move to a different app have been unsuccessful. After removing this module, performance was restored. Because of this, along with other reports of sluggish performance when using this module, I'll most likely discontinue working on this for Android 11.
Alcolawl said:
Unfortunately I may just abandon this idea. It turns out that this module was actually responsible for the frustratingly horrible performance I was experiencing when using Snapchat. Like the phone totally locking up for 5-10 seconds sometimes for seemingly no reason. I know Snapchat is a massive piece of ****, but unfortunately, my tries to convince several groups of friends to move to a different app have been unsuccessful. After removing this module, performance was restored. Because of this, along with other reports of sluggish performance when using this module, I'll most likely discontinue working on this for Android 11.
Click to expand...
Click to collapse
Yes. I was one of the ones that reported problems even with sms after using this module.
So sad! Thanks anyway
After I Flashed official Firmware my battery has been draing way to fast. Any Ideas as to why?
Welcome to XDA Enjoy.
Try turning off all power management.
Disable all the cloud crapware ie Google Backup Transport and Samsung's junk.
Turn off Google Firebase.
Disable all Google, app, carrier feedback.
Get rid of FB, WhatsApp etc if present... pure malware.
Disable Google Play Services and Playstore when not needed. They are busy bodies that waste your power mining your data.
blackhawk said:
Welcome to XDA Enjoy.
Try turning off all power management.
Disable all the cloud crapware ie Google Backup Transport and Samsung's junk.
Turn off Google Firebase.
Disable all Google, app, carrier feedback.
Get rid of FB, WhatsApp etc if present... pure malware.
Disable Google Play Services and Playstore when not needed. They are busy bodies that waste your power mining your data.
Click to expand...
Click to collapse
Bruh, that's not the solution! The 2 latest updates have a problem with some camera wakelock issue. There are some solutions but for now they are only for rooted phones.
blackhawk said:
Welcome to XDA Enjoy.
Try turning off all power management.
Disable all the cloud crapware ie Google Backup Transport and Samsung's junk.
Turn off Google Firebase.
Disable all Google, app, carrier feedback.
Get rid of FB, WhatsApp etc if present... pure malware.
Disable Google Play Services and Playstore when not needed. They are busy bodies that waste your power mining your data.
Click to expand...
Click to collapse
So basically you are trying to help him by saying to turn off everything in he's very, very expensive smartphone and convert it into "phone with decent camera"? Mate it is not a solution, when you have problem with you car you don't turn up the music to drown out engine weird noises ;|
joloxx9joloxx9 said:
So basically you are trying to help him by saying to turn off everything in he's very, very expensive smartphone and convert it into "phone with decent camera"? Mate it is not a solution, when you have problem with you car you don't turn up the music to drown out engine weird noises ;|
Click to expand...
Click to collapse
Do what you want. I don't have time for this.
If you think erratic behavior whilst using more battery is a smart phone... it's a lick on you.
blackhawk said:
Welcome to XDA Enjoy.
Try turning off all power management.
Disable all the cloud crapware ie Google Backup Transport and Samsung's junk.
Turn off Google Firebase.
Disable all Google, app, carrier feedback.
Get rid of FB, WhatsApp etc if present... pure malware.
Disable Google Play Services and Playstore when not needed. They are busy bodies that waste your power mining your data.
Click to expand...
Click to collapse
I think this is a little too extreme. It's like removing the brakes, body panels, air conditioning and suspension of a Rolls Royce to make it lighter and and more fuel efficient. Not sure you'd get your money's worth with the handicap that remains after disabling everything in that list.
Not trying to pick a fight here, I have nothing personal against you - I'm sure you meant well. I'm just saying that not everyone can live with a severly handicapped smartphone with most of the social and connectivity features disabled.
Yosh123 said:
After I Flashed official Firmware my battery has been draing way to fast. Any Ideas as to why?
Click to expand...
Click to collapse
Which firmware? How did you "flash" it? Are you rooted? Were you on a Custom ROM before? DId you use Smart Switch? How long has it been since you cset up the phone from scratch?
Need some more details.
There's hardly any information contained in your post to try to figure out how to help you...
enigmaamit said:
I think this is a little too extreme. It's like removing the brakes, body panels, air conditioning and suspension of a Rolls Royce to make it lighter and and more fuel efficient. Not sure you'd get your money's worth with the handicap that remains after disabling everything in that list.
Not trying to pick a fight here, I have nothing personal against you - I'm sure you meant well. I'm just saying that not everyone can live with a severly handicapped smartphone with most of the social and connectivity features disabled.
Click to expand...
Click to collapse
Power management... destroyer of worlds.
Ever since it's inception it hasn't worked right causing erratic behavior and even increasing battery usage.
Android manages its self just fine without it.
You need to sort out the trouble making apks because the shotgun power management approach doesn't get it.
Gookill apps are some of the worst offenders as well as data miners. I gain 1-2% more battery life by disabling Google play Services; unless I need to view gmail, use Gmaps or Playstore it stays disabled. Google play Services runs ever worse with power management enabled. If you need Google play Services than keep it enabled and take the battery and data hits.
I get about 7-10%@hour battery usage on a estimate 4100 mAh battery on my Note 10+ with very heavy browser and streaming usage. Unfortunately unless you take the time to learn who/what are the troublemakers are, you will be at their mercy... and machines don't feel empathy.
As for social apps consider the security liabilities and implications. They can and do destroy privacy, careers and lives. All can be hacked in a number of ways and are prime targets.
Maybe you're having too much fun to notice the rapidly approaching tarmac.
No FB or WhatsApp crapware running on this phone... I was born at night but not last night.
An old joke sums it up.
Q: Can you keep a secret?
A: I can too.
blackhawk said:
Maybe you're having too much fun to notice the rapidly approaching tarmac.
Click to expand...
Click to collapse
I like how you worded that
blackhawk said:
Do what you want. I don't have time for this.
If you think erratic behavior whilst using more battery is a smart phone... it's a lick on you.
Click to expand...
Click to collapse
If you don't have time, we'll not my problem. I just think disabling everything in smartphone is not an fix as mentioned in previous post. But anyway without proper data from OP there is barely anything we can do to help him.
joloxx9joloxx9 said:
If you don't have time, we'll not my problem. I just think disabling everything in smartphone is not an fix as mentioned in previous post. But anyway without proper data from OP there is barely anything we can do to help him.
Click to expand...
Click to collapse
I got time but not for ineptness...it's not a desirable trait or skillset.
The OP needs to ferret it out and optimize the device as they see fit. All I can do is point out know issues and possible workarounds for a stock Android.
There is no quick fix as there are multiple issues.
Disclaimer: what works well for me may puke on you
joloxx9joloxx9 said:
If you don't have time, we'll not my problem. I just think disabling everything in smartphone is not an fix as mentioned in previous post. But anyway without proper data from OP there is barely anything we can do to help him.
Click to expand...
Click to collapse
maybe this is the latest issue from new updated software version, first try to factory data reset before (backup the important data first with smart switch), then if it's feel same, try to disable the most battery consume one like power management and google play (and play service) just for a day to compare with the default setting before.
maleforwork said:
maybe this is the latest issue from new updated software version, first try to factory data reset before (backup the important data first with smart switch), then if it's feel same, try to disable the most battery consume one like power management and google play (and play service) just for a day to compare with the default setting before.
Click to expand...
Click to collapse
You`ve quoted wrong person
joloxx9joloxx9 said:
You`ve quoted wrong person
Click to expand...
Click to collapse
Ohh sorry my mistake
TDP TweaksIGNORE THE VERSION NUMBER THAT SHOWS IN MAGISK. I FORGOT TO CHANGE IT WHEN I PUSH THE RELEASEDetails
Version: 1.4.04
Platform API: 31+
Android Version: 12+
Magisk Version: 25.2+
Source Code: https://gitlab.com/kp-development/android/tdp-tweaks
This is a Magisk module that attempts to modify some settings and tweak some services for better device performance, better battery management, and better privacy.
It modifies some system settings, and then attempts to disable analytics services, ad services, diagnostic services, and tracking services. Due to the nature of these services, the disablers will run every 4 hours based on the time you last rebooted your device.
If there are packages you need to exclude from this, you can add them to your /data/adb/modules/tdp-tweaks/tdp-excludes file; line by line; and they will be skipped. There are no defaults, and we will attempt to do this for every app installed on your device including system apps.
If you need help/support with this module, you will need to turn on debugging. To do this, all you have to do is create a file in /data/adb/modules/tdp-tweaks/ called: tdp-debug. The module will pick this up and start logging on it's next run. If you need the log right away, reboot your device after creating it.
Everything except the kernel tweaks should work on any device on Android 12 and up, though I only have a OnePlus 11, so I am only able to test them out on that. Your mileage may very, but if you have something else, and it works on that, please make sure to let me know.
NOTE: I cannot and will not be held responsible for bricks, world takeovers, or nuclear warfare. As such, installing this mod is completely on you. If you do not want this, do not flash it.
Requirements
Platform API: 31+
Android Version: 12+
Magisk Version: 25.2+
Install
Download the zip file, and open Magisk.
It's attached to this post
It's also here: https://gitlab.com/kp-development/android/tdp-tweaks/-/releases/
Tap on Modules
Tap Install from storage and browse to where you downloaded the zip file to.
Tap Ok
Reboot
Sit back and enjoy your device
SettingsOfficially, there are no settings because this is only a set of shell scripts. Albeit, I did put in some logic to check for certain files in the mods directory to turn on/off some of them, as well, as exclude some packages and enable debugging... so ... follow along.
/data/adb/modules/tdp-tweaks/tdp-debug: This file will enable logging of all actions to the following location: `/data/adb/modules/tdp-tweaks/log.txt` If you have any issues with this module, I will be asking you for this log file...
Remove the file to turn this off
/data/adb/modules/tdp-tweaks/tdp-excludes: This file will be read line-by-line in order to exclude packages from the "disabler" scripts. If you find some apps no longer work for you, you may want to add them in here to be skipped over...
This file is empty by default
/data/adb/modules/tdp-tweaks/tdp-settings: This file will enable some system settings tweaks.
This file is included by default
Remove this file to turn this off
The following sections are enabled by default. Remove the line if you want to disable one
battery: enables the battery tweaks
performance: enables the performance tweaks
display: enables the display tweaks
feedback: enables the feedback tweaks
gesture: enables the gesture tweaks
googleservice: enables the google service tweaks
gmsintent: enables the GMS tweaks
googlesystem: enables the google system update tweaks
lockscreen: enables the lockscreen tweaks
telephony: enables the telephony tweaks
screensaver: enables the screensaver tweaks
settings: enables the system settings tweaks
security: enables the security tweaks
wifi: enables the wifi tweaks
packageverifier: enables the package verifier tweaks
location: enables the location service tweaks
animation: enables faster animations
dozing: enables the dozing tweaks
abusiveapps: enables the abusive apps tweaks
wellbeing: enables the wellbeing tweaks
network: enables the networking tweaks
/data/adb/modules/tdp-tweaks/tdp-kernel: This file will enable some kernel tweaks.
Remove this file to turn this off
/data/adb/modules/tdp-tweaks/tdp-analytics: This file will enable the analytics disabler.
Remove this file to turn this off
/data/adb/modules/tdp-tweaks/tdp-diagnostics: This file will enable the diagnostics disabler.
Remove this file to turn this off
/data/adb/modules/tdp-tweaks/tdp-adservices: This file will enable the ad services disabler.
Remove this file to turn this off
/data/adb/modules/tdp-tweaks/tdp-tracking: This file will enable the tracking disabler.
Remove this file to turn this off
/data/adb/modules/tdp-tweaks/tdp-compiler: This file enable the package compiler.
This only runs once
If you need to run it more than once, remove this file: /data/add/modules/tdp-tweaks/.compilerran
This can cause issues with some apps.
Either uninstall the app, and reinstall it: or,
put a file here: /data/add/modules/tdp-tweaks/tdp-undocompile and reboot
Requesting SupportFirst things first, I do this for myself and no-one else, and have simply decided to share it. I don't owe you anything, so if you demand anything from me, you will either be ignored, or reported, or both.
Thus said, I cannot help without logs, so make sure that when you ask for help that you have turned on debugging for it (see above), you post the log. At the very least I will need a Magisk log, which you can find in the management app. Also helpful would be the log this module writes to (if you have enabled debugging)... it is located here: /data/adb/modules/tdp-tweaks/log.txt. Also helpful would be a logcat, please google how to get this, as I will not hold anyones hand.
You can either file an issue in my repo, or reply to this thread on XDA.
BootloopingThis is actually pretty easy to recover from. If it happens to you, please follow these steps to recover... also note, this does not just go for my module, but any magisk module that you may end up bootlooping with.
Hold your power button until you power off.
Once your device is off, press the power button and when the boot animation starts, press and hold your volume down, and keep holding it until it boots.
Once you are in Safe Mode (you will know as your homescreen will show it), simply reboot your device. Magisk detects safe mode and disables all modules.
Please note, and this is very important: YMMV
This process may be different for your device, but there is this great thing called the internet, and that can help you. Here, this is as much hand holding as you are going to get: https://www.google.com/search?q=how+do+I+boot+my+android+phone+into+safe+mode
DonationsAlways welcomed, never required.
If you do decide to donate, please accept my thanks as I lift the beer(s) you bought to toast you
Donations can be processed here: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QTT7BM7SQG46G
{
"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"
}
Release Notes
v. 1.4.04
Fix: settings tweaks... now runs every 4 hours as well.
yes, some do reset to default states
Add: added some networking and performance tweaks
Add: added some build.prop tweaks thanks to @zaidannn7
Removed: Defaults
from now on, you need to enable these yourself. Read the above and you will figure out how to do it.
v. 1.3.77
Remove: gmsintent tweaks
causing too many issues with play services and play store
Remove: googlesystem tweaks
causing too many issues with play services and play store
Remove: haptic feedback disabler
Added: App battery compiler
Changes the apps profiles from speed.
only runs once. If you need to run it again, remove the /data/add/modules/tdp-tweaks/.compilerran file and reboot
this can cause some issues with some apps. If you need to undo this, simply drop a new file in the module: /data/add/modules/tdp-tweaks/tdp-undocompile and reboot
v. 1.3.01
Fix: better search in the disablers for package exclusions
Improvement: read tdp-settings for enabled settings section
by default all sections are enabled.
to disable:
first backup /data/adb/modules/tdp-tweaks/tdp-settings
remove the setting line(s) you want to disable
descriptions are in the repo's readme & in the OP
save the file
reboot
Fix disable back animation
Fix: move rest of wifi tweaks to the proper section
Remove: Kernel tweaks for now.
I want to see if I can "detect" the current scheduler and tweak based on that
v. 1.2.78
Initial Public Release
Confirmed Devices
Pixel 6
Pixel 6 Pro
OnePlus 11
Thanks & Kudos
topjohnwu
Magisk, and the ability for us to create modules for it.
@cpirnie & dpirnie
My folks
@dpirnie
My monkey
@gpirnie
My wife!
NOTICEI no longer have my Raven (my wife does), so I can no longer test on it. However, the updates I post should continue to work on it as most of them will be QOL improvements.
Please PM me if you want to be a tester.
In The WorksAn app to control the enabling/disabling/exclusions of the tweaks.
NON ROOT VERSIONYou may be able to still utilize some of these tweaks if you are not rooted. I've only tested this on the wife's Raven (she's not rooted, and won't let me ) Understand, this does not and cannot include any of the disablers from the full package. It's because the disablers require root.
Make sure you have at least version 33.0.3 of the SDK tools on your machine and it's setup to use those.
Google how to do this if you do not know how.
Plug your phone into your PC
Open command/shell/whatever you use for it...
Make sure your device is recognized with: adb devices
If it's not google how to enable ADB Debugging for your device, and enable it.
Download the attached script and make sure you are in your shell in that location.
Run: adb push adb.sh /sdcard/
Next Run: adb shell sh /sdcard/adb.sh and let it do it's thing
You may get some Java errors towards the end of the run... just ignore them
Profit
A must have magisk module.
Update after using this for few days, enabled everything minus tdp-adservices.
Device feels slightly snappier, even if animations are set back to normal.
Battery has improved, played Star Rail for 2h at max settings and still managed to get 6:13h sot, I'm mind blown.
Will try full day out and see how it does too.
I don't get past 5:30h under normal usage without gaming, no matter what, actually this is the first time I see 6h screen on time on my device.
P6Pro, EvoX - functional, we'll see how it behaves
animations, app loading seems faster to me. Possible?
hrabe.X said:
animations, app loading seems faster to me. Possible?
Click to expand...
Click to collapse
Yes. I set animations to .25
Justarandomguy said:
I'm on latest A13 stable with kirisakura kernel, phone has been 100% stable and perfectly working for weeks, won´t update anything so I can see if this creates any issue or changes anything and report back, been using it for an hour and so far so good, it's nice to see new contributions!
(Edit, first log if you wanna check, everything is alright and working well here, maybe it feels even faster?)
Click to expand...
Click to collapse
Appreciate it. Glad it feels faster for ya
Gonna look into those exceptions in the next few days. Have you had a chance to "turn on" the other modules?
kevp75 said:
Appreciate it. Glad it feels faster for ya
Gonna look into those exceptions in the next few days. Have you had a chance to "turn on" the other modules?
Click to expand...
Click to collapse
Hey, nope, installed and enjoy, did no more, if you want me to try something tell me, I had some services disabled already like Digital Wellbeing and so, maybe that's creating some issues in the log as I did something the module wanted to do, a log from someone else might be different
I've been running Foobar66's analytics and firebase disabler since it was released. This looks like a updated and more modern solution. They are essentially the same thing though, right?
noidea24 said:
I've been running Foobar66's analytics and firebase disabler since it was released. This looks like a updated and more modern solution. They are essentially the same thing though, right?
Click to expand...
Click to collapse
Interesting. Didn't know about that one. Just going on the description it appears to be similar, the exception would be that I automate it... IF the modules are enabled.
kevp75 said:
Interesting. Didn't know about that one. Just going on the description it appears to be similar, the exception would be that I automate it... IF the modules are enabled.
Click to expand...
Click to collapse
Yeah I really like his mod and terminal options, easy commands to run through system or user apps. I just flashed a fresh image with radioactive kernel, I'll throw this on top and give it a run.
noidea24 said:
Yeah I really like his mod and terminal options, easy commands to run through system or user apps. I just flashed a fresh image with radioactive kernel, I'll throw this on top and give it a run.
Click to expand...
Click to collapse
aye
mine does em all, but only if you create the files like I mention in the OP.
Basically, I just grab a list of packages, and try to loop through each checking for a string in the associated package classes. Like: "analy" for anything with Analytics, "adserv" for AdServices, etc...
By default, only the "Settings" tweaks are active, the rest aren't until you add those files.
I don't think the "disablers" will do anything to battery life, though, a by-product of some of the services being disabled may... my thinking for those was more for privacy than anything else... the "settings" and "kernel" tweaks were where I was thinking about battery.. which, right now I'm 35% after 30 hours... only about 4hrs SOT, but 2.5hr streaming poweramp over BT, couple hours on facebook, weatherbug going for 4 hours, and youtube going for 5 hours =) so... purtty happy with that I must say
edit: posted my screeny for that in post 4
noidea24 said:
I've been running Foobar66's analytics and firebase disabler since it was released. This looks like a updated and more modern solution. They are essentially the same thing though, right?
Click to expand...
Click to collapse
I use to use that but it wasn't perfected and caused some app issues. Now I use that app manager app by muntashirAkon it has this ad and tracker blocker which seems to be a better version of it all. It doesn't cause app issues because he test it. Maybe you might be interested in his block list op. Anyway I have both this module and that apps blocking activated.
Becareful with foobar 66s module op the reason I stopped using it was that it was causing some app issues I think because it disables to much firebase components. I don't touch them.
I was wondering if this Mod only works for Stock Android as It looks like the following files aren't activated on my Pixel 6 Pro running LineageOS latest April update:-
tdp-kernel
tdp-analytics
tdp-diagnostics
tdp-adservice
tdp-tracking
TeeJae360 said:
I was wondering if this Mod only works for Stock Android as It looks like the following files aren't activated on my Pixel 6 Pro running LineageOS latest April update:-
tdp-kernel
tdp-analytics
tdp-diagnostics
tdp-adservice
tdp-trackingView attachment 5897481
Click to expand...
Click to collapse
Same for me using stock firmware. The folder structure is different. Also I think this caused heavy drain for me I don't want to test it again because i had to do a full wipe flash to get the rom to stop draining high. Also noticed it turns aod of every boot. I wasn't able to find and delete the setting file to fix that.
cbomb1337 said:
Same for me using stock firmware. The folder structure is different. Also I think this caused heavy drain for me I don't want to test it again because i had to do a full wipe flash to get the rom to stop draining high. Also noticed it turns aod of every boot. I wasn't able to find and delete the setting file to fix that.
Click to expand...
Click to collapse
read the OP also, mod does nothing to AOD
TeeJae360 said:
I was wondering if this Mod only works for Stock Android as It looks like the following files aren't activated on my Pixel 6 Pro running LineageOS latest April update:-
tdp-kernel
tdp-analytics
tdp-diagnostics
tdp-adservice
tdp-trackingView attachment 5897481
Click to expand...
Click to collapse
read the OP
I have installed this on my rooted Pixel 6 pro and so far going great. Phone feels faster and more responsive. So thanks a lot for this, great work
Just one question, is there any way of seeing if the services are disabled on the phone?