Home screen is lagging pretty bad. Say when i pull up the web then i hit the home button it takes about 5-8 seconds for my clock and apps to load.
Other info i didnt include is im running cm 4.2.7.1....any ideas what could cause that much lag?
Try going to Spare Parts, and enable Compcache (Compressed Cache) and Home App in memory....this worked for me...
Im using CM 4.2.7.1 - WG Build 8.2r2
96MB Swap
512MB Ext 3
Mine is really fast after i enabled those settings....
do you have "keep home in memory" checked under Spare Parts?
I haven't had the issue in a while. When it does happen it's usually when I run something that's really memory intensive and hit the home button.
Thanks for the tip djluis48. I was just about to start re flashing because I thought it's rom depended.
And yes, keep home in memory.
It isn't actually lag, it is reloading.
It does this because you ran out of memory and it had to be dumped. Price you pay for using cyanogen -- bit of a HOG.
Related
Hey guys,
I've got a little problem for over a few months, so I thought why not ask it on XDA maybe all those smart guys know a solution!
Problem is that when i'm in a program (mail, music, sms, or any other app / game) and I press the home button, it always takes about 15 to 20 seconds before it's fully loaded. First after 3 seconds you see the blank background. Then the icons come back after like 13 seconds, then the widget(s) (i only have 2) and finally after some more seconds waiting it's all usable.
Well, it's a pretty annoying problem, everytime i have to look for something fast, I have to wait those 20 seconds. I can't find a solution, here is what i've already done:
1. It started with the CM 4.xxx roms so I wiped installed it again -> nope didn't work
2. Fully wiped everything including the ext partition and flashed Super D -> nope
3. Since CM 5 is out, wiped again and flashed CM5 -> nope...
The weird thing is, that when I freshly installed one of those roms, it seems to work but after a few app installs and phone useage, it starts lagging loading the home screen. And in 2 days it becomes worse untill every press is a looong load time!
I've got an Transcend 8GB Micro SD which is class 6 (should be enough). It was standard delivered with my T-Mobile G1. The ext partition is 457MB large (and there is 351 free space on it). Internal on the phone is now 21MB free. But even with 70 free it won't work...
I don't have swap enabled now with the new CM, but I did had it with Super D so that also doesn't seems to work. I've got Compcache enabled now. I REALLY don't know what to do... it just sucks that it takes so long to load, I hope anyone of you has a solution
Thanks!
Here is my approach:
In spare parts enable both comp cache (you indicated this is done) and launcher in memory.
The hope is launcher will not need to usually fully reload but can be compressed into the compcache when not is active use.
This applies to cm 4.2 and cm 5 on the dream.. every now and then the system will still kill the launcher if memory is tight so don't be shocked at it fully reloading from tike to time.. but usually it works out and keeps the phone very responsive.
Do not use swap.
(Well if desperate you can try 20-30mb but more than that will not work well with android memory management.. and even that small amount may do more damage to the SD card then actually help the system runtime.. I just don't use swap and attempt to back out of applications when done)
Thanks for the reply, i've done that and hope it will load a bit faster now I'll let u know!
Thanks it works great, my phone just feels so much faster now!
alright it is with great pain that i am writing this, but i really need some help here. for months i've read the forums, searched for answers, asked little individual questions, IMed with people directly for help... and i'm still having trouble.
i rooted my T-Mobile G1 all the way back when cupcake first came out. everything was great. life was grand. everything ruled. i was a happy android fanboy, talking friends into switching to android, talking crap about iphones... the works... but slowly things started getting slower and slower and slower...
the obvious thing was to wipe and reflash. i was constantly just updating to newer cyanogen roms at that point without wiping. so i wiped to the newest cyanogen at the time (can't remember at this point, but just picture it was like a couple months after cupcake). so things were good again for a little bit, but then it started slowing down again, getting FC's, etc. so a friend recommended i switch to superD... i did, and again, everything was great for a while. i consistently upgraded superD roms (sometimes wiping in between sometimes not). eventually i got to the point where i was on the most recent superD release. it lasted about a day before things started slowing down. examples include when i hit home to exit an application and go to the home screen, the whole screen would either turn black or just show my wallpaper for a good 5 seconds before my home screen would appear, or opening the browser would take like 10 seconds. lots of slow down.
so with the help of a friend i decided to completely wipe and reformat/repartition my sd card. i bought titanium backup but i didn't even bother with it, i said to myself, look, you barely use any of the stuff you have right now, how about just start fresh and reinstall things as you need them manually. so i formatted, repartitioned (using amon Ra's recovery, using the menu option that helps you do it automatically). i made sure i had the most recent radio and spl (this was just a couple months ago), and reflashed the most recent superD (i think its 1.11 if i remember correctly)... again, maybe one day of good performance before everything slowed down. this was also about the time when my battery life started becoming an issue. i'm not exaggerating when i say i couldn't make it home without breaking under 20% battery by the end of the day... and i really don't use my phone THAT much. i'd say i'm a little above average on my usage. i'll get into my widgets and apps in a second, but i really don't use that much stuff...
SO... continuing my story (thanks for sticking with me if you're still reading...). when cyanogens 2.1 for the g1 rom came out (5.0.8d/s) i decided it was time for a change. i reformatted AGAIN, repartioned AGAIN, and flashed 5.0.8. basically, i've got the same story going on. slowdowns, poor battery life, etc.
so here i am with my cyanogen 5.0.8 flashed g1. let me tell you about apps and widgets and stuff. right now i have a regular wallpaper (not live), 14 icons between my 5 screens and just the google search and power management widgets. i used to have calwidget, the genie widget (both news and weather), and the setcpu widgets too, but i decided to take them off to see if it would help with performance. zero help. apps that i either know for sure are always running or i think may have some impact are twidroyd, newsrob, craigsnotif (craigslist notifier), and dealdroid. i don't think any other apps are running and/or do automatic updates for content and stuff like that.
i also use cachemate (purchased) regularly to clear my caches. apps2sd is enabled.
i'm not sure what other information you'd need to help me out, but just let me know and i'll try to give you more details.
right now, i've got slow down like almost all the time. things are constantly pausing, slowing down. i feel like i'm back on my t-mobile mda with winmo5 haha. and forget about it with the battery. i left the house with 90% battery this morning. i went to the gym. went home. picked up lunch. came to work. its been like 4 hours. i currently have 19% battery. all i've done is make 2 phone calls, about a dozen text messages and i've sent 2 tweets (about my battery problem haha). i also used google maps once to look up a number. my wifi and gps is off.
so there we go. really guys, please please please. help me out if you can. any help would be appreciated. i'm so sick of this. and i'm stuck in contract until july 2011. so i'm not getting a new phone any time soon. i gotta figure this thing out.
i really appreciate your help.
thanks.
Dave
OH... and PS... forgot to mention that I just got a new battery this week thinking maybe the battery was just getting old and bad. obviously, no such luck.
I had the same issues till I flashed a SuperD, then everything was fine. I just recently flashed the Froyo from Cyanogen and its like it fixed everything and I'm on a brand new device (knock on wood)!
How old is your G1? Do we know if there are issues with the first run out of the factory? Is that even an issue?
i got the g1 last july. so it was already out for a while at that point. it was new from a store though. i suppose there could be something actually wrong with the phone itself, but i don't know. i was thinking of trying the cyanogen froyo but because its not a stable release yet i figured it would be just this bad or worse...
I promise cm5.0.8 has wonderful battery life when no custom apps are installed and not on any network..
so the question is what is your phone doing, and ought it be doing what it is doing.
There are some nice built in tools for this
Applications->running services
And
Applications -> manage applications (check out the filter in the menu from that screen)
You may be surprised by the apps the think they need to constantly have a service running for some painful trivial job the android API has better interfaces for.. if in addition to that you don't need the app uninstall it.
Otherwise experiment with comp cache and lock launcher in memory.
another example, as i was reading this i was on the phone and i just finished the call and hung up, and i was previously in text messages, it took 12 seconds for my text messages to come up. thats just insane...
as for running services:
- GTalkService <--- I use GTalk all the time
- GenieRefresh Service (Restarting) <--- weird considering I disabled this widget, although I'd LIKE to have it back
- Maps FriendsAppWidgetUpdater (Restarting) <--- never used this in my life
- NewsRob UnreadWidgetProvidor (Restarting) <--- never used the widget before (as a matter of fact, you have to pay to use the widget and i have the free version... weird)
-Twidroyd Background Service <--- understandable, I use this constantly
- AKNotepad Snaptic Update (Restarting) <---- umm... I use this all the time but I don't know why a notepad program would need an updater service running... interesting...
- Swype <---- gotta have that
- CM Updater (Restarting) <--- Don't really think that needs to be on all the time. Can easily manually refresh that...
So that's it. I didn't realize this was included now. Very cool. On older roms I had to use task managers which don't seem to really work. I'm going to stop everything except twidroyd, gtalk and swype right now and see how that does... at the bottom it says Avail: 3.2MB+0.00B in 0 ... Other: 55MB in 4 ... While typing that the Maps FriendsAppWidget just popped back up... I'm gonna see if theres a setting...
In the meantime, does any of this give you any ideas? thank you so much for the advice. Also what does (Restarting) mean?
ezterry said:
Otherwise experiment with comp cache and lock launcher in memory.
Click to expand...
Click to collapse
oh and i have compcache not checked and launcher in memory IS checked... i just tried turning on the compcache option... lets see how that goes...
ok so...
now that i know about those things that were running, i stopped all the ones i don't need, and also went into the apps to see if there was any options for turning off automatic updates, background syncing, etc etc for those things... i'm gonna charge my phone while getting ready to go out and then we'll see how it goes throughout the evening. lets see if i make it home with more than 20% battery left (i'll be gone for like 5 hours). if so then we're on to something here still i find it weird that i can't have a few widgets loaded. but whatever, i'll take a smoothly running phone that lasts all day and i just have to click on icons to get to stuff any day... thanks for the help, i'll let you know how its going tomorrow.
the next day
ok so i tried the compcache and keep launcher in memory options last night, messing with both settings. i found that every possible combination became very unstable other than the one i already had (which was compcache off and launcher in memory on). after trying to shut excessive running services like i mentioned yesterday, and also restarting the phone and then shutting them again, i got NO difference in performance OR battery life...
so back to square one... any ideas guys?
thanks so much for any help you can give me. i really really appreciate it.
polarbearmc said:
ok so i tried the compcache and keep launcher in memory options last night, messing with both settings. i found that every possible combination became very unstable other than the one i already had (which was compcache off and launcher in memory on). after trying to shut excessive running services like i mentioned yesterday, and also restarting the phone and then shutting them again, i got NO difference in performance OR battery life...
Click to expand...
Click to collapse
Um... The compcache instability scares me a bit
Compcache has had issues (maybe still does) where the first time you enable it the phone crashes.. but then works fine with Compcache on reboot. Otherwise it really ought no make the phone unstable. (it may or may not speed things up depending on how memory is being used.. usually however it allows 12MB of memory that is rarely used to be compressed, allowing a little more active memory to be utilized) You may want to look into wiping dalvik-cache both on the internal memory and SD card:
Enter console and run (this will restart the phone)
Code:
rm -rf /data/dalvik-cache/*
rm -rf /cache/dalvik-cache/*
rm -rf /sd-ext/dalvik-cache/*
reboot
if you get an error about no files found thats not an issue; but other errors may indicate a problem.
This may help system stability (with or without compcache) .. but won't do anything about the battery life (nor speed unless something was seriously wrong)
-------------------
Unfortunately you will either need to erase all your apps and just run stock CM5 [maybe slowly restore your apps you really need] -- OR -- be very patient and debug whatever application(s) are causing issues on your phone (and maybe complain to the dev for failing to read/understand google's documentation on how to write android applications.. not that some of the google apps haven't quite figured that out until recently)
Thus again the main question is what is running on your phone.. The places I mentioned before allow you to see the services (most of which usually restart if you run the related application again) but not strictly all the details to look for.
Example 1 An widget service is likely holding onto memory starving timer services (those not listed) and swapping out other services (phone/launcher making everything feel slow) At the same time the widget is not very active usually and may not connect to the internet at all; thus may not reduce battery life.
Example 2 An IM client on the other hand may requires a service to keep TCP/IP connections alive, and if not coded properly may be very persistent and cause a slow continual stream of data from your phone requiring a large amount of power to keep the phone on 2G/Edge.
Example 3 A Task killer an kill tasks that re-spawn, or kill a task in use if it doesn't know better causing things to behave in strange ways.. so can killing services/applications from the setting screens btw.. but at least that is a one off by user decision not a automatic operation in the background. Tasks when re-spawned may require more data from the internet thus more power to 2G/Edge
User: Then the one that causes me the most problems: A user that keeps the phone in his/her pocket rather than surfing the web, checking XDA, or continuously checking the battery level is using the device less thus will have longer battery life. (careful to not fall into this trap)
Other Ideas:
SetCPU: set the sleep CPU low in profiles (sleep for me is 245/160)[/*]
Verify End action: Settings->End Button Behavior->Go to sleep[/*]
Set longer periods between polls in applications that poll the net (example twitter every 10 or 20mins.. not 5)[/*]
Larger net transfers on wifi if available (example tell newsrob to sync on wifi only) wifi drains the battery faster than idle, but is much cheaper if larger amounts of data are involved.[/*]
As you can see many things will impact the system. You will need to find the ones eating your battery
Another helpful screen for debugging this may be Settings->Spare Parts->Battery History and Settings->Spare Parts->Usage Statistics
I get between 4h and 12h batter life under semi-normal conditions. 4h = surfing 3g + tappatalk + games.. 12h check email/tweat if i get one.. otherwise stays in my pocket. I've seen my test phone hang out for days on a 2g network without data. (so you can always set your apn type to mms if you just need it to be a phone for many hours.. mms keeps mms support btw)
Ebuddy (and most other MSN/AIM/ect chat clients is frequently one of the biggest problems on my phone.. so if I need more battery those are the first to go.. and whomever it is can poke me on gtalk/txt/or wait
Good luck in your search.. Took me a while to make cm5 work as long as cm4.. most of it was mis-behaving apps that I either know to shut off when I need longer battery life.. or have found replacements for.. or avoid widget functionality if the widget was misconfigured. (
So this may be a dumb question but what are the advantages and disadvantages of checking the "lock home in memory" box in the Cyanogen performance settings?
I'm not an Android expert, but from my understanding of it ...
Personally, I'd keep Home locked in memory on the Nook.
On older devices with low memory, you'd want every bit of it free for running applications.
Let's say you had 24 MB of free and usable memory, and your Home was taking up 6 MB. If your system claimed that, that is like getting a quick 25% boost to memory.
However, hitting the Home button would cause the Desktop to take longer to display, as it now had to fight to get some memory back just to load back up.
Keeping Home locked in memory means that it will not give up what it has allocated, so that you can always quickly switch back to it. Since the Nook has 512MB of RAM, I've usually seen something like 180-380 MB free on mine at all times, so I don't worry about releasing the tiny chunk Home claims.
Someone, *please* correct me if I am wrong.
BitingChaos said:
I'm not an Android expert, but from my understanding of it ...
Personally, I'd keep Home locked in memory on the Nook.
On older devices with low memory, you'd want every bit of it free for running applications.
Let's say you had 24 MB of free and usable memory, and your Home was taking up 6 MB. If your system claimed that, that is like getting a quick 25% boost to memory.
However, hitting the Home button would cause the Desktop to take longer to display, as it now had to fight to get some memory back just to load back up.
Keeping Home locked in memory means that it will not give up what it has allocated, so that you can always quickly switch back to it. Since the Nook has 512MB of RAM, I've usually seen something like 180-380 MB free on mine at all times, so I don't worry about releasing the tiny chunk Home claims.
Someone, *please* correct me if I am wrong.
Click to expand...
Click to collapse
Thanks for the reply, this is pretty much what I assumed. If this is the case, and it sounds logical, then I'm bit confused as to why it isn't automatically checked in CM7 anyway.
Default options are weird.
For my old G1, not locking it in memory makes sense. For the newer Nook, locking it in memory would be better.
Other defaults of CM7 include the Camera and Phone app on the Desktop for the Nook. Really?
BitingChaos said:
Other defaults of CM7 include the Camera and Phone app on the Desktop for the Nook. Really?
Click to expand...
Click to collapse
Those apps are tied to strange but important parts of the OS, so they can't be easily removed.
ok so hello every one who has IS
i have it for 3 weeks and i notice that a lot of the times its slow and has a lot of laggs, this happens when i open apps list and scroll it laggs for a split second and the more i use it i find it in more places.
now is it just my phone or every one notices its not as smooth as you'd expect?
+
more laggs when Live Wallpaper is on...and i thought 1GH processor should handle it
IS suppose to be INCREDIBLE, whats going on ?
Have you updated to 2.3?
I wolud do a "factory reset", and if that makes it as fast as it should bee, i would then start to install your extra apps.
i get what you are saying, but just as a phone, its not smooth
and live wallpaper takes all CPU and makes it even more slow.
is it just my phone that doesnt "FLOW" andd smooth?
I have lots of apps installed and is running LiveWallpaper, and i have no lag at all.
sent you a PM
anyone else has laggs ?
what can i do ?
last week i got OTA in swiss, after updates i got too much lagging problem as well. Many time i have done hard reset but it works same, now I am going to sell my phone. its a bull**** update.
I had one for a week, sometis it was laggy too. Do you have advanced task killer? Close some apps, clean your ram.
See if that helps to begin with?
Initially mine was also laggy, but i updated to gingerbread nad the phone became fast. Not as smooth as iphone but was a lot better then before.
After a lot of testing I can say that the main reason at most of the lagy phones are apps installed at the sd card....Check which apps are causing the problem and put them at the phone's memory.I hope that this helps!
Then whats the point of having a SD card if installing apps on it makes the phone laggy
It is not a matter of the phone but the class of the sd card.In order to be as quick as possible you sould use a ''fast'' class sd...
It saves space. But you need to get an SD card with a decent Class. My MicroSD card is 32Gb Class 10 and I'm not getting any lag on my phone I also use Advanced Task Killer.
Your best bet would be a task killer.
I would suggest ATK (advanced task killer) or battery doctor.
there are definitely a lot of talk on how the newer android versions do not need a task killer, but your situation may be one of those and am certain it will help.
If you already do not have the gingerbread update, i believe that would solve your problem initially, but if you bloat your phone with apps and do not exit out of apps but just press the home key, you will defy need a task killer.
try it
Do you use the HTC Messages widget? The one which lists all your messages rather than just shows the last one?
Since the update to gingerbread I noticed mine lagging when swiping screens. This widget now seems to update the contact photo's etc every time I unlock the screen now which causes lagging until you wait on that screen for it to finish updating.
I've switched to the other messaging widget and seems fine now.
updating folloing you recomendations
OK so i did the 2.3 update
have task killer and everything else...
am i going crazy or the iphone 4 is flawless no laggs, but the IS does still have
laggs ? it happens somethimes not all the times - it seems that
the phone, just by being a IS phone has lags, small, tiny but laggs sometimes.
when you open contacts info, when you scroll apps list, when live WP is on
and many more.
am i right?
any help to the problem or its just that the phone is like that?
Never had major problems with my phone but now I have no idea what to do.
This morning was the worst. I checked Apps/running and almost all my apps were on Restarting. I had like 3 Google Services on Restarting too. I tried to take a screenshot using power and volume buttons and it entered in a loop of taking screens even tho the buttons were not pressed anymore. Couldn't save the screen. The free ram was like 10 ram.
If I opened an app, it will automatically go to home screen as if I pressed home button. In youtube volume buttons didn't work. Also in some apps back button doesn't do anything.
This screen is a bit old and I uninstalled couple of apps like AppLock. But as you can see there, I see lots of apps/services on Restarting and some are not even there.
My phone is not rooted. I run 4.3 Android, image flashed by me. It was James Bond CE edition. Had no problems at that time.
What should I do?
I ever had this problem with Arc.
I think the default memory minfree value for T is too high, default is 118 for empty app.
I changed the value to 6-8-10-15-20-25.. a bit crazy but everything's smooth and can multitask easily.
If it doesn't solve, check the more detailed ram usage using app like quick system info..
Final solution, reflash other kernel, the ram management can be different across kernel.
Sent from my LT29i using Tapatalk