Running Services not displaying everything (and some other related questions) - General Questions and Answers

Wasn't Running Services section in Developer Options supposed to show all running processes? I've noticed (on at least two different Android 11 and 12 devices) that this is not always the case. Most obvious example of such behavior is Viber, which seems to keep running even if you slide it away from the task manager (ok, it does keep the persistent notification shown, but it's definitely not listed under running services), and there are also some other apps I occasionally encounter behaving the same. They're neither shown under Running Services nor under cached processes. So what's the deal here?
I discovered those while checking NoRoot Firewall's log - there are occasionally requests or connections for apps that are not supposed to be running (I didn't start them within that session, and they're not approved for auto-launch in settings). Which brings me to the next question: If I have all apps unchecked under "auto-launch" section in Settings, why do some apps still auto-launch despite that?
And the last question: Is Force Stop "button" for apps in app manager only grayed out for those apps which are not running? Because most apps, even those I haven't started or are thought not to be running currently, have the Force Stop available to use...
All this is for non-rooted devices, though.

Related

Rooting Cause More Processes to Run?

After rooting my phone and removing the ATT bloatware, I noticed that my Advanced Task Killer (Free) program lists more programs running in the background than before? Lots of programs that never popped up when the phone was stock now are showing up in the Task Killer program as running? Is this right? Did something screw up? If I kill all those processes the only ones that consistently comes back are HandCent SMS and Clock.
I've been noticing the default messaging app and clock open up a lot, and sometimes other apps too, like ESPN ScoreCenter, Facebook, etc. are opening up by themselves. Does anyone have any idea why this is happening?
I've noticed that my GPS kicks on every once in awhile too randomly. Usually when I can tell something's running in the background.
If you turn off Background Data in Settings>Accounts and Sync, it stops it almost in its entirety, but you have to turn it on to access the Market. My guess is it's just the programs collecting or sending data regarding use of the program, or with the clock (and possibly other programs) updating itself.
I can see the logic in that some apps need to update, but I never saw these same apps exhibit this behavior before I rooted. ie) Apps running themselves and showing up in my Advanced Task Killer program and now I have to kill them where before I never knew they were there in the first place. No changes to my phone except root. Are these based on the General Sync Settings options like Background Data or AutoSync? I just don't like the idea of all these apps running when I never started them in the first place.
I think you just didn't see them before... rooting isnt going to make apps randomly start doing things they didnt do before.
This needs to be in the gerenral section as well.
it shouldnt cause more to run :/
Sorry if this post is in the wrong section. But yeah, I know those apps that are popping up now weren't there before. I'm sure I didn't miss seeing them as I have all the settings for Advanced Task Killer program set the same in terms of security levels.
Are you saying that rooting my phone made the apps show up now (as in they were just hidden to the OS/program prior to rooting)?
eh
Well The same thing used to happen to me on my HTC desire so it must just be Android (maybe has to do with the build) or just Android in general. I would get stuff like settings and such in the task managers as well etc, exactly to what you guys are describing. They were not really used or needed programs so ending the tasks was no problem. No clue, but this is not only on this device
And yes my HTC DESIRE was rooted as well
Moved to General.

Whatsapp Re-launching

Hey everyone,
This is intended to people who use Whatsapp or apps that show similar behavior.
If Whatsapp is in the background app list, I can easily hold the back button, access the list, and click on it and it will resume from where I was.
However, if the background is still in the background app list, and I clock on the Whatsapp live tile, the app has to re-launch itself instead of resuming from where I left it.
Is that a Whatsapp malfunction or normal WP7 behaviour? Other apps do not behave like that so I am guessing it's whatsapp.
I only had my Lumia 900 for a week and still new to WP7.
Your help/comment/feedback will be appreciated.
Thank you.
clicking on the app-tile will force every app to relaunch (except some built-in "apps" like your browser and so on)
roqstr said:
clicking on the app-tile will force every app to relaunch (except some built-in "apps" like your browser and so on)
Click to expand...
Click to collapse
I find that a bit odd don't you think? What for?
It's a limitation of Windows Phone right now. I think it's mostly done to reduce the amount of background processes running and hence will give better battery life.
Hopefully this will change with WP8!
Actually, that's mostly incorrect. It is the default behavior of WP7, and the reason for that behavior is to allow the user to re-launch an app that has become hung in some way (since apps can trap teh Back button, it's entirely possible to make an app that the OS provides no other way for the user to exit from). In theory (I haven't tried it myself), it's possible to make a configuration change that causes the default "launch" behavior to be resume, rather than restart.
Background processes are completley irrelevent, because WP7 has no (significant) process limit and does not let apps run in the background (consuming battery) anyhow. Backgrounded apps are fully suspended; they use RAM but if another program needs it, the suspended app will be tombstoned (think of it as "hibernated"), the process ended, and the RAM freed.
Interesting although a bit annoying since the app takes 5 seconds to relaunch and fetch messages although the messages have been received and notifications have appeared on the top.

[Q] how to close apps?

everytime i run any apps and close/exit/quit whatever, normally i use back botton (left botton)
but when i'm on homescreen and look at recent apps, i saw all apps i quit before showing
Are those apps still running? and if i does not swip it away from recent queue, are they running forever?
pladoog said:
everytime i run any apps and close/exit/quit whatever, normally i use back botton (left botton)
but when i'm on homescreen and look at recent apps, i saw all apps i quit before showing
Are those apps still running? and if i does not swip it away from recent queue, are they running forever?
Click to expand...
Click to collapse
The recent apps menu shows ... recently used apps. This has nothing to do with them being still running or loaded in memory.
Android does keep the recently used apps loaded in memory and automatically removes them if the foreground app needs more memory. So in theory you never need to actually exit any app, it is managed by the OS.
In practice, it's a little more complicated - there are "activities", which are those parts of an app you directly interact with, and there are "services", which perform background processes (playing music, downloading, checking for updates, ...). So while there is always only one activity running (and all the others are stopped), there may be several background services which are running or at least periodically wake up to do something, and those actually consume CPU time, memory and battery.
_that said:
The recent apps menu shows ... recently used apps. This has nothing to do with them being still running or loaded in memory.
Android does keep the recently used apps loaded in memory and automatically removes them if the foreground app needs more memory. So in theory you never need to actually exit any app, it is managed by the OS.
In practice, it's a little more complicated - there are "activities", which are those parts of an app you directly interact with, and there are "services", which perform background processes (playing music, downloading, checking for updates, ...). So while there is always only one activity running (and all the others are stopped), there may be several background services which are running or at least periodically wake up to do something, and those actually consume CPU time, memory and battery.
Click to expand...
Click to collapse
your explanation very good, i'm clear right now
thank you :good:

How to prevent from stopping background processes

Hello, (sorry for my english ) I have a Samsung Galaxy S8 plus SM-G9550 and I would like to know how I can prevent the system from stopping important processes running in the background, since the widgets can not be used without manually activating the app to which the widget belongs. Don´t Synchronize the weather widgets for example, also applications widgets to record or play audio, only work a few minutes after application was manually opened and then stop working, also close streaming applications running in the background as "radiocut" . I already tried everything, even removing the apps from the energy saving settings, I put those applications in the list of apps without supervision of the power monitor and still do not work, only work for a few minutes and then the system stops the process, Could you help me solve this problem?
Thank you very much
You can't really stop the S8 from killing processes. It has very bad memory management and constantly kills processes and running apps. It's very annoying.
jorgemackay said:
Hello, (sorry for my english ) I have a Samsung Galaxy S8 plus SM-G9550 and I would like to know how I can prevent the system from stopping important processes running in the background, since the widgets can not be used without manually activating the app to which the widget belongs. Don´t Synchronize the weather widgets for example, also applications widgets to record or play audio, only work a few minutes after application was manually opened and then stop working, also close streaming applications running in the background as "radiocut" . I already tried everything, even removing the apps from the energy saving settings, I put those applications in the list of apps without supervision of the power monitor and still do not work, only work for a few minutes and then the system stops the process, Could you help me solve this problem?
Thank you very much
Click to expand...
Click to collapse
I think you have to turn off the app from Battery Optimization. Try Settings; Apps; touch the three DOT menu on the right corner, select Special access; Optimize battery usage; on the top left select "All apps" by default it shows "Apps not optimized" and Turn off Battery Optimization from the app you want to keep running... Let see if it works...
dhorgas said:
You can't really stop the S8 from killing processes. It has very bad memory management and constantly kills processes and running apps. It's very annoying.
Click to expand...
Click to collapse
Like Emby, when you're in the middle of casting
disturbd1 said:
Like Emby, when you're in the middle of casting
Click to expand...
Click to collapse
I don't know is what that means.
In device manager under battery there is the ability to add apps to the whitelist so the device manager won't stop them.
ShrekOpher said:
In device manager under battery there is the ability to add apps to the whitelist so the device manager won't stop them.
Click to expand...
Click to collapse
This doesn't work. The issue is with memory management on the device. It's pretty well documented in a few places on XDA already and is by no means a new problem for Samsung. It has gotten a lot worse since Samsung started moving to Nougat though.
Can you give a reproducible scenario?
The original post already mentioned that he already removed the apps at battery optimization.
Sent from my SM-G955F using Tapatalk
lopri said:
Can you give a reproducible scenario?
Click to expand...
Click to collapse
Open 6-8 apps, in my case phone, messages, email, browser with 10 tabs, BBM, calendar, Nine Email, and Slack and watch the phone shut down apps on its own even if they are removed from all optimization features. It sometimes takes a few hours, other times it's quicker, but sooner or later the phone just shuts down apps on its own. Most of the time it kills the phone app and messages first. Then all the browser tabs go into refresh mode.
dolbylogic said:
I think you have to turn off the app from Battery Optimization. Try Settings; Apps; touch the three DOT menu on the right corner, select Special access; Optimize battery usage; on the top left select "All apps" by default it shows "Apps not optimized" and Turn off Battery Optimization from the app you want to keep running... Let see if it works...
Click to expand...
Click to collapse
Nobody else responded to this, but it seems to work for me.
I am a j7 pro user, android 7. I have tried all the oprions mentioned here but those are of no use. problem is getting worse day by day. desperately need a solution.
adattabd said:
I am a j7 pro user, android 7. I have tried all the oprions mentioned here but those are of no use. problem is getting worse day by day. desperately need a solution.
Click to expand...
Click to collapse
I suggest the J7 forum section then, this post hadn't been touched for a year.
iworkout said:
Nobody else responded to this, but it seems to work for me.
Click to expand...
Click to collapse
It worked for me too.
I had an Galaxy S6 and used to sync FolderSync with an FTP account.
After migrating to Galaxy S8+ FolderSync doesn't work anymore.
It does sync once while the app is opened and after that it stops syncing, no matter if it is closed not.
Removing Battery management for FolderSync app makes syncing to stay running in background even with all apps closed.
Thanks!

Question Permissions Issues

I like to stop background data and set battery use to restricted for most of my apps.
I spent about 10 minutes yesterday going through every app and turning off background data and setting the battery use to restricted, but after a reboot, everything is back to default, including apps I've previously enabled to install other apps (Google chrome, mixplorer, sai, etc)
Any ideas?
Here is something that I do to achieve a similar result. I use the app Ice Box to freeze many of my apps that I want to restrict. This temporarily disables them, but keeps their data. This cuts down on battery usage, background CPU/RAM usage, and notifications. Whenever you want to use one of those apps, you can just tap the icebox icon and it will show a panel of all of you frozen apps and you can just tap an app to open it. It does offer the ability to put shortcuts of the frozen apps in your launcher to make it easier to access them.
If you are rooted it is simple to set up. If you are not rooted, you can still use it with ADB permissions (works well with Shuzuku too), but you need to reissue the adb command anytime your phone it rebooted. Shizuku makes this step a bit easier.
synesthete said:
Here is something that I do to achieve a similar result. I use the app Ice Box to freeze many of my apps that I want to restrict. This temporarily disables them, but keeps their data. This cuts down on battery usage, background CPU/RAM usage, and notifications. Whenever you want to use one of those apps, you can just tap the icebox icon and it will show a panel of all of you frozen apps and you can just tap an app to open it. It does offer the ability to put shortcuts of the frozen apps in your launcher to make it easier to access them.
If you are rooted it is simple to set up. If you are not rooted, you can still use it with ADB permissions (works well with Shuzuku too), but you need to reissue the adb command anytime your phone it rebooted. Shizuku makes this step a bit easier.
Click to expand...
Click to collapse
Thanks @synesthete, but my use is different. I've used SDMaid and other apps to freeze apps for years, but that's not what I'm after.
For instance, I don't think Google Chrome needs to have background data when I'm not actively using it. I also think that there's no need for it to have "optimized" battery setting if I only want it running when I want to use it. There are a lot of apps that fall into this category that I'd like to be in control of.
So in short, I want to disable background data and set it's battery use to "restricted", which works right up until I restart my phone.
I hope this isn't some new "intended behavior", that'll suck.
Battery life is part of my concern - apps that are on the "restricted" list don't use as much battery, and I couldn't care less if I get notifications from most of them, but I still want to use them.
Background data is more privacy-concern. I don't think most of my apps need to call home and tell them what I've done in their app since last time it called home. My invoicing program for instance. I need that info synced, but when *I* choose for it to sync, not 14 times in the middle of the night when I'm not using the phone.
Psychlone said:
Thanks @synesthete, but my use is different. I've used SDMaid and other apps to freeze apps for years, but that's not what I'm after.
For instance, I don't think Google Chrome needs to have background data when I'm not actively using it. I also think that there's no need for it to have "optimized" battery setting if I only want it running when I want to use it. There are a lot of apps that fall into this category that I'd like to be in control of.
So in short, I want to disable background data and set it's battery use to "restricted", which works right up until I restart my phone.
I hope this isn't some new "intended behavior", that'll suck.
Battery life is part of my concern - apps that are on the "restricted" list don't use as much battery, and I couldn't care less if I get notifications from most of them, but I still want to use them.
Background data is more privacy-concern. I don't think most of my apps need to call home and tell them what I've done in their app since last time it called home. My invoicing program for instance. I need that info synced, but when *I* choose for it to sync, not 14 times in the middle of the night when I'm not using the phone.
Click to expand...
Click to collapse
Yeah I understand your reasoning and I agree that many apps like that do not need background data or to even run run in the background. I suppose some people use web-apps/PWAs and push notifications in their browsers, but it seems that background data should be an opt-in setting for many apps.
It is very strange that those settings are resetting after reboot. I just tested it out with Chrome and Chrome Beta and the restricted setting survived a reboot.
synesthete said:
Yeah I understand your reasoning and I agree that many apps like that do not need background data or to even run run in the background. I suppose some people use web-apps/PWAs and push notifications in their browsers, but it seems that background data should be an opt-in setting for many apps.
It is very strange that those settings are resetting after reboot. I just tested it out with Chrome and Chrome Beta and the restricted setting survived a reboot.
Click to expand...
Click to collapse
Damn, ok, at least I know there's something wrong with specifically MY setup.
Hopefully someone will chime in with a reason and a fix.
Thank you for checking it out on yours and giving me input!!
I hate to double-post, but it's been a couple days and I was hoping that someone with experience in what my issues is would chime in.
tl;dr the initial post:
I set specific apps to restrict background data and set the battery use to restricted.
After a phone restart, the settings are back to default, including any 'disable over' and other permissions. My changes do not persist after a reboot.

Categories

Resources