I would like to have the maximum of control on running processes, but I feel I have not enough control, so I hope you can help me
I know that being root, managing processes and disable "autoruns" is a quite easy task but unfortunately my device is not an easy to root phone
Furthermore, I saw that Android (4.1.2 Jelly Bean) performance is very bad when you have many apps installed or you used many apps recently. Yes I listen about the internal management and I am aware that it is not a suggested practice but since I want to have control on what is happening and i have serious concerns about the algorithms to free RAM (maybe bull****), so I prefer to do it on my own risk
What I am doing is go to
-Settings, Application manager, Running, "Show cached processes"
- Settings, Application manager, Running, "Show services in use"
Identify what apps are in use and i don't like, then go to
-Settings, Application manager, All,
select app and Click "Force Stop"
Doing it my device has a better performance however, some apps still going alive after some time, for instance: Email ( I saw other in the past)
Using "Autoruns" app and checking "email" app I can see with changes of state can start "Email" however, sometime "email" is reenabled after be manually stopped but none of previous conditions happened.
How can I kill "email" or other app and force to stay off? (disable it and install other email app is not a valid answer)
I would like to use email/others as an standalone app, I mean use when I want and have out of memory when I am not using.
Besides, the autoruns, is there any scheduled task or something like that to open apps?
Of course I want to root my phone and I am waiting until someone will find a proper way to root, in fact I think that an android without rooted is like a car with square shape wheels
I think I found the cause for "mail" app being executed automatically, today it went alive after select "flight mode"
Now I would like to control Google play services, I am seeing some of these being executed continuosly, can they be killed? how?
dapgo said:
I would like to have the maximum of control on running processes, but I feel I have not enough control, so I hope you can help me
I know that being root, managing processes and disable "autoruns" is a quite easy task but unfortunately my device is not an easy to root phone
Furthermore, I saw that Android (4.1.2 Jelly Bean) performance is very bad when you have many apps installed or you used many apps recently. Yes I listen about the internal management and I am aware that it is not a suggested practice but since I want to have control on what is happening and i have serious concerns about the algorithms to free RAM (maybe bull****), so I prefer to do it on my own risk
What I am doing is go to
-Settings, Application manager, Running, "Show cached processes"
- Settings, Application manager, Running, "Show services in use"
Identify what apps are in use and i don't like, then go to
-Settings, Application manager, All,
select app and Click "Force Stop"
Doing it my device has a better performance however, some apps still going alive after some time, for instance: Email ( I saw other in the past)
Using "Autoruns" app and checking "email" app I can see with changes of state can start "Email" however, sometime "email" is reenabled after be manually stopped but none of previous conditions happened.
How can I kill "email" or other app and force to stay off? (disable it and install other email app is not a valid answer)
I would like to use email/others as an standalone app, I mean use when I want and have out of memory when I am not using.
Besides, the autoruns, is there any scheduled task or something like that to open apps?
Of course I want to root my phone and I am waiting until someone will find a proper way to root, in fact I think that an android without rooted is like a car with square shape wheels
Click to expand...
Click to collapse
more info about processes, mem and autostart
I am still fighting with Android and how it manages processes, now I am sure that my main problem became each time I went into flight mode or it is restarted.
But it is not only Email being executed and being using in memory but other processes that I am not using doing that, such as:
(Mem. on OS monitor- Mem. in "service in memory"(android settings))
Event: Connectivity changed
-youtube 22.2MB-6.2MB
-Google play services(com.android.gms) 26.8MB-12MB
-Maps 20MB-4.9MB
-Factory Test (18.6MB -3.4MB)
Event: after Startup
-youtube 22.2MB-6.2MB
-Software update (18.0MB-4.3MB)
-Internet (com.android.browser) 18.9MB-3.3MB
There many apps which are executed after events like previous but they are closed after a very short time, but I am frustrated about those which are not unloaded.
Regarding "Email" app I decided to use a free email app and as Email cannot be disabled, so, I removed the accounts associated to email app, however even without accounts configured, it still being launched and wasting resources. can I avoid it?
What do you think?
dapgo said:
I think I found the cause for "mail" app being executed automatically, today it went alive after select "flight mode"
Now I would like to control Google play services, I am seeing some of these being executed continuosly, can they be killed? how?
Click to expand...
Click to collapse
It's not possible to do what you want without root, unfortunately (unless you're talking about normal apps, in which case you can uninstall them to keep them from running). An alternative would be to use Greenify, though it won't be fully automatic without root either.
What about editing the startups rights?
Has anyone used APK permission remover?
GermainZ said:
It's not possible to do what you want without root, unfortunately (unless you're talking about normal apps, in which case you can uninstall them to keep them from running). An alternative would be to use Greenify, though it won't be fully automatic without root either.
Click to expand...
Click to collapse
Apk permission remover never stops an app from automatically starting. It only helps in removing the permissions we see during installation.
dapgo said:
What about editing the startups rights?
Has anyone used APK permission remover?
Click to expand...
Click to collapse
You still want to do this 2 years and 7 months later? That's one late reply there
GermainZ said:
You still want to do this 2 years and 7 months later? That's one late reply there
Click to expand...
Click to collapse
Yes but after SO long I found the app 'autorun manager pro', and it allowed to disable triggers /autoStartups/autoruns
Related
When I open some Apps, 10 other Apps open along with it. Is rooting the phone the only way to have access to the means to stop this?
Thanks,
-Adam
Don't pay so much attention. In general, those applications don't use your cpu and battery. Android has its own task manager system.
Yeah dis is even happening to me,the reason is so simple like one app needs the other apps so they are even opening up.
Devil_Dude said:
Yeah dis is even happening to me,the reason is so simple like one app needs the other apps so they are even opening up.
Click to expand...
Click to collapse
what the appl you using which is opening others appl can u name the apps
if you kill apps, they will probably get restarted automatically and left in the background. If the apps are working correctly, this is not a problem, as a well coded app does not use CPU/battery when in the background.
Actually, I just quit using a task manager to kill tasks (I just let Android kill them as necessary) and I have no problems (phone is not slower, power drain is not higher).
Maybe the thing is that after you stop a task in a task manager it does not update immediately and you don't see the task being restarted, and when you go into the task manager after running some app just then you see the apps restarted.
Also, some apps are very generic (maps) and used by other apps, and some apps need to be running all the time (latitude, mail client, widgets, etc.) and killing them would make them not work properly (widgets no longer updating, not getting new emails, etc.).
My advice is to leave the apps running if you are not very sure of what you are doing, because the OS will eventually kill unnecessary apps, and until then they should not use any CPU or battery.
Only thing is to stay away from badly written apps, the ones that use too much CPU even when in the background or when phone is sleeping. You should probably wait for a night after installing a new app to see if you have higher drain. If so, just uninstall and search for an alternative.
shhbz said:
what the appl you using which is opening others appl can u name the apps
Click to expand...
Click to collapse
Like any Google app by searching is opening. Google search and by using voice search its opening voice search app and so on.
Sent from my LG-P500 using XDA App
I've tried doing a lot of personal research before asking. I have watchdog and betterbatterystats. I found 2 apps chewing away at my battery. After using the app I always press back and then it pops up do you really want to exit and I select yes. However, I look at the processes and I will see it running in the background. Using stuff like advanced task killer (and a bunch of other killer apps) doesn't help, as soon as it kills it, the thing just spawns again. I had to force close it or sometimes reboot the phone. Is there any app that locks down these apps so it only allows process to run when the app is in the foreground and as soon as we leave it closes all aspect of that app? (I can't uninstall those 2 apps cause they are kinda essential; but by no means does it require any background process or need to be constantly running). So far it only runs in the background if I opened the app once, but if it starts to auto run I'm screwed.
Is there any app like the cydia backgrounder where I can set a whitelist or a blacklist that only lets the app run in the foreground and as soon as I press home it will stop all its process.
Autostarts in the market. It let's you see what apps start up under what conditions. I would assume you can just doable all conditions the apps can start up from and it would do as you describe.
Sent from my GT-I9300 using Tapatalk 2
joshnichols189 said:
Autostarts in the market. It let's you see what apps start up under what conditions. I would assume you can just doable all conditions the apps can start up from and it would do as you describe.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I have autostart doesn't work, ok I give you an example:
Groupon app. If you don't load it after a reboot it doesn't run, however as soon as you opened the app once. Theres like no way to close it.
Come-on... one of you guys must know how to close an app and prevent it from loading up after I leave the app. Isn't there anything like cydia backgrounder that I can set so apps are only allowed to load in the foreground and closes as soon as go back to the launcher???
Solution
The best solution to this is to install titanium backup. After that, create a widget in ur homescreen and select titanium backup widget (action). Then, select the action freeze/defrost/launch and after select the app ex. Facebook and create the widget. After, you will notice that the widget for the Facebook app has created to ur homescreen with a green locker. If u press on it, it will lock the app (freezed it actually) so it doesnt run. if you want to run the app, tap again on it and automatically will defrost it and launch it.
Hit thanks if i helped you
jcheong said:
I've tried doing a lot of personal research before asking. I have watchdog and betterbatterystats. I found 2 apps chewing away at my battery. After using the app I always press back and then it pops up do you really want to exit and I select yes. However, I look at the processes and I will see it running in the background. Using stuff like advanced task killer (and a bunch of other killer apps) doesn't help, as soon as it kills it, the thing just spawns again. I had to force close it or sometimes reboot the phone. Is there any app that locks down these apps so it only allows process to run when the app is in the foreground and as soon as we leave it closes all aspect of that app? (I can't uninstall those 2 apps cause they are kinda essential; but by no means does it require any background process or need to be constantly running). So far it only runs in the background if I opened the app once, but if it starts to auto run I'm screwed.
Is there any app like the cydia backgrounder where I can set a whitelist or a blacklist that only lets the app run in the foreground and as soon as I press home it will stop all its process.
Click to expand...
Click to collapse
I just want to add some info for a better understanding even if I understand what you meant.
1. A package showing in the process list after you chose "exit" is a sign for a service running. This is not necessary bad as there are many services doing nothing but waiting for events to process (of course some service do stuff in the background and it is good to look after those).
2. In Android there is no such concept as an app, there are activities (dialogs), and services and both have pretty complex life cycles (not just opened or closed) as you can see here
But back to your question: the right way to get rid of apps you don't want/need (also called bloatware in some cases) is to freeze them. One good tool for doing that is titanium backup.
chamonix said:
I just want to add some info for a better understanding even if I understand what you meant.
1. A package showing in the process list after you chose "exit" is a sign for a service running. This is not necessary bad as there are many services doing nothing but waiting for events to process (of course some service do stuff in the background and it is good to look after those).
2. In Android there is no such concept as an app, there are activities (dialogs), and services and both have pretty complex life cycles (not just opened or closed) as you can see here
But back to your question: the right way to get rid of apps you don't want/need (also called bloatware in some cases) is to freeze them. One good tool for doing that is titanium backup.
Click to expand...
Click to collapse
I understand the point of apps that show up and are 0% cpu usage like facebook etc. I was only using it as an example. There are plenty of other apps that do infact chew up cpu and battery after it is loaded for the first time and is unable to close the background processes (they are shown in the watchdog and betterbatterystats). So the only way is to freeze and unfreeze everytime I use these apps?
I have not used the maps app at all today, and my usage shows its been used for an hour and a half. Other than Google now, what should be using maps that often?
bugeyeblue said:
I have not used the maps app at all today, and my usage shows its been used for an hour and a half. Other than Google now, what should be using maps that often?
Click to expand...
Click to collapse
It's not like that. Just like whatsapp which stays always on to keep you connected, Google maps also stays on even though you don't open it as a system background process although you don't need it. The best way to remove this is to root your phone and uninstall this 'bloatware'
Sent from my Micromax A87 using xda premium
RazaVakil7995 said:
It's not like that. Just like whatsapp which stays always on to keep you connected, Google maps also stays on even though you don't open it as a system background process although you don't need it. The best way to remove this is to root your phone and uninstall this 'bloatware'
Sent from my Micromax A87 using xda premium
Click to expand...
Click to collapse
There's no need to delete Google Maps. You just need to regain some control from the app. By default it sends location data to Google. This periodic data 'seepage' also seems to have the affect of 'waking' the phone from deep sleep. Silly, especially since Google wrote the damn OS.
Anyway, this issue has been covered in other threads; you should search, there are more precise instructions out there
...or you can rely on my questionable memory; as I recall-
- Go into Google Maps
- Choose Settings
- Choose Location Settings
- Un-check "Report From This Device"
Also, make sure (on same screen) that Enable Location Sharing is NOT checked and that any of the other location-specific items on the same screen are un-checked.
If you're wondering about 'Location Reporting' under Background Location Reporting, mine is set to 'Detect your location' (thus I think this setting is OK).
Try this out. For me, Gmaps no longer uses data (or wakes the phone) unless I'm explicitly using it.
Capp5050 said:
There's no need to delete Google Maps. You just need to regain some control from the app. By default it sends location data to Google. This periodic data 'seepage' also seems to have the affect of 'waking' the phone from deep sleep. Silly, especially since Google wrote the damn OS.
Anyway, this issue has been covered in other threads; you should search, there are more precise instructions out there
...or you can rely on my questionable memory; as I recall-
- Go into Google Maps
- Choose Settings
- Choose Location Settings
- Un-check "Report From This Device"
Also, make sure (on same screen) that Enable Location Sharing is NOT checked and that any of the other location-specific items on the same screen are un-checked.
If you're wondering about 'Location Reporting' under Background Location Reporting, mine is set to 'Detect your location' (thus I think this setting is OK).
Try this out. For me, Gmaps no longer uses data (or wakes the phone) unless I'm explicitly using it.
Click to expand...
Click to collapse
Awesome. Thanks for the help. I set it up the way you suggested and I'll see how it works over the next day or so.
You could the free app Greenify as well. Anything that runs in the background without your permission will get shut down by it.
maddog00 said:
You could the free app Greenify as well. Anything that runs in the background without your permission will get shut down by it.
Click to expand...
Click to collapse
Excellent app, but it does require root privileges.
Sent from my Galaxy S4
maddog00 said:
You could the free app Greenify as well. Anything that runs in the background without your permission will get shut down by it.
Click to expand...
Click to collapse
It's desirable (to many) to have at least some background apps able to run/consume data. Yes, you can disable all (or ration out when they're 'allowed' to run, but then you lose out on the full capabilities of the device.
Trust me, having come from Sprint and a GS2, I am well versed in shutting down and restricting apps. What I LOVE about my GS4 is that I can let virtually all apps run (within reason, and w/exception of Gmaps as noted above) and I still have 28-40 hour battery cycles.
Just be wary of 'out of control' apps. Tame them, freeze them, or delete them, but only as a last resort would I disable all background apps.
Capp5050 said:
It's desirable (to many) to have at least some background apps able to run/consume data. Yes, you can disable all (or ration out when they're 'allowed' to run, but then you lose out on the full capabilities of the device.
Trust me, having come from Sprint and a GS2, I am well versed in shutting down and restricting apps. What I LOVE about my GS4 is that I can let virtually all apps run (within reason, and w/exception of Gmaps as noted above) and I still have 28-40 hour battery cycles.
Just be wary of 'out of control' apps. Tame them, freeze them, or delete them, but only as a last resort would I disable all background apps.
Click to expand...
Click to collapse
I agree. Just saying. Those apps that you don't want to run, you can tell Greenify which ones to disallow access. A one stop shop, as it were.
maddog00 said:
I agree. Just saying. Those apps that you don't want to run, you can tell Greenify which ones to disallow access. A one stop shop, as it were.
Click to expand...
Click to collapse
My bad. For some reason I thought your response said "disable all background apps". Thx for the app tip.
Hi
First of all thank you Oasis for creating a tool to fix things that shouldn't be broken to begin with! You are an example for a lot of developers :good:
I've read the first couple of posts on the original thread but I still have a few things that are not clear..
The advice of Oasis himself is too hibernate only those apps that misbehave. He states that hibernating apps will also remove them from the memory, which will come with a performance/cpu usage penalty when you want to use them again.
In the video tutorial however Josh greenifies almost every application that doesn't need push notifications.
So this would mean that when I use an application that doesn't have notifications but I open frequently, for example Nu.nl, a dutch newsapp, it will always have to reload the app from scratch instead of loading it from memory?
So baically the best way to use Greenify would be to NOT just greenify most apps, but to use the analyzer frequently and see what's running in the background and greenify those that don't depend on notifications?
Then newsapps that don't push news, image viewers, file managers, system tools like SD Maid and simple games that don't use internet should be ok not being greenified?
Is there no big list available of apps that misbehave or are safe to keep de-greenified?
Thanks in advance for any help on this.
Basically you got it right. Use the built-in analyzer as well as disable service and autostarts to check apps' behaviour. For my experience, sometimes is better to disable a background service than greenify an app, if the app "misbehave" for this service only (of course you'll have to check if the app still works). An example: guaranteedhttpservice and tracksyncservice in shazam...
marchrius said:
Basically you got it right. Use the built-in analyzer as well as disable service and autostarts to check apps' behaviour. For my experience, sometimes is better to disable a background service than greenify an app, if the app "misbehave" for this service only (of course you'll have to check if the app still works). An example: guaranteedhttpservice and tracksyncservice in shazam...
Click to expand...
Click to collapse
Where can I find and disable things like tracksyncservice? I also use Shazam but I can't find both services you mentioned in Greenify nor TiB?
latino147 said:
Where can I find and disable things like tracksyncservice? I also use Shazam but I can't find both services you mentioned in Greenify nor TiB?
Click to expand...
Click to collapse
"Disable Service" (and "Autostarts") from play store.
marchrius said:
"Disable Service" (and "Autostarts") from play store.
Click to expand...
Click to collapse
Ah, I believed those were two functions withing Greenify I couldn't find
wtf, FB has 62! services! None of them where active though, until you open the app, then it was 3.
So you can choose between greenifying an app which will basically kill all services from an app, even background services on one hand, and choosing specifically which services too disable, like you did with Shazam.
The only issue with this second method being that you don't always really know what these services do.
latino147 said:
So you can choose between greenifying an app which will basically kill all services from an app, even background services on one hand, and choosing specifically which services too disable, like you did with Shazam.
Click to expand...
Click to collapse
Exactly. Take google play services for example. If you greenify it, you'll lose gcm and other functions and that's not advisable at all (in fact greenify hides it). But with disable service (and autostarts/system tuner)you can choose what to disable while still mantaining gcm, location services (when needed), sync etc. I can' remember what I did in system tuner regarding gplay services (I followed some tutorial), but with disable service I disabled analyticsservice (this one will reactivate itself unless you do some tweak with system tuner), refreshenabledstateservice, playlogreportingservice, googlehttpservice, playlogbrokerservice, adrequestbrokerservice, gcmschedulerwakeupservice, advertisingidservice, adsmeasurementservice, locationwearablelistenerservice, nlplocationreceiverservice, geocodeservice, dispatchingservice and playlogservice. A reboot is needed. Haven't lost a single function since weeks (gcm, location, autosync and every google app in general are working 100% fine).
Same story with play store. Apps wake it very often, so greenify it does more harm than good. Instead, you can disable pendingnotificationsservice, contentsyncservice and dailyhygiene (and will still be fully functional).
Of course these are little tips to increase performance and battery life even more. I use greenify for 90% and more of apps that "misbehave" and disable service/autostarts/system tuner for the remaining 10% "misbehaving" apps. However, an app "fixed" with such methods will stay cached while with greenify is completely closed (resulting in more cpu/time/battery consumption when loaded again).
The only issue with this second method being that you don't always really know what these services do.
Click to expand...
Click to collapse
Like I already said, for general purposes you'd better simply greenify the "misbehaving" apps. If you use it/it is woken very often, you can consider these methods.
Yes, it's a "trial and error" thing. Unless you're disabling services with self-explainatory names such as "pushservice".
Never installed Facebook official app but I heard many times that is a notorious hogger and takes many personal datas too, for which you can look for xprivacy xposed module as well.
I'll start experimenting with it today :good:
My background apps are killed way too often. Is it possible to change that behaviour? Even music apps are killed while I'm playing music.
I have tried several custom roms and kernels but nothing seems to change the settings. Is either able to change RAM management settings?
I have also tried several apps that claim to be able to change RAM management settings without success.
Disabling battery optimisation doesn't help.
I have uninstalled unused apps and disabled autostart (boot completed receiver) for non-essential apps to reduce RAM usage.
When I use a RAM monitor it will show RAM usage at ~75% when apps are killed.
My old phone (Note 4) only had 3 GB ram but could still keep more apps in memory.
I don't have that problem.
Have you tried Greenify or similar app to hibernate unwanted apps running in the background? They will only open then when being used and will automatically hibernate again when closed.
ChazzMatt said:
I don't have that problem.
Have you tried Greenify or similar app to hibernate unwanted apps running in the background? They will only open then when being used and will automatically hibernate again when closed.
Click to expand...
Click to collapse
That's the reverse of what I'm looking for. I want the apps in the background to keep running.
Telorast said:
That's the reverse of what I'm looking for. I want the apps in the background to keep running.
Click to expand...
Click to collapse
Then you misunderstood what I wrote. Read it again.
It's exactly what you want, because then apps you don't want running won't take up your RAM and kick off the apps that you do want running. Like your flashlight app should NOT be running the background all the time. One example. Lots of devs think their apps are most important and should always run in the background, so when you "launch" them they are there instantly.
Like I said, I don't have your issue. My apps I WANT running stay running.
If you hibernate the UN-wanted apps, that will give more freedom to apps you DO want running in the background.
There are other apps besides Greenify which may do that task even better, it's just the most well known. It shows you complete list if apps running in the background and you can choose which you WANT to run and which you want to stay killed until you choose to activate them. Those apps will be forced hibernated from then on -- until you manually activate them. When you close them, they will STAY closed and not run in the background sucking up your RAM. It also allows you to go through your entire inventory and decide yes/no. For instance, weather widget, email, yes. Benchmarking app, NO.
Worth a try. Installed Greenify and added most apps with ignore background-free.
Telorast said:
Worth a try. Installed Greenify and added most apps with ignore background-free.
Click to expand...
Click to collapse
I even hibernate alleged background free apps, just in case.
ChazzMatt said:
Lots of devs think their apps are most important and should always run in the background, so when you "launch" them they are there instantly.
Click to expand...
Click to collapse
VERY TRUE!
This always infuriated me, not just on phones, PCs too, all the way back to the DOS days. An obsession with running in the background, as if it's particularly clever. :cyclops:
I've also found that turning off battery optimization for apps I don't want killed helps. I've had the same experience with music and podcast apps getting killed in the background and turning off their battery optimization usually fixes it.
There are some simple things to try that do not require any special apk's. One is to look in the apps section of the "Developer options" sub-menu. The default settings work well in most instances. Perhaps you accidently enabled closing of apps when a background limit has been reached or have ticked force closure of apps on exit.
Another place to look is in the "Power saving exclusions" sub-menu in the Battery settings. Music makes some boring forms of exercise less tiresome and provides additional motivation for activities that are challenging but fun (mountain biking). The music should not stop, but it might for default settings. Enabling a power saving exclusion for your music app will keep it running.
ChazzMatt said:
Then you misunderstood what I wrote. Read it again.
It's exactly what you want, because then apps you don't want running won't take up your RAM and kick off the apps that you do want running. Like your flashlight app should NOT be running the background all the time. One example. Lots of devs think their apps are most important and should always run in the background, so when you "launch" them they are there instantly.
Like I said, I don't have your issue. My apps I WANT running stay running.
If you hibernate the UN-wanted apps, that will give more freedom to apps you DO want running in the background.
There are other apps besides Greenify which may do that task even better, it's just the most well known. It shows you complete list if apps running in the background and you can choose which you WANT to run and which you want to stay killed until you choose to activate them. Those apps will be forced hibernated from then on -- until you manually activate them. When you close them, they will STAY closed and not run in the background sucking up your RAM. It also allows you to go through your entire inventory and decide yes/no. For instance, weather widget, email, yes. Benchmarking app, NO.
Click to expand...
Click to collapse
Been using Greenify for a bit now and doesn't seem to help much. It shows a bunch of hibernated apps but multitasking is still nearly impossible.
I had assumed the problem was related to the Mem Free settings rather than actual free memory but no one here has mentioned it. Is that because no one else thinks it's the problem or maybe I have misunderstood what those settings do?
I thought apps were free to use as much memory as they want until certain thresholds on total memory usage were met, then the system would ask or force apps to release memory.
Apps that let you edit those settings usually shows several thresholds where the system gets progressively more aggressive at freeing memory as memory is running out. But they all look hopelessly out of date so maybe it works completely differently today?