Request - Shortcut to disable and enable google maps - Galaxy S III Themes and Apps

So here's the issue. Google maps is great and useful, but even when you're not using it, it's running in the background and hogging up ram. Now, before you give me the old "android uses ram in a different way" speech, it's pretty obvious that maps doesn't take long to reopen even if it's been cleared from the ram. So it'd be better to have that ram freed up for multitasking purposes.
Also, constantly running in the background means it's draining some battery too.
The solution to this would be to disable maps when not using it and then reenable it when required. However, this takes time.
So, I was wondering if anyone could make a shortcut/app which let's us disable and enable the maps app with just the press of a button.

Freeze it using titanium back up
Sent from my GT-I9300 with a BIG

I have a list of apps I freeze n unfreeze regularly - like easy ums or paragon ntfs - I have the unfreez all widget to aim in quick access - but if you spent the time to make a filter in titianium your could have it unfreeze a particular app

Just go application manager > all > disable it, I'd saw uninstalled update then uninstall it and disable
Else, use titanium backup freeze it, don't be lazy keep on asking developer to do such thing
Sent from my GT-I9300 using xda premium

Titanium has a widget that lets you disable and enable a specific app. No need for a different app.

Tasker? It does wonders.
For me, it makes a new application called (New Maps) that unfreezes google maps, waits until it is unfrozen, launches it.
If maps has been inactive for the past XX minutes, it will automatically freeze it. (also set to be frozen on boot)

After this thread I found the TiBu action widget that will cycle through Freeze/Unfreeze&Open.
Pretty handy! Use it now for Facebook and Maps.

seanpr123 said:
After this thread I found the TiBu action widget that will cycle through Freeze/Unfreeze&Open.
Pretty handy! Use it now for Facebook and Maps.
Click to expand...
Click to collapse
Yep, been doing this since I had the GS2

trein91 said:
Tasker? It does wonders.
For me, it makes a new application called (New Maps) that unfreezes google maps, waits until it is unfrozen, launches it.
If maps has been inactive for the past XX minutes, it will automatically freeze it. (also set to be frozen on boot)
Click to expand...
Click to collapse
Am a fanatic tasker user myself, but never spend time on the 'new' app factory.
Would you care to share these profiles/scenes, waste of time to reinvent the wheel twice

http://db.tt/fkUdDAdY
2 profiles two tasks
Export new maps as an app and use it whenever you want to launch maps from a frozen state.
Set your own athome variable or modify it if you don't need two different timeout settings
Sent from my GT-I9300 using Tapatalk 2

Ok, after analyzing BBS past few nights I've determined even when you freeze something in TiBu, it doesn't actually remove the alarm wakeups from Alarm Manager. You need to do a restart to clear after freeze to truly remove its footprint.
Restart is rather annoying, anybody have any other thoughts on how to better accomplish the freeze process?

Related

Running services?

How much battery do running services use? With froyo I don't see any way to stop them unless someone knows of a way to do it. My widgets always restart in the background and cnet is always running even though I don't have it set as a widget. All the apps that stop them dont work on froyo. Is killing running services the same as killing tasks as in its bad for the phone?
wings9130 said:
How much battery do running services use? With froyo I don't see any way to stop them unless someone knows of a way to do it. My widgets always restart in the background and cnet is always running even though I don't have it set as a widget. All the apps that stop them dont work on froyo. Is killing running services the same as killing tasks as in its bad for the phone?
Click to expand...
Click to collapse
Yeah, don't stop services manually unless you absolutely have to. These are the active parts of apps. Technically, they aren't a part of the apps per se, but anyways you can read the documentation on the Android Developers site if you really want to know about them. They can drain the battery, so be on the lookout for apps that have services running all the time. If you start having battery troubles, look at those apps first to see if they are a problem. That being said, most services do very little in the background and aren't a problem. Most will go away if you turn off auto update settings in apps or get rid of widgets or other persistent parts of apps. Long press on the homescreen, hit shortcuts>settings>running services to get an easy way to view and manage running services. You can stop some of them there, but again, don't do it unless you have to. Its better to uninstall the app if you think its using too much power/resources. Also, you should get the Manage Applications shortcut too. Its in the same location and is really handy for managing your apps.
I've noticed lately that K9 Email always seems to be running now and it never used too.
I have to manually stop it.

Apps restarting

Just looking for some information & help here guys. I might seem like a really basic & simple question but I'm a newbie to Android. Got my Galaxy Nexus (which is my 1st Android) after having moved over from the iPhone.
Anyway, I have noticed that some apps I have installed auto start as soon as I stop them. My mate advised me to install the Android Booster app which closes apps, but a few minutes later some of them just auto restart like Facebook & Sky News. They also auto restart if I stop them through apps on the settings menu.
Is there a way of stopping these apps from running when I'm not using them to save on battery and data usage?
Thanks
Apps that restart automatically have a background service running and will keep restarting. They might need that service for background updates or other tasks.
Uninstall the booster app and any other task manager you might have installed and let Android manage the resources. Apps running in the background normally have no measurable impact on battery life. You should never have to worry about that. Only really crappy apps (or wrong user settings like update every 2min) make problems and you should uninstall them anyway and not try to "fix" what they do wrong.
If you are worried about them eating your data, use the new data usage feature in the settings and restrict background data for the apps individually.
Thanks for the reply. Yeah it was more the data usage than battery I am worried about. I hav now gone into setting and restricted background data. How do I restrict individual apps?
You can't do Facebook yet as its not working with ics yet and can't access the menu. Most other apps have a setting option about auto updating.

Batter drain

Why is google services higger than display
Sent from my SAMSUNG-SGH-I337 using xda premium
ktetreault14 said:
Why is google services higger than display
Sent from my SAMSUNG-SGH-I337 using xda premium
Click to expand...
Click to collapse
This is the perfect kind of question for the Help Thread pinned at the top of this forum. See link in my signature for the direct route.
Anyway, Google Services has gotten a little out of hand with how much it thinks your phone is Google's for Google to use as Google sees fit. Perosnally I hate that and I cripple the GSF's ability to take too much control of my phone.
Full disclosure, I haven't done this on a GS4 yet, but the phone model shouldn't matter as the Google Services Framework isn't model specific. I've done this on an HTC Sensation, HTC Glacier, and a Samsung Galaxy Tab 2 and I get a noticable improvement in battery life and reduced wakes / wakelocks.
This is a good old fashioned dirty fix, as it breaks some things. GTalk and GNow or whatever Google is calling those services this week (and maybe a few other things) will not work after doing this. They are casualties of the dirty fix. But if you're like me and never use GTalk or GNow this will help. Basically the only Google service I use is the Play Store. So I disable everything in the GSF that isn't needed to run teh Play Store. Gmail and Google Maps are unaffected by the changes I list below.
I use System Tuner Pro to disable some of the start up items in the Google Services Framework. Additionally I froze the GTalk and Gnow (Google Search) apps. And no, you can't just freeze those two apps without touching the GSF. The GSF will still create wakelocks when trying to activate them even if they are not there. So you have to modify the GSF as well.
These are the things that I disabled in the GSF using System Tuner Pro. Basically anything that starts with GTalk or Talk in the GSF can be disabled.
gtalkservice.diagnostits.gtalkdiagnostics
gtalkservice.connection autherrordialog
talk.talkprovider
gtalkservice.diagnostics.gtalkdiagnosticsbroadcast reciever
gtalkservice.serviceautostarter
gtalkservices.datamessagereciever
gtalkservice.sendxmppreciever
gtalkservices.packageinstalledreciever
gtalkservice.xmppendpointreciever
gtalkservice.service.stalkservice
gtalkservice.pushmessagingregistar
These are optional other services to stop, but these will just stop a few extra alarms and wake ups. Having these stopped may disable more Google Services.
checkin.checinservices$reciever
checkin.checkinservices$triggerreciever
checkin.eventlogservices$receiver
checkin.eventlogservice
You can freeze the GSF entirely with 1 easy step and that will also kill the wakelocks. But the Play Store becomes another casualty if you do that. Disabling the events above will stop the Google Services wakelocks dead in their tracks, and allow the Play Store to continue working. (Though I haven't tried purchasing a paid app yet)
Other minor quirks...when installing an app from the Play Store after making these changes you may not get the notifications in the status bar showing that it's downloading or installing. It still works, you just don't get the notifications.
Also, when you turn on wifi or mobile data, the signal bars don't turn colors. They stay gray because you aren't connecting to the google servers anymore. (They normaly change color to indicate that you are connected to the Google servers)
I highly recommend making a Nandroid backup before trying any of this. Once you do that, go nuts! Try to activate or disable more events and see what your results are. You can't hurt too much when messing with the GSF because it will just shut down google elements. Worst case, you can always just reactivate everything, reboot, and it'll all work like it did before you messed with it. Super worst case, you can just restore your backup and it'll return you to normal. There is absolutely nothing you can break permanently by trying this.
So if you use Talk or Google Now your battery's pretty much screwed?
rizoh66 said:
So if you use Talk or Google Now your battery's pretty much screwed?
Click to expand...
Click to collapse
Those apps certainly don't make battery life better. That's for sure.
Google's goal with those apps is to create a good user experience. They are not considering battery life or sharing system resources. As a result the apps work great and look super pretty, but they come at the cost of battery life and priority resource access. If maxing out the cpu to make sure the phone is connected to the Google talk server is what it takes to make sure its ready to go whenever you take the phone out of your pocket, then that's what Google is going to do.
They care about the 98% of android users who wouldn't know how or even care to look at the battery stats who will tell all their iPhone using friends how smooth and fluid the GTalk is. They don't design the Google Services Framework for the 2% of people who will care about the overuse of system resources. And they really don't design it for the 0.5% of users who might be able to limit the reach of the GSF.
You can limit Google's use of your system through less invasive means as well, like turning off sync and what not. That will make a dramatic impact. But doing that combined with what I do to disable GTalk completely and totally eliminates wake locks caused by Google. I can keep my device on for a week and the battery stats will not show a single Alarm caused by Google or 1 second of wake lock. But I'm willing to trade off not using some of the Google servicesmto make that happen.
Sent from your phone. You should be careful where you leave that thing.
But it is the first time this has happened
Sent from my SAMSUNG-SGH-I337 using xda premium
ktetreault14 said:
But it is the first time this has happened
Sent from my SAMSUNG-SGH-I337 using xda premium
Click to expand...
Click to collapse
Then try a reboot. Sometimes you just get a bad battery cycle that is plagued by wake locks.
Sent from your phone. You should be careful where you leave that thing.

Optimus G Pro Tasks, tabs, task manager & running apps?

Very new to Android, and once again I'm not sure if this is Android or an OGP function...
I'm confused as to what the purpose is of all of the separate tasks, task manager, and running app screens that are on the phone....
When I hit and hold the home button, I get a list of recently used apps. Are they running in the background, or is it just a list of closed apps (or a combination of the two)? Is this solely so I can get to a recently opened app a bit faster? It seems to be just as fast to re-launch these apps from the home screen.
If I hit "Clear all" the list empties. But, if I then hit the button directly to it's right "Task Manager", I see a list of apps that are still running, with the option to "stop" each one separately or "stop all". I thought I had just stopped everything when I had "cleared" the list. I guess not.
So, after hitting "Stop all" I get a message on the screen that says "No applications". There are 0 applications running, and the Ram numbers are: RAM 1.46GB used, 550MB free. So, i'm guessing that even though I stopped all of these running apps, there is still stuff running like the OS and other programs. What then is this Task Manager supposed to be used for? Why are the apps I just "stopped" on this screen, and not on the Settings/Apps/Running page?
I then immediately go to Settings, Apps, Running. This list shows 22 apps currently running. I'm assuming these are things that need to run so the phone doesn't crash, and so it will perform properly. But, of the 22 that are running right now I have Redbox listed (The DVD movie rental kiosks), Norton Mobile Security (which I can understand why it is still running), Google Maps (this is listed twice with different amounts of memeory and time open listed), On-Screen Phone (no idea what that is), and a bunch of Google, LG, AT$T apps and some others like weather, VuTalk, Google Play music, Email, Media and a few others.
Why are some of these running? Things like Redbox? AirDroid? Why two instances of Google Maps? LG Keyboard (it's not on screen, but its using 36MB), Same thing with "Media".
Also, whats the difference between processes and services? Some of the mentioned apps have 2 processes and 1 service, while others will have the numbers in the reverse order.
Would someone please explain what the differences are between all of these different task manager/app screens and their purpose. And whats the story with processes and services?
As far as yor ram goes in task manager its just a paused apps stored data. You can clear it but it doesnt really do you any good. The way android works is it pauses an app when you leave and info is stored in ram, if your phone runs low on ram it just starts taking from the longest paused app so you will not run out of ram and get choppy. So it isnt necessary to clear it. Your recents list is just that.
There is also a setting in task manager to auto clear ram regularly.
Sent from my LG-E980 using xda app-developers app

(Q) How can I disable Instant Apps for Android

Like the title says, I've noticed since updating to 7.1.2 at least 2-3 times a day I am thrown a notification for "updating Instant Apps" but it never tells me if it was updated or installed. I tried going to Settings -> Google -> Instant Apps and it is disabled yet these apps are auto-downloading and installing in the background. I have auto-updates off on the play store but this still occurs.
Is there anything I can do to disable or at least cripple the instant apps? I'm reading the purpose of instant apps is so you can try an application without installing it, I do not want to test drive apps like Buzzfeed so however I can disable it would be great
fatapia said:
Like the title says, I've noticed since updating to 7.1.2 at least 2-3 times a day I am thrown a notification for "updating Instant Apps" but it never tells me if it was updated or installed. I tried going to Settings -> Google -> Instant Apps and it is disabled yet these apps are auto-downloading and installing in the background. I have auto-updates off on the play store but this still occurs.
Is there anything I can do to disable or at least cripple the instant apps? I'm reading the purpose of instant apps is so you can try an application without installing it, I do not want to test drive apps like Buzzfeed so however I can disable it would be great
Click to expand...
Click to collapse
So, using Titanium Backup I couldn't find the package com.google.android.instantapps.supervisor but using a root explorer I found the application in /data/app/com.google.android.instantapps.supervisor-2
I also found saved data in /data/data/com.google.android.apps.instantapps.supervisor
I have no idea if this will prevent the service from auto-updating as it has been without permission but I know where it is now...
Update: Deleting both folders causing settings to crash when you go to Settings -> Google -> Instant apps, so it might be deleted off my phone entirely. I will update if I see the application re-install itself
Instant apps are temporary apps. So you can't uninstall them or disable it. It's a feature built into Android that is not going away. Your only option is to install a rom without Gapps. Otherwise deal with it.
Sent from my Pixel XL using Tapatalk
superchilpil said:
Instant apps are temporary apps. So you can't uninstall them or disable it. It's a feature built into Android that is not going away. Your only option is to install a rom without Gapps. Otherwise deal with it.
Sent from my Pixel XL using Tapatalk
Click to expand...
Click to collapse
deleting those two files seemed to have broken that feature.
My issue was that I disabled that service through settings as suggested by one of the google support pages but it would still download and install "Instant Apps" the service throughout the day, not the actual temporary apps themselves. So it's been dealt with lol
oh man, when i saw this i thought i had a virus on my phone.
especially when i couldn't find anything named "instant apps" in the app drawer
I am hoping that this will work for me as well. The first time I saw the instant apps pop up I just connected to a free wifi in Mexico and freaked out. This seriously bothers me. I uninstalled it and it came back update after update. I also will not be using any instant apps, so this is something I want to break.
speedee12 said:
I am hoping that this will work for me as well. The first time I saw the instant apps pop up I just connected to a free wifi in Mexico and freaked out. This seriously bothers me. I uninstalled it and it came back update after update. I also will not be using any instant apps, so this is something I want to break.
Click to expand...
Click to collapse
some how it was pushed back on to my phone. this is not a permanent solution...
so I'm trying to disable this through other means now and I found something interesting? I need someone with more experience to chime in as far as what these* lines* do*.. and where I found it...
so in /data/data/com.google.android.apps.instantapps.supervisor/shared_prefs/phenotypeConfigurations.xml there are these three lines:
<boolean name="Supervisor__enable_instant_apps" value="true" />
<boolean name="Supervisor__disable_url_resolution" value="false" />
<boolean name="TestFeature__enable_test" value="true" />
I flipped the value of these three entries to see if this will disable it. I find it odd that for the first line it was set for "true" when the settings say it's off. I will update again if I see this come back. My coworker had suggested that this may be built in to the Google app itself? Let's see...
so I had to unroot my phone because I forgot to log into snapchat, then re-root after, and Instant Apps was back yet again. The changes I made to the XML file persisted but the app was back.
I think I found a way to remove it entirely. I used Root Explorer, idk what other applications would work for this. So I navigated back to /data/app/com.google.android.instantapps.supervisor-1 and I clicked the base.apk and I had an option to uninstall, I did this then rebooted my phone to see if reboots are why it fixes itself except the entry for Instant Apps has been removed from settings. This appears to permanently remove this feature.
every time I think I fix this it keeps coming back lol, I finally called Google Support and this is the first they are hearing of it. The application re-installed itself at 430-some Mountain Time on it's own, other times it re-installs upon reboot. I'm going to find a way to cripple it if google cant
I recommend calling support to let them know that Instant Apps is enabled even though the switch says it is disabled.
fatapia said:
every time I think I fix this it keeps coming back lol, I finally called Google Support and this is the first they are hearing of it. The application re-installed itself at 430-some Mountain Time on it's own, other times it re-installs upon reboot. I'm going to find a way to cripple it if google cant
I recommend calling support to let them know that Instant Apps is enabled even though the switch says it is disabled.
Click to expand...
Click to collapse
I have the same annoyances, "Installig Instant apps" notification appears randomly during the last month, and reading in the logcat they are updates/patches to the new feature, managed by finsky app (Play Store). The most scaring thing is that one time it appeared also during mobile data connection, which is not acceptable (and 800kb background data from Play Store). Google is being too aggressive with it. Why not simply integrate it and update it along with Play Services like the other 1000 google APIs ? !on WIFI!
Thank you for your tests, unfortunately the update process seems to be triggered by Google Play services itself or by Google play store.
I searched for related alarms/wakelocks in Amplify and could only found one wakelock coming from com.google.android.apps.instantapps.supervisor itself: .ExperimentUpdateService. I decided to keep it as this probably isn't the trigger.
ninestarkoko said:
I have the same annoyances, "Installig Instant apps" notification appears randomly during the last month, and reading in the logcat they are updates/patches to the new feature, managed by finsky app (Play Store). The most scaring thing is that one time it appeared also during mobile data connection, which is not acceptable (and 800kb background data from Play Store). Google is being too aggressive with it. Why not simply integrate it and update it along with Play Services like the other 1000 google APIs ? !on WIFI!
Thank you for your tests, unfortunately the update process seems to be triggered by Google Play services itself or by Google play store.
I searched for related alarms/wakelocks in Amplify and could only found one wakelock coming from com.google.android.apps.instantapps.supervisor itself: .ExperimentUpdateService. I decided to keep it as this probably isn't the trigger.
Click to expand...
Click to collapse
yeah that's now my only worrisome complaint is that it ignores the play store settings and will download over any network connection. You can try submitting feedback through settings and suggest they fix this part so that it updates as you said. Thanks for the additional info, I'll try disabling that and report back if it makes any difference. I doubt that's the source of the problem though so I uninstall the apk so something else must be initiating it.
Thank you guys for this thread! I have the regular Pixel and have been seeing this happen... "Instant Apps" was disabled but somehow still updating either itself or something else, and I wondered if there was an additional switch somewhere to disable it. Looks like the answer is no. ?
Sent from my Pixel using Tapatalk
So I noticed every time the play store found an update, magically Instant Apps was back. I began to notice that this may be a service built into Play Store and not the Google app itself. So I had an idea, I went into Settings for Android and turned off background data for Play services. Obviously this will affect quite a bit, but honestly I am at that point from fighting this feature that I'd gladly give that up. So far after 2 days I have not seen the application re-install itself. It has been more permanent that the other solutions I've had so far.
There's an article from XDA in Analysis and Opinion talking about Instant Apps and Play Store 7.8.15, apparently this issue is affecting people all the way down to the Samsung S5... although people are hesistant to believe this issue exists for whatever reason.
You can cripple it by restricting its access to internet via firewall. Unfortunately this method also drives up battery consumption as the firewall does jujitsu with "Google Play services for Instant Apps" - I am actively fantasizing about taking my baby sledge to this thing and going back to a "dumb"-phone that doesn't have all this drama constantly! I'm using an S5 right now. This is definitely a google thing. They have a similar self-install-without-asking "feature" on windows via their chrome browser. Just look up "SwReporter" in that program's directory. It self-populates with an executable as you use chrome normally and there is no option in the program for it to not do that. You can safely make a shortcut to that directory and empty it out regularly to restrict its functionality which is presumably for keeping an eye on you. I am also trying an alternate method of changing security to prevent write access to that directory. I have no idea how to do that on an unrooted android. Any ideas? And does anybody know how to cripple "instant apps" malware/spyware backdoor "feature" on an unrooted device without eating battery like crazy?
Today I noticed that Instant Apps was installing without my permission. When I clicked on that notification, it brought me to the Google Play Store. (In Google Play Store, I have auto updates disabled.) I have an unrooted Galaxy Note 4 and I can't even find the settings for Instant Apps under the Google settings. Why aren't the settings there? I found the app in the Apps settings called "Google Play services for Instant Apps" (thank you G1A). I cleared it's the cache and data and then uninstalled it. So I'm assuming it will not come back but you never know.
EDIT: Well the "Google Play services for Instant Apps" reinstalled itself AGAIN WITHOUT MY PERMISSION. Getting sick of tired of Google's POMPOUS business ethics.
If it reinstalled itself.... then his would require root privileges in order to disable.
yeah this issue is annoying, it seems to initiate the download upon every reboot and each time it checks the play store for updates for any of your apps.
I found a way to disable it but it required freezing the app through Titanium Backup. I have NO CLUE why I couldn't see Instant Apps before in this list but it is listed as "Google Play Services for Instant Apps." It does not re-install or try to even download, does not show in Settings under Google, but if you look at the app itself in settings you will see it does still run. I am not sure to what extent but yeeeaahhh at least it doesnt seem like it can run anything
No problem As an update, changing security permissions (specifically for writing) for chrome's target folder Definitely (in windows 10) serves as an effective measure to blockade its ability to regenerate itself. This same method also works for microsoft edge located in the C-Windows-SystemApps folder. I presume that the programming methods would be analogous with android on google's end. Anybody know how to restrict write access to a folder on android? So long as it checks for a folder existing and it does exist (multi-decade programming approach) then it attempts to write to that folder. However, because it's already running in stealth mode (aka background) then it will never show an error message when it fails to execute, and it won't report back either, as that functionality depends on the contents of the targeted folder it is denied access to. It should be effectively crippled without excessive CPU consumption if you can just restrict its ability to write to the default folder that it installs itself in. Any ideas how to execute this kind of blockade?
UPDATE: As a way to cripple not Instant Apps specifically, but an entire host of functionality on the android platform, something called "Power Saving Mode" seems to knock out a key background runtime required for this pest to run. Unfortunately it doesn't let you pick and choose what it shuts off, so other useful apps may lose their functionality too. Post if anybody finds a more app-specific method!
Does this crap have its own separate package? If so, you could uninstall it and make a dummy APK having the same package name. This could prevent "updates" due to signing key conflicts, but might also break things...

Categories

Resources