Related
Hi all,
1. I've got these applications (Smartone-Vodophone SV app, 5 days weather, google map, social hub and such) that would keep coming back, relaunching themselves even after I put them onto my task manager's autokill list. Seems like they would wait around for me to enable the wifi/3G connection and then launch themselves. I even installed other apps to disable autolaunch and they would still launch themselves in the background every now and then. I had to kill them every time I unlocked my screen and these "launching and killing" cycles eventually depleted my memory down to below 100MB, making the lag situation even worse. Does anyone know how I can stop them from launching, without having to uninstall these apps?
2. I haven't installed the lagfix and I understand that the fix has to do with reformatting the apps' partition with a faster file system to reduce the lag (probably by giving it faster I/O access to the program's binaries?) I'm still waiting for Froyo, which should be out in a couple of weeks in my country. Does anyone know if Froyo would take care of this file system problem? Even with the Froyo or one-click lag fix, it still would not solve the apps launching and memory leak problem, right?
3. I notice that after I've installed more apps, the lag situation got worse. I was playing some songs on the external SD cards and it choked once in a while. I made sure I killed all the other apps and that I still got 100+MB to run just this one song player app and yet it would still choke. This tells me that the lag has nothing to do with available memory. And the player app was stock that came with the phone so there shouldn't be any fragmentation issue (apps installed later might have?) that makes it run slow. And if its the bad file system, this app, running all by itself, should have all the I/O bandwidth to itself so the access to the app's binaries should not have any lag... and neither should the access to the songs on the external SD card. So what exactly is causing the lag then? I don't see how the lagfix would solve this problem either. I actually have read that the lags would come back after a period of usage even with the lagfix. Anyone got an insight to this problem? What exactly is causing the lag? and why installing more apps seem to make it worse? and would Froyo be able to fix all these problems?
Thanks a lot.
@boarder838
I think you really need to read a lot more about just how Android works as you seem to have some strange ideas about how it works.
To start with you need to realise that having 200mb or 100mb of free Ram makes zero difference to performance only when you have no free Ram is it a problem and even then the system will sort it out for you by closing the least used program. Free Ram is just wasted Ram as it's not doing anything and will not make your device respond or work faster using a Auto Task Killer is wasting your battery and slowing down your device not speeding it up and saving battery as you seem to think. As i have pointed out above stop obsessing over your free Ram amount as unless you have none its not a problem stop using a Task Killer and you will most probably see your device responds faster as its not constantly killing things and just leaves them open doing nothing in the back ground which doesn't use Ram or Battery so just leave them be.
Yes Froyo will bring many improvements to our devices but won't fix a problem that doesn't exist re memory leaks and apps launching that you seem to think you have. I don't know but some of those apps may be system apps that need to run all the time which is why they keep relaunching. As for a lag fix well that's what we are all hoping for but if not I'm pretty sure the great people of this forum will come up with an easy to apply fix to it.
I have absolutely no problem playing Music or even streaming it over Bluetooth no lag stutters or break ups at all although my Music is on the Internal SD card. Maybe you should look at the quality that you have encoded your Music in as that may be causing problem. maybe some of the apps you have installed are also causing a problem but its impossible to know as we all install different apps and have different set ups.
I don't know how much experience you have with Android devices or flashing Roms but if you read enough and understand it you have the possibility to flash custom Rom's and various tweaks and fixes to make your device how you want it. That's part of the beauty of Android but don't rush into anything you are not sure about as you can end up with an expensive brick so read things many times and make sure you understand step by step what you are doing if you are going to attempt any of these things.
If you look at my signature you will see i am running a Custom Rom that includes a lag fix and various other tweaks it also allowed me to remove some of the programs in the official Rom that i didn't want or need. For me my device runs nice and smooth and fast of course I'm looking forward to Froyo and all the improvements that will bring but I'm quite happy with my Galaxy S the way it is now. Oh and this is my second Android device and I've never used a Task Killer never mind an Auto Task Killer and have never seen an out of Ram message either.
Marc
exactly what he said ^
Hi Marc,
Thanks for spending time to read through my long post and reply to it. I probably didn't explain my problem clearly in my post.
There were a couple of reasons I wanted to kill/stop the apps from starting:
1. Even before I installed any of those apps killer, I noticed that the available memory kept going down after a couple days of usage and it went down to below 100M. I figured some of the apps would need 10's of MB to run so I thought I should at least keep 100MB around so that it wouldn't run out of memory and start swapping when I start those apps. I don't know enough about Android but I assume its just like linux or other OS, when it runs out of physical memory, it would start swapping and slow things down. Even after I started using task killer and killed all the other tasks, the memory level would still not recover. That seems to point to a memory leak problem but using "Memory Booster" to do garbage collection seems to help. Still, it would be nice to be able to stop them from launching in the first place. <-- my first question.
2. I do not want any jobs/processes/apps that I don't need to run in the background to drain my battery. I don't think I can say for sure that those apps are all just idling and not using much CPU/battery. There are quite a few of them so if each of them use some CPU time/battery, it will add up eventually. Note that these are not system processes (or daemons as in unix's init.d). They are crappy apps from the cellular provider so I'm pretty sure they don't have to be running (they're probably just collecting my personal data or smth). I just thought there would be a way to stop them from launching without uninstalling them.
Thanks for answering my question regarding Froyo. If they would do the filesystem lagfix then I'll just wait for that update.
As for the music stuttering problem, my songs are on the external SD card but my old Nokia E85 phone has no problem playing with those songs on the same SD card. As I have pointed out in my last question, I was only running one app and with plenty of memory so it had nothing to do with available memory. I also suggested that however bad the filesystem was, the I/O bandwidth should still be enough to run this one music player app (access the program binary/libraries?) and to retrieve data from external SD card to play the music smoothly. So applying the lagfix probably won't help this problem though I still haven't tried the lagfix. Now I'm thinking that one of the task killer might be killing some system processes which were needed by the music player. I probably should uninstall all these task killers and see if it would help.
I have gotten the phone for only a couple of weeks so I haven't gotten around to try flashing different roms or rooting my phone. There's so much info scattered around on the web and I can't seem to find a source that really has the authority or complete information. I'll see if I have time later to look into all the tweaks and such but for now its just a phone to me and I just want it to run smoothly without having to spend too much effort to tune it.
Don't get me wrong. I still love the flexibility and customization opportunities provided by the Android platform and I just love to show off my "Beautiful Weather Widget", "Live Aquarium Wall Paper" and my cool 3D scrolling "Launcher Pro" to my iphone4 buddies and make them drool.
Thanks for you comment and let's hope Froyo will bring us a smooth running and stable platform.
Dogmann said:
@boarder838
I think you really need to read a lot more about just how Android works as you seem to have some strange ideas about how it works.
To start with you need to realise that having 200mb or 100mb of free Ram makes zero difference to performance only when you have no free Ram is it a problem and even then the system will sort it out for you by closing the least used program. Free Ram is just wasted Ram as it's not doing anything and will not make your device respond or work faster using a Auto Task Killer is wasting your battery and slowing down your device not speeding it up and saving battery as you seem to think. As i have pointed out above stop obsessing over your free Ram amount as unless you have none its not a problem stop using a Task Killer and you will most probably see your device responds faster as its not constantly killing things and just leaves them open doing nothing in the back ground which doesn't use Ram or Battery so just leave them be.
Yes Froyo will bring many improvements to our devices but won't fix a problem that doesn't exist re memory leaks and apps launching that you seem to think you have. I don't know but some of those apps may be system apps that need to run all the time which is why they keep relaunching. As for a lag fix well that's what we are all hoping for but if not I'm pretty sure the great people of this forum will come up with an easy to apply fix to it.
I have absolutely no problem playing Music or even streaming it over Bluetooth no lag stutters or break ups at all although my Music is on the Internal SD card. Maybe you should look at the quality that you have encoded your Music in as that may be causing problem. maybe some of the apps you have installed are also causing a problem but its impossible to know as we all install different apps and have different set ups.
I don't know how much experience you have with Android devices or flashing Roms but if you read enough and understand it you have the possibility to flash custom Rom's and various tweaks and fixes to make your device how you want it. That's part of the beauty of Android but don't rush into anything you are not sure about as you can end up with an expensive brick so read things many times and make sure you understand step by step what you are doing if you are going to attempt any of these things.
If you look at my signature you will see i am running a Custom Rom that includes a lag fix and various other tweaks it also allowed me to remove some of the programs in the official Rom that i didn't want or need. For me my device runs nice and smooth and fast of course I'm looking forward to Froyo and all the improvements that will bring but I'm quite happy with my Galaxy S the way it is now. Oh and this is my second Android device and I've never used a Task Killer never mind an Auto Task Killer and have never seen an out of Ram message either.
Marc
Click to expand...
Click to collapse
Oh I found the problem with stuttering music. It was the "beautiful weather widget"! I tried removing all the task killers and aquarium etc and it still wouldn't work. As soon as I removed the weather widget there was no problem with music playback anymore. Anyone has the same problem that pretty weather widget?? I've already set the refresh period to every 3 hours but it still wouldn't help?!
I'm using Cyanogenmod 6 (stable) on my HTC Dream.
Now, I know that there's been a change in Froyo (Android 2.2) whereby task manager apps can no longer kill running apps. That's fine. I can kill tasks in Running Services if I want. (Although I wish I had a faster way of accessing the Running Services...)
Anyways, I'm noticing that I'm having a problem with apps being closed by the system when I definitely never want them closing unless I close them myself. I was able to do this just fine in pre-Froyo ... but there are really some apps, like AndChat, that I don't want closing at any odd random time (I'm guessing this happens when the system decides it needs to free up some RAM or something). Is there a way to keep certain apps ALWAYS running unless I close them?
Please tell me there's a way to do this. I'm loving Froyo otherwise, but there are some apps that I don't want the system closing on its own.
Please tell me there's a way around this. I never had this problem pre-Froyo.
Can I maybe prioritize non-essential processes or something (So that maybe it'd close some other app instead of the one or two I want to keep running)?
Please help
If you do, then whatever you are trying to do that causes those processes to be killed will NOT WORK. You will get the magical disappearing application problem where a newly launched program will randomly die. It could get really messy if there isn't enough free memory to load the launcher -- you'll end up in battery munching loops at seemingly random times.
*sighs*
That's just ... sad. I understand what you're saying. I do hope there's still another way though. I really try not to have much running. But sometimes even if all I have running is AndChat and a browser, AndChat would close. It's really annoying.
Thanks for your reply.
The most annoying thing to me about the way FroYo manages apps is that my browser will often close when not being used, and upon returning to it only the last page displayed will reload but any other windows that were open do not.
This never happened in 2.1
Sent from my PC36100 using XDA App
Hey all,
I installed Super Rooter shortly before it became SRE, I based it on the JH3 firmware. With it is SLA4 and I used the packaged lag-fix and bloatware remover. It was going great for a while, but recently things are getting screwy. Things that are happening once in a while:
I click home, and the home screen is entirely blank and all the icons and apps have to re-load
When installing programs, everything is horribly slow
Unlocking the phone sometimes is very delayed
Is anyone else experiencing any of these problems? Also, I have a lot of apps installed. Always running are: SmartBar, SystemPanel and Tasker.
Let me know if I left out any important information.
Thanks!
Mine was like this for a while. Problem went away when I rebooted. This was on stock firmware with RyanZA lagfix only.
I'm having the same problem with the Lagfix installed. I tried to uninstall it to see if that was the problem, but it messed up and screwed up my data. I have to reinstall a ROM now.
i have noticed the exact same lags....the one where everything has to reload is especially annoying. happens every once in awhile when i open the app drawer too.
surprisingly enough, i am also running jh3 with super rooter (before it became sre)...i was excited because i came home today expecting to do a jh7 flash with the latest SRE, and then i see unhelpful updated his kernal, and DG is going to take a few days and update the whole sre program to either a full blown rom or add many options for flashing.
Sounds like a your running out of RAM, not filesystem lag issues.
Get a task killer, configure it to ignore the apps/widgets you dont want it to kill. Add the task killers "Kill All" widget to your default home screen and hit the kill all widget every time you back out of an application you are done using.
When your captivate is unable to keep more than 100-140MB of RAM free its time for a reboot. If you can never maintain this much free RAM even after a fresh reboot, cut down to 2 or 3 home screens and and less widgets.
With ADW.Launcher, 2 home screens and 3 Widgets total I never fall under 200MB of RAM free (Rooted)
So, i've tried many different roms out there on my SGS. Never got any major issue with flashing or setting them up. Supposedly a custom rom has something improved but there was one think i kept thinking they all fail and i was wondering if anyone else feels the same.
I see random posts all the time telling how great multitasking in android is. But all these roms i keep using try their very best to close just about everything i have running. As far as i can tell, a few seconds after i switch to anything else, my first app gets closed. For example, everytime i'd leave browsing to manage what im listening to or sort out files on some file manager i'd find i needed to open my browser again instead of being there opened and waiting for me to return.
After searching for a while, the best explanation i could find out is to prevent battery drain from opened apps and to keep things smooth by having free ram, which kind of makes sense. Goes against what i read in a paper from google about android multitasking but fair enough.
Except the other day i happened to returned to a froyo stock rom (JS8 with darkcore 1.4) on my SGS and found out this does not happen. Apps stay open for the most part, except when i run something really heavy (like a game). And i dont really notice any performance decrease or extra battery drain from my usual usage.
Granted, i could be just told something along the lines "well dude, just use whatever works for you" and i totally plan on doing so, hence me experimenting, but thats not really my point. What i'm going for is, are custom roms being overzealous? because this really spoils any attempt at multitasking...
Again, this is not a rant of any sort, i was just wondering what are other people's thoughts about it
I'm suffering same problem
i want to have the browser and messenger at the same time
it close one after swetching to the other
i have 80mb free ram
I had the same problems, although lack of multitasking appeared on my stock rom, not a custom... sgs couldn't handle faceboom messager, viber, and a browser at the same time, everytime I switch from my browser to something else - it gets killed, which is frustrating
at the same time I saw how nexus s work, and how much free memory it has, compared to mine, the difference was huge!
I tried cyanogen at first, which was very close to stock nexus s, but it doesn't work good with sgs's camera and crashes once in a while
so eventually I installed JVT with voodoo and uninstalled different samsung stock apps, which gave me about 50mb of additional RAM compared to stock, and there doesn't seem to be any aggressive memory cleaners working, so I can now finally switch between all the apps I need
If you want the best roms for multitasking, go for the final builds of Froyo 2.2.1. They have plenty of free ram and are very smooth. I'd recommend Froyo ZSJPK. You can download it from XDA.
I think it depends on the ram settings in your ROM. The way android works is there are a bunch of system settings on how much ram to keep clear, and if it drops beneath certain values they start killing apps.
It's highly possible these values were tweaked in the custom roms, to improve the perceived smoothness and so on, but at the same time reducing multitasking. There's a trade off between performance and multitasking (guess why apple was so reluctant to add multitasking?)
I'm not really an expert on it, but I'm sure some quick searches around will find out where those values are and how to change them.. some rom/app probably even allows you to tweak them to your liking.
All Gingerbread roms do the same, closing apps after moving away from this, don't know why, but froyo didn't do this and ginger does.
I used to be like TS, clearing RAM because it might let the phone run smoother. After getting more exposed to Android, I realised that it could be logical to keep your apps in RAM instead of doing a cold boot again, meaning to close an app, open, close and open again, making it taxing on the phone.
So I tried to use up as much RAM as possible and it works just fine, it feels good. I believe the problem you have stated is that in your ROM, the task manager has instructions to clear the RAM once it hits a certain threshold. When it does, it starts to clear apps in different category, starting from what is known as empty apps, which are generally just apps you use and are not important to the android OS or rather independent from the OS.
In the new Samsung ROM, the threshold is set to 40MB, and it is working great for me. You can go to the android market and download "Galaxy Tuner" to set the threshold to a value you feel comfortable with. To multitask better, set the threshold as low as possible.
MaoJie said:
I used to be like TS, clearing RAM because it might let the phone run smoother. After getting more exposed to Android, I realised that it could be logical to keep your apps in RAM instead of doing a cold boot again, meaning to close an app, open, close and open again, making it taxing on the phone.
So I tried to use up as much RAM as possible and it works just fine, it feels good. I believe the problem you have stated is that in your ROM, the task manager has instructions to clear the RAM once it hits a certain threshold. When it does, it starts to clear apps in different category, starting from what is known as empty apps, which are generally just apps you use and are not important to the android OS or rather independent from the OS.
In the new Samsung ROM, the threshold is set to 40MB, and it is working great for me. You can go to the android market and download "Galaxy Tuner" to set the threshold to a value you feel comfortable with. To multitask better, set the threshold as low as possible.
Click to expand...
Click to collapse
ok i downloaded galaxy tuner but idk how to change threshold
After flashing a rom onto my LG P990 it works flawlessly-everything is nuttery smooth, fast and reliable but after some uptime and few days of using it suddenly starts to lag. It really pisses me off since P990 is quite powerfull when it comes to specs but my friends Galaxy S somehow maintains it's performance.
So the question is how to make sure that my phone will not reduce it's performance so drastically over time?
I'm runnig latest Temasek's KANG and ETaNa's latest beta kernel with 1,4GHz OC.
Do you have alot of apps installed?
Try to see how much RAM usage you have on boot and after it starts to drop performance.
Yeah I read somewhere that there is a memory leak problem with the o2x...restart your phone once in 3 days..things should be fine
Rebooting doesn't help. If it did I would assume that it's simply because an app/apps is causing the drop and then I would try to find it. I do have a lot of apps on my phone but most of them shouldn't be running by themselves in the backgroud (mostly games and such).
I have same problem (on ICS ROMs). After flash, everything is fast, after few days....I have to wait for call for 30 sec....horrible...
I have noticed that problem witch made me a flashaholic .. you could begin with deleting facebook app, messenger and google plus (drainers) then dl rom manager and set in on hard gaming , worked ok for me
Sent from my LG-P990 using xda app-developers app
Also I have a major USB issue. Almost always after turning off storage mode the phone just hangs and I have to remove the battery to restart it. Sometimes it even reboots by itself while transfering files.
Memory leak... If this problem annoys you flash a stock froyo rom or cm based rom..
Have been using CM7 for probably 12 months, but the performance in the last few weeks seems to have got much worse....
i think it could be a baseband issue...I am ...during the verification of the existing problem ...
Since rebooting and installing the tweakaio.zip with lagfree patch for my kernel everything seems better. Not freshly-flashed good but much better.
I don't have any problems with my O2X. It runs buttery-smooth even after two weeks without rebooting. However, the internal IO does get pretty slow after a while. It's nothing too dramatic though.
Heres my recommendation;
Latest Temasek ROM & Kernel
Use the built-in ramhack (this really helps alot!)
Using TitaniumBackup, freeze un-needed apps or uninstall them (be careful with this, make backups. This is mainly meant for system apps that you don't need, i.e. Car Home so they won't fill up your RAM unnecessarily)
Using Autorun Manager just prevent most apps from auto-starting themselves.
Optional; let a task manager kill apps for you periodically. I always read that it's not good to use task managers but I never seem to have any problems with them. I've got 200MB RAM free all the time, even after several days of usage. To prevent killing specific apps just add them to the ignore list of your task manager.
You could also use the lagfree + dalvik cache fix by tonyp and adjust the LMK values.
This setup is working perfectly fine for me, just try it out yourself.
Edit: I also have to note that I don't have many apps installed. Just the things that I really need such as AlarmDroid, the XDA Premium App (!), PimpMyCpu, etc.
xExabyte said:
I don't have any problems with my O2X. It runs buttery-smooth even after two weeks without rebooting. However, the internal IO does get pretty slow after a while. It's nothing too dramatic though.
Heres my recommendation;
Latest Temasek ROM & Kernel
Use the built-in ramhack (this really helps alot!)
Using TitaniumBackup, freeze un-needed apps or uninstall them (be careful with this, make backups. This is mainly meant for system apps that you don't need, i.e. Car Home so they won't fill up your RAM unnecessarily)
Using Autorun Manager just prevent most apps from auto-starting themselves.
Optional; let a task manager kill apps for you periodically. I always read that it's not good to use task managers but I never seem to have any problems with them. I've got 200MB RAM free all the time, even after several days of usage. To prevent killing specific apps just add them to the ignore list of your task manager.
You could also use the lagfree + dalvik cache fix by tonyp and adjust the LMK values.
This setup is working perfectly fine for me, just try it out yourself.
Click to expand...
Click to collapse
good call.
lately ive been using etana kernel with the oall mighty temaseks rom, but the music for eg gets clipped when i open other apps start wifi/bt while playing
xilw3r said:
good call.
lately ive been using etana kernel with the oall mighty temaseks rom, but the music for eg gets clipped when i open other apps start wifi/bt while playing
Click to expand...
Click to collapse
I never listen to music on my phone so I can't help you out with that. Try a different kernel?