• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root The Lag is Back

ChristineO

Newbie
Jul 18, 2010
29
0
A few months ago I rooted my Eris and flashed Xtra-Sense. Amazing the difference it made to the phone! I wanted to keep it as close to stock as I could, but get rid of the lag when using the 'phone'. It was working awesome. But now I'm noticing the lag is back when I'm trying to make calls. I don't have a lot of apps installed on my phone. I clear the cache, my e-mails, my messages, and the phone log daily. I also reboot weekly.

Has this happened to anyone else? Is there something I can do to help speed it up again?
 
I'm not sure then - 4.6.5 wasn't much of a change from 4.6, based on the change log. Does it still lag if you restart the phone?

One thing that you can try is to install the app Autokiller. Run the app and have it use a the preset "Optimum". Autokiller is not an automatic task manager, but instead it alters the built-in Android low memory handling parameters. It'd be interesting to see if this is an issue due to too many apps in the background.

AutoKiller Memory Optimizer - Android app on AppBrain
 
Upvote 0
Looking at the change log it doesn't appear that there is a notable difference between 4.6 and 4.6.5, especially as it relates to the dialer.
My wife has 4.6.5 on her phone and has had for about 3 months now, I asked her last night if it's still working OK and she said it was.
I'm thinking it's some other app interfering, though that's just a guess. If you're an AppBrain user you could show us a list of the programs on your phone to see if anything gives someone an idea.
Or, if your so inclined you could install Dialer One from the market to see if that behaves any better (though I question that it will).
Maybe the oh-so-wise Doogald has something up his sleeve. :)
Edit: I see Doogald showed what was up his sleeve while I was typing this...
(It's fairly scary (no offense to Scary :) ) how often our messages say so much the same things, we're both thinking "other app causing a problem")
 
Upvote 0
Here are the Apps I have: Titanium Backup, Solitaire, Weatherbug, Google Maps, Where, Memory, SyncMyPic, VCast Tones, The Weather channel, and Missed Call for Androids. I forgot Angry Birds was on there as well - but plan to delete it because I don't use it. That was probably the last installed and perhaps that is causing the problem? All the rest were there from the beginining.

It still lags when I restart the phone.

I thought it might be the dialing method I use. When you Scroll to the right and that screen comes up with your 'Favorites' I use that often to dial people quickly. It has gotten super slow - so the last few calls I've made, I have just gone right into the 'phone' and touched the person I wanted to call. It still takes forever for it to get to 'calling' the person.
 
Upvote 0
Its probably not this, but you might want to temporarily remove the Missed Call app and see if that makes a difference.

I mention this for two reasons:

1. It is obviously related to phone calling, so eliminating this variable might help.

2. I worked on creating a missed-call app with someone a few weeks back. There's a couple of ways to skin that cat: one component involves monitoring for telephony-related intents and the other component involves scanning and monitoring the calls log database (which should not be a resource-intensive task in your case if you are clearing the call log).

Anyway, worth a try...

Cheers!
 
Upvote 0
Angry Birds is certainly a processor intensive beast and IF it were running in the background it would cause things to lag, but if that were the case it should make everything lag not just the dialer. Also it rerun after a reboot (unless you do it manually), so I'm thinking it's not AB. That said, it is a large program and if you don't use it you should remove it just to free up the space.
I agree with Scary about removing the program that you KNOW 'watches' what the phone is doing. I realize it's been on your phone all along, but maybe there was an upgrade to it that is causing it to get in the way a bit.
 
Upvote 0
I'll pile on here with yet another remark about periodically clearing application caches and accumulated data (especially SMS/MMS messages and call logs, but other app data as well.). Also, make sure to kill the browser at least daily - it has a habit of swelling up so dramatically that killing it off immediately releases 30+ MB of memory.

You could even go as far as performing a factory reset on your ROM every couple of months if you have quick ways to restore your preferences and settings to the phone. (For most people, that's a little extreme, unless the phone gets really bad.)

Here's the reason why I mention it. Over the last year (out of pure curiosity) I have flashed many ROMs, and even frequently rolled back to factory stock ROMs for a variety of experiments - last night I had the December 2009 Cupcake OTA (1.16.605.1) on my phone.

What I notice is that I am always surprised at how "snappy" a freshly installed (no apps, no data) ROM appears to be - even when it is a crappy old version of 1.5, running at 528 Mhz. Probably I am always surprised because that's not the way I remember it being; what I remember is a phone that was loaded up with apps and stuffed to the gills with an accumulation of old data - and which sort of crept along.

Android is not Windows (with it's "land fill" registry), but you definitely see the same type of effect - over time, applications accumulate data, and each time they start up they use a little more memory and consume a few more cycles, and every third app that you install is written to start up automatically. (On my current daily ROM, a fresh boot launches - in addition to apps that you would think reasonable for a phone - AK Notepad, Google Maps, Google Search, My Verizon Mobile, Vlingo, yada yada yada).

Bottom line is that underneath that sluggishness is a modest, but nice little phone that will behave snappily - so long as you keep it cleaned up, and you don't have the expectation that you can add stuff willy-nilly without some negative consequences.

eu1
 
  • Like
Reactions: nomarsgirl
Upvote 0
Try installing these two.

1. Autokiller (set the profile on Strict.)
2. CPUBoost (set the governor on "ondemand" and enable "Set on Boot."

For xtrSENSE, CPUBoost will not be much of a difference. xtrSENSE clocks at 254/710 by default, with ondemand as the governor. There are actually GScripts that can change the Autokiller-type settings as well, including one that can set it to the equivalent of strict. That said, Gscript is a bit of a pain in the butt to explain to somebody, so I suggest Autokiller - it's so much easier to make and change the settings.
 
Upvote 0
I've been playing around with different things - and it seems that installing AutoKiller has helped a ton. I couldn't bring myself to get rid of the Missed Call App - as I really rely on that to let me know when I've missed a call or text. If anyone has a better suggestion for a Missed Call App - please let me know.

But so far - after installing AutoKiller - it has helped. Can someone explain to me what it actually does? Typically -whenever I check to see what Apps are running - it's only 4 of them. Calendar - Obex Service (not sure what that does), HTC IME Mod, BlueTooth Share, and Missed Call. Everytime I reboot my phone - GTalk comes on, but I turn that off. Can't figure out how to keep that from starting up each time.

Thank you to everyone for your advice and tips!
 
Upvote 0
I've been playing around with different things - and it seems that installing AutoKiller has helped a ton. I couldn't bring myself to get rid of the Missed Call App - as I really rely on that to let me know when I've missed a call or text. If anyone has a better suggestion for a Missed Call App - please let me know.

But so far - after installing AutoKiller - it has helped. Can someone explain to me what it actually does? Typically -whenever I check to see what Apps are running - it's only 4 of them. Calendar - Obex Service (not sure what that does), HTC IME Mod, BlueTooth Share, and Missed Call. Everytime I reboot my phone - GTalk comes on, but I turn that off. Can't figure out how to keep that from starting up each time.

Thank you to everyone for your advice and tips!

Glad to hear that your phone is behaving better.

Autokiller adjusts Android's strategy for what it decides to kill, but does not actually terminate processes itself. Here's a thread with a little information and some useful links that might provide a little more information (without being repetitious here):

http://androidforums.com/eris-all-things-root/158846-autokiller-vs-setcpu.html

Cheers!

edit: also notice the "new" (to me at least) "Similar Threads" information displayed at the bottom of the above thread (and this thread too). I'm not exactly sure when AF instituted these changes, but they are very nice addition to the forums (good job, AF!).
 
Upvote 0
But so far - after installing AutoKiller - it has helped. Can someone explain to me what it actually does? Typically -whenever I check to see what Apps are running - it's only 4 of them. Calendar - Obex Service (not sure what that does), HTC IME Mod, BlueTooth Share, and Missed Call. Everytime I reboot my phone - GTalk comes on, but I turn that off. Can't figure out how to keep that from starting up each time.

I'm glad that Autokiller worked out for you. Scary gave you a link, but essentially you can think of it this way: Android has a particular strategy for closing apps that are running in the background when more RAM is needed for the foreground app or a background service. Default Android settings move these apps out of memory at a particular set of remaining RAM levels; Autokiller allows you to adjust these settings higher, meaning that Android will be keeping fewer apps running in the background.

As for Google Talk, I would not sweat it at all. Unless your phone is running noticeably faster with Talk stopped, I would just let it stay in memory and not shut it down.

Ok, all of this said, if you'll forgive a slight digression, after months of running one of the Froyo ROMs every day, late last week I decided to try xtrSENSE for an extended time, to see how things went when I stayed with it for a while. And I have to say that I had to switch back to CELB yesterday (for good). xtrSENSE *is* laggy - not as bad as stock Android, but it was noticeably slower after it had been running for a few hours than CELB. It was particularly noticeable when I was scrolling in apps, such as a long web page - the scroll was jerky, often failed to keep up with movement, and would often mistake a touch and swipe for a touch and open what was first touched - which is incredibly frustrating. I also tried a fresh install of xtrROM for a day, and that wasn't any better. And there is no question in my mind that xtrSENSE burns battery faster than CELB does.

There are some things that the xtr ROMs are better at - the camera is better; the dialer is better; in some cases I think that the calendar app is better, cache2cache leaves you not worrying about running out of space in user data apps storage. If you like Facebook syncing of contacts, they are, I think, a bit easier to manage in the stock-ish xtr ROMs. However, all else said, CELB just works better for me.

Just for completeness, I should say that xtrSENSE and xtrROM have gscripts available to adjust the memory levels the way that Autokiller does; one is, I believe, called set_memory_balanced, for example - but when I suggested Autokiller before, I had forgotten about these scripts. That, and it is a lot easier for people to run Autokiller and choose a new preset than try to walk somebody through the steps of using gscript.
 
Upvote 0
Doogald - I'm glad you did your experiment! Helps put things into perspective. Perhaps you all can help guide me a bit further here.

I went with XtrSense because it is basically just like stock. I was too busy with other things to want to try to figure out a new layout. You know how it goes - you get used to the way things are and don't want to be hunting around for things....and don't want to waste time setting everything back up to your personal liking.

Basically I use my phone for mininal texting, Facebook, weather, occasinally the camera, and the actual PHONE. It's not very cluttered with extra Apps either. Battery life is important - as often I am in places I can't charge it. There is a ton of talk about different ROM's on here - it's almost overwhelming. Is there something else that would work better for me? I'm just afraid of flashing a ROM and not being able to figure anything out. It worked once for me so I figure I should just leave it alone. Yet.....the temptation is there.
 
Upvote 0
Christine, I think perhaps the best thing to do is try this: install a third-party launcher, like Launcher Pro. After you install it and press "Home", your phone will ask you which home that you want - click the box that says "Set default" and try choosing LauncherPro.

LauncherPro is a launcher, like the Sense launcher, that has some things that Sense lacks - a configurable dock of icons on the bottom, that are there for every home screen, with multiple "pages" that you can swipe between, if you wish; the pro version adds widgets that are very similar to the Sense messaging and twitter widgets, and also allows you to resize any widget on a homescreen. You can also configure the way the homescreens flip between each other, the way the app drawer works, etc.

Anyway, if you can get by without the sense launcher, I think that you can get by without xtrSENSE, and could easily try something new.

(There is also an app in the market called Home Switcher that would allow you to easily switch back to Sense at any time, plus make it the default again.)

As for being afraid of trying a new ROM, remember that you can always restart the phone in Recovery and use the Nandroid backup to save an exact copy of xtrSENSE as it is right now, and you'll be able to go back at any time in the future, exactly as it is at the time that you do the backup.
 
  • Like
Reactions: lennyjew
Upvote 0
I know how you feel Christine. When I rooted my Eris we didn't have the option of 2.2 ROMs yet (and definitely not the number of stable 2.2 ROMs we have now.

When 2.2 came out I did exactly what doogald recommended and made a nand backup. I spent a weekend just testing out ROM after ROM, making backups of ones that I liked after setting them up.

I just made note of what backup went to what ROM. After narrowing it down I kept one or two 2.1 ROMs and my CELB ROM backups to switch between if I feel like it.

Just test some 2.2 ROMs out when you've got some time, you'll be glad you did
 
Upvote 0
It's a good idea to make a backup each time before you flash a ROM so that you know you have a known-good setup to go back to.
That said, I'd guess that many (most?) of us flash different ROM as much because it's fun as to find something 'better'. If this isn't your idea of fun then you stay on xtrSense, as that's one of the ROMs that many of us suggest as a good stable ROM. As you've already found it's like stock, so you have the comfort of know your way around, but it's done better so that things actually work like they should.
If you try a new launcher as Doogald suggested and you find that you like it better than Sense, then you might try xtrROM. It too is quick and smooth, but it doesn't have the sense launcher. Once you start getting into the 2.2 ROMs then there are different setting to learn. Again, if that's not your idea of 'fun' then don't go there. :)
 
Upvote 0
I do think - when I have extra time on my hands, I'd enjoy playing around with different ROMS. I probably just need to get past my fear and get used to the process. So - if you do a Nand backup up, you can just totally restore if you don't like the new ROM? If that's the case - I may have just opened up a whole new world for me!!!
 
Upvote 0
Christine, if you are going to try new roms, I would suggest tenzo's xtrRCmix ROM. You can find the download link on the XDA website. I've been running it since November without a problem. Every now and then I have to clear the cache and the delvik-cache from the boot recovery, but the phone is lag-free. It also includes gscript and when you run it you can delete some of the stock apps, like gtalk, footprints,even gmail. I use the mail app and it works fine.
You should also download Titanium Backup that way you can easily reinstall all your apps to the new ROM.
 
Upvote 0
I've been playing around with different things - and it seems that installing AutoKiller has helped a ton.

But so far - after installing AutoKiller - it has helped. Can someone explain to me what it actually does?

Back in the bad old days before the Eris was rooted, there was a raging controversy (here on AF in the Eris forum); you can find huge threads with titles such as "Do I need a Task Killer", or "Why you don't need a Task Killer".

Buried underneath those piles of postings, you will find an observation or two that Android has a built-in "Task Killer". (Sometimes it is referred to as "LMK" - Low Memory Killer) It is far, far, more sophisticated than most of the Market app task killers, and it is "parametrized" with a bunch of memory threshold values.

A little bit of background information is required to understand this issue well, and here it is: every modern operating system uses RAM memory to perform "file caching". When writing files is involved, rather than waiting for slow devices such as disk drives or flash memory to complete their operations, files are written to "free memory" (RAM), and so the programs that are doing the writing appear to run quite quickly, because the RAM can be 100 to 4000 times faster than the slow storage devices. In the "background", the OS will continue to write the data to the slow device at a leisurely pace, while running other applications. For file read operations, files that have been recently read are also kept in (RAM) memory for a while - so if a program happens to repeatedly read one or more files, that operation is blazing fast, because reading from the slow device only occurs once.

But, there is a fixed amount of RAM, and it is also used to store the executable code that user programs and system applications need when they are running. The more and more programs that are using memory - the less "free memory" is available for file caching.

No doubt you have noticed the delays associated with starting up applications; but if they are already running, they "pop up" quite quickly. So, there is this delicate balancing act that an Android device maker needs to accomplish, and it is this: They want "important stuff" to be running all the time, so the phone does certain things quickly (from the user's perspective); on the other hand, if you decide that too much stuff is "important", there will be little room left over for other apps and that all-important "free memory" for file caching operations.

Now, back to the built-in Android Low Memory Killer (LMK). When the LMK works well, it works very well. The $64,000 question, back in the days before the Eris was rooted was this:

"Did HTC choose the right set of threshold parameters for the Android LMK?"

The answer is subjective, of course; it depends on what apps & how many you like to most frequently use. The problem was - because the phone was not rooted - you couldn't change those "threshold values" that the Android LMK uses to decide when to kill off processes (applications). So, many people that used a lot of apps found that the phone seemed sluggish to them, and that sluggishness was improved by using a "Task Killer" app.'

My own opinion is that HTC chose threshold values that were a little too low - in almost every ROM that I have used, I notice the phone getting slower any time the free memory drops below about 30-35 MB. And it was pretty trivial to get the stock HTC releases to go there.

So here's what the root application "Autokiller" does: it allows you to tune those memory "threshold values" of the built-in Android LMK. That's it. There are a whole lot of values that can be tweaked - in fact, so many that it is intimidating. The LMK divides processes up into different behaviors: are they a "background task"? Are they a "service routine"? Are they currently displaying things on screen? Is it idle, or running? It then compares the "free memory" to the various threshold values, and decides if it should notify apps that they need to shut down (or kill them in a violent fashion), starting with the "least important" tasks first.

So, what you will find (if for instance you use the "preset" values), that as those threshold values go higher and higher, you phone will seem to be snappier, because there will be more free memory available. The downside to this is that applications will spontaneously "crash" - even the home screen launcher will get killed off by the LMK. So, "snappy" will only apply to the apps that are able to stay in memory, and other things - like the home launcher re-starting - will start to seriously annoy you.

As a practical matter, there seems to be a single application which totally dominates memory consumption on the Eris, almost independent of the ROM you are using: the browser application. Use a task kill to manually (not automatically) kill it every so often. If you find the phone is sluggish, kill the browser off first. (You can re-start it right away - it tends to accumulate memory if it has been running a long time.)

Phew! Another novel. Hope it made sense.

eu1
 
Upvote 0
Christine, if you are going to try new roms, I would suggest tenzo's xtrRCmix ROM. You can find the download link on the XDA website. I've been running it since November without a problem. Every now and then I have to clear the cache and the delvik-cache from the boot recovery, but the phone is lag-free. It also includes gscript and when you run it you can delete some of the stock apps, like gtalk, footprints,even gmail. I use the mail app and it works fine.
You should also download Titanium Backup that way you can easily reinstall all your apps to the new ROM.

Does clearing the cache and the delvik-cache help improve speed? Cause I've been running xtrSense for months now and have noticed a slight amount of lag lately. Would clearing those help? And do I lose anything?

Thanks
 
Upvote 0
It's a good idea to clear cache periodically. Either manually in the 'applications' menu, or with an app like Cache Cleaner. I use Cache Cleaner because I'm basically lazy and don't want to clear each app's cache one by one.

I've seen one message that said clearing dalvik cache might help with speed. So at this point I'm going to go with 'no', but other wiser folks may have better info that I do.
 
Upvote 0
It's a good idea to clear cache periodically. Either manually in the 'applications' menu, or with an app like Cache Cleaner. I use Cache Cleaner because I'm basically lazy and don't want to clear each app's cache one by one.

I've seen one message that said clearing dalvik cache might help with speed. So at this point I'm going to go with 'no', but other wiser folks may have better info that I do.

Everything in the Dalvik-cache will get automatically generated/re-generated either at boot-up or during an application install step. Deleting it doesn't do much because it comes right back on the next boot cycle. In any event, what it consumes is flash memory - not RAM, so it has little effect on responsiveness of the phone.

As for individual application caches, they too represent consumption of flash memory, but may only be weakly correlated to consumption of RAM when the associated app is running. (The associated app might build indexes into their own caches, for instance).

For the benefit of keeping sufficient flash memory available, there's nothing wrong with cleaning (app) caches, but it is doubtful that has much effect on "the L word" - that is almost always associated with free memory (RAM) exhaustion.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones