[Q] Killed app keeps reappearing - Android Q&A, Help & Troubleshooting

Hi folks,
I have a peculiar problem. I'm using Tasker to kill some apps. One of the apps has a persistent notification icon and it refuses to be killed (even with root). The notification icon is gone for a second but will always come right back. Using pstree I tried to find out if there was a watchdog process keeping the app alive, but I found none. Also it is not hooked to any events according to Autorun manager. A force close under "app management" always works.
What is going on?
This seems like an answer that has been asked before. So off course I have searched. I found similar questions (examples: http://forum.xda-developers.com/showthread.php?t=1854858 http://forum.xda-developers.com/showthread.php?t=2040841 ) but no answers.
Who can help me? I'm really at a dead-end.

what app is it? Some apps (especially system apps) can't be closed, and if does gets killed, OS programs it to restart almost immediately after it's been killed.

Preaper said:
Hi folks,
I have a peculiar problem. I'm using Tasker to kill some apps. One of the apps has a persistent notification icon and it refuses to be killed (even with root). The notification icon is gone for a second but will always come right back. Using pstree I tried to find out if there was a watchdog process keeping the app alive, but I found none. Also it is not hooked to any events according to Autorun manager. A force close under "app management" always works.
What is going on?
This seems like an answer that has been asked before. So off course I have searched. I found similar questions (examples: http://forum.xda-developers.com/showthread.php?t=1854858 http://forum.xda-developers.com/showthread.php?t=2040841 ) but no answers.
Who can help me? I'm really at a dead-end.
Click to expand...
Click to collapse
This is actually Android-by-design. Apps are supposed to be killed from time to time to conserve resources (e.g. memory), and also restarted transparently to the user. This is handled by the ActivityManager. You can view it as Android swappes app's instead of swapping memory. This to improve the real time performance of the device. When someone calls you, you don't want to wait half a minute for the phone to swap out Angry Birds before it can load the Phone app ...
Hence, killing app's will most often only give very short term effect.

Related

Closing Apps vs Running In Background

Hey Everyone,
Just got my Droid Eris yesterday and I'm having fun exploring the phone and checking everything out.
One question, I noticed that many apps (in fact, almost all) don't have a direct "Quit" or "Exit" command. So I'm usually pressing "back" or "home" when I'm done with something. This left me wondering though... when I use "back" or "home", does the app actually exit? From what I can tell, it doesn't... so does the OS automatically clean up these apps from time to time? I came from WinMo 6.1, and it was irritating that everything defaulted to running in the background. How does Android treat it? Is there something special in this regard with the HTC Sense UI? I've seen there are some third-party task manager apps you can get... are they worth getting? Or just "let the phone do it's thing" and i will be fine?
Thanks!
I use a Task Manager from the Market called "Taskiller." But I'm still trying to figure out how the Hero handles the apps because sometimes it gets sluggish and taskiller helps out but then theres other times when I have all sorts of apps open and it runs smoothly, lol, I guess it just works sometimes.
I wonder if it's like the iPhone, where it kills the task when you hit the "Home" button. It doesn't seem like it, as some apps seem to just come up instantly when go back in them, as if I was "switching" to them, and no re-opening them...
false_apology said:
I wonder if it's like the iPhone, where it kills the task when you hit the "Home" button. It doesn't seem like it, as some apps seem to just come up instantly when go back in them, as if I was "switching" to them, and no re-opening them...
Click to expand...
Click to collapse
No I dont think thats the case because Android has a special way of "Multitasking," though I'm not completely informed so you might have to research that on your own. But like I said download a Task Manager from the market so you can see how much available memory there is.
By default, Android applications never really "close" as their components can be called upon at any time. (Android applications are structured to be very modular, allowing individual components to be used from each.) When an application needs memory immediately, and another hasn't used it for a while, it shoves the old app into what's called swap space (presumably it's on your SD card) while the new one takes over. This is why you'll occasionally see a delay while performing a "hard" operation (like opening an app) while the system is under heavy load. That's the old app's memory getting written out to temporary storage and the other one taking it over.
At least this is my understanding of the situation.
From what I've heard Android (linux) does a much better job of managing the memory used by our apps. And, that we "...shouldn't have to use a task killer..." to close out apps that are running in the background, especially on our phones.
For instance, the myTouch 3G usually only gets about 20-30 MB of RAM freed after a full clean up of background apps, the Eris will have about 80+ MB after a cleanup and they both feel about the same to me.
I still use Task Panel to close my apps sometimes because I just like starting fresh in an app from time to time. Also if things start getting fishy (screen stuttering, touch screen not working properly) I'll kill all running apps to see if it fixes the problem which in some cases it just does not and a reboot is still required.
I have found that by holding the home key it will bring up all the apps so you can switch to the one that you want so it is still running them in the background.
refthemc said:
I use a Task Manager from the Market called "Taskiller." But I'm still trying to figure out how the Hero handles the apps because sometimes it gets sluggish and taskiller helps out but then theres other times when I have all sorts of apps open and it runs smoothly, lol, I guess it just works sometimes.
Click to expand...
Click to collapse
i use a Task application called Task Manager. It gives lists of all Applications running, all process and even has an uninstall feature. It also has a auto end application feature but on my eris it's greyed out(maybe Pro only?)
Here are a couple of links that I found on this subject. Don't mind that it says Hero in the thread title it talks about android phones in general. Also something to look into once we get the Eris rooted in the second link.
Task Managers and your Hero by romeosidvicious @androidforums.com
How to configure Android's *internal* taskkiller by androcheck @xda-developers.com

Problem with apps

Hi
I'm currently having problem with apps they are auto opening themselves.
Sometimes at startup when I open my open and use Helix/ADW all launcher manu apps are open automatically. It eats like 50MB of memory and battery.
And even while my screen turns off it opens app. I was sleeping and my screen is turn off/sleep and I check task panel it got apps open even the screen is lock.
Got No Idea on this. Why my apps are auto opening.
And do I need to debrand?
I just got a unit Unlocked
X10i
Baseband 1.0.14
Build Number R1FA014
Kernel 2.6.29-rel [email protected]#2
Do I really need to debrand?
Does it reset my phone and my settings/apps will be deleted?
TIA
It's not the X10, it's an Android thing.
Then how to get rid of this auto opening app? I never exp. this on 1.5 and 2.1 on my HTC Hero just on this 1.6
Get Automatic Task Killer or something similar, and set it to kill apps on open...if you find the apps opening affects your performance.
Also, if they're apps that sync with a service, make sure all syncing is off, or they'll keep coming up anyway, to try to sync with the cloud.
as a personal anecdote, once I stopped using task killers, the phone started running more stable and quicker.
So Task killers are not good?
I check my Task Panel once i boot my phone tons of APPS are open
Like Bluetooth file transfer
SMS Backup and Restore
Email
Alarm Clock
Calender
Settings Voice Dialer
It opens on startup.
seriously I just boot up my phone and use ADW Launcher and those open up automatically? what does those do? for startup? there are tons more like 25 apps on startup. This thing is not good since I'll do task killing always even the phone is screen off. My phone is opening Voice Dialer Handsent SMS even though i dont have message or calls received.
It's like every min or hour I'll do task killing it kills battery
Well, Alarm Clock has to be on, so it knows when to go off... If you don't have any alarms set, delete all the alarms that are in it.
Email is on by default, since it's a smart phone. If you don't have an account set up, email won't sync, and thus, isn't really doing anything. Calendar will attempt to sync with google if you set it up, but if not, again, shouldn't be doing anything. SMS will start to monitor for incoming SMSes. A lot of services start so they're there when you try to start them up. Basically, anything that has to sync to the internet to update will start automatically.
If things like Photoshop Mobile or a game or something start up, those should be killed.
Stand alone apps that don't access the internet should have no business starting up on their own.
Some people on here claim task killers are great and help a lot... some claim they do nothing. I'm torn, because the phone feels a bit faster than when I used the task killer everytime I unlocked the phone. If your phone is new, cycle the battery a few times, and let it 'break in' and, eventually, the battery life should improve.
Thanks. I'm just a little bit worried that I'm not aware that there are many task opening with me noticing or knowing it and use much battery as I do.
Some apps open automatically
I know that apps auto close ok , here's its invers..
Any how use some task killers frequently to kill them....
Or just unistall them
.....:thumbup:
................................................................................................
Can somebody help me? I am running my xperia x8 and as i know since i rooted and got myself new rom i was wondering why my games work slow but after a little research i found out that official Facebook app is working in background so i unninstaled but now my question is is there someone who has some facebook app non-official which i can run without the problems?
PS: Sorry if spam on this thread but i cant make new threads on this app (or i can but i cannot figure it out)
Sent from my X8 using xda app-developers app
gr3yh0und said:
Thanks. I'm just a little bit worried that I'm not aware that there are many task opening with me noticing or knowing it and use much battery as I do.
Some apps open automatically
Click to expand...
Click to collapse
Android works by loading EVERYTHING it can into memory, up to a threshold and then removes apps from memory if they're not being used and memory is required for newly initiated applications.
Some apps have a terminate and stay resident approach and are seen as 'services' and they just stay active no matter what. Email, Calendars and status bar and etc never leave memory cause they're all waiting for there big moment, an email, an appointment, a finger touch etc.
Using a task killer doesn't really do anything, cause as soon as you 'kill' the process and the moment there is available memory again the process will just return to active/inactive memory because that's the way Android memory processing works.
If you have root access you can delete/freeze system apps you don't require.
A 'slim' Android v2.3 ROM shouldn't have more than approx 110 system apps. Less that 95 if you're good.
gr3yh0und said:
I check my Task Panel once i boot my phone tons of APPS are open
Like Bluetooth file transfer
SMS Backup and Restore
Email
Alarm Clock
Calender
Settings Voice Dialer​
Click to expand...
Click to collapse
Most of the apps you listed are system apps and will, by their nature find there way into memory all the time. That's just how it is.
After a few hours of use many of the non-used apps will drop out of memory and others will take their place.
Loading applications into memory has a time and processing cost and so if it's already in memory, it's quicker to access.
However the Android system doesn't know your usage traits at start-up and that's why some less used system applications may be seem in memory until they're weeded out by those you do use. Again, nothing to worry about,
Using an XPERIA X10i with ~384MB of memory leaves little room for bloatware and thus a lean running machine is the order of the day for the XPERIA X10i.

[HELP] Trying to find a solution to apps running in background. Any way to stop them?

First of all, I KNOW THIS HAS BEEN BROUGHT UP BILLIONS OF TIMES, SO BEFORE YOU REPLY WITH "Search the forums" READ THIS.
I have been looking for WEEKS trying to find an answer to this,and no answer given on any forums are what I am looking for.
I have an android phone (sidekick 4g) and there are apps that run in the background when not necessary. Now I know some stuff need to be aways running for the phone to function. But I also know that apps like Facebook, Market, Gmail, T-mobile's Media Store, MyYearBook, Maps, Aptoide, etc don't. When I force close them, they just start up a few seconds later. I've tried task killers and got the same result. I've read the "Why you shouldn't use a task killer" articles but everyone keeps saying different things about it so I'm confused.
Like many others, I want my battery to last at least half way through the day. The above mentioned apps (and some others) DRAIN THE BATTERY WHEN RUNNING IN THE BACKGROUND WHEN I DON'T WANT THEM TO.
Please does anyone know of a way to fix this?
My phone is rooted, if that matters.
Also, "freezing" the apps don't help cause then I can't use them when I actually want to.
Thank you very much in advance anyone who can help me out!
magnoidgoat said:
First of all, I KNOW THIS HAS BEEN BROUGHT UP BILLIONS OF TIMES, SO BEFORE YOU REPLY WITH "Search the forums" READ THIS.
I have been looking for WEEKS trying to find an answer to this,and no answer given on any forums are what I am looking for.
I have an android phone (sidekick 4g) and there are apps that run in the background when not necessary. Now I know some stuff need to be aways running for the phone to function. But I also know that apps like Facebook, Market, Gmail, T-mobile's Media Store, MyYearBook, Maps, Aptoide, etc don't. When I force close them, they just start up a few seconds later. I've tried task killers and got the same result. I've read the "Why you shouldn't use a task killer" articles but everyone keeps saying different things about it so I'm confused.
Like many others, I want my battery to last at least half way through the day. The above mentioned apps (and some others) DRAIN THE BATTERY WHEN RUNNING IN THE BACKGROUND WHEN I DON'T WANT THEM TO.
Please does anyone know of a way to fix this?
My phone is rooted, if that matters.
Also, "freezing" the apps don't help cause then I can't use them when I actually want to.
Thank you very much in advance anyone who can help me out!
Click to expand...
Click to collapse
Applications running, doesn't mean cpu cycles are being used. Sitting in memory is no different then a song sitting on your sdcard. Your issue with the battery has to do with processes using cpu cycles. If you have applications that update, force updates manually.
Just having apps in memory isn't your issue.
Use the features built into the os, find out what apps are causing the problem. Look at the settings. If you have looked at your settings, then you have one of three choices. Open bugreports with the application developers, don't install the apps causing problems, or upgrade your phone.
lithid-cm said:
Applications running, doesn't mean cpu cycles are being used. Sitting in memory is no different then a song sitting on your sdcard. Your issue with the battery has to do with processes using cpu cycles. If you have applications that update, force updates manually.
Just having apps in memory isn't your issue.
Use the features built into the os, find out what apps are causing the problem. Look at the settings. If you have looked at your settings, then you have one of three choices. Open bugreports with the application developers, don't install the apps causing problems, or upgrade your phone.
Click to expand...
Click to collapse
Thank you that makes sense.
I would think those apps would use battery because it pushes notifications for the app (like new messages and stuff). Does that not use battery?
magnoidgoat said:
Thank you that makes sense.
I would think those apps would use battery because it pushes notifications for the app (like new messages and stuff). Does that not use battery?
Click to expand...
Click to collapse
It does use battery because to process the notification it needs to use the cpu. If you force applications to update manually. Your batter would be better. Check into battery saving tuts. All that information has already been discussed plenty. Won't change in this scenario either.
The more apps you have updating information the more data and notifications are being processed.
lithid-cm said:
It does use battery because to process the notification it needs to use the cpu. If you force applications to update manually. Your batter would be better. Check into battery saving tuts. All that information has already been discussed plenty. Won't change in this scenario either.
The more apps you have updating information the more data and notifications are being processed.
Click to expand...
Click to collapse
Thank you!
Also, I have another problem, if you know anything about this kinda stuff. The Facebook app icon just (like 10 minutes ago) disappeared from my home screen, and it's not in the app drawer either. I uninstalled and reinstalled and still having the problem. I can only open it by manually searching "facebook" in the google search widget and that's when it gives me the option to open the app. It's really bizzare and I have no idea what's going on.
Sent from my SGH-T839 using xda premium
magnoidgoat said:
Thank you!
Also, I have another problem, if you know anything about this kinda stuff. The Facebook app icon just (like 10 minutes ago) disappeared from my home screen, and it's not in the app drawer either. I uninstalled and reinstalled and still having the problem. I can only open it by manually searching "facebook" in the google search widget and that's when it gives me the option to open the app. It's really bizzare and I have no idea what's going on.
Sent from my SGH-T839 using xda premium
Click to expand...
Click to collapse
Sounds like a issue with the rom or launcher. Try installing another launcher from the market and see if the application is installed. If its there with another launcher then its your stock launcher, if its not then its the rom.
lithid-cm said:
Sounds like a issue with the rom or launcher. Try installing another launcher from the market and see if the application is installed. If its there with another launcher then its your stock launcher, if its not then its the rom.
Click to expand...
Click to collapse
Worked thank you!

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

Is an app killer what I need?

There are at least two apps (that I've noticed) which seem to act strange when I run them again after running them once. The strangeness vanishes if I go into recent apps, swipe the app away, then run it from scratch. I get annoyed at having to do this frequently. Would one of the many background app killers out there achieve the same effect automatically without me having to swipe the app away? Any recommendation for a killer I can restrict to just certain apps? Is there any setting on the s21 to say "never cache this app in memory"?
Claghorn said:
There are at least two apps (that I've noticed) which seem to act strange when I run them again after running them once. The strangeness vanishes if I go into recent apps, swipe the app away, then run it from scratch. I get annoyed at having to do this frequently. Would one of the many background app killers out there achieve the same effect automatically without me having to swipe the app away? Any recommendation for a killer I can restrict to just certain apps? Is there any setting on the s21 to say "never cache this app in memory"?
Click to expand...
Click to collapse
No offense but it sounds like the issue is with the apps and using an app killer to autokill the app is nothing more than band aid. The app killer would be yet another service that will run in the background using up your resources. I think you would be better off contacting the developer and see if they will allow you to submit logcats so they can fix the issue(s). This would help you and potentially help others as well. I would also see if there any alternative apps that can do the same thing.
aybarrap1 said:
No offense but it sounds like the issue is with the apps and using an app killer to autokill the app is nothing more than band aid. The app killer would be yet another service that will run in the background using up your resources. I think you would be better off contacting the developer and see if they will allow you to submit logcats so they can fix the issue(s). This would help you and potentially help others as well. I would also see if there any alternative apps that can do the same thing.
Click to expand...
Click to collapse
The most irritating one is the Chase mobile app. Attempting to contact the "developer" gets me chase customer service who wants to help me reinstall the app. Pleas to forward my mail to the actual developer are met with total incomprehension .
Okay. We might try going deeper here. Did the problem always exist or did it start randomly? If each one was working fine at one point it could be an update from the developer broke Apps. Did it start after an update to the app or the phone Rom?
Did you customize and/or disable the os or rom baked services/apps?
How long have you had the phone? Did you upgrade from android 11 to 12 and do a factory reset? Just some questions to see if there might be other root causes.
Everything is stock with all system updates from samsung applied. I'm pretty sure it started after an app update. The chase app insists "You are not connected to a network", but since I was just on chrome looking at web pages, that seems unlikely. It acts more like the app doesn't clean up everything correctly on exit, then if android keeps it around in memory, it has trash in uninitialized variables when starting back up again. I've gotten pretty good about swiping it away from recent apps, so even if they fix the bug someday, I'll probably keep doing it from reflex .
Have you looked at recent comments for the app on the play store? Are there similar complaints that started around a certain time? That would be a definitive indicator if it was an update issue.
I commented about it and since then 15 people have found my review helpful, so maybe that means they have the same problem.
Claghorn said:
I commented about it and since then 15 people have found my review helpful, so maybe that means they have the same problem.
Click to expand...
Click to collapse
Yeah...that is unfortunate. It looks like you may have to wait on the company and developer to fix it.

Categories

Resources