Running apps on Cog v3.04 - Captivate Q&A, Help & Troubleshooting

I just flashed to Cog 3.04 last night and noticed that I seem to have an excessive number of apps that always self start for no reason. This did not happen to me before with the stock ROM. Items such as Maps and Clock seem to self start and stay running unless I kill them manually. Then....they reappear soon thereafter. Any ideas?
Also, what is everyone averaging for available memory when running Cog 3.04? I start off around 170, then seem to die down to around 80-90, even when killing non-essential apps.

Self starting apps, not much you can do. Android manages memory better than killing apps and letting them restart.

Thats what I seem to be reading more and more. I may try and uninstall my task killer and see how is goes from there for a while. Worst comes to worst, I can always reinstall it later.

Related

ok so i could use some help... please...

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. (

[Q] cm6 slows down then crashes

i was doing my 5k run with my recently updated hero and about a mile into the run pandora radio started skipping and then stopped. when i looked at my phone it was rebooting. i have task manager and killed all the apps before i started and unchecked jogtracker and pandora so i could use them. it didnt last long. the phones screen froze and dimmed then crashed until it finally restarted. is there a reason for the crash. seems to me like a memory problem. i have a two gig card with one pt. five left on it. and the internal memory is at 91mb. it always worked before i rooted and installed cm6. the phone in general is way faster and more responsive since i put cm6 on it but for some reason the two apps running together arent working. thanks for any help
Try removing the task manger reboot into recovery and wipe Dev/ cache and try it then might work good luck
Root-Hack-Mod-Always™
I've tried running with and without various task managers and always wind up uninstalling and reminding myself that I should know better.
I seriously don't think Froyo and these mods need a task killer. If anything, they seem to cludge things up. My phone was running beautifully for two weeks and earlier today I thought I'd try out a different task killer. Mistake. I uninstalled it after 1/2 hour because it just made the phone feel funky.
Try running without for a couple weeks....
jwhistler said:
I've tried running with and without various task managers and always wind up uninstalling and reminding myself that I should know better.
I seriously don't think Froyo and these mods need a task killer. If anything, they seem to cludge things up. My phone was running beautifully for two weeks and earlier today I thought I'd try out a different task killer. Mistake. I uninstalled it after 1/2 hour because it just made the phone feel funky.
Try running without for a couple weeks....
Click to expand...
Click to collapse
+1, CM6 does not need a task killer/manager. The best method is to download AutoKiller (which lets you alter Android's internal memory manager, much more effective than task killers) and change the settings to Strict or Aggressive. Also, two of the biggest problems that create soft reboots that you describe is (a) the VM heap size being too small and (b) CPU speeds being too high. So, steps to take:
1) Uninstall task killer
2) Install AutoKiller and change settings to Aggressive
3) Change SetCPU/Overclock Widget settings to 691 max/595 min with screen on, 480 max/245 min screen off
4) Change VM Heap size (in Cyanogenmod Settings) to 24 MB and reboot
The only other possibility I can think of would be kernel instability. If you flash Decand3nce's #14 Stable kernel found here it is far more stable than the stock kernel and (IMHO) has much better performance than the stock kernel.
These steps should rectify any memory and/or CPU overconsumption problems you are having that could cause the reboots (as well as make your phone much faster, smoother, and more stable). If these steps don't fix it, it most likely is a problem with one of the apps themselves.
Good luck!
thanks for the help.
also on the restart i got this message Sorry the applicating spring updater (process com.sprint.ce.updater) has stopped unexpectedly. please try again. force close. this is probably the cause of all the problems thanks
the changes u pointed out seemed to have fixed the phone so far. thanks so much for the great instructions. u da man.
i noticed a couple times a day the phone reboots. should i back off of some of the settings.
kevinr12345 said:
i noticed a couple times a day the phone reboots. should i back off of some of the settings.
Click to expand...
Click to collapse
Yup, lower the max cpu.
Froyo Hero to the rescue
what is the VM Heap size for what does it change. mine is at 16 right now.
clutch_08 said:
what is the VM Heap size for what does it change. mine is at 16 right now.
Click to expand...
Click to collapse
Its the amount of memory each application can take up maximum. You tend to get smoother running stops with higher vms; I set mine to 24.
Froyo Hero to the rescue

Just a few questions about task killers!

Ok I noticed that most the Task killers arent really for froyo and they state that in the market before you download them; "Froyo doesnt allow devs to kill other apps" or something in that nature. So when ever you use a task killer the apps reappear right back all over again lol. The task management built inside doesnt really do anything phone still lags when all the apps are opening in the backgroud. I tried autokiller but it always just makes your phone super HOT when u crank up the settings and it just drains mad battery. What is the best way to keep my hero running cm6 stable free and smooth. Ive tried everything, I got kernels, setcpu and all the good stuff phone is mad fast, im just trying to figure out how to keep these random apps just having a tea party in the background without me knowing and what method should i take? thanks
From purely personal observation I just don't see that they offer any real benefit. I've tried a couple of them and they really seem to interfere more than help. Just earlier today I was reading about Taskiller, tried it, and immediately felt the phone was lagging and hesitating...if ever so little. I uninstalled it after 1/2 hour and the phone felt much zippier to me.
I'm running CM6 with 9/7 nightly and Darcs #14 kernel. LOVE how well my phone runs now

[Q] I have 2 questions about my Captivate

I love my Captivate but 2 things bother me.
1) Why does the music player start every time I unplug the wired headset? I've tested and it's not running BEFORE I plug the headset in.
2) Why do so many apps automatically start in the background? I will use Process Killer to bring it down to 1 or 2 apps running and next thing I know, there are 7 or 8 and I haven't started any of them! This especially bothers me with the AT&t bloatware apps that cost extra to use.
Any info/fixes would be appreciated!
willyboy28 said:
I love my Captivate but 2 things bother me.
1) Why does the music player start every time I unplug the wired headset? I've tested and it's not running BEFORE I plug the headset in.
2) Why do so many apps automatically start in the background? I will use Process Killer to bring it down to 1 or 2 apps running and next thing I know, there are 7 or 8 and I haven't started any of them! This especially bothers me with the AT&t bloatware apps that cost extra to use.
Any info/fixes would be appreciated!
Click to expand...
Click to collapse
1) I have never heard of this happening to anyone before
2) there are allot of applications and processes that have dependencies on other applications and processes - they will need to be running for your phone to operate properly.
Don't fall into the idea that you need to manage the memory on your android phone the same way you would a windows machine. unless you have installed a bad acting or poorly coded application your android phone will shut down what ever processes need shut when they need shut down all on its own.
The only reason you should use or need any kind of task manager or task killer is to check every now and then to see if you do have a bad acting memory/cpu hog causing problems. too many people use task killers have them running in auto without knowing what they are doing and a dependent needed processes get killed and they can't figure out why their phone acts so buggy.
Thanks for the reply
dayv said:
1) I have never heard of this happening to anyone before
2) there are allot of applications and processes that have dependencies on other applications and processes - they will need to be running for your phone to operate properly.
Don't fall into the idea that you need to manage the memory on your android phone the same way you would a windows machine. unless you have installed a bad acting or poorly coded application your android phone will shut down what ever processes need shut when they need shut down all on its own.
The only reason you should use or need any kind of task manager or task killer is to check every now and then to see if you do have a bad acting memory/cpu hog causing problems. too many people use task killers have them running in auto without knowing what they are doing and a dependent needed processes get killed and they can't figure out why their phone acts so buggy.
Click to expand...
Click to collapse
Well then, Youtube running for no apparent reason at all would be a dependancy of exactly what?
Maybe the only reason YOU would need a task killer is what you stated above, I am using it to see what's going on on my phone and if I am in danger of ending up with charges I'm not willing to pay for. But thanks for the reply.
willyboy28 said:
Well then, Youtube running for no apparent reason at all would be a dependancy of exactly what?
Maybe the only reason YOU would need a task killer is what you stated above, I am using it to see what's going on on my phone and if I am in danger of ending up with charges I'm not willing to pay for. But thanks for the reply.
Click to expand...
Click to collapse
Using it to watch what your phone is doing learn what's going on is a good idea - but I would avoid shutting anything down until you do know why or what process started it - if you shut them down without knowing why they are running then you will continue to see them restarted for apparently no reason.
As for youtube, if you had been recently browsing the web one of the pages you visited may of contained a link to a file your phone has associated with youtube. Also you may have installed some app that triggers youtube, but just killing it without knowing why it is running may keep you from finding out what is going on and cause some other unexplained strange bug.
I have seen more than one person have their phone go from being buggy to running well when they stopped killing processes and turned off any auto killing functions of their task killer/manager and just watched their phone run for a couple days while letting the phone handle shutting processes down.
But as far as watching your phone closely and learning what it is doing, I am all for this - at the same time I don't want to be promoting paranoid behavior - but being informed and having a good idea what's going on with your phone wil definitely make you more capable of trouble shooting if and when the need arises.
And just be sure to check you bill every month and see what your being billed.
I found that removing the AT&T bloat to be almost mandatory to have a great running phone.
Couple that with the custom ROM's found here - and the device is awesome. I have no need to kill any processes. I do open up System Monitor to see what is going on with the device - but that is the beauty of Android - you can actually see EVERYTHING that is running on it.. and based on any errant process - you can kill it.
But.. there are a million articles on if Task Killers are a benefit or a hindrance to your phone's battery life and performance.
Bottom Line - be smart with your phone like your computer... don't download a bunch of crap, watch where you browse, and keep an eye on your sys monitor to see how your phone is behaving.
System Monitor
avgjoegeek said:
I found that removing the AT&T bloat to be almost mandatory to have a great running phone.
Couple that with the custom ROM's found here - and the device is awesome. I have no need to kill any processes. I do open up System Monitor to see what is going on with the device - but that is the beauty of Android - you can actually see EVERYTHING that is running on it.. and based on any errant process - you can kill it.
But.. there are a million articles on if Task Killers are a benefit or a hindrance to your phone's battery life and performance.
Bottom Line - be smart with your phone like your computer... don't download a bunch of crap, watch where you browse, and keep an eye on your sys monitor to see how your phone is behaving.
Click to expand...
Click to collapse
Joe, where is the System Monitor?
I've not come up with the nads yet to root the phone and remove the bloat. I'm not in any hurry, the phone runs great. As I tried to explain before, I'm curious as to why these applications end up running at random, without my even touching the phone. I will clear all apps from running and lay the phone down and not touch it. On my last look, 2 messaging apps were running, Youtube, AT&T Navigator, Where's my Droid and Gallery. Bear in mind, I had not touched the phone. I just cleared it again and will look after bit to see what has started.
I am also looking for any theories as to why my music player starts when I pull the headset out from being on a phone call.
Although appreciated, I am not looking for opinions on what I should and shouldn't be doing with my phone.
Lol. I just to trying a piece of advice - I know it is your phone and you can do with it what you please.
But go ahead and keep killing processes without knowing what your doing and see if you have more or less strange buggy behavior.
FYI - messaging apps are generally coded to almost continually sync in the background - to see if you have any new messages and will restart every time you stop them - if you want to know instantly of any new messages they will have to run
Att navigator - att is trying to shove this app on you so they have it set to start any time your phone starts any locating process - and your phone will almost continually be trying to figure out its location
Wheres my droid - is either trying to figure out where it is or preparing to figure out where is to be ready to let you know when you ask - if this program did not have something triggering it to keep it running all the time it would be a pretty useless piece of software don't you think
Gallery - pretty much any media syncing process wil start gallery - and allot of media processes have some type of background media sync process
As for youtube - I'm not sure yet

[Q] Select which apps run at start up???

Is there a way to select which apps you want to start up and run when the phone is booted? Since I've rooted I've had a lot more apps running right after turning the phone on (15-25 apps running). It is sluggish at start up, I'm assuming this is because the phone is trying to start and run a whole bunch of apps at the same time as well as obtain signal, check verify media on the SD card etc. and the processor is bogged down. Is there a way to select which apps I'd like to run at start up?
If you want to reduce lag try roms. Any app that tries to control what Is starting up will largely be ineffective
Any speculation as to why I never experienced this until after I rooted my phone?
Rooting should not cause programs to just start running.
Are you certain you have not added something else since root that may be causing lag?
I wouldn't describe it as general lag. It's only at start up. Once everything has loaded it runs the same it did the day I got it. It's just that it takes longer to boot initially. And when I use my task killer once everything is loaded it typically kills off 20-25 apps. Before I rooted I had a max of 6 apps running at start up. Currently I have 80 apps installed. Before I rooted I might have had 10 less apps.
Go to market, put startup in search, you should find several apps that claim to help with this
Thanks, I'll give that a try.
Startup Auditor. Works for me, give it a shot.

Categories

Resources