How to prevent android from killing apps/process - Android Q&A, Help & Troubleshooting

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.

Related

[Q] Help freeing Up Ram

Hey guyzz..
I have rooted x10 ... my rom is always 60-70 mb free... i want to clear it to atleast to 100+ mb... I have not uninstalled any system app uptill now... coz i uninstalled mediascape ... but then was unable to restore it through titanium backup .. dnt reaaly knw how to restore uninstalled system application.... plz help me to free up may ram and to restore system apps through titanium backup...(in case i want my apps back)
thanks!
Basicly you just need to reflash with SEUS and then just install a task killer app from the market, plenty to choose from.
Should be straight forwards enough
Sent from my AOSP on Xperia (US) using XDA App
mediascape doesn't use much ram. facerecognition, semccheckin and uwlopservice do.
dx.varun said:
Hey guyzz..
I have rooted x10 ... my rom is always 60-70 mb free... i want to clear it to atleast to 100+ mb... I have not uninstalled any system app uptill now... coz i uninstalled mediascape ... but then was unable to restore it through titanium backup .. dnt reaaly knw how to restore uninstalled system application.... plz help me to free up may ram and to restore system apps through titanium backup...(in case i want my apps back)
thanks!
Click to expand...
Click to collapse
why do you need to have 100mb+ free? why this magic number?
linux based systems are very intelligent when it comes to memory management - if the ram is not being used then it is wasted is the way linux looks at it. 60-70mb free means nothing in the linux world - it keeps frequently used processes in memory so they launch faster but if another process comes along demanding ram the linux core will kill off the running-but-unused process in order to make space.
this is why task killers do more harm than good - constantly killing processes only to have android fire them back up again as it wants them running. you will find that a side effect of this is poor battery life also, as the system is doing much more work than it needs to.
basically, in android/linux - free ram does NOT equal a quicker running system.
ok .... grt... i didnt knw this..!! and this means even if my memory goes extreme down to 20-30 mb free even though it wont harm ... m i rite?? nd shud i disable task killer??
When my X10 runs a few hours and use it I have 28 to 40MB RAM. And it's still fast, but when you have 30MB RAM and do multitasking with big apps it will get a bit laggy.

[Q] Xperia sola ram problems

my phone becomes so slow because of low ram availability , when i free ram many applications are shown in go launcher task manager that i didnt open, when i run games they run so slow but when i open youtube they appear to be fast on the same phone
I've been having this trouble too. It was Sony that suggested to me that my problems could be RAM related. God help us on Jelly Bean. I've deleted many apps and still don't know what to do.

so slow xperia neo....

hello!my problem is that i tried soooo many roms and i always get the same result....the phone becomes too slow...what i mean is that if i try to open for example dial or phonebook it can take up to 3-4 seconds to launch,while i see some other xperia devices cheaper and slower to lanch theese in under a second??is there anything i can do??what is the problem?
I will not say it is a ROM problem, but (maybe) a configuration problem. Have you checked the apps you have running in background?
If you have lots of running apps, it takes a time to upload new apps.
well, I would say Neo is not a high performance device. only 384MB RAM available in total (after loading of my few background apps I have 40-60MB free)? I think it slows the device and of course the tiny internal memory, so everything has to be read from SD, which is "slower" in fact comparing to internal flash memory.
So, that question is appropriate I would say.
Try moAOKP ROM with Fusion Kernel
http://forum.xda-developers.com/showthread.php?p=39936498
Or you install FusioN you can get 389 MB of RAM. Then you can get around 100 of free RAM. It will depend on how many apps you have running. You can also OC to 1.6 ( at your own risk).
Sent from my Xperia Neo V using xda app-developers app

my phone doesn't keep applications active

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

How to prevent form killing apps

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

Categories

Resources