About Background Process Limits - Galaxy Tab S Q&A, Help & Troubleshooting

Hi,
I have tried lot of custom roms such as 5.1.x AOSP based.
I noticed a major things. Original Samsungs rom's background process limit is very agressive, quickly kills unused app. When I tried to reopen backgrounded application it's starts to load again.
However 5.1.x AOSP based roms are not have this issue. Background process limit is responsive! They keep lot of application in background and result is when call backgrounded application, it is never load again! I'm still using Ironrom but this background procces limit is very teaser .
Is there any ways to increase background process limit?

You need to modify the OOM (Out of memory) settings. Apps are put into 6 groups of priority. The priority group a particular app is put in determines when an app will be killed.
For instance the launcher will be in group 1 or 2, group 1 being the last to be killed.
Doesn't Ironrom already let you do this with stweaks?
You can do it via terminal or scripts such as v6 supercharger.
Also there are xposed modules that can do it and apps such as 3c toolbox. Just have a look for memory management apps.

Related

RAM Management

Memory (RAM) management made a big difference on my Evo. But when I try the standard tweaks on my Galaxy Nexus, it doesn't seem to do anyting.
System tuner pro:
Can move tweak sliders, but adjust minfree values do not make a difference in available memory.
Selecting "boot settings" crashes the app
Auto Memory Manager:
Can veiw OOM groupings, but cannot adjust values
Adjusting Min-frees does not seem to make a difference
V6 Supercharger:
Selecting min-frees does not work, will not display current min-frees
Neither "Bullet proof", nor "Hard to Kill" launcher settings work
Anyone have luck in good memory management? SeePU is constantly displaying low memory
Don't, just don't. Uninstall every memory management and task killer app you have and then reboot your phone, trust me, Android can handle memory on it's own - that's one of the functions of an operating system.
Manacit said:
Don't, just don't. Uninstall every memory management and task killer app you have and then reboot your phone, trust me, Android can handle memory on it's own - that's one of the functions of an operating system.
Click to expand...
Click to collapse
Well for some devices with low memory these things can be helpful. But yeah with 1 GB RAM on this phone you will probably do more harm than good with those apps and scripts.
As for why they don't work in this phone, try asking the developers who created them to update them for Android 4.0. A lot of things have changed.
Sent from my Galaxy Nexus using XDA App
I will post in the V6 thread as well about the issues running on this device.
As for why I want it to run on this device: It runs great off the bat, but quickly gets loaded down. Sure, android does a good job of killing apps on its own when needed, but I want that to happen in the background when the device is in my pocket, not when I pull it out and open a new application.
I had the same thing on my Galaxy Tab and managing the memory well works to keep it running lean.
And keep in mind I don't want an app killer, rather to tweak the internal values of the android memory management process:
OOM groupings - to control which applications are killed first in low memory situations, which ones are maintained, and which are never killed.
Minfrees - to control at which free memory levels each OOM grouping is selected for freeing up memory.
Check out the V6 thread for more info: http://forum.xda-developers.com/showthread.php?t=991276

best way to manage memory and processes

I use system panel lite to the what processes are running and how much memory is being used how can I manage this properly so I can save on resources. my phone seems like it is using a lot of memory and cpu as well
I tried system auditor and I don't think that works well at all
I use OS Monitor to monitor processes and memory usage and I use Autorun Manager to control what apps allowed to run at startup and run by itself (enable/disable recievers).
I don't use any task management app. Android OS automagically do it for you.
For more information about task management on Andoid, I recomend you to read this article:
http://lifehacker.com/5650894/andro...ed-what-they-do-and-why-you-shouldnt-use-them
Hope it helps.
I use Android System Info (prev used it on the N1).
Has tabs for system, tasks and apps as well as 'overall'
and tracks memory and cpu%.
buzzcomp said:
I use OS Monitor to monitor processes and memory usage and I use Autorun Manager to control what apps allowed to run at startup and run by itself (enable/disable recievers).
I don't use any task management app. Android OS automagically do it for you.
Click to expand...
Click to collapse
This. Unless you have a poorly coded app, I wouldn't even worry about it. I haven't used a task manager since my G1 days.
Unused ram is wasted ram. There is absolutely NO NEED to manage memory in android yourself, and you end up wasting battery/time/effort trying to so.
Tl;dr, android caches more recently used apps in memory, and clears memory when needed. Don't manage it yourself.
Sent from my Galaxy Nexus using Tapatalk 2
In addition to what the guys above me said, you should look at what apps are always running in the background and pay attention to the permissions apps ask for before downloading them. Many apps will rerun themselves right after being closed by task managers making it a vicious circle of death for your battery.
I use system panel paid version with monitoring enabled to keep my processes in check. System panel is by far the best method on android. I just check the history over the last 2 hours, or I check it in the morning to see what it tracked all night while idle, and its by far the most accurate and most complete picture you can get to see what an android phone is doing.
dmuhamma said:
In addition to what the guys above me said, you should look at what apps are always running in the background and pay attention to the permissions apps ask for before downloading them. Many apps will rerun themselves right after being closed by task managers making it a vicious circle of death for your battery.
Click to expand...
Click to collapse
Any app that starts with priority 300 is a service and will just start back up when killed. I like to look at processes with memory usage app by twistbyte. With this you can see all apps running and what priority they are running under. Know that any app running in 300 will use battery in background.
Sent from my Galaxy Nexus using Tapatalk 2

Lag in the Dialer

Hi all,
Anyone experience lag in the dialer when switching tabs (usually the first time changing from Dial tab to Call Log/Contacts) ?
Try This!!!
liamR said:
Hi all,
Anyone experience lag in the dialer when switching tabs (usually the first time changing from Dial tab to Call Log/Contacts) ?
Click to expand...
Click to collapse
There may be background running apps causing this lag. Clear recent apps try.. U can also reboot the device to close unnecessary background running apps...
Yes absolutely right.
Its the only place where m phone lags by switching the tabs.
there are basically 2 places where you can force the phone to either end processes associated with apps when the app is closed or limit running background processes. Have you used either of those options? If so, this is what is likely causing the lag. If not....? So if you used the developer options menu to limit background then go ahead and put it back to default. If you used the other way to limit processes of specific apps then unchecked the couple that have to do with the dialer and let those run free.
StarkV5 said:
There may be background running apps causing this lag. Clear recent apps try.. U can also reboot the device to close unnecessary background running apps...
Click to expand...
Click to collapse
Clearing recent app will not solve the problem, android system know how to do it the best way.
I asked if anyone else having this problem because I did some major system customization and I can't remember if this problem was before my changes. I don't have time to debug it.
liamR said:
Clearing recent app will not solve the problem, android system know how to do it the best way.
I asked if anyone else having this problem because I did some major system customization and I can't remember if this problem was before my changes. I don't have time to debug it.
Click to expand...
Click to collapse
I know the android memory management. if it needs memory for foreground apps it frees up some memory by killing the background process. The lag is mostly because of the busy processor. sometimes apps like whatsapp and viber who have push notifications work in background as demons. This processes may use up the clock cycles and henceforth contribute to the lag while switching tabs etc. A higher priority process such as games will force the system to give up most of the CPU time to the game app and hence they DO NOT LAG. Sometimes they may lag when u receive a text message in background. This is because the SMS and calls have higher priority. Killing the background apps which may be using up CPU cycles will not only give a lag free operation but also a good battery life. that is why you swipe up the apps from the recent apps tray.
I'm not talking about memory because i know how android handles the memory..
Yup, that LG dialer is one idiotic piece of software that I hate about this phone. The stock ROM otherwise is surprisingly fluid. But dialer................less I say the better. The backspace delay is intolerable.
I dont know if this is issue with completely stock system or not as frankly i never ran this phone stock. I am running V4 stock based ROM. This issue was not there on any CM based ROMs. Specific to stock based rom.

How can increase the performance and battery life for Note Pro

HI ALL,
I will root my device , but I want to know how to increase its performance and speed and reduce RAM usage?
and what is the best browser for Android for fast browsing and low memory usage?
Most of the speed increasing and RAM decreasing can be done without root. Replacing Touchwiz with Apex or Nova Launcher is the first step that makes the most difference. Disable most of the bloatware and turn down animations in developer options.
This post probably belongs in the Q&A section, not the software one.
Reduction in RAM usage doesn't necessarily equate to performance boost. Android memory management does a good job of keeping things running smoothly so the goal of debloating should not be to free up RAM. To maximize performance with regards to memory usage with Android what you'll want to do is debloat your device to the point that applications that you'll never use are no longer loading into memory automatically (either as active applications or cached) which will allow other frequently used applications a chance to load into RAM/cache for quick response times. Running memory management software is also counter productive as it will battle against Android's own memory management and kill background applications that you may want cached for quicker response when needed.
Personally I WANT RAM to fill up because if I'm jumping from application to application I don't want to wait for things to load from storage into RAM. I also refrain from cache cleaning frequently because I have a particular routine when I use my device (frequenting particular websites and using particular applications daily) so clearing cache frequently will only force my device to have to re-cache things unnecessarily.
Getting down to the nitty gritty of how to debloat, the approach I took for my device is to work with a few applications; SystemPanelLite Task Manager, Greenify, Boot Manager and Titanium Backup. I would clean boot my device and let it sit for a while (several minutes) to cache applications as it saw fit. I'd then pop into the system panel lite application and look at what was loaded into both active processes and cached. I'd evaluate each entry to determine for myself whether or not I wanted that application to load automatically or not OR NEVER. If the answer was never then I'd use Titanium Backup to freeze the application (of course for each app I'd do my research to see if it was serving an important function). If the answer was that I needed the application but not all of the time then I'd look into Greenifying it and also considered disabling it from starting at boot using boot manager.
I'd do the above iteratively until all I saw in RAM or cached were applications and services that I felt were important. Never during this process did I care how low memory usage was since the goal is to preload as much of the important stuff as possible.
In the end I ended up freezing a ton of Samsung apps, especially after uninstalling applications that relied on their own app store like Hancom.
Of course a quicker way to reduce bloat is to go to a ROM that someone else has debloated and start there as a base. I began my own debloating process early last year though so starting again on a ROM even if it already is debloated to a certain extent doesn't seem worth it for me at this time (but if a lollipop update rolls out and a ROM developer updates to that then I'll surely try it).
Sent from my SM-P900 using Tapatalk
ShadowLea said:
Most of the speed increasing and RAM decreasing can be done without root. Replacing Touchwiz with Apex or Nova Launcher is the first step that makes the most difference. Disable most of the bloatware and turn down animations in developer options.
Click to expand...
Click to collapse
thanks a lot man , I used nove launcher and its v nice , I guess need to root so I can freeze more apps as not all can be disabled using offical rom
muzzy996 said:
This post probably belongs in the Q&A section, not the software one.
Reduction in RAM usage doesn't necessarily equate to performance boost. Android memory management does a good job of keeping things running smoothly so the goal of debloating should not be to free up RAM. To maximize performance with regards to memory usage with Android what you'll want to do is debloat your device to the point that applications that you'll never use are no longer loading into memory automatically (either as active applications or cached) which will allow other frequently used applications a chance to load into RAM/cache for quick response times. Running memory management software is also counter productive as it will battle against Android's own memory management and kill background applications that you may want cached for quicker response when needed.
Personally I WANT RAM to fill up because if I'm jumping from application to application I don't want to wait for things to load from storage into RAM. I also refrain from cache cleaning frequently because I have a particular routine when I use my device (frequenting particular websites and using particular applications daily) so clearing cache frequently will only force my device to have to re-cache things unnecessarily.
Getting down to the nitty gritty of how to debloat, the approach I took for my device is to work with a few applications; SystemPanelLite Task Manager, Greenify, Boot Manager and Titanium Backup. I would clean boot my device and let it sit for a while (several minutes) to cache applications as it saw fit. I'd then pop into the system panel lite application and look at what was loaded into both active processes and cached. I'd evaluate each entry to determine for myself whether or not I wanted that application to load automatically or not OR NEVER. If the answer was never then I'd use Titanium Backup to freeze the application (of course for each app I'd do my research to see if it was serving an important function). If the answer was that I needed the application but not all of the time then I'd look into Greenifying it and also considered disabling it from starting at boot using boot manager.
I'd do the above iteratively until all I saw in RAM or cached were applications and services that I felt were important. Never during this process did I care how low memory usage was since the goal is to preload as much of the important stuff as possible.
In the end I ended up freezing a ton of Samsung apps, especially after uninstalling applications that relied on their own app store like Hancom.
Of course a quicker way to reduce bloat is to go to a ROM that someone else has debloated and start there as a base. I began my own debloating process early last year though so starting again on a ROM even if it already is debloated to a certain extent doesn't seem worth it for me at this time (but if a lollipop update rolls out and a ROM developer updates to that then I'll surely try it).
Sent from my SM-P900 using Tapatalk
Click to expand...
Click to collapse
Really helpfull man thanks a lot for all the information u shared, am ok with but guess will need to do more research for greenify cuz I didnt use it at all, secondly what office u used after uniinstalling hancom?
I'm currently using Microsoft's Word/Excel Preview apps and have an Office 365 account to enable editing. I've just started (1 month trial) so I haven't really gotten a lot of use out of the software yet.
I can't speak for anyone else but myself but my reason for dropping Hancom was twofold; 1) it did not support the review/commenting features that I needed in Word files and 2) it often required updates at inopportune times. My needs are quite specific, my tablet is a reference and note taking device for meetings and is never used for production type work. As such, I need the ability to take email attachments, open them for review and comment and then send the comments back out as email attachments. The limitations of Hancom when it comes to track changes were a deal breaker for me since I could not see the history of development of reports/documents.
Microsoft's mobile version of Word implements the best support of track changes/comments that I've found to date, so I'm forced to pay the premium of a 365 subscription on this device to get what I need.
muzzy996 said:
I'm currently using Microsoft's Word/Excel Preview apps and have an Office 365 account to enable editing. I've just started (1 month trial) so I haven't really gotten a lot of use out of the software yet.
I can't speak for anyone else but myself but my reason for dropping Hancom was twofold; 1) it did not support the review/commenting features that I needed in Word files and 2) it often required updates at inopportune times. My needs are quite specific, my tablet is a reference and note taking device for meetings and is never used for production type work. As such, I need the ability to take email attachments, open them for review and comment and then send the comments back out as email attachments. The limitations of Hancom when it comes to track changes were a deal breaker for me since I could not see the history of development of reports/documents.
Microsoft's mobile version of Word implements the best support of track changes/comments that I've found to date, so I'm forced to pay the premium of a 365 subscription on this device to get what I need.
Click to expand...
Click to collapse
thanks for reply and sorry for late , hoping the android 5 be great
Install cm12 lollipop ROM. Drastic improvement in browser performance and gaming. For example, Asphalt 8 is extremely slow on stock, even overclocked. On cm12 it runs perfectly with max graphics settings. Unfortunately you lose all the cool touchwiz features like multi window. For me, the performance improvement is enough that it's worth the lost features. I'm anxiously waiting for the official lollipop update.

Not remembering previously opened apps

My phone has not been able to open multiple apps at once for a long time now. I open an app and then open another app but when I go to the first one it reloads itself. Then when I switch back to the second app it happens again. It's almost as if the pixel 3 xl has bad memory management. I used to be on stock Pixel 3 rom (issue was occurring) but then I went to Pixeldust from a factory reset and still having issues. My phone has always been rooted but I haven't installed any 3rd party kernels because when I have tried in the past the settings are just too confusing too me.
The average memory I have available is between 3.3gb and 3.6gb which is pretty close to the 3.7gb that I have for the device. It's strange how in developer tools it mentions this ram useage but it never really adds up. My top items are:
Android OS: 0.95gb
Android System: 294mb
Google: 279mb
youtube: 224
System UI: 213mb
Google play services: 210mb
Android system intelligence: 132mb
Tasker: 109mb
Is this something that everyone experiences? Is 4gb's just too little of ram for these devices?
It does sound like a RAM issue. Sometimes it isn't just about finding the biggest RAM hogs, but also getting rid of or disabling more apps that use smaller amounts of RAM. Apps that run background processes, especially some apps with accessibility permissions that run all the time. Many apps run in the background and it adds up. One thing that really helped me was to install Icebox. I add almost all of my non-system apps that I don't use on a daily basis to the Icebox. This freezes/disables them, so they can't run in the background. They are still fairly easy to open; just tap the icebox icon and then whatever app you want to open. If you want you can add shortcuts for frozen appn in your launcher, too. This significantly improved the performance of my Pixel 3XL.

Categories

Resources