[GUIDE] Reducing google play services battery drain + Fully working location services - General Topics

Thread deleted as the services are very device specific. Check here for nexus 6 and here for the g2.

Update 7:
- Automated the process through sh script files
- Removed the following line, I couldn't get it to disable through the script
Code:
location.reporting.service.GcmBroadcastReceiver
- Fixed numerous item names, removed double periods, etc.
Previous updates:
Update 1:
Code:
com.google.android.location.internal.PendingIntentCallbackService
is necessary for High-precision GPS positioning. This allows much faster GPS positioning (under 5 seconds) or in areas where GPS is unavailable, but wifi/data is.
Update 2:
Code:
com.google.android.location.internal.GoogleLocationManagerService
is not necessary either for high-precision GPS.
Update 3:
Code:
gcm.http.GoogleHttpService
, while possible to disable, gave me logcat spam about Google not being able to connect to ads servers. If it doesn't bother you, go ahead and disable it as well.
Update 4: It seems that google maps was sometimes left restarting on the UploadService, so disabling it in google maps made sense. Now it's no longer stuck. Not longer necessary
Update5: Updated the guide, both visually and content-wise. I hand-wrote all the names of the items, that way you can always double check what's missing and what's not working.
Code:
[Activities][b]
com.google.android.location.network.ConfirmAlertActivity
[/b]
[Providers][b]
N/A
[/b]
[Receivers][b]
com.google.android.location.network.LocationProviderChangeReceiver
[/b]
[Services][b]
com.google.android.location.util.PreferenceService
[/b]
These allow a fully functioning location button (it asks whether you want to allow google to use the wireless networks to determine the position). It also un-derps google maps restarting.
Update 6 : Added an option to re-enable Android Device Manager. Do take into account that this forces at least two extra processes running in the background for a feature you might not use a single time in your devices' life.
Enabling Android device Manager (you need to leave this service ON):
Code:
[Activities][b]
N/A
[/b]
[Providers][b]
N/A
[/b]
[Receivers][b]
N/A
[/b]
[Services][b]
[B]com.google.android.location.internal.GoogleLocationManagerService[/B]
[/b]

Could you maybe share a System Tuner backup file? Lazy.psd
Sent from my LG-D802 using XDA Free mobile app

thanks for this guide, did the above, hopefully won't break too many day to day functions

ajamer said:
thanks for this guide, did the above, hopefully won't break too many day to day functions
Click to expand...
Click to collapse
It didn't break anything for me, I still have play store, maps, keep, gmail, GCM and everything else working. The only thing it breaks is analytics (data collection), ads (data collection/spam), checkin (google internal data collection for statistical purposes), 24/7 location reporting (might break android device manager, I haven't tested).
If you want to disable the services for daily apps (ie: drive, hangouts, fitness, etc) I've added as much as I could in the extras!
zgomot said:
Could you maybe share a System Tuner backup file? Lazy.psd
Sent from my LG-D802 using XDA Free mobile app
Click to expand...
Click to collapse
Wish I could, but I have no idea how to. Backing up the .apk itself (TB/system tuner) doesn't seem to save the parameters, and I'm afraid backing up data might be... a bad idea.

Choristav said:
Wish I could, but I have no idea how to. Backing up the .apk itself (TB/system tuner) doesn't seem to save the parameters, and I'm afraid backing up data might be... a bad idea.
Click to expand...
Click to collapse
In the app settings you can save an app profile backup, wouldn't that work?
Sent from my LG-D802 using XDA Free mobile app

zgomot said:
In the app settings you can save an app profile backup, wouldn't that work?
Sent from my LG-D802 using XDA Free mobile app
Click to expand...
Click to collapse
I tried a backup and restore, but it didn't seem to work, maybe somebody else has a way of doing it?
Also updated!

Pretty big update, let me know if it works.
@zgomot Now it's automated!

Closed at OP's request

Related

[APP][2.2+] Privacy Protector for non-rooted devices (New update!)

What can it do?
============
Are you concerned with certain apps required permissions? Then this app is for you!
Base on your settings, this app will automatically turn OFF location and network connections when it detects that certain apps are running, thus leaving the apps no chance of leaking your data. After the apps finish running, pull down notification bar and you'll easily turn network and location services back on.
It works on both non-rooted and rooted devices.
Alternatively, this app can be used as an ad-blocker or data saver.
Performance Impact
===============
With over 300 apps monitored, on average the app utilizes less than 4% of CPU on a Nexus One.
There is no noticeable impact on battery life.
Required Permissions
===============
Access to GPS and coarse location are for probing the location service settings.
Create bluetooth connections and bluetooth administration are for probing Bluetooth status and controlling bluetooth adapter.
Change Wi-Fi state is for controlling Wifi adapter.
Changelog
================
1.0
App published to Android Market after major usability improvements and critical bug fixes.
1.1
Major update
- App names are sorted
- Some performance improvements
- UI usability improvements
1.2
Minor update
- Option to hide notification when service is running
- User interface tweaks
- Removed all log messages
Please download from Android Market:
https://market.android.com/details?id=net.houzuo.android.privacyprotector
Major update
- Usability enhancements
- Critical bugs fixed
- Overall performance improvements and smaller memory footprint
houzuoguo said:
Changelog
================
App published to Android Market after major usability improvements and critical bug fixes.
Click to expand...
Click to collapse
A link will be helpful
Fantastic app one again, sir! I've posted it to the XDA front page.
willverduzco said:
Fantastic app one again, sir! I've posted it to the XDA front page.
Click to expand...
Click to collapse
Thank you very much
Looks useful! Even though I'm rooted, I'm hesitant to install apps that require root because of the obvious security issues. So non-root security apps are important.
I have a question though, will it block access for apps that run in the background, such as code run via Broadcast Receivers? If not, perhaps it could warn the user in such a case, because a malicious program could easily gather or transmit data in the background.
Elemris said:
Looks useful! Even though I'm rooted, I'm hesitant to install apps that require root because of the obvious security issues. So non-root security apps are important.
I have a question though, will it block access for apps that run in the background, such as code run via Broadcast Receivers? If not, perhaps it could warn the user in such a case, because a malicious program could easily gather or transmit data in the background.
Click to expand...
Click to collapse
Thank you
The app only monitors the current foreground process (the one that is dominating screen).
I'd suggest that, if an app runs a background service and raises a privacy concern, it is better disabled by other ways (uninstall, etc.)
There are two reasons why background services shall not be affected by the app:
- Background services may run a long time, thus disabling network or location services could cause much inconvenience.
- To disable location services, Privacy Protector will forward user to Location Settings page. Currently, if user decides not to take action to the settings and do not run the app, s/he can go back to home screen by clicking home button. However if Privacy Protector keeps forwarding user to Location Settings because a background service is running, it may be very inconvenient and could possibly annoy the user.
Thanks, that makes a lot of sense.
I guess many users aren't even aware that apps can run hidden in the background, let alone know how to detect background services. So I'm thinking about a warning to the user along the lines of "hey, you're blocking your 'Unhappy Avians' app, but Privacy Protector detected that app may run in the background, outside of our protection. If you're concerned, you may want to uninstall Unhappy Avians".
Elemris said:
Thanks, that makes a lot of sense.
I guess many users aren't even aware that apps can run hidden in the background, let alone know how to detect background services. So I'm thinking about a warning to the user along the lines of "hey, you're blocking your 'Unhappy Avians' app, but Privacy Protector detected that app may run in the background, outside of our protection. If you're concerned, you may want to uninstall Unhappy Avians".
Click to expand...
Click to collapse
that sounds like a good idea! thank you!
Is it possible to get version of Privacy Protector that can run on Android 2.1 and less?
Is it independent of iptables?
p.s. App list must be sorted alphabetically
5[Strogino] said:
Is it possible to get version of Privacy Protector that can run on Android 2.1 and less?
Is it independent of iptables?
Click to expand...
Click to collapse
The app only uses features of Android API, it does not rely on iptables.
It has been tested on my Nexus One with Android 2.2 and 2.3 roms, I wasn't able to test it on 2.1 rom because I had difficulty to find one.
I've attached an APK which should be compatible with Android 1.6, but I'm unable to test it. Please give it a try.
for further updates.. can u hide the top icon?
thx.. great app
What's about more harder function - to block access only chosen apps?
If I want use Skype and deny App X, your app will turn connection off. But i don't want lose whole connection.
Has anyone tested this on Galaxy S2 please?
Thank you
5[Strogino] said:
What's about more harder function - to block access only chosen apps?
If I want use Skype and deny App X, your app will turn connection off. But i don't want lose whole connection.
Click to expand...
Click to collapse
That behaviour would only be feasible to implement on a rooted device
NTOP said:
Has anyone tested this on Galaxy S2 please?
Thank you
Click to expand...
Click to collapse
The top device which contributes to the 1200+ downloads is Galaxy S2. There has been 4 crash reports in total (the app occasionally crashes after loading apps.. I'm still investigating) but none of them came from S2.
Major update pushed to Android Market
Changelog
- App names are sorted
- Some performance improvements
- UI usability improvements
A minor update
- Option to hide notification when service is running
- User interface tweaks
- Removed all log messages
wifi access
Would it be possible to distinguish between data and wifi (like Droidwall)?
The phone it's installed on, has a bad chip and shouldn't be rooted, but I'd like some apps to only have access to wifi, and other apps have access to both data and wifi.
Does not work on Nexus 4 with Jelly Bean
I ticked the LOC box next to Facebook app, saved, enabled... then opened Facebook app and posted a status. My location was right there in the status post

[APP][2.2+][ROOT] AppSync v1.0.3

!!! AppSync requires a rooted device !!!
About
AppSync syncs your apps data over your local network from one Android device to another. Devices will find each other using multicast (just like UPnP/DLNA).
Features
- Syncing apps data over local network
- Auto-detection of devices in network
- Comparing hashes and timestamps of app data
- All communication is encrypted
- (Pro) No ads
Future Features
- Transfer APK [v1.1]
- Background Discoverability [v1.1]
- Sync over Bluetooth [v1.2]
- Shortcuts [v1.2]
- (Pro) Sync over NFC [v1.3]
- (Pro) PC App (Win/Linux/Mac) for backups over local network [tbd]
- (Pro) Cloud Sync (Google Drive, Dropbox, etc.) [tbd]
Pro version
As mentioned above, the Pro version removes ads and will give you more features in future. Purchasing it will support me and help me investing more time into projects like this.
Known Bugs
- v1.0: WhatsApp does not work, this will be fixed in v1.1
- v1.0: Connectivity issues, this will be fixed in v1.1
Change Log
v1.0.3) hotfix: fix ads
v1.0.2) hotfix: fix force closes
v1.0.1) hotfix: fix "tools not found" and force closes on start
v1.0) initial release
Download
Videos
Review by wwjoshdew
Very interesting application!
good work!
This app looks great. Thanks a lot.
awesome!!!
just what i needed to sync apps and angry birds levels between me and my brother
chrulri said:
Future Features
- (Pro) Sync over Bluetooth
Click to expand...
Click to collapse
NFC would be great too
FunkyELF said:
NFC
Click to expand...
Click to collapse
NFC sounds interesting since it's quick and easy to use. I'll keep that in mind and start looking around for another NFC device for testing since my only NFC device at this time is my Galaxy Nexus.
Can this app be use to backup app data? Like ID and Password.
doesnt work with whatsapp... its wipe the app data...
working with anothers apps
its a good application and good luck
@nelsdzyre You can use this app to save your app data on another device and see this as a backup. If you want to do a backup using a single device you would need something like a backup tool like TitaniumBackup. If a backup succeeds depends on the app you want to backup because some apps encrypt their data with a device specific key so this will not work but maybe a local backup using TitaniumBackup will.
@yogevx this may be a limitation by WhatsApp, does syncing WhatsApps data work if you try to push the app data manually using TitaniumBackup or any similiar backup tools?
chrulri said:
@yogevx this may be a limitation by WhatsApp, does syncing WhatsApps data work if you try to push the app data manually using TitaniumBackup or any similiar backup tools?
Click to expand...
Click to collapse
yes, work with titanium backup, but push app+data.. i didnt try to push only the data
edit: try now and its working with TB (only push data)
yogevx said:
edit: try now and its working with TB (only push data)
Click to expand...
Click to collapse
Thank you for testing, I took this on my todo list and will look into it soon. I'll report back in this thread when I got news.
chrulri said:
Thank you for testing, I took this on my todo list and will look into it soon. I'll report back in this thread when I got news.
Click to expand...
Click to collapse
thank you... good luck!
Now this is what I call an app. My drag racing will never be lost again. You got my support on this one!
Great app! 10/10
Was wondering if on future updates you could add some functionality to not only share App data, but apps themselves? I find myself having to manually pull the apk for Whatsapp from my phone using TiBu every time I want to update Whatsapp on my WiFi Tablet and thought this would help alleviate those issues. :laugh:
littleemp said:
Was wondering if on future updates you could add some functionality to not only share App data, but apps themselves?
Click to expand...
Click to collapse
I was discussing this with a friend last week. I just added it to my list :good:
chrulri said:
I was discussing this with a friend last week. I just added it to my list :good:
Click to expand...
Click to collapse
the only risk to consider is "piracy" .. you may want to consider some sort of google acct authentication or something similar so ppl cant just share any app with anyone.. you'll run into some major legal issues
idea
talk with google about mix it with google drive
@mcmb03 piracy was one of our discussion points but since apps aren't saved in a "special" location anymore and even paid apps can be moved to sdcard without rooting but are protected using some kind of license verification like Google's LVL (License Verification Library), this is not a problem and especially no legal issue.
You can share any app with anyone as soon as you root your device. But your friend will not be able to run it, because paid apps have built in license verification libraries.
tl;dr: No piracy possible without modifying (e.g. hacking) paid apps.
TF201 (Stock) ICS
HD2 (Typhoon CM7 3.8.8) Gingerbread
Both using the same sync key.
The HD2 finds the TF201.
The TF201 struggles to find the HD2 sometimes. A closing and re-opening of the app is needed.
Sync from the HD2 to TF201:
Click on TF201. The TF201 displays the big AppSync logo.
The list of apps on the TF201 appear. Nice.
Tried "Cut the Rope" and "Wold of Goo" push from HD2 to TF201.
Failed.
Drops back to the device selection screen on both devices.
Sync from the TF201 to HD2:
If the HD2 appears (it usually doesn't)
Click on HD2. The HD2 displays the big AppSync logo.
The list of apps on the HD2 appear.
Tried several games push from HD2 to TF201.
Sync Done appears, but nothing actually works.
Tried push from TF201 to HD2 (Hungry Shark).
Failed.
Drops back to the device selection screen on both devices.
Bug 1: The screen turned off as I clicked HD2. When I turned the screen back on, the listening for device screen appeared on the HD2. On the TF201, the apps list still stayed. When clicking on an app, "an unknown error occurred" followed by a "connection timed out" error. The app doesn't like the screen turning off. It seems to drop the connection when this occurs.
Bug 2: On the HD2, the TF201 appears multiple times. Each time it goes back to the device selection screen after a sync failed, it adds another device. Same name, same IP address. Clicking each one had the same functionality. An annoying bug, The same issue happened on the TF201 when the sync failed. Getting devices to connect to each other (I think after clicking on the other device) removes some, if not all the multiple entries.
Overall, the app did not work for me, but a good idea. This app has great potential.
Automatic sync of selected apps would be awesome, and more intuitive icons than >> and << . I need to click them to see what they do, and I think on ICS, they may be swapped around.
@xebozone thank you very much for your detailed report, I will have a look into this asap and include the fix in next version. :good:

[APP 2.3+] 3C Toolbox (aka Android Tuner)

Dear users,
Considering all 3C apps are now based on the same source code, they all behave the same way, and will exhibit the same issues. Any queries will also likely applies to all apps.
To make my life easier while continuing to provide support here (and start with a clean slate), I decided to close all my app threads and open a fresh new thread here.
With your continuous help and support, the past 4 years have been a great adventure and experience. Let's take a fresh start and continue this amazing adventure.
Thank you all!
*** See at the end of this post on how to get support for any issues ***
The most comprehensive toolbox to save battery, tweak, tune, backup, secure and monitor any Android devices running any ROMs, any kernels.
What is 3C Toolbox
Replaces 20+ apps easily worth 30€ for the price of a couple of beers!
NB: Starting with version 1.0.3, Android 2.2.x and 2.1.x are no longer supported. App supports Android 2.3 and above, including Android L preview.
Safest root app on Play Store: I run the app and all its features on at least 4 devices every day, and change 3 of them frequently for testing purposes. With about 250.000+ actual users, it's pretty safe to assume the app is very safe. App can create a reset package to disable all system tweak features from CWM/TWRP at any time. App has automatic fallback in case of boot loops while re-configuring the CPU.
See signature for download links.
☺ App Features
☺ 3C Apps Feature Comparison
☺ More app screenshots
☺ Low CPU consumption, please check benchmarks
☺ Get started guide
☺ Online help
♦♦ Unique features not available elsewhere ♦♦
◊ Track your ROM, kernel and battery performance (%/h or mA, screen on or standby)
◊ Battery milli-amp (mA), mW and %/h consumption reporting
◊ Automatic backup of installed and updated applications
◊ Highly configurable graphical monitoring widgets
◊ Advanced script editor
♦♦ Unique features not available elsewhere (root required) ♦♦
◊ Clean and safe reboots, without data loss
◊ Turn on/off APN, BT discovery, tethering, GPS & WiFi Localization
◊ Logcat reader for Android JellyBean 4.1.x
◊ Easiest Link2SD / App2SD capabilities ever
◊ More about permissions requested
◊ Issues with CPU temperature or battery current mA or capacity mAh?
Please explain this in a support request from app settings, help and support so we can provide the appropriate option to use in 'mA retrieval method' of battery / monitoring settings and add out-of-the-box support for your device. All necessary information is provided in the request's attachments.
◊ How to get support for any other issues
Please send a support request from app settings, help and support. You need to clearly explain your issue, attach any relevant screenshots showing where and how the issue occurs. I will not provide any support here.
All I ask is to provide reasonable details for me to be able to help, empty requests are mostly trashed, I keep one requests per device for the sake of a possible source of information for how the app supports things, to possibly fix things too or compare between variants of the same device.
For example a support request contain the following (you can check the content before sending it!),
all discovered SD cards, very useful for any related issues, including the mentioned read cache stuff.
app installation path and configuration, for xposed, battery, cpu, tweaks, apps or task managers problems.
battery history and configuration for any battery problems.
CPU configuration for CPU problems, including thermal, mp, voltage, etc
The idea is that you explain the observed issue, possibly add a screenshot so that I know exactly where to look for (app has 100+ screens and sometimes words don't mean the same for you and me), and there I can really do a good job at helping you.
PS: And so you know, I hate liars, insults, disrespect and myself. So please try to avoid those when requesting support.
Actually if you want support, posting the whole support request content, the screenshot and details here should be ok. Doing otherwise, I'll either ignore you completely or send you elsewhere very quickly, you want to leave me a one star rating, so be it: developing is my passion and I love it, you want my help, do it the right way or don't at all. I don't develop for stars, I develop for fun.
Attention !!!! Installs an apk to /system/ dosnt know what it does !!! Apk is there when uninstalled too !!!!
Will the users of BMW pro and system tuner pro get a discount or count this as an upgrade?
Amazing! Downloading now.
Sent from my Nexus 7 using xda premium
Hi 3c,
Not a bad idea to make an "all in one", just need to see about memory, battery and CPU usage... but I am pretty confident about that
No more update for System Tuner pro?
In all cases I buy it! (although slightly damage the impressive increase in the price ).
Thanks and congratulations for your new app
DJxSpeedy said:
Attention !!!! Installs an apk to /system/ dosnt know what it does !!! Apk is there when uninstalled too !!!!
Click to expand...
Click to collapse
I've updated the first post with more information about that. Will publish an updated APK to ask user permission before installing it within the next hour.
EDIT: Didn't expected you guys to be so quick while I finalize the publishing of all required information.
By the way, the uninstall process can't uninstall other stuff, but as a rooted device, you should have no problem getting rid of this APK.
Please try the new APK published a minute ago (available in a couple of hours) that will allow you to refuse the APK installation.
dirtyreturn said:
Will the users of BMW pro and system tuner pro get a discount or count this as an upgrade?
Click to expand...
Click to collapse
Yes, just contact me with the order lists (bmw, system tuner and the new android tuner) and I'll refund old apps. This is the migration plan I'm working on.
EDIT: As of December 20th, 2013, direct refunds on Play Store are no longer possible. This was the only available way to offer discounts in a decent way. PayPal was an alternative available until February 2014, but it was abandonned because of the complexity, 30+% extra fees and the lack of global support (some countries could not receive refunds).
viking37 said:
Hi 3c,
Not a bad idea to make an "all in one", just need to see about memory, battery and CPU usage... but I am pretty confident about that
No more update for System Tuner pro?
In all cases I buy it! (although slightly damage the impressive increase in the price ).
Thanks and congratulations for your new app
Click to expand...
Click to collapse
Yes, high price for now to avoid users who just try any apps and put comments after a few minutes of testing. And also to be able to offer discounts by refunding old apps paid version.
Nevertheless there will be updates on existing apps (not everyone wants an all in one app) with existing improvements, except features that require additional permissions.
Do you think youll ever add ability to spoof app permissions? And let user input the value... This would be an ultimate feature!
Sent from my Nexus 7 using xda premium
NicholasQ said:
Do you think youll ever add ability to spoof app permissions? And let user input the value... This would be an ultimate feature!
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I'm looking into this actually, along with a smart "renicer", but both requires hacking Android or every APK to monitor and it turns out to be very complex.
There's 3 existing solutions on Market today:
- Hacking of Android class loader, as done by LBE Security app.
- Hacking of APK installed, as done by SRT Guard
- Patching the ROM like PDroid does.
They all have their advantages and problems, but the APK hacking seems the best option to go for as it results in a more stable experience, not as dependent on Android version as the 2 others and probably less disruptive as LBE can be when it messes up one's device. But then I'm not sure an APK can actually be installed properly
That said, I'm still looking into the first solution hacking app loading directly.
3c said:
I've updated the first post with more information about that. Will publish an updated APK to ask user permission before installing it within the next hour.
EDIT: Didn't expected you guys to be so quick while I finalize the publishing of all required information.
By the way, the uninstall process can't uninstall other stuff, but as a rooted device, you should have no problem getting rid of this APK.
Please try the new APK published a minute ago (available in a couple of hours) that will allow you to refuse the APK installation.
Yes, just contact me with the order lists (bmw, system tuner and the new android tuner) and I'll refund old apps. This is the migration plan I'm working on.
Yes, high price for now to avoid users who just try any apps and put comments after a few minutes of testing. And also to be able to offer discounts by refunding old apps paid version.
Nevertheless there will be updates on existing apps (not everyone wants an all in one app) with existing improvements, except features that require additional permissions.
Click to expand...
Click to collapse
We are Quick we are fast...we are xda !
DJxSpeedy said:
We are Quick we are fast...we are xda !
Click to expand...
Click to collapse
Not at removing bad comment on Market though
So i take it you find this app extremely bad to rate it one star, right?
yes iam that i dosnt have it installed atm.. but one is good that you are here.. i have another bug for you
why does it make an backup of build.prop when i change nothing at it ?
DJxSpeedy said:
yes iam that i dosnt have it installed atm.. but one is good that you are here.. i have another bug for you
why does it make an backup of build.prop when i change nothing at it ?
Click to expand...
Click to collapse
So far you didn't find any bugs.
changed my play store entry about it
Is this [really] compatible with gingerbread? It lags, 'freezes' on screen and I have to long click the home button. I am using a sensation 4g 2.3.4. I'll get a logcat if you will find that that will help.
DJxSpeedy said:
changed my play store entry about it
Click to expand...
Click to collapse
Thanks, appreciated. I'm sure your new entry will be more useful to new users.
So I still hope you can enjoy my new app and report any of your findings, directly here or best is using the 'support request' from the app settings, it provides a lot of useful information for debugging
dirtyreturn said:
Is this [really] compatible with gingerbread? It lags, 'freezes' on screen and I have to long click the home button. I am using a sensation 4g 2.3.4. I'll get a logcat if you will find that that will help.
Click to expand...
Click to collapse
Yes it is compatible. When did it lag? After requesting to install the system app or at some other times?
When lagging, the OS usually creates a file in /data/anr/traces.txt. If you experience a new lag, you can send it to me, possibly using the support request feature in the app settings. You can then attach a file to the newly created email.
When it comes to lags (or ANRs for that matter), logcat is useless. It only mentions a reference to the traces.txt file
3c said:
Yes it is compatible. When did it lag? After requesting to install the system app or at some other times?
When lagging, the OS usually creates a file in /data/anr/traces.txt. If you experience a new lag, you can send it to me, possibly using the support request feature in the app settings. You can then attach a file to the newly created email.
When it comes to lags (or ANRs for that matter), logcat is useless. It only mentions a reference to the traces.txt file
Click to expand...
Click to collapse
To me (if I'm wrong it's all user error) the system apk it was requesting to install (it appeared to me) was for ics/jb, so I refused the install. Your app kept requesting to install the extras. After a little thought - is the extra apk mandatory? No intention to cause any concern if what I'm experiencing is nonsense. I have not rated your app on the play store.
It lagged randomly.
dirtyreturn said:
To me (if I'm wrong it's all user error) the system apk it was requesting to install (it appeared to me) was for ics/jb, so I refused the install. Your app kept requesting to install the extras. After a little thought - is the extra apk mandatory? No intention to cause any concern if what I'm experiencing is nonsense. I have not rated your app on the play store.
It lagged randomly.
Click to expand...
Click to collapse
The extra APK is now only for specific toggles as I manage to find a different work around for the JB logcat issue. Those toggles include the APN (mobile data), background data (this one's obsolete), debug mode, unknown sources, gps and wifi localization. The 1 useful toggles is for GPS though.
Until you press 'do not ask again', the app would continue to request the APK installation ;(
As for the lags you're experiencing that seems like a bug. Have you found any trace.txt in /data/anr directory by any chance?
It's just fair to be concerned with things like that, I can understand. But installing an app requesting 35 permissions, then granting root access to that app and then being scared about a 40Kb APK being installed on /system folder is quite funny actually.
If I may make this comparison, it's like letting a heavily armed man (the 35 permissions+root) in your home and then being worried being he is hiding a wallet (the 40Kb apk) in your home!
Anyway, bad comments always call for improvements
3c said:
The extra APK is now only for specific toggles as I manage to find a different work around for the JB logcat issue. Those toggles include the APN (mobile data), background data (this one's obsolete), debug mode, unknown sources, gps and wifi localization. The 1 useful toggles is for GPS though.
Until you press 'do not ask again', the app would continue to request the APK installation ;(
As for the lags you're experiencing that seems like a bug. Have you found any trace.txt in /data/anr directory by any chance?
It's just fair to be concerned with things like that, I can understand. But installing an app requesting 35 permissions, then granting root access to that app and then being scared about a 40Kb APK being installed on /system folder is quite funny actually.
If I may make this comparison, it's like letting a heavily armed man (the 35 permissions+root) in your home and then being worried being he is hiding a wallet (the 40Kb apk) in your home!
Anyway, bad comments always call for improvements
Click to expand...
Click to collapse
Seems permissions are about the same as some system apps. the taces.txt is up for you. Hope it does something helpful. Thanks for the app. I had sent a PM with the information about the purchases. I do not use google wallet.
Awesome news that you are working on user defined app permissions. I really hope you can find a good work around. And I do currently use SRT appguard in conjuction with Android Tuner and I did notice it seems to handle disabling app permissions pretty good. The only downside is that you won't get app updates from market but that's not a big deal to me. I think if you can get the spoofing action to work, a lot of people are going to want your app. There are plenty of times I haven't downloaded an app because I didn't like it's permissions. So being able to control them without breaking the app will be a dream come true.
Sent from my Nexus 7 using xda premium

[All roms][Sharing] Huge battery saver!

Google think that almost every device running android, is their device. Therefore they implemented a service within Google Play Services that will connect your device often to the Google and it will drain more battery then needed.
NOTE:
I tried a method that was shown on i think this forum or another one. I can't remember which one it was, and i cant find the thread either.
So before i am going to start this, i wanna thank the guy from the original thread for this, even if i dont know where i can find you. I am only sharing this so i take NO CREDITS.
I repeat, i am ONLY sharing this.
+ Works with:
- AOSP roms
- TW roms
- Well, basicly all android running devices :fingers-crossed:
To start with:
- Turn of location settings
- Go to settings, accounts and go to your google account.
+ go to advertisements and untick the toggle that says that Google takes care of your advertisements.
Most important:
- Download Adaway (latest) from HERE.
Thank you @mrRobinson for this awesome app!
- Open adAway and provide Adaway root access.
- Press the menu button and go to your own custom list.
- Now add a line by pressing the + button in the upper right of the screen.
- Add the following line < mtalk.google.com >
- Make sure the the checkmark is ON with the "mtalk.google.com" line.
- Now go back to the homescreen of adAway, apply the patch.
Note: According to the maker of the original thread, this seems to be the server that your device is always trying to communicate with. So by blacklisting this URL, there is no connection anymore.
Note 2: Cyanogenmod (and maybe other AOSP or GE users) are experiencing that the Blue highlighted WI-FI icon and the blue highlighted antenna icon are now GREY after applying this.
This is because you are not connected anymore to the google servers.
Note 3: Keep in mind that you can still manual synchronise your calander, contacts, Gmail, and other Google account related.
ramon.nmgn said:
Note 3: Keep in mind that you can still synchronise your calander, contacts, Gmail, and other Google account related.
Click to expand...
Click to collapse
This (syncing) only applies for manual updates. Leaving the entry in Adaway will disable auto-updates. Not a viable option for me, am not going to manually refresh Google apps...
Pfeffernuss said:
This (syncing) only applies for manual updates. Leaving the entry in Adaway will disable auto-updates. Not a viable option for me, am not going to manually refresh Google apps...
Click to expand...
Click to collapse
Thanks for the heads up.
Thanks for this.
I don't think Ad away works as it should though.
It says its syncing and merging with my current hosts file but after doing that my hosts file goes from 1.4mb to 700kb. So all its doing is deleting stuff. Weird
Sent from my GT-I9000 using XDA Premium HD app
Obagleyfreer said:
Thanks for this.
I don't think Ad away works as it should though.
It says its syncing and merging with my current hosts file but after doing that my hosts file goes from 1.4mb to 700kb. So all its doing is deleting stuff. Weird
Sent from my GT-I9000 using XDA Premium HD app
Click to expand...
Click to collapse
Ah i did not checked my host file if became smaller. But adAway definitely works for me as it completely rebuilds the host file.
Sent from my GT-I9505 using XDA Premium 4 mobile app
how about deleting google play services if dont need automatic syncing?
Pfeffernuss said:
This (syncing) only applies for manual updates. Leaving the entry in Adaway will disable auto-updates. Not a viable option for me, am not going to manually refresh Google apps...
Click to expand...
Click to collapse
I believe this is not a viable option for many users for the same reason ...but still for some may be useful
Vihru said:
how about deleting google play services if dont need automatic syncing?
Click to expand...
Click to collapse
I think if you do that, you are not even able to Sync and update your apps at al.
I am just sharing this, i am using it myself and im pretty satisfied.
ramon.nmgn said:
I think if you do that, you are not even able to Sync and update your apps at al.
I am just sharing this, i am using it myself and im pretty satisfied.
Click to expand...
Click to collapse
I always delete GooglePlayServices and never have any problems with apps updating.
I still get notifications in my status bar telling me when there is an app update available in the Play Store and also still get my Gmail notifications in my status bar.
Syncing works perfectly and so does Maps, Google Search, YouTube etc.
I actually can't see ANY reason to have GooglePlayServices installed.
All my Google apps still function perfectly without it.
And I no longer have RAM wasted and battery used up by this annoying app!!
My advice to everyone, delete it, it's not needed at all.
Obagleyfreer said:
I actually can't see ANY reason to have GooglePlayServices installed.
All my Google apps still function perfectly without it.
Click to expand...
Click to collapse
Was pretty euphoric when I read this so immediately disabled Play Services and rebooted like a happy little kid :laugh:
That level of joy didn't last long:
Maps, Calendar, Keep, Youtube, these all need G.P.S. to function properly. Maybe even more apps but this is where I stopped.
Needless to say turned it back on again. This, as well, is not a viable option for me
Pfeffernuss said:
Was pretty euphoric when I read this so immediately disabled Play Services and rebooted like a happy little kid :laugh:
That level of joy didn't last long:
Maps, Calendar, Keep, Youtube, these all need G.P.S. to function properly. Maybe even more apps but this is where I stopped.
Needless to say turned it back on again. This, as well, is not a viable option for me
Click to expand...
Click to collapse
Did you tried the method i mentioned? :happy:
Sent from my GT-I9505 using XDA Premium 4 mobile app
Pfeffernuss said:
Was pretty euphoric when I read this so immediately disabled Play Services and rebooted like a happy little kid :laugh:
That level of joy didn't last long:
Maps, Calendar, Keep, Youtube, these all need G.P.S. to function properly. Maybe even more apps but this is where I stopped.
Needless to say turned it back on again. This, as well, is not a viable option for me
Click to expand...
Click to collapse
That's odd, I don't get Google Maps requesting Play services on my device.
I do get one of those notifications after wiping cache and dalvik cache though, I just swipe it away and carry on as normal.
After you swiped them away can you still use the apps requesting it?
For example when I first boot up YouTube after wiping cache it says it needs PlayServices to run but I just ignore and cancel it.
I have never lost any YouTube functionality at all.
ramon.nmgn said:
Did you tried the method i mentioned? :happy:
Click to expand...
Click to collapse
What method? Entering the mtalk line?
Obagleyfreer said:
After you swiped them away can you still use the apps requesting it?
Click to expand...
Click to collapse
Some yes, some no. Keep refused to work. Anyway, can easily make it through the end of the day anyway and will always charge at night so no biggie but all small bits can help of course. This fix is a bit too coarse, for me that is of course

prevent Google play services and Google maps from running in background

I know all the good stuff Android says about auto killing memory threads when there is a need BUT I am a micromanager for my Android . I JUST DONT WANT Google Play Services and Google Maps service to run in background as if they own the OS (sounds like Google like to keep google running after all ) .
Is there ANY way e.g....
-- Command via terminal
-- Any APP out there
-- a file change
that will prevent these suckers from running in the background. Google claims that these are innocent little puppies -just sit in the memory and dont consume CPU . Really ? NOT SO ..
-- They consume SLOW NETWORK bandwidth and cpu ( Keep a port checking s/w and see the android's IP doing some mischief through random ports, EVEN when its not in use )
-- Suck the battery
-- I JUST DON'T like carrying a lot of unnecessary stuff in the trunk of my car ..Ok?
I know there were some apps that would MODIFY default permissions on each app. Could they help . Could someone run me a few names
I feel the same way. I want to keep Google Play from looking for updates in the background. Glad to know I'm not the only one!
I'm not exactly sure of the end result. But maybe you could use a titanium backup widget to freeze/unfreeze Google play services. I did it to g maps and the toggle widget works perfect I just haven't tried play services because not sure if it will break something lol.
Sent from my SAMSUNG-SGH-I747 using Xparent Blue Tapatalk 2
djwuh said:
I'm not exactly sure of the end result. But maybe you could use a titanium backup widget to freeze/unfreeze Google play services. I did it to g maps and the toggle widget works perfect I just haven't tried play services because not sure if it will break something lol.
Sent from my SAMSUNG-SGH-I747 using Xparent Blue Tapatalk 2
Click to expand...
Click to collapse
I am already using Link2SD ( BTW I met some other serious issues with it - no one here in XDA has bothered to reply to me ) and I froze the following apps that run in the background without asking me
-- google services framework
-- google play
-- airdroid
- some other google service ( not sure of name )
i will unfreeze only when I need to , rest times I am good. Miss out updates - but who cares - I dont - actualyl updates are a pain in b**t when they keep happening every other day
I wondered if there is some s/w out there that will change the ACL's of these files so that they cannot exe, automatically.
sieger007 said:
I am already using Link2SD ( BTW I met some other serious issues with it - no one here in XDA has bothered to reply to me ) and I froze the following apps that run in the background without asking me
-- google services framework
-- google play
-- airdroid
- some other google service ( not sure of name )
i will unfreeze only when I need to , rest times I am good. Miss out updates - but who cares - I dont - actualyl updates are a pain in b**t when they keep happening every other day
I wondered if there is some s/w out there that will change the ACL's of these files so that they cannot exe, automatically.
Click to expand...
Click to collapse
You froze Google Services Framework and your phone still worked???
I'd like to see a full list of what you froze.
EEngineer said:
You froze Google Services Framework and your phone still worked???
I'd like to see a full list of what you froze.
Click to expand...
Click to collapse
some google service - I will double check the name. Try it . How cares - unfreeze if it does not work . I froze the sim#2 service also because i dont use it Think Linux - what do you need to run it
I just tried something different, I used DroidWall to block network access to the following services:
Google Play Services
Google Services Framework
Google Account Manager
Network Location
Google Bookmarks Sync
Google Contacts Sync
They were all listed as one item so they had to be blocked all at the same time. I will report what happens.
It's possible, annoying part is having to defrost services to install/update an app. Once in hibernation with the correct apk you'll be fine with no orange bars.
Make sure to delete all /data/data gsf stuff
Sent from my Nexus 5 using Tapatalk 2
EEngineer said:
I just tried something different, I used DroidWall to block network access to the following services:
Google Play Services
Google Services Framework
Google Account Manager
Network Location
Google Bookmarks Sync
Google Contacts Sync
They were all listed as one item so they had to be blocked all at the same time. I will report what happens.
Click to expand...
Click to collapse
Any updates on if this helped or not? Did it cause any negative effects?
No negative effects, and tablet is FASTER! Only thing is I have to unblock Google Play Service to check for app updates, but I only do that twice a month anyway.
EEngineer said:
No negative effects, and tablet is FASTER! Only thing is I have to unblock Google Play Service to check for app updates, but I only do that twice a month anyway.
Click to expand...
Click to collapse
Is there not a way to disable them all apart from G Play Service?
oscarandjo said:
Is there not a way to disable them all apart from G Play Service?
Click to expand...
Click to collapse
Not sure I understand your question. I've discovered it's safe to block network access to them all.
Notice: Improvements to 10 Post Rule
A New Q & A thread , for This Topic has been created in the Q&A, Help & Troubleshooting Sub-Forum.
New Discussion and Q & A Tabs have also been created, located just under threads Title when viewing in a Browser.
Posts from members with less than 10 posts will automatically be posted in the new Q & A thread.
Please check it out, and see if you can help out someone with a question about this Topic.
For more about this new feature see: Improvements to 10 Post Rule
if you block Google Play services and account manager your Gmail App will not work unless you are accessing Gmail through some other third party imapclient can someone confirm if Gmail App will work when these guys are blocked

Categories

Resources