keep service runing - General Questions and Answers

Dears
After wishing a good day, i need to ask about how to keep some service runing after pressing clear all from stock recent apps
So the problem here is after cleaning apps from stock recent apps some service crashes and cant restart again till reopening the app

The Harmony Weaver said:
Dears
After wishing a good day, i need to ask about how to keep some service runing after pressing clear all from stock recent apps
So the problem here is after cleaning apps from stock recent apps some service crashes and cant restart again till reopening the app
Click to expand...
Click to collapse
Why not just stop using the "clear all" option, instead?
It is hard to say what might be causing this issue because you haven't provided any details about what kind of things you have added/changed/installed on your device. Are you rooted? Are you using apps that kill services to conserve RAM? Have you enabled any battery saver options? Are you using apps that keep background apps and services in a state of doze, sleep or deepsleep?
Details, we need details to understand what you've changed or added that could be causing this.
It might have something to do with other settings that you have setup on your device, settings such as the "don't keep activities" setting or some other setting or maybe it's some other app(s) that you have installed.
Sent from my LGL84VL using Tapatalk

Hi,
Yes iam rooted and using aosp extended custom rom android 9, so the problem i was facing was in parallel space app 64 support service that it crashes causing 2nd whats app notification error after using clear all from recent apps,, but after i have tried too many i found the solution for this issue is to exit from 2nd whats app using back button not home button so after using clear all from recent apps it still working and notifications works normally on realtime
Thanks in advance ??

Related

gps bug?

Dont know if anyone else has noticed this but has happened to me a couple of times now. If I start up an app that uses gps i.e speed test then when I quit out of the app the gps symbol remains in the notification bar flashing. I dont know how to get rid of it and have to reboot my phone. Any ideas guys?
Is it possible that your app is still running in the background even after you quit? Some apps do that.May explain why gps is still running.
Sent from my Nexus S using XDA App
Hi. Yeah thats a possibility and have been thinking it through. Take for instance speed test, it has no exit key so you have to quit out of it by either clicking back or home. Maybe that is where the bug lies and its nothing to do with my nexus.
One other question I have if you could help me out is about multitasking. Say if I hit the home button when an app is running it still runs in the background. How long does it do this for with out resorting to using an task killer or similar?
Cheers
rob77 said:
Dont know if anyone else has noticed this but has happened to me a couple of times now. If I start up an app that uses gps i.e speed test then when I quit out of the app the gps symbol remains in the notification bar flashing. I dont know how to get rid of it and have to reboot my phone. Any ideas guys?
Click to expand...
Click to collapse
This problem is not unique to the Nexus S. I actually haven't seen it on the NS (yet), but I see it routinely on my SGS i9000.
You should be able to easily get rid of it by just turning on and off the GPS with the Power Control Widget. No need to reboot. Turning on and off Location Services in Settings screens for the phone should also do it for you.
Thanks ill try turning it off using the location settings next time it happens. I did try with the widget but when i turned it back on it returned and was still there.
rob77 said:
Hi. Yeah thats a possibility and have been thinking it through. Take for instance speed test, it has no exit key so you have to quit out of it by either clicking back or home. Maybe that is where the bug lies and its nothing to do with my nexus.
One other question I have if you could help me out is about multitasking. Say if I hit the home button when an app is running it still runs in the background. How long does it do this for with out resorting to using an task killer or similar?
Cheers
Click to expand...
Click to collapse
From my VERY limited experience, some apps stop running as soon as you press home screen (e.g. website/forum apps), some you need to specifically exit the app (if there is an exit option), and then there are others that stay running until you force stop it. Seems like it depends on the design (or mis-design) of the app.
You can view what apps are still currently running under Manage Apps. You can also manually stop those processes there if need be.
Hope this helps.
Thanks. I've tried looking under manage apps/running apps before but the task I think the gps bug is coming from is never listed in there. Infact not a great deal gets listed in the standard gingerbread applications settings. Games that I know are still running in the background dont get listed either for some reason.

[guide]Package Installer will not install apk's - Cancel works but not Install button

I practically ran into the same problem as outlined above. Since googling for this issue was not straightforward, I thought it wise to make the answer to this issue into a micro-guide.
I can no longer install apps (apk's) from the Amazon App Store, or from downloaded apk files, but the market works fine.
I am not rooted, and I am still running 3.2 (US). This started in the last few days, but I can't think of anything that I have done.
I cold booted, but I still get the same results; The install dialog box comes up with the options at the bottom "Install" or "Cancel", however, install does nothing, the window is active because you can press "Show All", or "Cancel" and those do work, but not "Install". I can't think of anything that I have overlooked.
Any Ideas?
Click to expand...
Click to collapse
http://www.transformerforums.com/fo...-package-installer-will-not-install-apks.html
The most a) likely solution comes in the form of b) security applications interfering with the installation, c) package incompatibility with the device or screen filter applications used to lower the device's brightness below the minimal limit of the Brightness settings.
In my case it was the application "Lux" which was to blame. Thus make sure to untick "stay alive in the "generals" option menu. And kill the Lux app. Now installation proceeds unhindered. Avast was not at fault. So don't freak,- often the solutions are trivial - finding the answers isn't.
Thanks to anyone who contributed in the original thread and to xda.
Oh man, thanks for this! For me, it was the app 'Screen Adjuster' that was blocking apps from being installed. I turned that off, and I finally have an ad blocker again!
Droid Razr xt910 for the record.
Re: Install apk problem - install button not working
billyhoyle13 said:
Oh man, thanks for this! For me, it was the app 'Screen Adjuster' that was blocking apps from being installed. I turned that off, and I finally have an ad blocker again!
Droid Razr xt910 for the record.
Click to expand...
Click to collapse
Re: Install apk problem - install button not working
If not already done:
Settings -> Apps -> All -> Package Installer Clear Cache & Data, Force Stop, reboot. If this doesn't work repeat, but reboot into recovery and wipe the cache partition.
Still having issues try AppInstaller. Still having issues, there must be a bad system app (frameworks?) that needs clearing and force closed.
100% work
Thank you so much! I was about to tear my hair out in frustration! I had tried everything! But this never occured to me.
I had this inssue too. It's problem with apps which work in background and creating some overlay elements. Disable all this apps and than you can install normally. I had this problem on P.A.C. Rom, after addition of HALO
Sorry for my bad english
Was having trouble installing APKs. The 'install' button was not working. Turning off halo fixed problem.
Another app causing the issue
Velis Auto brightness.
Too bad, because I liked this app. If anyone knows of an app like that that does not cause the issue, I would appreciate the name.
Zarlof
Zarlof said:
Velis Auto brightness.
Too bad, because I liked this app. If anyone knows of an app like that that does not cause the issue, I would appreciate the name.
Zarlof
Click to expand...
Click to collapse
Thanks deleted the velis brightness and it worked on my Xperia sp
thanks. this happened to me as well. stopped using one of the brightness apps and its back to normal.
I have the same problem, but I have no programs listed.
I tried to disable the automatic brightness control Sony, the Sony Bravia mode, the interactive lockscreen (DashWidget) LightFlow, ....
But it's the same
I can not find what apply blocks installation
softbuttons light did it
[email protected] said:
I have the same problem, but I have no programs listed.
I tried to disable the automatic brightness control Sony, the Sony Bravia mode, the interactive lockscreen (DashWidget) LightFlow, ....
But it's the same
I can not find what apply blocks installation
Click to expand...
Click to collapse
Removing softbuttons light from domenico Messina resolved my problem.
It's Obvious that you have to look for a installed app that does something with youre screen.
succes
For me it was Zulu's Droidmote server
Sent from my SCH-I815 using xda app-developers app
My was the Easy Eye. It overlays screen element to minimize blue LED.
For me it was JuiceDefender Ultimate. I turned off its brightness control function and I could install apk's. That's odd. After installation I turned it on again, because this function is doing a good job and I love JuiceDefender.
However, thank you for your guide! :good:
unable click install button solved.
Thanks, it worked for me. I was using NIGHT MODE application. After i'm closing that app i'm able to install apk. Thanks a lot.
same here
same her but my problem is different I brought Micromax canvas HD in June 2013 and after November in this phone first the android launcher was removed automatically but it was showing in installed apps list I tried all thinks in manage applications I saw that it has been updated and I clicked on uninstall updates but nothing I even cleared data of launcher but nothing same with file manager ,camera,equaliser and now even settings and package installer has been removed I tried to root but it was taking too long for selecting an option and bcoz the system apps removed some apps are crashing like system UI ,instagram and whatsapp
what should I do??
---------- Post added at 07:20 AM ---------- Previous post was at 07:13 AM ----------
same her but my problem is different I brought Micromax canvas HD in June 2013 and after November in this phone first the android launcher was removed automatically but it was showing in installed apps list I tried all thinks in manage applications I saw that it has been updated and I clicked on uninstall updates but nothing I even cleared data of launcher but nothing same with file manager ,camera,equaliser and now even settings and package installer has been removed I tried to root but it was taking too long for selecting an option and bcoz the system apps removed some apps are crashing like system UI ,instagram and whatsapp and when I click on an apk file it say 'no suitable app found'
what should I do??
Many thanks for the solution had a similar problem
wow
xamtra said:
Thanks, it worked for me. I was using NIGHT MODE application. After i'm closing that app i'm able to install apk. Thanks a lot.
Click to expand...
Click to collapse
Thanks for this insightful post OP! I never would have thought something this simple could cause this problem. Night Mode was causing the same issue for me as this guy.
Thank you so much!
I'm having the same problem since the KitKat update, but I don't know what could be causing it. Please help

[Q] Background processes killed since Lollipop update?

Hi there,
since the update to Android 5.1 and EMUI 3.1 some services like Whatsapp wont work properly.That means for me:
- Push notifications from Whatsapp and Snapchat will only arrive, when I open the app -> sometimes, when I close the app from the task manager or leave it over the night
- Whatsapp forgets the names of my contacts and only shows the numbers (some background service not running?) -> fixable by "updating" the contacts through Whatsapp. Happens at least 5 times a day, even when I'm not closing Whatsapp through the taskmanager.
Every permission I could find is activated, I guess it's some kind of automatic battery saving, which I'm unable to find.
Thank you very much,
Julian
I used to have that problem as well after updating my Honor 6 to EMUI 3.1 based on Lollipop 5.1.
Updating WhatsApp to version 2.12.278 (link in the FAQ section in the official website) seems to improve. However I still have another problem which could not be resolved, I could not change the notification sounds.
gammaanimal said:
Hi there,
since the update to Android 5.1 and EMUI 3.1 some services like Whatsapp wont work properly.That means for me:
- Push notifications from Whatsapp and Snapchat will only arrive, when I open the app -> sometimes, when I close the app from the task manager or leave it over the night
- Whatsapp forgets the names of my contacts and only shows the numbers (some background service not running?) -> fixable by "updating" the contacts through Whatsapp. Happens at least 5 times a day, even when I'm not closing Whatsapp through the taskmanager.
Every permission I could find is activated, I guess it's some kind of automatic battery saving, which I'm unable to find.
Thank you very much,
Julian
Click to expand...
Click to collapse
you need to set your apps to be protected at Settings -> Protected apps to prevent them to be closed automatically by the system
hope it helps
bazsa999 said:
you need to set your apps to be protected at Settings -> Protected apps to prevent them to be closed automatically by the system
hope it helps
Click to expand...
Click to collapse
I have Honor 6 too, don't updated till now. And i have another phone with Android 5.1 with same problem. Is there any third party App like "protected Apps" from Huawei? I don't have any chance do get my backgroundservices running, that unbelievable :crying: who decided this? The Charwoman? I mean, android without backgroundservices = no mor messages in lock screen.
And when i leave app open, battery usage is 4x stronger then background service....
I have runkeeper protected and still after about 1h of usage it simply stops with no errors...
I'm on an early version of DEV (rom), I think I'm going the "stable" route next.
freakzoide said:
I have runkeeper protected and still after about 1h of usage it simply stops with no errors...
I'm on an early version of DEV (rom), I think I'm going the "stable" route next.
Click to expand...
Click to collapse
I have the exact same issue, came across this thread looking for answers. RunKeeper (and I assume any other app as well) is simply killed after about 1 hour. I usually use my phone during walks, to for example take pictures, answer chat messages and whatnot, so I thought the issue could be that I was out of memory and that is why it closed the app. To get to the botton of it, I tried the following steps:
- Reboot the device
- Clear everything from the multitask menu
- Make sure RunKeeper is set as a "protected app"
- Start RunKeeper, begin an activity
- Keep the app open, i e not going back to home screen or opening any other app
- Waking the screen every 5 minutes or so to make sure it doesn't go into some deep sleep mode
Result? After about 1 hour, when I pick up the phone and unlock it the RunKeeper process is simply gone, killed by the system. By the way, for me it's a Huawei Mate S device, but this seems to be an EMUI issue. I'm on EMUI 3.1 (B145 europe, official release). Just thought I'd chip in. This is annoying to the point of being a dealbreaker to ever getting another Huawei until I can confirm it's fixed.
I have this problem constantly. I installed an app called "pnf no root" but it also helps temporarely. I really like my honor 6 [ h60-L12] but this is a really annoying problem. I realize that huawei doing this save battery power, but this is ridiculous. What's the point of protecting the apps if it doesn't do anything in the first place ?
ibnturab said:
I have this problem constantly. I installed an app called "pnf no root" but it also helps temporarely. I really like my honor 6 [ h60-L12] but this is a really annoying problem. I realize that huawei doing this save battery power, but this is ridiculous. What's the point of protecting the apps if it doesn't do anything in the first place ?
Click to expand...
Click to collapse
Hi, I have the same problem with my Honor6 [h60-L04C900B521]. I talked with technical support and they told me to install an application locking the GPS signal . Check if it works with Endomondo + GPS Connected app but this can only fix the endomondo problem I hope.
Edit. 10.04
Unfortunately this application do nothing. Endomondo was kill after 1 hour running. Anyone have idea what to do with this?
Edit 11.05
Finally after update to marshmallow there is one option to keep endomondo while workout. Under battery in right-up corner there is settings icon and there is option "close excessively power intensive apps running in the background" this option actually works fine.
Android 6 B820

How to keep Apps running in the Background?

Hi everyone, ever since the update, my apps stop running in the background when I close the app. Example: I don't get Whatsapp notifications anymore unless I open the app and keep it open. If I close all open apps, I will no longer receive any of the notifications for any of them.
I went into the battery settings disabled battery saver mode but that didn't do anything.
I would appreciate any help you could provide.
DominionChamber said:
Hi everyone, ever since the update, my apps stop running in the background when I close the app. Example: I don't get Whatsapp notifications anymore unless I open the app and keep it open. If I close all open apps, I will no longer receive any of the notifications for any of them.
I went into the battery settings disabled battery saver mode but that didn't do anything.
I would appreciate any help you could provide.
Click to expand...
Click to collapse
It's apparently one of the issues with the latest OTA update, where closing all running apps will terminate the background processes associated with the apps closed. Prior to the update and the Close All button being added to the recent apps list, I don't think it had this problem (I don't use Whatsapp, but my Skype and Discord notifications still come through even if I don't have them on my recent apps list).
This is a little frustrating. Noticed that I wasn't getting any notifications from tasker, pushover, textra, hangouts, inbox and etc.
Also noticed that pushover will not update unless it is off of wifi. All my other devices receive notifications on this wifi. IE nothing blocked.
I have had to open all the programs that I want to receive notifications from, open. Not the best work around.
J
I noticed that on occasion there will be small text under the new button that says "long press to set up apps that could run in the background" I do it but it doesn't seem to do anything, maybe free up some of the RAM but that's about it. I'm wondering if there is a bug and if it's supposed to show something.
Has anyone else tried the long press?
As of now all I do is keep a folder on the desktop labeled background apps. It helps big time when I accidentally tap the close all button. But my solution as of now is to keep things open that don't seem to work in the background. I've been experimenting with what works and it seems like in some recent app updates they begin to work without being open. I know for sure that facebook and now facebook messenger work without being open, as well as some google services. I have a memory clearer app that I use when I'm not using my phone so it clears whatever it can without killing the apps. But that's what I have as of now, trial and error to figure out what I need to leave open and what I can close. And I strongly recommend the folder, I have had many times where I accidentally close everything and forget what I had to leave open.
It's a bummer though, I just bought the phone and then this update came out. Kinda kills the excitement of getting a new awesome phone if I have to deal with this frustration :/ Other than that, it's definately a nice step up from a Samsung S4.
Jmoore4 said:
I noticed that on occasion there will be small text under the new button that says "long press to set up apps that could run in the background" I do it but it doesn't seem to do anything, maybe free up some of the RAM but that's about it. I'm wondering if there is a bug and if it's supposed to show something.
Has anyone else tried the long press?
As of now all I do is keep a folder on the desktop labeled background apps. It helps big time when I accidentally tap the close all button. But my solution as of now is to keep things open that don't seem to work in the background. I've been experimenting with what works and it seems like in some recent app updates they begin to work without being open. I know for sure that facebook and now facebook messenger work without being open, as well as some google services. I have a memory clearer app that I use when I'm not using my phone so it clears whatever it can without killing the apps. But that's what I have as of now, trial and error to figure out what I need to leave open and what I can close. And I strongly recommend the folder, I have had many times where I accidentally close everything and forget what I had to leave open.
It's a bummer though, I just bought the phone and then this update came out. Kinda kills the excitement of getting a new awesome phone if I have to deal with this frustration :/ Other than that, it's definately a nice step up from a Samsung S4.
Click to expand...
Click to collapse
does it misbehave after rebooting? or all the time?
sensorsweep said:
does it misbehave after rebooting? or all the time?
Click to expand...
Click to collapse
Misbehave as in not show anything after a long press?
Yes, nothing happens anytime I try it. After reboot, the first time I pull up the running apps is when I get the prompt. After the first long press after a reboot, the prompt is gone. If I have an app open and then I do the long press, I am taken back to the desktop, but no matter what I try, nothing seems to happen after the long press other than being taken back to the desktop if I had an app open.
I have the same issue, I thought it was a Internet connection issue (see my thread) but after digging deeper realised my background apps werent running after closing them and the long press option does nothing.
I have the same problem. Any solution?
MatisasB said:
I have the same problem. Any solution?
Click to expand...
Click to collapse
I've just installed the new update and it looks like the issues I had with background apps closing when clearing all apps has been fixed. I've got no apps running in the foreground yet can see Whatsapp, Fitbit, etc still running and I'm receiving notifications for them.

How to prevent from stopping background processes

Hello, (sorry for my english ) I have a Samsung Galaxy S8 plus SM-G9550 and I would like to know how I can prevent the system from stopping important processes running in the background, since the widgets can not be used without manually activating the app to which the widget belongs. Don´t Synchronize the weather widgets for example, also applications widgets to record or play audio, only work a few minutes after application was manually opened and then stop working, also close streaming applications running in the background as "radiocut" . I already tried everything, even removing the apps from the energy saving settings, I put those applications in the list of apps without supervision of the power monitor and still do not work, only work for a few minutes and then the system stops the process, Could you help me solve this problem?
Thank you very much
You can't really stop the S8 from killing processes. It has very bad memory management and constantly kills processes and running apps. It's very annoying.
jorgemackay said:
Hello, (sorry for my english ) I have a Samsung Galaxy S8 plus SM-G9550 and I would like to know how I can prevent the system from stopping important processes running in the background, since the widgets can not be used without manually activating the app to which the widget belongs. Don´t Synchronize the weather widgets for example, also applications widgets to record or play audio, only work a few minutes after application was manually opened and then stop working, also close streaming applications running in the background as "radiocut" . I already tried everything, even removing the apps from the energy saving settings, I put those applications in the list of apps without supervision of the power monitor and still do not work, only work for a few minutes and then the system stops the process, Could you help me solve this problem?
Thank you very much
Click to expand...
Click to collapse
I think you have to turn off the app from Battery Optimization. Try Settings; Apps; touch the three DOT menu on the right corner, select Special access; Optimize battery usage; on the top left select "All apps" by default it shows "Apps not optimized" and Turn off Battery Optimization from the app you want to keep running... Let see if it works...
dhorgas said:
You can't really stop the S8 from killing processes. It has very bad memory management and constantly kills processes and running apps. It's very annoying.
Click to expand...
Click to collapse
Like Emby, when you're in the middle of casting
disturbd1 said:
Like Emby, when you're in the middle of casting
Click to expand...
Click to collapse
I don't know is what that means.
In device manager under battery there is the ability to add apps to the whitelist so the device manager won't stop them.
ShrekOpher said:
In device manager under battery there is the ability to add apps to the whitelist so the device manager won't stop them.
Click to expand...
Click to collapse
This doesn't work. The issue is with memory management on the device. It's pretty well documented in a few places on XDA already and is by no means a new problem for Samsung. It has gotten a lot worse since Samsung started moving to Nougat though.
Can you give a reproducible scenario?
The original post already mentioned that he already removed the apps at battery optimization.
Sent from my SM-G955F using Tapatalk
lopri said:
Can you give a reproducible scenario?
Click to expand...
Click to collapse
Open 6-8 apps, in my case phone, messages, email, browser with 10 tabs, BBM, calendar, Nine Email, and Slack and watch the phone shut down apps on its own even if they are removed from all optimization features. It sometimes takes a few hours, other times it's quicker, but sooner or later the phone just shuts down apps on its own. Most of the time it kills the phone app and messages first. Then all the browser tabs go into refresh mode.
dolbylogic said:
I think you have to turn off the app from Battery Optimization. Try Settings; Apps; touch the three DOT menu on the right corner, select Special access; Optimize battery usage; on the top left select "All apps" by default it shows "Apps not optimized" and Turn off Battery Optimization from the app you want to keep running... Let see if it works...
Click to expand...
Click to collapse
Nobody else responded to this, but it seems to work for me.
I am a j7 pro user, android 7. I have tried all the oprions mentioned here but those are of no use. problem is getting worse day by day. desperately need a solution.
adattabd said:
I am a j7 pro user, android 7. I have tried all the oprions mentioned here but those are of no use. problem is getting worse day by day. desperately need a solution.
Click to expand...
Click to collapse
I suggest the J7 forum section then, this post hadn't been touched for a year.
iworkout said:
Nobody else responded to this, but it seems to work for me.
Click to expand...
Click to collapse
It worked for me too.
I had an Galaxy S6 and used to sync FolderSync with an FTP account.
After migrating to Galaxy S8+ FolderSync doesn't work anymore.
It does sync once while the app is opened and after that it stops syncing, no matter if it is closed not.
Removing Battery management for FolderSync app makes syncing to stay running in background even with all apps closed.
Thanks!

Categories

Resources