[Q] Service has been killed - Galaxy S III Q&A, Help & Troubleshooting

Hi guys, I have 2 apps that constantly being killed by the system. One is Skype, I set it to never log out but every other time it is shutting down (Service been killed), and I need to relogin to receive again any IM or call from skype.
The other app is the FB messenger, but I can only encounter the problem with this app if I run it for the first time (Everytime I restart the phone and run this app). Then maybe after 2 or 3 tries running this app the service is running ok and never been killed again.
My question is, is this an app problem or TW/FW issue forcing those services to shutdown? From what I know, services must not be killed specially if it is always running in the background?

That depends on what you're doing. If the phone runs low on Ram it will start killin, processes.
This happens eg when playing games or browsing a lot.
I'd recommend using Im+ Pro for both, it's not only far more battery-friendly than Skype but it can push new notifications via Google c2dm so it doesnt actually have to run in the background, giving you more free Ram
Sent from my GT-I9300 using xda premium

d4fseeker said:
That depends on what you're doing. If the phone runs low on Ram it will start killin, processes.
This happens eg when playing games or browsing a lot.
I'd recommend using Im+ Pro for both, it's not only far more battery-friendly than Skype but it can push new notifications via Google c2dm so it doesnt actually have to run in the background, giving you more free Ram
Click to expand...
Click to collapse
Thanks for the reply, but I encounter this problem when my phone is IDLE (not using it). I'm always checking the services running in the background and I will notice that skype has been killed again and the top tray icon (of skype) is also gone.
Sent from my GT-I9300 using xda premium

You're not running any memory optimizers?
Go to settings->developer options and tick "show all anr".
That will show if Skype background processes force-close.
Sent from my GT-I9300 using xda premium

d4fseeker said:
You're not running any memory optimizers?
Go to settings->developer options and tick "show all anr".
That will show if Skype background processes force-close.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Yes, I'm not running any memory optimizer... And this always happen on Skype app only. On Facebook messenger only happens on 1st run.
So I'm thinking this is an app issue?

Have you tried the ANR as described?
Skype has lots and lots of issues, especially since ICS.
I don't even try to use it anymore, and just stick with IM+

d4fseeker said:
Have you tried the ANR as described?
Skype has lots and lots of issues, especially since ICS.
I don't even try to use it anymore, and just stick with IM+
Click to expand...
Click to collapse
Thanks mate for your help. I will try your suggestion, Thanks a lot :good:

Related

So many applications running in the background

I couldn't find anything on this topic so I had to create a new 1 I'm sorry if I repeated.
There are always so many applications running in the background they take ram too.
Is it normal?
Has anyone found a solution if this is a problem?
What makes them running in fact what makes them start in the first place thanks in advance
Sent from my LG-P500 using XDA App
use task killers, but AFAIK there is no need for that since android automatically kills unused apps.
just go to settings-application-running services and close the 1 u want to
simple
Thanks
Sent from my LG-P500 using XDA App
I would suggest not using a task killer cause they suck but using android assistant its really cool and works well for a lot of things including killing tasks but more important use startup Auditor you can look up programs that are always running and in background and select to kill them at start up as well as keep them killed you can still open and use the apps it just keeps them from opening by them selves
divyanshu308 said:
I couldn't find anything on this topic so I had to create a new 1 I'm sorry if I repeated.
There are always so many applications running in the background they take ram too.
Is it normal?
Has anyone found a solution if this is a problem?
What makes them running in fact what makes them start in the first place thanks in advance
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
try smart bar.
I use "autorun manager" to control which stuff works at startup.
i would suggest googling for android task killers and reading the lifehacker article about them, it is pretty well explained (sorry but I can't post links just yet)
Autorun manager isn't a task killer,so you can use it only for monitoring startup apps. This is a good alternative.
Hi every one
I downloaded the applications they are good but I didn't really got my answer.
The thing is that even when I turn the things off even after terminating the threads after a while they get started on their own why does this happens?
Sent from my LG-P500 using XDA App
It sounds like you are using an app that is turning something back on. i.e. some app that uses google maps so that service is turned back on.
Zyzomys said:
It sounds like you are using an app that is turning something back on. i.e. some app that uses google maps so that service is turned back on.
Click to expand...
Click to collapse
yeah i guess i'm obviously not sure.
right now there are atleAST 10 to 15 apps running in background.
i didnt even clicked them by any chance.
they all are consuming ram.
You could always use Titanium Backup and freeze Maps. I do this as soon as I am done with Maps - that way it is not able to start up again.
Zyzomys said:
You could always use Titanium Backup and freeze Maps. I do this as soon as I am done with Maps - that way it is not able to start up again.
Click to expand...
Click to collapse
You know any application that provides freezing for free;-)???
Sent from my LG-P500 using XDA App

[Q] Background launched/Running Apps

Hello,
Searched in this forum but couldn't find answer, so thanks for your expert feedback:
I'm using SGS2 since 2 weeks now and I'm happy with it. Except I can't stand one full day with a fully charged battery with a "normal" usage. But batterie matter is not my question
I installed some application, like news, games, etc, as well as "advanced task killer". When I open "Avanced Task Killer", I see so many apps that I didn not even opened: Gallery, Search, Maps, MI, Social Hub, and some games...
Do you know why such applications are running (or launched) itself? Checking RAM, still have enough free ram, but I really don't know why all those apps are lauched.
Doesn't matter, they are not what is causing your drain. If it's really bad it's either the wifi sharing issue or the router issue. Could you post a screen shot of your battery usage. Also atk does more harm than good for the average user.
Sent from my GT-I9100 using XDA Premium App
TheGhost1233 said:
Doesn't matter, they are not what is causing your drain. If it's really bad it's either the wifi sharing issue or the router issue. Could you post a screen shot of your battery usage. Also atk does more harm than good for the average user.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
Well, most of battery usage is due to display+Android OS+Android system (a total of 78%). But battery drain was not my question
Just wandering to know why I have so many apps running (or only launched) in background without I launch them (social hub, maps, gallery, game hub, and some games)
Because the galaxy s II has a massif RAM, once they are running there is no reason to kill them. If you check active services most of them should be cached and not actually running. Atleast the games, stuff like social hub will run always.
Sent from my GT-I9100 using XDA Premium App
These apps are running because that is how the android OS works. It opens things so they load faster next time. They ate supposed to be suspended so not using any resources in the background unless its a badly coded app.
Nothing you can do about it really.
Informative answers
Sent from my GT-I9100 using XDA Premium App

Game apps running background all the time...

Hi!
I noticed that free games like Stand O'Food 2 and Contract Killer : Zombies are running background ALL THE TIME. Even after a reboot of the phone, even after a force close with a task killer. They come back again, and again, after a few second only. So, are they some kind of spyware?
I find this very annoying, I can't stop them unless I uninstall them.
Could anybody tell me what they are doing background and how to stop them doing this without uninstalling them?
Thanks!
Tuc
Try using "autostats" from market. Disable it from auto starting.
Accidentally sent from my Google Nexus S using XDA Premium
Nice, it works like a charm! Thanks
But here is the thing: Contract Killer : Zombies is programmed to start:
- After Sartup
- Locale changed
- Date changed
- Screen on
- Shutdown
This is insane! Why a game need to start all the time for any reason, if it is not a spyware....?
Tuc
Tugdu77 said:
This is insane! Why a game need to start all the time for any reason, if it is not a spyware....?
Click to expand...
Click to collapse
You gave it permission to. If you check the permissions for it, under "system tools" it says:
System tools
automatically start at boot
Allows an application to have itself started as soon as the system has finished booting. This can make it take longer to start the device and allow the application to slow down the overall device by always running.
Quite a strange permission for an app which seems not to need it. Also, on the market you have to click "Show all" for you to be able to see that permission. Pretty strange...
Moreover, most of the Android users don't use a task manager so they don't even notice all those apps running background...
Since I use the Autostarts app to block all useless apps running background, my phone has much more available ressources and starts faster.
Everytime I get a new phone, I'll just disable everything after root. But maps.apk is the most useless ever process.
Accidentally sent from my Google Nexus S using XDA Premium
melvinchng said:
Try using "autostats" from market. Disable it from auto starting.
Accidentally sent from my Google Nexus S using XDA Premium
Click to expand...
Click to collapse
did you mean 'autostarts? i just want to make sure i get the right app. i wasnt able to find 'autostats'.
thanks!

Close app, still needs a force stop. Why?

I close an app, but I still need to force stop it in the Running Apps menu or it runs in the background indefinitely. I assume this is normal behaviour for Android since most apps don't have an actual exit button. Opera is the only one I know of that exits properly.
Sent from my GT-I9100 using XDA
As you said, this is the normal behavior of apps in Android. Once the process is no longer doing anything and is pushed to the background, it becomes low priority and is killed whenever memory is needed. In the mean time it remains cached in memory.
There's no point in killing the app unless it's locked and eating up CPU cycles.
http://mobworld.wordpress.com/2010/07/05/memory-management-in-android/
What dx said is right. You should not compare Android to Windows.
Sent from my GT-I9100 using XDA
Just me being picky then, not to worry. Thanks for the advice guise.
Sent from my GT-I9100 using XDA

How to keep app permanently alive in the background

I am using Skype often. And I want it to be always on in the background as it makes it easier for my family abroad to communicate with me. However either android itself or my wife keeps shutting it down (don't blame her she is not very experienced user).
Is there any app or simple way to keep Skype on all the time, that even if it is shut down manually by user or task manager or android itself I want it to keep restarting itself.
I used search but I found only thousands of topics were people trying to prevent apps from running all the time in background, I want this one to do that! I will be grateful for any help. I want it to keep running on HTC Flyer.
Anyone?
Sent from my HTC Sensation XE with Beats Audio using XDA
If an app has an icon in the notification bar (which skype does), android process manager wouldn't kill it. That's why apps like tasker and 3G watchdog has an icon in the notification bar. Therefore, your wife must be using some sort of task manager to kill background processes. The solution will depend on the task manager she is using. Some task killers allow you to "white list" certain apps.
Apps can shut down even if they put icons in the notification bar, if you are annoyed by this problem you know that.
What we need are an app that can monitor and restart selected apps if they aren't running.
If an app has an icon in the notification bar (which skype does), android process manager wouldn't kill it. That's why apps like tasker and 3G watchdog has an icon in the notification bar. Therefore, your wife must be using some sort of task manager to kill background processes. The solution will depend on the task manager she is using. Some task killers allow you to "white list" certain apps.
Click to expand...
Click to collapse
There is task killer included in stock ROM but whether she is killing it or whether it's system I still need something (method or app) to restart it immediately after that happens.
Sent from my HTC Sensation XE with Beats Audio using XDA
This is what I want to do too, I want to keep skype on all the time, but I noticed that randomly it would be killed!!!
Are you rooted? Try uninstalling all task managers and using ES task manager with white list, and perhaps run the V6 Supercharger memory script to manage memory better, he also has a section on getting apps to run at -16 system level permissions (never be killed by system)
Thing O Doom said:
Are you rooted? Try uninstalling all task managers and using ES task manager with white list, and perhaps run the V6 Supercharger memory script to manage memory better, he also has a section on getting apps to run at -16 system level permissions (never be killed by system)
Click to expand...
Click to collapse
I did not rooted my flyer but I won't mind doing that if that will help. I will try your advice and let you know what results did I achieved.
Sent from my HTC Sensation XE with Beats Audio using XDA
auto memory manager has an option to keep apps alive, but it needs root too.
+1 for auto memory manager I ise it too since my rom had this nasty habit to kill music while it was playing. So I use this little app and it works great.I even go more ram by tweaking the settings
Sent from my Optimus Me using xda premium
I read your first post again - it must be android killing your skype. Cause to close skype u need to logout and i think that its hard too logout accidenatlly (its not only pushing "back" button.
And i dont think that there is an app which can restart manually closed app (maybe script and an auto script launcher??)
Sent using r800i with DoomKernel v14 (1.21ghz)
I tried Auto Memory.
It does give you the possibility to keep alive any process (and app), but the effect disappears eventually, like minutes after.
Keeping alive Auto Memory as well doesn't help :/
Did you apply keep alive in app process list?
Sent from my LG-P350 using xda premium
leyus said:
I am using Skype often. And I want it to be always on in the background as it makes it easier for my family abroad to communicate with me. However either android itself or my wife keeps shutting it down (don't blame her she is not very experienced user).
Is there any app or simple way to keep Skype on all the time, that even if it is shut down manually by user or task manager or android itself I want it to keep restarting itself.
I used search but I found only thousands of topics were people trying to prevent apps from running all the time in background, I want this one to do that! I will be grateful for any help. I want it to keep running on HTC Flyer.
Click to expand...
Click to collapse
Have you find the solution.On my Z2 it kills messenger,whatsapp,facebook,every app which runs in the background.When i unlock it,it takes 10-20 sec to connect to messenger,or i just need to restart it,and it refresh my messages faster.
leyus said:
I am using Skype often. And I want it to be always on in the background as it makes it easier for my family abroad to communicate with me. However either android itself or my wife keeps shutting it down (don't blame her she is not very experienced user).
Is there any app or simple way to keep Skype on all the time, that even if it is shut down manually by user or task manager or android itself I want it to keep restarting itself.
I used search but I found only thousands of topics were people trying to prevent apps from running all the time in background, I want this one to do that! I will be grateful for any help. I want it to keep running on HTC Flyer.
Click to expand...
Click to collapse
use tasker.apk
hope it helps..
I am using Lenovo VIBE k5 anf i am unable to receive notifications from hike until I open the app and keep iy in background

Categories

Resources