Hi,
Is there any way to prevent specific apps from being killed? This phone have 3 gb of ram and I am using about 10 apps (not games) and they stay in ram but allmost allways contact app, dailer app are killed and they are reloading when i lunch them, this is sick for phone with 3gb of ram... I would like to have them allways in memory and dont wait for reload. Is there any way to do this?
Tapatapatap Z2
That is because of the way the android system manages the ram, therefore it is normal.
However, I do think that there are some apps that allow you to lock apps into the ram. I am not sure whether they will be helpful though
i've been tryin to solve the same problem, i hate the way android kill the apps, it's to aggressive even in 3 gb of ram device like Z2 or Oneplus One. but i don't think there's a way to fix this bro, the only thing u can try is, use stock android OS (like what nexus series used) even it won't solve the problem, at least the multitasking will much better
Related
Hey...not sure if this has been answered before or not but im trying to figure out battery draining issues and one of things ive always used is ram optimizers...I have Android Booster and Android Assisant ....and then i also use the built in task manager to clear memory...shouldbi be using these apps or are they draining the battery by running in the background? They seem to clean up a nice amount of memory....and keep my phone running fast....just dont know much about them...
Sent from my GT-I9100M using xda premium
I do not think that by cleaning your RAM, you can reduce power consumption by RAM.
Actually, you do increase it. Android itself closes unnecessary applications when needed to clear memory. But, when you clean memory, either by task manager, or some custom tools, you are basically forcing applications to close and restart unnecessarily. I would say, it is additional load on CPU, and thus on battery.
For most applications, exactly startup and finish times are most expensive in terms of CPU load and battery. And most well-designed applications will not drain your battery when paused.
Reminds me of RAM cleaner programs for Windows machines, that would simply trigger excessive page faults.
while i agree with most of what you posted, there are 2 major flaws in your logic:
1. you talk about closing apps that restart on their own, but not many apps actually do that. sure, widgets, services, your launcher, communication apps and syncing apps need to run in the background, but certainly there are other apps eating away the battery, that need to be fully closed, when not needed. kies air or wifi file explorer come to mind. some of those apps don't fully close through the back button and must be killed from a task manager to save battery.
2. you say apps are paused. that is not necessarily true. many apps are capable of fully running in the background, after all, we are talking android and not iOS. we have full multitasking and apps are not generally suspended. say, you want to play a game for the first time and it needs to download more data. you can do whatever you want with your phone, open a dozen other apps, browse and listen to music, that download will continue in the background. this might fill up the ram over time, if you never close an app or apps do not allow direct closing.
there is a reason why samsung supplied the phone with a built-in task manager.
some apps are not well made and don't quit properly and need to be killed that way and killing off unnecessary apps (that won't restart) makes sense.
and let's not forget apps that get stuck but don't force close. they need to be killed as well. what else are you gonna do? restart the phone? certainly that wastes way more power than a restart of a few services.
every time you have a look at the samsung task manager or the "running" panel of "manage applications" and you use 500 something MB of ram and kill all apps, it will go down to something like 200 something, then the services restart and you are back up to maybe close to 300 (all numbers vary on your rom and apps). given that situation permanently saving 40% of ram is certainly a good reason to kill apps before you put the phone in your pocket.
I guess, then, it is best practice to kill all apps from task manager, a few times a day, especially after using several different applications and closing them. Applications that are needed will be restarted automatically.
I am not sure about running so called "RAM optimizers" constantly, though. When you are using your phone, it simply introduces more lags. Otherwise, it does nothing, if you have cleared RAM after heavy usage.
mirbeksm said:
I guess, then, it is best practice to kill all apps from task manager, a few times a day, especially after using several different applications and closing them. Applications that are needed will be restarted automatically.
I am not sure about running so called "RAM optimizers" constantly, though. When you are using your phone, it simply introduces more lags. Otherwise, it does nothing, if you have cleared RAM after heavy usage.
Click to expand...
Click to collapse
killing itself is not necessary in the 1st part.
the more the memory android uses the better the apps behave, thats how android is desinged.
if you people still want to release some memory just use the samsung task manager ot clear memory or "fast reboot" from market.
Thx for the posts...i deleted the 2 android apps for now to see if theres a difference...i will trybusing just the built in task manager for a few days and see how that goes. But for example i mainly use my phone for words with friends...facebook...twitter and instagram....when i run the built in task manager it frees up mabye 200mb of ram....then i would run android booster which would clean up another 200mb and would close stuff like facebook...and tweetcaster and so on....the built in task manager doesnt seem to pick up on and close everything it should...which is why i downloaded the others...my phone has 800+ mb available and i usually find that ots using 500 of those 800 at all times...i wouldbfind myself constantly closing stuff with the optimizers...but like you said...they just open up in the background again anyway. Im rooted and have got rid of all the safe stuff to get rid of and the funny thing is i still dont see much of a difference in ram consumption...i think of ram as important cause it keeps things running smooth with no lag...not sure what to do i guess...ill try it like this without the optimizers and see how things go and download them again if i get bad lag...what i really need is a actual list of my phones internal software so i can get rid of the rest of the unneeded system files...ive found similar lists..but never a list of my actual phone...theres certain stuff running on my phone that isnt in the lists ive found so i left them with the worry that i may have to reinstall the rom if i delete the wrong thing...im also a android noob...only 2 months of using it so far so ive got tons more learning to do...thx for the opinions tho...keep em coming if you got em!
Sent from my GT-I9100M using xda premium
What can i do to solve that problem?
Thanks
What do you mean with that? What exactly happens when you do what? There is no description of what exactly happens
I guess it's due to low memory killer.
when i start the aplication and then press home to leave it on, after 2-3 minutes when i enter the aplication again to continue, the phone it loads from the begining like i started again
I would say this is normal, Android kicks Apps that you don`t use for some time automatically out of memory, so that you always have enough Ram left to use your current active application. Especially when you open Apps that need a lot of Ram. Android automatically will kick out Apps that are in the background except if they have an icon in the notification centre (That`s why Apps that are supposed to run in the background all have an icon in the notification area). If you want to keep Apps in memory check out the Xposed framework
http://forum.xda-developers.com/showthread.php?t=2130044
I need root for this,right ?
Of course you do. You should also look at custom roms, as they're much more optimized, and that includes also more free ram. Don't expect awesome performance on pure stock rom .
So this problem os not only for my phonw ...?
Android is designed that way to take up almost all Ram available on the device because unused Ram is wasted Ram and when you are running out of memory Android begins to kick out applications that are in the background. That will happen with every Android phone. Maybe in the future when we reach 4 gb of Ram multitasking will have a Windows like feeling where you can leave a application in the background for hours and come back to it and use it as you left it.
And like JustArchi said, yes you need Root for the Xposed framework to work because it changes some stuff in some system files.
On my old wildfire s i never happenes this ... and ny free ram is around 100 mb.is ok?or is a problem with my phone?sorry for noob questios ...
Your old wildfire S was based on Android 2.x I suppose, also with lower resolution, performance etc.
It's like comparing windows 95 to windows 7, windows 95 uses less, guess why.
Actually I have about 300 free ram + zram, so it's about 500 I'd say. And yes I have a lot of apps in the background, including one game .
edu_stoicescu said:
On my old wildfire s i never happenes this ... and ny free ram is around 100 mb.is ok?or is a problem with my phone?sorry for noob questios ...
Click to expand...
Click to collapse
100 mb free RAM is normal. With Android you don't need to worry about RAM ever! The Ram management on Android is very good and it knows exactly when you need more free Ram so it will then kick out applications that are currently in the background.
I killed all apps,freed ram and then i open facebook.then i ptess home button and after 2minutes i go back in fb and ... its loading drom beggining.itsvreally annoying.without root can i do something ...?
edu_stoicescu said:
I killed all apps,freed ram and then i open facebook.then i ptess home button and after 2minutes i go back in fb and ... its loading drom beggining.itsvreally annoying.without root can i do something ...?
Click to expand...
Click to collapse
Nope without Root at least to my knowledge you can't do anything and with Root Xposed Framework is the only way I know of to keep certain Apps in memory.
On the other hand I can't see any disadvantage of rooting a phone, you can always get back to pure stock.
Sorry for offtopic but look at this https://www.youtube.com/watch?v=SFBOnvOR4MA&feature=youtube_gdata_player
Multitasking on the stock TW based rom sucks
Sent from my GT-I9300 using xda premium
Well guys, i always listen about the ram used in android is different than windows..
My first question is, why RAM is like 90% used, the phone become slower???
My second question is, Why 99% of apps are always started with phone, when enter in Applications section, and see Running apps, you see millions of apps, or when you enter like, Calculator or Torch or another app details it appears Stop.. WHEN I STARTED IT?
Im now user of Galaxy S Duos, when i have Motorola Atrix using a custom rom named "Neutrino" my ram, after flash it was 80~90 and here in Galaxy S Duos is 390~500 and the max is 685mb so so, than when press clean RAM, it closes a certain number of processes but only 50mb ram max it decreases... Why?? And what can i do about that??
Thanks!!!!
Velcis Ribeiro said:
Well guys, i always listen about the ram used in android is different than windows..
My first question is, why RAM is like 90% used, the phone become slower???
My second question is, Why 99% of apps are always started with phone, when enter in Applications section, and see Running apps, you see millions of apps, or when you enter like, Calculator or Torch or another app details it appears Stop.. WHEN I STARTED IT?
Im now user of Galaxy S Duos, when i have Motorola Atrix using a custom rom named "Neutrino" my ram, after flash it was 80~90 and here in Galaxy S Duos is 390~500 and the max is 685mb so so, than when press clean RAM, it closes a certain number of processes but only 50mb ram max it decreases... Why?? And what can i do about that??
Thanks!!!!
Click to expand...
Click to collapse
First, the Linux system (as Android is based upon) always try to make use of all available RAM. Having unallocated RAM is wasteful, so all RAM not used for apps, is allocated for caches etc, making your device not slower, but faster. When this memory is needed for better purposes such as apps, it is dynamically reassigned.
The other question I'm quite don't get, please clarify it and I'll give it a try. But Android do start and stop apps as it see fit, unnoticed by the user. This is the Android way of resource management, instead of paging/swapping. I.e. Android "swaps" entire apps, not RAM. As a developer, you have to know this, making your app able to handle a restart as transparent to the user as possible.
kuisma said:
First, the Linux system (as Android is based upon) always try to make use of all available RAM. Having unallocated RAM is wasteful, so all RAM not used for apps, is allocated for caches etc, making your device not slower, but faster. When this memory is needed for better purposes such as apps, it is dynamically reassigned.
The other question I'm quite don't get, please clarify it and I'll give it a try. But Android do start and stop apps as it see fit, unnoticed by the user. This is the Android way of resource management, instead of paging/swapping. I.e. Android "swaps" entire apps, not RAM. As a developer, you have to know this, making your app able to handle a restart as transparent to the user as possible.
Click to expand...
Click to collapse
Yes, i know about that but i'm crazy because when my phone is slower i see the ram and it has apparently 500mb used from 680mb total... And i click on Clean, it closes like 20 apps and clean 100~mb aprox. of ram, and the phone becomes faster... That is my question, i know about linux... in galaxy s duos have an option to kill until number of processes you would... But didnt work i think because, i put max to 3 processes but even when i close the apps with back button, like facebook, instagram and another without home button, it stills on memory, taking the phone slower
But thanks for trying help me :victory:
Install this app Greenify search in play store
Sent from my LG-P880 using xda premium
I have it but dont know how to use? I need to select one by one the apps that i want?? :/
It's need root and you need to select the desired app, when your screen turned off for some minutes then greenify force stop your selected app.
If you don't understand try to search in YouTube and xda
Sent from my LG-P880 using xda premium
Hi,
I own xperia Z2 and I have a question: Is there any way to prevent specific apps from being killed by android? This phone have 3 gb of ram and I am using about 10 apps (not games) and they stay in ram but allmost allways contact app, dailer app are killed and they are reloading when i lunch them, this is sick for phone with 3gb of ram... Before z2 i had note 2 with 2gb of ram and even on CM he was killing dailer and contact app so I was thinking I have to upgrade phone to model with 3gb of ram to prevent this, but after all the "problem" on z2 is the same. Dont u think this is ridiculous that android phone with 3 gb of ram cant hold the most usefull app like phonebook and dailer? I would like to have dailer, phonebook and sms apk allways in memory and dont wait for reload. Is there any way to do this? Im on stock rooted rom with custom recovery with locked bootloader.
Android os taking almost 1 gb of RAM
Is that normal !?
And if not is there a solution?
Seems alright
Mines a little better. about 600MB for OS and and 100MB for System.
I find the phone CAN be very sluggish as well. I think it has to do with the memory as well. Sometimes I start an app (ie. Google voice or ES file manager) and it pops up instantly. Sometimes it pops up but the screen is blank and it literally sits for maybe 5 seconds before anything happens. The camera can be worse. Sometimes even opening the app drawer gives a lag. Android Auto is just always slow. I've found that if I use an app killer and clear out some memory the phone becomes more responsive. Yes, the OS should automatically do this, but it doesnt seem to do a very good job. If I'm starting an app thats not in memory, it should make no difference whether the memory is empty or the OS needs to kill something to make room. Maybe the process of clearing out space in memory has some lag.
My next phone will definately need to have more than 2GB ram. I would switch phones in a heartbeat but I like the smaller form factor and nearly all other phones in the world are bigger.
Regarding facebook, I did this with my older phone because of how bad FB is, there is a "facebook lite" app you can get which is designed for lesser phones. It runs much better but it is more limited.
I'm waiting for a usable nougat rom to try. hopefully that will help
Remove Facebook. Remove Messenger.
Enjoy 150-600MB free RAM throughout your experience.
After nougat I am actually usually hovering around 300-500MB of free RAM at any given time of my day.
Get rid of these two disgusting apps and your phone will be so much better.
I also use FB, but only through the actual Chrome browser, and not the app.
I use 4 messengers - Viber, Skype, Telegram and Hangouts. Their ram and battery usage altogether is LESS Than just the facebook bloatware.
I've attached some screens.
try my
i manage to free up to 1gb free ram with few tweaks and mods to framework on my cooked rom
https://forum.xda-developers.com/z5-compact/development/rom-stock-z5c32-3-0-376r2dau-t3570248
as for fb
use this one
https://forum.xda-developers.com/android/apps-games/app-facebook-chat-enabler-t2934179
Give this a try:
https://play.google.com/store/apps/details?id=com.facebook.lite&hl=en
doesnt seem to have any bloat.
You prob have to sideload it
eng3 said:
Mines a little better. about 600MB for OS and and 100MB for System.
*** Yes, the OS should automatically do this, but it doesnt seem to do a very good job. If I'm starting an app thats not in memory, it should make no difference whether the memory is empty or the OS needs to kill something to make room. Maybe the process of clearing out space in memory has some lag.
***
I'm waiting for a usable nougat rom to try. hopefully that will help
Click to expand...
Click to collapse
You can try to flash AndroPlus kernel + Kernel Adiutor app. I am currently on that build and it's working flawlessly - make sure you tweak the CPU and IO governors and the LMK (minfrees) to your liking. See what works best for you. Note that light LMK settings will make your phone fast after a reboot but slow as hell as time goes by. I have found that Moderate works best (implied anyway) for a good balance between multitasking and free memory
EDIT: This is for stock Nougat.