Task killer / cache cleaner question / observation - Android Software/Hacking General [Developers Only]

I know everyone says killing tasks is nearly as evil as killing baby seals. I don't know exactly why, but have faith that it is just simply wrong.
One question is this... is cache cleaning evil as well? Here's why. Sometimes my UI becomes sluggish. I run cache cleaner and it seems to move along a little faster. For a while. It could be a tainted sense of reality, but it seems like the phone becomes addicted to the cleaning and requires it more often. Sometimes the results of the cleaning vary greatly. The cleaning could result in as much as 9MB cleaned or as little as 200kb. Sometimes it says cache already cleaned. Never the less, the UI moves more fluid right afterwards.
For a while, each ROM I tried worked well for a few days. Then I would start getting crappy things happening. Like calls not showing till the 3-5th ring. Sometimes it would just black screen and not show anything until the call had already gone to voicemail. Sometimes the browser would shut down at the most inopportune times. IE - middle of a website update yet to be saved, or mid-stride of a pr0n flick. j/k... kinda.. Or during an app update in the market.
Anyway, I thought maybe it had to do with my never leaving a ROM on my phone for longer than a few days before trying another flavor. I unrooted and started back over. Tried htcclays fasttest and superD. Both did well. Tried CM6 again. So far so good. Been running it now for almost a week. No serious problems yet. A couple of browser FC's when viewing a link from a twitter post, but never when directly accessing the browser.
Long story wrapped up... since unrooting and starting over, it doesn't seem to have as many sluggish periods. When it does slug, a cache cleaning speeds it back up. These have usually been 5-9MB cleaned. So far I haven noticed a more often need for cleaning as I had before.
Is cache cleaning via the CC app a bad thing? Is this a common thing? Should a G1 be unrooted often to get the cobbwebs out? Does anyone with a higher end device run into these problems? Any idea why a 200kb cleaning would produce the same results as a 9mb cleaning?
And before anyone cracks on me for driving a 2008 G1, I'm holding out for the G2.... so kiss my brown-eye!
Sent from my CM6 BBQ flavored G1 using the XDA app

Related

[Q] the "lag" that everyone talks about seems to "come on" after a while.

[Q] the "lag" that everyone talks about seems to "come on" after a while.
I've had my TF for about a week now...at first it was blazing fast...no issues...not even the lag that everyone complains about....
But as the week went on....I've noticed that I do have a lag when typing on the internet (for example)....I've done the fixes to the browser and such.
This seems to be related to (possibly) some app I've installed....
I'm going to wipe clean...and start fresh and see how it goes.
A bad app can spoil the whole experience. I had one on my Evo and it made the phone a dog. My wife has a poorly coded app on here Epic and it reduces the battery life from 16 hours to 4 hours.
Well....that confirms it.
I just wiped clean...and only installed the minimum and the whole tablet is mucho snappy...and no keyboard lag.
It MIGHT have come after installing Swift keyboard and/or the Thumb keyboard...at least that's when I noticed it.
It's worth investigating for those who have this issue.
It's usually the word prediction stuff that slows it to a crawl.

SERIOUSLY try fsTRIM tweak - on CROMI, OCed, fsync disabled

Delete
I have it installed too, and frankly speaking I do not see any real, angible improvement past placebo level. I'm sure someone will do some benchmarking (eventually) and prove me either wrong or right., but I will not be installing this on my next clean install. It doesn;t hurt, I guess, to try and see for yourself, but I just wanted to chime in with my exprience, which is drastically different from yours.
That said, I've gone from anyone but myself giving me homework to do, and may be too cynical. I'm a beta guy, though, and as such, I'd need tangible improvement. Again, I haven't seen any.
By the way: I tried running the app a few times in succession -- is it normal it keeps reporting to have 'trimmed' each and every time, although there's only seconds between the end of one run and the start of the next? I thought there shouldn't be new stuff to trim on that timescale... <?>
MartyHulskemper said:
I have it installed too, and frankly speaking I do not see any real, angible improvement past placebo level. I'm sure someone will do some benchmarking (eventually) and prove me either wrong or right., but I will not be installing this on my next clean install. It doesn;t hurt, I guess, to try and see for yourself, but I just wanted to chime in with my exprience, which is drastically different from yours.
That said, I've gone from anyone but myself giving me homework to do, and may be too cynical. I'm a beta guy, though, and as such, I'd need tangible improvement. Again, I haven't seen any.
By the way: I tried running the app a few times in succession -- is it normal it keeps reporting to have 'trimmed' each and every time, although there's only seconds between the end of one run and the start of the next? I thought there shouldn't be new stuff to trim on that timescale... <?>
Click to expand...
Click to collapse
I'm with you, see no improment, actually after browsing with stock browser on Yahoo finance for about 1 hour and my browser started acting up. It pause and sometime locked up then FC, I don't know if this caused by TRIM or something else, but again no improvement on my device.
buhohitr said:
I'm with you, see no improment, actually after browsing with stock browser on Yahoo finance for about 1 hour and my browser started acting up. It pause and sometime locked up then FC, I don't know if this caused by TRIM or something else, but again no improvement on my device.
Click to expand...
Click to collapse
I've had some apps lock up as well, but I have no idea if that's related to having this installed. The browser eems to be especially sensitive indeed, but I've had it on Redditmag+ as well (but that has been loading slow as **** anyway for the past two days).
Sent from a comfortable chair from the outer ring of Purgatory. The red guy asked me to say 'hi'.
MartyHulskemper said:
I have it installed too, and frankly speaking I do not see any real, angible improvement past placebo level. I'm sure someone will do some benchmarking (eventually) and prove me either wrong or right., but I will not be installing this on my next clean install. It doesn;t hurt, I guess, to try and see for yourself, but I just wanted to chime in with my exprience, which is drastically different from yours.
That said, I've gone from anyone but myself giving me homework to do, and may be too cynical. I'm a beta guy, though, and as such, I'd need tangible improvement. Again, I haven't seen any.
By the way: I tried running the app a few times in succession -- is it normal it keeps reporting to have 'trimmed' each and every time, although there's only seconds between the end of one run and the start of the next? I thought there shouldn't be new stuff to trim on that timescale... <?>
Click to expand...
Click to collapse
I ran 3 times in a row and it only trimmed anything the first time. I dont rely on subjective results. I time everything, every performance tweak i do involves a barrage of tests which are all timed. Since using this tweak my times are better overall. To be honest everything was alost too fast to time this time around lol. I havent benchmarked it as of yet. Everything happens a few ms faster than it did before. It took 1.5s to load my largest pdf before this tweak, now its at .8s. The first time i ran the app it trimmed over 10mB. I imagine the amount that gets trimmed impacts how much of an improvement you see.
Do we need a second thread for this?
I dont rely on subjective results. I time everything, every performance tweak i do involves a barrage of tests which are all timed. Since using this tweak my times are better overall.
Click to expand...
Click to collapse
Would you mind posting your before and after times?
My initial androbench, as suggested in the fstrim faq, showed no change. I plan to run the bench again tonight, just to be sure.
fortunz said:
Do we need a second thread for this?
Would you mind posting your before and after times?
My initial androbench, as suggested in the fstrim faq, showed no change. I plan to run the bench again tonight, just to be sure.
Click to expand...
Click to collapse
I doubt that you're going to see any gain, TRIM is probably just clean up all the junks (cache), and data etc.. which something similar to you wipe cache and dalvik cache, so initialy so will feel the O/S is smoother, but after a few days, it should slowdown to your normal speed. I did a super clean install of cleanrom, took some reading, like how fast to open a heavy images website, then install TRIM and the results are the same. If you test TRiM before you clear your memory and cache, you may have a smoother/snappier feeling. This is my take on this.
Sample Before/After Times
buhohitr said:
I doubt that you're going to see any gain, TRIM is probably just clean up all the junks (cache), and data etc.. which something similar to you wipe cache and dalvik cache, so initialy so will feel the O/S is smoother, but after a few days, it should slowdown to your normal speed. I did a super clean install of cleanrom, took some reading, like how fast to open a heavy images website, then install TRIM and the results are the same. If you test TRiM before you clear your memory and cache, you may have a smoother/snappier feeling. This is my take on this.
Click to expand...
Click to collapse
I cleared cache/dalvick a day before trying this, i clear after any major changes. I was trying new stock kernel but noticed more lag so i switched back to OCed kernel and cleared it.
Sample Before Times:
Boot - 40.3s
Very large pdf - 1.3s
Youtube - 1.1s
theverge.com - 6.4s
xda.com - 1.4s
LOTR3 bluray - 2.1s
Playstore downloaded apps page - 1.5s
Sample After Times:
Boot - 36.7s
Large pdf - .8s
Youtube - .7s
theverge.com - 6s
xda.com - .9s
lotr3 bluray - 1.7s
playstore downloaded apps page - .9s
Havent tested everything bc that sample is enough for me at this point, especially considering ive noticed things are more responsive and smooth in general, especially multi touch gestures via GMD Gesture Control. Ive also noticed streaming flash videos are more responsive, which is huge for me, but entirely subjective, i dont time it. The university i go to has a course website that is flash based (bblearn, aka blackboard) and things are also more responsive on it as well.
These small improvements may seem trivial, however, every week or so I find a way to slightly drop my times, which adds up significantly over time. A drop of .2s is large enough for me to try anything, especially if it doesnt harm stability, and this app hasnt for me at this point. Call me crazy, i dont mind, im a performance nutter. I cant stand lag. DEATH TO LAG.
lucius.zen said:
I ran 3 times in a row and it only trimmed anything the first time. I dont rely on subjective results. I time everything, every performance tweak i do involves a barrage of tests which are all timed. Since using this tweak my times are better overall. To be honest everything was alost too fast to time this time around lol. I havent benchmarked it as of yet. Everything happens a few ms faster than it did before. It took 1.5s to load my largest pdf before this tweak, now its at .8s. The first time i ran the app it trimmed over 10mB. I imagine the amount that gets trimmed impacts how much of an improvement you see.
Click to expand...
Click to collapse
Yeah, we heard this before. You mention your objectiveness almost every other post. As I said, I'm a beta guy and as such I respect data, but ANY improvement whatsoever is ABSOLUTELY WORTHLESS when it ONLY shows up on your "objective measurements" and not in your or someone else's "subjective measurements". Benchmarks are NOT a good representation of real-life performance.
Your stance towards people that want tangible improvement comes over as arrogant to me. I'm sorry. My largest background in online presence in from several digital photography fora, where we called people that (overly or exclusively) rely on "objective measurements" "pixel peepers" -- judging something, whether that be a camera or a photograph, or a person in your private life or an employee or co-worker, solely or overly dependently on such criteria leads to a loss of quality of "je-ne-sais-quoi", its mojo, if I may call it that. What in the world does the "improvement" you measured ("W00t! 0.1 increase in floating point operation?! I'M GOING TO TAKE ON THE WOOOOORRRRRLLLL.." <trips over power line of vacuum cleaning machine> </self-deridement>) bring me when it doesn ot result in any tangible improvement in speed of smoothness.
Sent from a comfortable chair from the outer ring of Purgatory. The red guy asked me to say 'hi'.
---------- Post added at 08:57 AM ---------- Previous post was at 08:56 AM ----------
You do not have actual screenshots, only typed statements?
Sent from a comfortable chair from the outer ring of Purgatory. The red guy asked me to say 'hi'.
buhohitr said:
I doubt that you're going to see any gain, TRIM is probably just clean up all the junks (cache), and data etc.. which something similar to you wipe cache and dalvik cache, so initialy so will feel the O/S is smoother, but after a few days, it should slowdown to your normal speed. I did a super clean install of cleanrom, took some reading, like how fast to open a heavy images website, then install TRIM and the results are the same. If you test TRiM before you clear your memory and cache, you may have a smoother/snappier feeling. This is my take on this.
Click to expand...
Click to collapse
Actually, fstrim is more closer to defragging your hard drive, in a literal and figurative sense. What I'm saying here is yeah it's actually doing something (possibly) useful, but just like defragging, it's not always going to show a benefit unless your drive is really fragmented (which likely wouldn't even happen for a while, if at all). The nice thing about the ext formats is they don't exactly need this, but hey, if it works for somebody, then great!
Sent from my ASUS Transformer Pad TF700T using XDA Premium HD app
BossMafia2 said:
Actually, fstrim is more closer to defragging your hard drive, in a literal and figurative sense. What I'm saying here is yeah it's actually doing something (possibly) useful, but just like defragging, it's not always going to show a benefit unless your drive is really fragmented (which likely wouldn't even happen for a while, if at all). The nice thing about the ext formats is they don't exactly need this, but hey, if it works for somebody, then great!
Sent from my ASUS Transformer Pad TF700T using XDA Premium HD app
Click to expand...
Click to collapse
I agree with you on this!
There's no risk in trying, I grant you that. CROMI has been running a bit more stable without this fstrim ability than with it -- especially regarding apps force-closing. I guess everyone's mileage may vary.

[Q] is it possible that a tablet can slowly die?

running Cromi-X, which made a HUGE difference from crappy stock. thing is: even with that ROM and using fsTrim and other optimizations and the occasional hard reset, the tablet is getting less and less responsive. and it's SLOW. the closest analogy is that the TF700 is now a third-hand, high-mileage rusting beater that has lost its power and paintjob while needing new brakes. (like, are all four cores still working?) it really feels like any day now, it's just going to stop.
at times, the screen will blank out and won't come on for 30 seconds or so, despite tapping on the power button. opening apps used to be fairly quick, but now opening anything takes a long time — so long that at times, it feels like the tablet has completely crashed. browser hangs much more quickly and often than before. the screen for whatever reason, will just top responding to touch for minutes at a time. and switching between apps is now an exercise in patience and frustration. sometimes, wi-fi just plain won't come on until i reboot.
how are you all keeping this thing running? or are you also finding that over time (i bought this tablet in September 2012), things are just ... breaking down?
AM Radio said:
running Cromi-X, which made a HUGE difference from crappy stock. thing is: even with that ROM and using fsTrim and other optimizations and the occasional hard reset, the tablet is getting less and less responsive. and it's SLOW. the closest analogy is that the TF700 is now a third-hand, high-mileage rusting beater that has lost its power and paintjob while needing new brakes. (like, are all four cores still working?) it really feels like any day now, it's just going to stop.
at times, the screen will blank out and won't come on for 30 seconds or so, despite tapping on the power button. opening apps used to be fairly quick, but now opening anything takes a long time — so long that at times, it feels like the tablet has completely crashed. browser hangs much more quickly and often than before. the screen for whatever reason, will just top responding to touch for minutes at a time. and switching between apps is now an exercise in patience and frustration. sometimes, wi-fi just plain won't come on until i reboot.
how are you all keeping this thing running? or are you also finding that over time (i bought this tablet in September 2012), things are just ... breaking down?
Click to expand...
Click to collapse
It sounds like you need a major tune up for your device....:laugh: PM to see if we could bring it up to life..:highfive:
LetMeKnow said:
It sounds like you need a major tune up for your device....:laugh: PM to see if we could bring it up to life..:highfive:
Click to expand...
Click to collapse
Yeah! My first question would be: How many apps have you installed/uninstalled over time and how long since your last clean install?????
Any system bogs down with use. You gotta flush it, flash it, and reincarnate it on a regular basis.
LMK is gonna suggest a format of /data - his favorite pastime. LOL
But in this case, that may be the option... (but I would try a Factory Wipe and reinstall of the rom first).
[emoji12]
berndblb said:
Yeah! My first question would be: How many apps have you installed/uninstalled over time and how long since your last clean install?????
Any system bogs down with use. You gotta flush it, flash it, and reincarnate it on a regular basis.
LMK is gonna suggest a format of /data - his favorite pastime. LOL
But in this case, that may be the option... (but I would try a Factory Wipe and reinstall of the rom first).
[emoji12]
Click to expand...
Click to collapse
Darn it, you know too much about me but I do have secret weapon for case like this...
LetMeKnow said:
Darn it, you know too much about me but I do have secret weapon for case like this...
Click to expand...
Click to collapse
Well???
You have my attention! What's that secret weapon?
You're not going to keep it up your sleeve, are you?? [emoji83]
berndblb said:
Well???
You have my attention! What's that secret weapon?
You're not going to keep it up your sleeve, are you?? [emoji83]
Click to expand...
Click to collapse
Thanks for the attention...:laugh: Keep a little more memory available or reclaim the unused memory from old processes and use discard option.. I have said these stuffs at least 2 or 3 times before so it is not secret information...:silly:
You could try the app Watchdog, it monitors your background apps and notifies you if an app is above a certain cpu usage threshold. Also the app Clean Master will help rid your device of numerous junk files.
Sent from my ASUS Transformer Pad TF700T using XDA Free mobile app

[Q] Nexus 5 lags on Lollipop

Hi,
Sorry if this has been posted before, I didn't find anything related on here though.
Since updating my Nexus 5 to Lollipop when it was released, it has been a huge annoyance most of the time. Fresh after a reboot it's fine but the longer I use it (it usually starts after about a day), the worse it gets. It lags badly, sometimes freezes and apps get killed constantly (even if I only go back to the homescreen for a second, apps are being closed immediately). I did a factory reset which didn't help for very long, tried a different ROM (Paranoid) and regularly clear the cache (which also helps a bit but not for very long either). The RAM is never fully used and I have several GB of disk space left, so I can't explain why it's behaving like this.
I don't know what else to do or to try and while I found a couple of articles via Google, I didn't come across any solutions that helped. I hope you can help me, I don't want to go back to Kitkat...
Thanks,
Manu
Pretty sure you're talking about the memory leak issues that MANY people have experienced. 5.1 will hopefully resolve a lot of them.
This was my first guess, too. But wouldn't a memory leak use up all the RAM? I usually have a fair chunk free even though my phone is barely usable anymore. Nevertheless, I will flash the factory image this weekend and hope for the best!

Is it just me, or does Lollipop kind of suck?

Ever since upgrading to Lollipop, my phone has become a huge pain in the ass.
Music will shut off randomly. I wonder if this is some kind of garbage cleaning behind the scenes, because Pandora/Music/Spotify will all just cut out at random.
The battery life is beyond awful. I can't last a normal workday anymore.
Performance sucks. Everything has a slight delay. Random freezes all over. Google play store takes absolute ages to get anything done.
I don't know. Am I alone?
Xinlitik said:
Ever since upgrading to Lollipop, my phone has become a huge pain in the ass.
Music will shut off randomly. I wonder if this is some kind of garbage cleaning behind the scenes, because Pandora/Music/Spotify will all just cut out at random.
The battery life is beyond awful. I can't last a normal workday anymore.
Performance sucks. Everything has a slight delay. Random freezes all over. Google play store takes absolute ages to get anything done.
I don't know. Am I alone?
Click to expand...
Click to collapse
Well...in my house I have a G3, M8 and Note 4 on Lollipop and do not see your issues. All the issues you mention seem to relate to transfer of data. Are you on wifi? Is the router going bad? Are you on LTE? how many bars? These all seem to be signal related issues, especially batter drain, not Lollipop.
My s5 is snappier since lollipop, all in all its better imho
Sent from my SM-G900P using Tapatalk
Xinlitik said:
Ever since upgrading to Lollipop, my phone has become a huge pain in the ass.
Music will shut off randomly. I wonder if this is some kind of garbage cleaning behind the scenes, because Pandora/Music/Spotify will all just cut out at random.
The battery life is beyond awful. I can't last a normal workday anymore.
Performance sucks. Everything has a slight delay. Random freezes all over. Google play store takes absolute ages to get anything done.
I don't know. Am I alone?
Click to expand...
Click to collapse
I am in 100% agreement. Since the update, my phone (and my wife's GS5) is borderline unusable. It reboots randomly a few times a day, usually when I am actually relying on it for something. It is slow to do anything and the battery is just terrible now.
I know that many will say to do a factory reset (I already cleared the cache on both and it did nothing), but that is a huge pain for us due to our work email, which is painful to have cleared and add back on.
rs1990 said:
I am in 100% agreement. Since the update, my phone (and my wife's GS5) is borderline unusable. It reboots randomly a few times a day, usually when I am actually relying on it for something. It is slow to do anything and the battery is just terrible now.
I know that many will say to do a factory reset (I already cleared the cache on both and it did nothing), but that is a huge pain for us due to our work email, which is painful to have cleared and add back on.
Click to expand...
Click to collapse
Well ... You could look at it like this: What is more painful to deal with? Random reboots, lag, and general unreliability? Or the investment in time it would take to wipe it clean and start from scratch? Maybe a corporate store could help you to transfer and set up what is really important to you if you need technical help or you don't really have the time to sink into it. Just a thought.
The ota uograde may cause a lot of these issues. A fresh install of lollipop either from stock odin image or a Sprint technician is recommended. The last if you're not comfortable saving/backing up your phone.
I would have to agree. I was stock unrooted and took the OTA update to OA6. My phone was not very stable and would sometime hang on a boot forcing a battery pull. I wiped everything and flashed the [STOCK ROM][5.0] OA6 Android L Deodexed and my phone has been great since then.
DurhamHusker said:
Well ... You could look at it like this: What is more painful to deal with? Random reboots, lag, and general unreliability? Or the investment in time it would take to wipe it clean and start from scratch? Maybe a corporate store could help you to transfer and set up what is really important to you if you need technical help or you don't really have the time to sink into it. Just a thought.
Click to expand...
Click to collapse
Yeah, that is kind of a good point. I just keep hoping that they will update or "fix" something that will make it magically work again so that I don't have to install my corporate crap again. Probably wishful thinking though.
Wish that I could be rooted like I used to be and just use Titanium Backup, but work killed our ability to root if we want to use our phone there (amazing that little trick they have used on us...they no longer pay for phones or service, but we have to abide by all their rules if we really want to work extra hours and go above and beyond for them...such suckers we are).
Bit of an update: I installed the OA6 Stock rooted rom and cleared all of Sprint and Samsung's god awful apps. The phone runs great now. I was going home with 7% battery life before, now it's 40-50% despite the exact same usage patterns.
I can't really say whether it was the factory reset that happened in the process, or the removal of all the bloat. I was so fed up with "HEY USE YOUR PHONE AS A REMOTE" and "CHECK OUT THESE AWESOME UPDATES FROM SPRINT" notifications that I didn't bother testing the phone before removing all the crap.
But anyway, anyone who is having problems...consider trying this. My knox is 0x0 btw, the mobile odin trick works.
I actually bit the bullet and did a factory reset. It was somewhat painful, but in the end, worth it. It is much better now. My only remaining problem seems to be an issue with Spotify...It eventually causes random reboots when playing music.
My side annoyance with the factory reset...Google needs to backup everything for us to do this. It was annoying to have some things done by Google, some by Samsung, and worse, some not done at all. The process could be done much better.
Hmm.. I agree with the lack of satisfaction with Lollipop. I have problems with bluetooth, slow system, crap battery life, random crashes, loss of features I liked on KitKat, etc. I did use a clean, stock image and ran it unrooted for a while, but still had problems. I just finished rolling back to KitKat and will wait for 5.0 to be more stable before trying it again (or until the S6 comes out)

Categories

Resources