System services running double and tripple? - Galaxy S I9000 Q&A, Help & Troubleshooting

Hi!
While playing around with Autokiller I noticed that some system services were running double, tripple and even quadruple instances.
com.android.phone has 3 entries, system has even 5 entries.
Is this normal?

Related

Closed program still consumes memory

I have been using different ROMs, some with wm 6.1 and others with 6.5, but all the ROMs have in common that they had TouchFLO 3D 2. I have noticed that when I had Opera or some other random app open, and when I clicked on the home button, or back button, or a call entered the phone (this 3 events while the apps where opened), the apps suddenly where closed automatically (or at least I thought so). When this happened the % memory used reported by quick menu growed to ~80%, this continuously happened until I got out of memory messages on Opera and the % memory used was more than 90%.
But this is the good news (at least for me, can someone with memory issues please confirm these?). I think that the apps were still open but just not available through quick menu nor visible like a process (but gwes.exe growed like Hell [10MB or even more]). I discovered this by accident: I disabled TouchFLO on "Settings - Personal - Today - Items tab" and when i checked on quick menu there were applications that were closed by one of the 3 events I mentioned early).
So I changed the option of Task Manager to End programs by tapping and holding "X" (default in this ROM is End programs by tapping "X"). Since I did this change, when one of the 3 events occurs the apps are not closed and my memory usage never gets to 90%.
So, can someone please confirm this?

How to stop "running" and "cashed processes"?

I know that android is very good at handling background processes and ram but I have so many apps that I don't use at all. They consume big amount of ram and for instance, sometimes browser loads pages again when I get back to it from another app. I assume this is because of ram. So I guess, if I can shut down some running apps in the background, available ram would be more.
I can see them at settings-apps-running(or cached processes).
For example, right now in "running" section I have 9 processes and 3 of them are poweramp, awesome beats, accuweather.com and in "cached processes" I have 10 processes and 6 of them are beautiful widgets,calendar storage,google account manager, google search, calendar, google play store. Other processes are system services that I have no problem with. When I go to developer settings-background process limit and block them, there are no cached processes anymore but that probably has a side effect. I wish I could choose which apps I want in the background.
I can shut down these apps manually but every time I restart the phone, they are there again. How can I stop them?
if you rooted, you can use Autostarts or ROM toolbox from the playstore. it can change the receivers of the apps not to start at boot
CooLasFcuK said:
I know that android is very good at handling background processes and ram but I have so many apps that I don't use at all. They consume big amount of ram and for instance, sometimes browser loads pages again when I get back to it from another app. I assume this is because of ram. So I guess, if I can shut down some running apps in the background, available ram would be more.
I can see them at settings-apps-running(or cached processes).
For example, right now in "running" section I have 9 processes and 3 of them are poweramp, awesome beats, accuweather.com and in "cached processes" I have 10 processes and 6 of them are beautiful widgets,calendar storage,google account manager, google search, calendar, google play store. Other processes are system services that I have no problem with. When I go to developer settings-background process limit and block them, there are no cached processes anymore but that probably has a side effect. I wish I could choose which apps I want in the background.
I can shut down these apps manually but every time I restart the phone, they are there again. How can I stop them?
Click to expand...
Click to collapse
The simple answer is that you don't need to stop them!
As you say, Android is already very good at keeping track of background processes, to the extent that if a new program needs more RAM, Android itself will kill a background process that hasn't been used for a while to free up RAM for the new program.
The Cached processes screen SHOULD be full of recently used programs; it shows that Android is doing what it is supposed to do and is shifting inactive processes out of active RAM in case you want to load it again, without completely dumping the process memory.
Now, as for the side effect you mentioned, that would be a significant hit on battery life. By holding programs in RAM as it is supposed to do, the OS can load the program quickly and cleanly and more efficiently by simply reading the RAM rather than reading flash, writing to RAM, then reading from RAM. The general mantra for UNIX based systems is that unused RAM is wasted RAM.
Another thing to note is that if you do not close tabs when switching active programs (including going to homescreen) then the Browser is designed to hold that tab in memory. Even if you close the Browser (excluding closing the tab specifically with the "little x"). Even if you reboot the damn phone, it will still load the tabs/pages you had open last. The pages are not held in memory as such, just what was open and what tab order, so if you do open the browser after a while, it will load the last page from scratch.
TL;DR version: The running and the cached processes will remain exactly where they are until a new program needs more RAM than is available, at which point Android will kill something to make room. You do not need to do this manually. It will cause more power drain by making very inefficient use of RAM/Flash memory. Empty RAM is wasted RAM.
whilst Chaos is right, I notice severe performance drops when ram is filled, despite Androids theoretical advantage. It doesnt work...
Best to prevent from loading altogheter.
Root, lose warranty, backup apps, uninstall or freeze apps so the bloatware is removed.
For others, change autostart settings in Romtoolbox. So they wont start on boot.
Search for safe stuff to delete. There are lists for that
Sent from my GT-N7000 using Tapatalk 2
Or just dont install the apps that you dont really need.
Via GtN7000
LoVeRice said:
Or just dont install the apps that you dont really need.
Via GtN7000
Click to expand...
Click to collapse
Lol, even then you might still need to remove bloatware lol
Sent from my GT-N7000 using Tapatalk 2
Thanks so much for detailed answers.

[Q] Resident in Memory

Hi. Just a general question about resident in memory. I noticed in the Xposed Apps Settings Module there is a "resident" option you can select.
As I understand, this allows you to keep your program in memory, presumably so that it starts up faster. Are there other good reasons to keep programs resident? For example is this a way to improve multitasking experience? Can it hurt performance because, if overused, you can start hogging too much memory? Another situation: sometimes I would edit a file using Polaris and then put it in "background" by pressing home button. Most of the times I can return to where I left off in Polaris via recent apps but sometimes the new changes are missing. This usually happen after some heavy usage or after several hours had passed. So, besides just saving changes, would selecting "resident" for Polaris prevent this from happening?

[Q] Trouble with RAM management?

I got my Xperia Z1 about a month ago, and I've noticed some issues with RAM management (or possibly under-optimized third-party apps). Although I haven't had much luck in replicating the problem, I noticed it happen a few times after a Firefox internet session, or after playing a graphically intensive game like Dead Trigger 2. The app would either close by itself (not crash, as in, there were no error messages), or, after I'd close it, I'd notice my launcher (Nova Launcher Prime) go into a restart loop. A quick glance at the running apps section in settings shows 50-100 MB of free ram, and all "constantly running" apps (launcher, viber, zooper widget, k9-mail, swiftkey, tasker, etc.) stuck, for want of a better phrase, in a restarting loop (due to lack of ram I guess).
I tried running Fast Reboot (a task killer) to see if I could regain stability of the system, but it kills only a few system tasks, freeing up to a measly 50 MB of RAM, which makes me wonder (in aggravation) just where the RAM is being used. The only way the running apps would stop closing and restarting (and I need the launcher stable) is to reboot. I'm not sure if the system would stabilize after x minutes, as I only waited for a minute or two before rebooting so that I could open another app/game.
I'm not trying to start yet another debate on necessity of used RAM on Android and efficiency/futility of task managers/killers, but what I described above really seems like poor RAM management to me. I've had a few android devices in the past, and experienced various problems /errors, but never something like this.
Has anybody had a similar issue, or have any tips?
My Xperia Z1 C6903 is currently running on rooted stock 14.2.A.0.290
Although i dont get force closes, but ive noticed most of the ram is taken by the phone itself, right now for me it says i have 1.1gb in use, when i close everything i have just a slight (barely even noticeable) increase in free ram, when i click on cached processes and close all one by one ive seen it increases the ram use instead of decreasing it?
But, do you use apps like setcpu? You can keep it on performance and keep the min slider to the lowest and the max slider to max, it runs stable and gives you performance when you need it, and no performance when you dont need it.
If all fails, try deleting system apps that you barely even use or need... Becareful what you delete tho!
mobzw995 said:
Although i dont get force closes, but ive noticed most of the ram is taken by the phone itself, right now for me it says i have 1.1gb in use, when i close everything i have just a slight (barely even noticeable) increase in free ram, when i click on cached processes and close all one by one ive seen it increases the ram use instead of decreasing it?
But, do you use apps like setcpu? You can keep it on performance and keep the min slider to the lowest and the max slider to max, it runs stable and gives you performance when you need it, and no performance when you dont need it.
If all fails, try deleting system apps that you barely even use or need... Becareful what you delete tho!
Click to expand...
Click to collapse
Thanks for the reply. No, I've used apps like that in the past, but haven't installed anything similar on the Z1, because I noticed in BetterBatteryStats that the CPU speed goes down often when the screen is off, and up when, I suppose, it's required, such as in intensive games...
What apps do you use? For example facebook, YouTube, browser etc
Ive checked again on my cached apps and to my surprise, AOSP browser takes up 208mb!
Facebook takes up 48mb, and youtube takes up 22mb.
It just depends on the apps you have installed, some use the ram even while the phone is asleep.
Ive stopped those and a huge difference was made on freeing up my ram!
What i dont get is tho why sony advertises 2.2ghz quadcore if the phone itself takes most of it?
Just delete the apps you dont need from "all apps".

Question Apps background limiter doesn't work?

Hi, recently I noticed high battery usage from my game that I play, which is the grand mafia.
The issue is not the phone itself, but I noticed the game itself lately consumed high amount of battery, so I decided to do a little experiment.
At around 10AM today, I charged the phone to 100%, and I did not open the game even once today, even forced stop the game from app setting.
Now at night, around 1:40 AM (ok technically its the next day, but whatever) I was a little surprised the game still consumed 1.3% unused, with background activity not allowed, and even forced stopped.
Here is the screenshot with highlighted only the time after full charge:
and when I click the detail, I was surprised the app still clock in high amount of both foreground activity and background activity (almost 8 hours foreground and 1 hour background), while allow foreground and background activity settings are both in off positions since the time I installed this game.
From my other phone, a Samsung S10e. I also restrict background acitivty for the game (I always restrict background activy for unimportant apps in my phone whenever I installed an app), and here is the screenshot of it from my Samsung (I do play the game in this phone today, so the usage activity is accurate, but it says the background usage is less than a minute)
I am a little concerned how the app appeared to be active even when it's forced stopped and not even used once for the day?
Is it Oppo's colorOS issue (error in displaying app foreground/background activity) or worse, does the game has spyware/malware in it? It was installed from the PlayStore and I never installed apk from outside the PlayStore. I am wondering why ColorOS still allow the app runs in background when the setting is off.
Also, can someone explain to me the "allow foreground activity" setting on Oppo? as my Samsung doesn't have this option.
Thanks guys
It doesn't work as intended or at least how we expect it to work. For example, I have tuned off background activity, foreground activity and allow auto launch but I can see Instagram still in running apps. I have to force close it after use.
I have no idea what foreground activity do, apps are still working with that disabled. Maybe we should ping Oppo on twitter to explain more.

Categories

Resources