[Q] CM13 foreground apps closing - Galaxy S 5 Q&A, Help & Troubleshooting

Hello!
I have a problem with CM13. Since I installed it, android became slower. It often feels like it has full memory and it cannot open new apps, aswell sometimes foreground apps are getting killed (lack of memory?). Going back to "desktop" makes it load again, as it was killed before.
Never had so much problems with memory on stock android. Lately it has even killed waze running foreground twice, while I was using it to navigate.
I dont have much of apps running (checked under developer options - services). Any idea what settings to change, so it doesnt behave as bad as it does?

Related

Android running apps behavior

Ok, I have the task killer app, but not sure how to determine what apps are ok to have running in the background and not suck up juice...
Seems odd to me that all the apps, even some that have an 'exit' menu item still linger after closing.
I searched about this forum (and wiki), but did not see similar questions.
It's probably so obvious that it doesn't register...
Thx!
Don't kill things like Alarm Clock, Messages, Touch Input, etc. Background apps only suck juice and use data if the app's themselves connect to the internet or use background data, if you aren't using background data, then disable it (there are third-party apps to toggle it mobile data and GPS on and off through widgets).
Personally, I used a task-killer and thought it would extend my batter but your battery life doesn't go down any faster killing tasks. My phone runs faster and smoother with it uninstalled and my battery was mostly draining because I had mobile networking on. Turn that off when you aren't using it (including GPS) and your battery life will increase two-fold. Not as much to do with background apps as you think.
Ok, thanks!
I have to Rogers too, but in my readings, everyone has said use the task killer, so I thought that was standard operating procedure. Then surprised a stock system didn't have anything like that installed.
I had left wifi and gps enabled on my Pure (Topaz) and battery life wasn't that bad. Would turn off when not in use. Does this one just stay on all the time?
-P
It will stay on all the time unless you turn it off via Settings or a third-party widget installed through the marketplace. As said in a few topics, Android is a Linux based OS meaning it's meant to handle the loads of apps running at the same time, it's how Linux handles RAM that makes Android fast. Running background apps do not mean they are literally running in the background, like in windows when you open 18 different windows and minimize a few, the programs are still running full capacity. Linux saves the applications settings and puts the application on 'idle' or a 'sleep' mode that allows the application to run in the background without it affecting battery life much. (I believe that's how it works.)
Don't worry about the task managers and just get some third-party toggle widgets installed from the market place.
I should have been more clear in my original question, sorry.
I'm quite familiar with *IX, been using / running / admin since 86.
I was mostly concerned with misbehaving apps (apps in background that continue to chew cycles), or devices that do not go idle when not in use. Generally unusual stuff that will drain the battery, not necessarily the obvious.
My experience with Android prior to this phone with with Android 2.0 as a work in progress on the HTC Topaz (which I am selling), and I constantly used task killer. I'm using it as a bad reference, I know it was in early stages of devel, but it was hard to tell what was draining the battery (and it got very warm).
I just unlocked my Sapphire last night and so far am very happy with it.
One thing that I wondered: is the expectation that if it gets slow, or if memory/swap starts to run low/out, you should reboot it? I guess that is why there is no task killer initially installed?

Hardware vs. software

Hi there, on my second vibrant. I'm having some issues with this one and I need help determining if they are hardware related.
I'm running 3 homescreens with:
Beautiful widgets
Pure messenger widget
Switch pro
Pandora
I'm also running launcher pro.
I have some major lag problems when launching apps. It takes a minute or so to open most apps, plus I get a lot of black screens. I've factory reset the phone twice and the issues go away for a while on stock settings but the phone starts to lag a bit as I load apps.
Any ideas?
I might just return it....even though the phone runs ok on stock settings, might have a hard time returning it.
Sent from my SGH-T959 using XDA App
most likely software.. and related to one of the apps you have dl'd. as you said in your post, the phone works fine stock and doesnt start to act up until you load apps.
i would suggest you just install your apps one by one and have a small testing phase between each one. then when it starts lagging you will know what app to avoid.
Wait did this happen on both phones. Even if not, still sounds like something you've done to the phone. I would root and run autostarts to prevent certain items from opening. It's all in the sticky if you want to try.
Its both, look into the lag fix. Launcherpro + all widgets are running off the internal sd along with the appdata (thats moved in the lag fix) and with the poor performing I/O of the internal sd, it lags. The stock launcher + samsung apps is built into the system dir (internal nand) so doesn't lag as bad.
No, I returned the first phone because the homekey wasn't working.
Once the apps do manage to load, I notice that there isn't anything I can do to slow the phone down. Certainly seems more and more like a software bug...Maybe Launcher Pro isn't playing nice (even though I've reinstalled it a few times, and after factory reset). That or the Pure Messenger widget (scrollable) is what's screwing everything up. It worked fine on my Mytouch 3gs though...We'll see.
I'll add apps one by one until I find the culprit.
OK, thus far installed ADW instead of Launcher Pro...
Everything seems to work really well thus far. ADW seems to handle scrollable pure messenger widget much better than Launcher Pro. I think that was the source of my incredible lag.
Still testing, but has anyone else had issues with the scrollable pure messenger widget and Launcher Pro?

the lag vs apps

Now when installed a lot of apps including juicedefender and advanced task killer (set to aggressive when screen off with lots of exclusions) the lag has become more of an issue.
Now tell me whats the logic behind having installed a lot of apps and a lag? Running several apps multitasked will offcource produce performance-dips but just having them installed?
What exactly is "aggressive" on the task killer anyway? Some people say its just bad to kill tasks.
I have the idea that its the widgets that causes trouble, since they actually needs to run in the background all the time. I noticed today that the fancy-widget got stuck on upboot for like 60 seconds, that caused the 4 buttons below to not load properly. Alto the rather useless "daily brefing" seems to slow down.
I dont want to root and hack with sd-hacks now when froyo is confirmed to be released officially soon.
Do you have experice with sertain apps/widgets causing lag. If so, it would be great to make a list of "bad" apps.
PS, I tested the 30-day navigon today in car and it worked with no problems at all. Fix in 2 seconds and right on track.
robnil said:
Now when installed a lot of apps including juicedefender and advanced task killer (set to aggressive when screen off with lots of exclusions) the lag has become more of an issue.
Now tell me whats the logic behind having installed a lot of apps and a lag? Running several apps multitasked will offcource produce performance-dips but just having them installed?
What exactly is "aggressive" on the task killer anyway? Some people say its just bad to kill tasks.
I have the idea that its the widgets that causes trouble, since they actually needs to run in the background all the time. I noticed today that the fancy-widget got stuck on upboot for like 60 seconds, that caused the 4 buttons below to not load properly. Alto the rather useless "daily brefing" seems to slow down.
I dont want to root and hack with sd-hacks now when froyo is confirmed to be released officially soon.
Do you have experice with sertain apps/widgets causing lag. If so, it would be great to make a list of "bad" apps.
PS, I tested the 30-day navigon today in car and it worked with no problems at all. Fix in 2 seconds and right on track.
Click to expand...
Click to collapse
I haven't used it in a while, but "spare parts" in the marketplace tells you which apps are consuming your processor IIRC. This will obviously give you a temporary hit to your ability to load and run processes but will let you know more details about your phone that you don't already have and the battery use section of settings obviously only talks about what is using your battery but that isn't going to tell you the whole picture.
I am also someone who says you shouldn't use ATK, at least the way you do, but I have it installed and use it a bit differently. What I try to do is kill all tasks after I've used the marketplace or before I do anything intensive (gaming, GPS tracking) and I kill all apps including ATK. ATK will consume processor, battery and will free up memory which then Android uses to open more tasks you don't need (using processor and battery in the process -> repeat cycle). If you need to free up memory 1-5 times a day I think my way will save maybe 15-30% of your battery over a 24 hour period while costing you less than a minute of hassle (too much for some, sure). Again, I only kill after marketplace (because everything opens to check for updates, AFAIK) and before something that will use heavy memory and processor.
robnil said:
Now when installed a lot of apps including juicedefender and advanced task killer (set to aggressive when screen off with lots of exclusions) the lag has become more of an issue.
Now tell me whats the logic behind having installed a lot of apps and a lag? Running several apps multitasked will offcource produce performance-dips but just having them installed?
What exactly is "aggressive" on the task killer anyway? Some people say its just bad to kill tasks.
I have the idea that its the widgets that causes trouble, since they actually needs to run in the background all the time. I noticed today that the fancy-widget got stuck on upboot for like 60 seconds, that caused the 4 buttons below to not load properly. Alto the rather useless "daily brefing" seems to slow down.
I dont want to root and hack with sd-hacks now when froyo is confirmed to be released officially soon.
Do you have experice with sertain apps/widgets causing lag. If so, it would be great to make a list of "bad" apps.
PS, I tested the 30-day navigon today in car and it worked with no problems at all. Fix in 2 seconds and right on track.
Click to expand...
Click to collapse
Forgot the first part of your question, forgive me. I believe, the reason for more apps causing more lag is at least 2 fold. There are more apps that can be opened when you have free memory (in the vicious cycle I described above). There is also something that might be a bit unique to our phone, and I've only recently read this, it's a bit of speculation so I'm not trying to pass it off as fact but I think it's likely to be knowledgeable on the issue, even if not completely correct. Samsung's internal storage method is an SD card, that allows extra apps to be written to the internal storage but comes with a trade off of lag due to a potential combination of:
slow random-access
bad partition
I think I'm missing an important reason, I'll try to look and edit.
When I initially got my SGS I loaded it with a heap of apps and suddenly noticed the lag and quick battery drain. Problem was I couldn't track down the culprit.
I recently reset my device and was a bit more organized with what I installed. One of the things I started doing was checking what services were being used in the process which you can find under the manage apps part of the system.
So while you can load apps and they may/may not be killed by android or a task killer, the services will always be running - taking up memory, sometimes cpu, network. Things like weather checking, news checking, even email sync are some examples. These services plus any apps you run are I think what starts the lag. You need to be aware of which apps are also run as services.
Yes, there are some bad apps (last Facebook version was found to be a heavy drain) but I think they tend to add up with all the other services running.
As for 'Aggressive' depends on the app killer but my understanding (with the one I use), is that there is a memory limit before the app is killed. Once the limit is reached on aggressive, it doesn't take much before memory is cleared.
One thing to install is SeePU as this gives an indication of CPU, memory and network on the top menu bar. This also helps when the system lags (usually CPU is high and memory is low) and helps to know when to clean (or what threshold to set).
Hope this helps.

[Q] protect apps to prevent lag

Hi
I have done the 1-click lagfix that relies on ext2.
I have also installet autokill (the one that changes the internals of the system)
I have 2200 point in qualcom.
STILL I have massive lagg now. It started out well after the rooting, but now its worse than ever. In fact I have even failed to answer a call due to the lagging.
(I have installed Tasker and have 4 tasks set up, i really hope this is not the reason because I would really miss tasker)
I can notice a big differense if I start the dialer and press Home istead of Back. Assuming Back actually kills the process? If I use Home, I can bring it up again in a split second. Using Back and it an take everything from 300 ms to 4000 ms.
I have now started to experiment with Launcher Pro (who some claims to be faster) but this is actuall just a shell and I cannot dedect any differense.
I have tried different presets in autokill, but since this lag is probably not due to lack of memory, i have now set it to "system default".
Is there a way to keep important processes in memory all the time? Like the dialer, contactbook, sms etc? I dont really care if it takes 500 ms longer to start up google maps or facebook, but the PHONE FEATURES must work properly on the phone.
I run a stockrom JM2
hello, as well as the lag fix, I also disabled ui animations and installed autokiller set to strict or optimum and the lag is now minimal for me, it's still there at times but not as bad as you describe.
ironicly i didnt have this problem before lagfix/autokill. It was there so i decided to run the fix (and the qualcom-score is always cool i thought). But now its worse.
Does anyone have experience with tasker as a performance-killer?

Launcher Reloading

Does anybody else have problems with the launcher reloading? I have this problem with both the stock launcher and Apex. I still have this problem even after locking Apex into memory. Any remedies for this?
Thanks!
I do. Not sure how to fix it to be honest. I've tried many roms.
Im using nova and have this problem. I even have agressive checked (stay in memory)
Also tried the build prop edit. Neither worked
Would love to have a sure fire way to keep the launcher in memory
Still looking for a solution to this problem..
Supercharger v6
Google it
Does "Pimp My ROM" work on the Nexus 10? You could always lock the launcher in memory.
Good question, I stay away from pimp my room cause I know it causes issues in Roms sometimes
EniGmA1987 said:
Does "Pimp My ROM" work on the Nexus 10? You could always lock the launcher in memory.
Click to expand...
Click to collapse
Locking the launcher in memory doesn't stop the launcher from reloading in my experience.
Isnt the definition of "redrawing" meaning it has to be reloaded because the app was no longer in memory?
Still, if whatever is being used to lock an app in memory does not work then you can always renice the process to put it into the range where the Android OOM manager knows it shouldnt be killed off. I like setting my launcher to have a priority of -17 and my keyboard with a priority of -20. Other systemUI I usually give -15, and (on my phone at least) I have the phone as -19 and google voice as -18. This means that the keyboard is always the most responsive thing there is so no matter what is going on the keyboard never lags when typing. Next is phone so that when a call comes in it doesnt load all laggy like. Google Voice is my texting app and also has to do with the phone so that also gets a high priority. Then the launcher and user interface are also high so their transitions and such always get priority over other things going on in the background. This keeps everything about them smooth since it is unaffected by other background tasks. The smoothness of the system stuff is the primary benefit, but having these values also tells the system they have so high of a priority that they should not be killed off ever when more RAM is needed and other things should be killed instead.
Other things you can do is to set the package installer to be a really low priority so it gets killed as soon as it is no longer actively doing something and also so that installing or updating in the background doesnt completely lag up the system when it starts writing data to disk.

Categories

Resources