Prevent app from being killed (telegram) - Moto G Power Questions & Answers

Dear all,
I own a Moto G8 Power Lite.
It keeps killing telegram, even if I disable "Battery optimization" (that used to be active).
Is there anything else I can do to keep the app running?
The current behaviour is crystal clear: I don't receive any message, until I open the app and -voilà!- as soon as it is loaded, I get all the messages never received in the meanwhile! The app seems to be killed in a few hours.
Thanks for your help!
MJ

I realise the question was posted months ago, but if anyone still wants the answer. Then have a look here Don’t kill my app! | Hey Android vendors, don’t kill my app! . I believe if you download the app it will make it more personalised to you device.
Application link: DontKillMyApp Make apps work - Apps on Google Play

Related

[Q] There are Apps in the background

Dear Friends!
Glad to be here today (after 2 days! )
My dear Streaker is here!!
As the norm is, I have been busy tinkering with the stock material for couple o days, and I will continue to do so for some more time!
___________________________________________________________
Query: There are too many apps running (background) all the time!! I kill them, they resurrect!, How to do away with that?
Solution applied: Used Advanced task killer (but, apps resurrect!)
Another Solution tried: In Settings>Account & Sync settings> Unchecked Background data and Auto sync options. (Now, they dont connect to the net, but, they still restart!!)
Another Solution: Force close (from Manage apps) .. (Still same issue!)
Now, How can I tell the apps to come up only when I call them!?
(And some other apps I want to schedule them to come up every hour or so.. like my Gmail/FB)
____________________________________________________________
And, So far has been amazing experience!!
The screen is football field sized!! (Monster! yikes Scooby!)
Digging up all old posts to read some problems faced by new users..
Current hobby: Market and apps.
Future hobby: Roms and Flash!
Thank you all for your help!
care,
Sony.
Welcome to the cool kids club! I'm in a somewhat similar situation, I got my streak just before the massive snowstorm hit. Some of those apps need to be running... if you close some of them you may not get updates/notifications, or you can shut down your phone/data connection, or lose the use of multitouch.
Sent from my Dell Streak using XDA App
from what i understand, froyo is really good with resource management and there is no need to constantly kill processes or apps, its best to just leave them unless your streak is slow like a snail
Telal said:
Welcome to the cool kids club! I'm in a somewhat similar situation, I got my streak just before the massive snowstorm hit. Some of those apps need to be running... if you close some of them you may not get updates/notifications, or you can shut down your phone/data connection, or lose the use of multitouch.
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
Lose multi touch!
How?
@rptw
So, It wouldnt really matter if there are apps running in the BG, and they start by themselves too!?
care,
Sony.
well in terms of the laws of nature (in most cases) stuff doesnt happen spontaneously so i think its safe to assume that your app that "started by themselves" were probably opened somehow either by you directly or indirectly by something else. if, however, you have a large number of apps that have started that you dont recall opening, maybe something is wrong with your software and you shouldnt try to cover the problem with a task killer.
So, what next!?
rptw said:
well in terms of the laws of nature (in most cases) stuff doesnt happen spontaneously so i think its safe to assume that your app that "started by themselves" were probably opened somehow either by you directly or indirectly by something else. if, however, you have a large number of apps that have started that you dont recall opening, maybe something is wrong with your software and you shouldnt try to cover the problem with a task killer.
Click to expand...
Click to collapse
So, Now, can you or other guys here please suggest how to go to the "root" of this problem!?
Ok.
Look, these apps are open right now!
Voice Search
Email
Messaging
Maps
Astro
Assistant free​
I use the Adv Task Killer free.
(It says 7 apps killed and 180 MB free)
I open Adv task killer after 5 seconds.
and these apps are running!
Email
astro
Voice Search
Assistant Free​
and I am sure, If I wait for some more time, the other apps will join in too!
(Now it says, 3 Apps killed, 171 MB free!!)
care,
Sony.
have you tried using the stock app manager and killing the apps there? i just checked my phone and i have the same apps under the running tab using the stock manager, i think email and messaging are always running since you have push features on them, in terms of the others im not sure. whats so bad about email and messaging running anyways? im sure you use them often enough to not want to have to open and close them right?
Hey, you posted the same question over at Pocketables forum.
As stated earlier, 2.2 is really good at managing back ground tasks.
I can tell you if you use a task killer and you have a problem with an APP, which currently you do not, the programmer for the app probably will not help you till you remove the APP killer program.
What you might try to do is run though your menus and see what you have selected to run, such as locations and sync services and disable what you can. Also if you do not want some thing running, you may want to just uninstall it. I do understand that you want some programs but you only want them to run when you ask, not sure how to tell you to handle that.
But, are you seeing any difference when you have the background tasks disabled. Try to find the APK for the programs and rename them just to see if you have any issues.

[Q] Killed app keeps reappearing

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.

[MOD][XPOSED] Prevent Running

I have a forked update, Brevent, which doesn't require Xposed, nor root, nor unlock bootloader.
You can find it here: https://forum.xda-developers.com/android/apps-games/introduce-brevent-black-prevent-root-t3559151
Prevent Running was transfered to "Shanghai Falcon Network Co., Ltd." since 2.3.3.
This module was written for my GF, and accept donations.
Address: http://repo.xposed.info/module/me.piebridge.forcestopgb
How prevent running works?
After go deep in the android source, i find it uses flag when sending broadcast, so I hijack the IntentFilter's match.
And for other action, like force stop, launch activity, exit activity, I hijack them too.
So if any package is force stopped, it won't accept any intent filter...
However, i let input method, app widget, and laucher go.
- app widget, otherwise reboot is needed to show a widget in the widget chooser.
- configuration changed, otherwise cannot change lanugage
- account, otherwise sync and account won;t work
When the activity is launched, it can receive broadcast again..
When the activity exits by back key, it won't receive intent again, this function is added to android's feature.
So if you want to keep it running, please use home key instead.
And all the feature works for system package too, but the system package must have launcher.
Otherwise, if you still force stop it, it will cause FC (I suggest you use pm disable to do so).
Latest testing version: http://piebridge.me/pr/
Change Logs
for english version: please visit: http://piebridge.me/pr/CHANGELOG.en.txt
for chinese version: please visit: http://piebridge.me/pr/CHANGELOG.txt
First.
GB users will happy.
Good Work sir !
Will test it ASAP .
so by activing this module, after i click Force stop, in GB, will be the same like Hibernating with greenify ? :laugh:
lovely thanks, i hope this can make my old ace duos come back to life thanks liudongmiao bro
liudongmiao said:
This module is written for my GF, and accept donations.
// Normally, I don't accept any donation for most little project.
Address: http://repo.xposed.info/module/me.piebridge.forcestopgb
For GB user, there is no greenify, and there is no change to back-port.
1). greenify depends system's launch control (http://developer.android.com/about/versions/android-3.1.html#launchcontrols), which introduces in 3.1
2). greenify is not opensource, also the author and i live in the same country, even in the same city, however, he doesn't open source it.
How prevent running works?
After go deep in the android source, i find it uses flag when sending broadcast, so I hijack the IntentFilter's match.
And for other action, like force stop, launch activity, exit activity, I hijack them too.
So if any package is force stopped, it won't accept any intent filter...
However, i let input method, app widget, and laucher go.
- input method, otherwise reboot is needed to show a input method in the input method chooser.
- app widget, otherwise reboot is needed to show a widget in the widget chooser.
- launcher, otherwise there is no chance to start the activiy.
- view for system's package, otherwise it will cause FC. For example, if you force stop browser, and user want to visit a link, it should receive the broadcast.
When the activity is launched, it can receive broadcast again..
When the activity exits by back key, it won't receive intent again, this function is added to android's feature.
So if you want to keep it running, please use home key instead.
And all the feature works for system package too, but the system package must have launcher.
Otherwise, if you still force stop it, it will cause FC (I suggest you use pm disable to do so).
Click to expand...
Click to collapse
Please give screenshot and your battery life before and after installing this module
Sent from my GT-N7100 using Tapatalk
Was looking for Greenify for GB from long...
Can somebody review this app? Is there any shortfall of this app in comparison with Greenify (as user, don't understand technicality )
I tried this yesterday on google play services app and it worked fine. I can't see it in running services, so i can say (but not sure for other apps) its working :good: Hatsoff @liudongmiao your GF must be very proud of u if she's a geek :silly: One question: If we stop for example hangouts app, will we receive messages as usual??
swat4samp said:
I tried this yesterday on google play services app and it worked fine. I can't see it in running services, so i can say (but not sure for other apps) its working :good: Hatsoff @liudongmiao your GF must be very proud of u if she's a geek :silly: One question: If we stop for example hangouts app, will we receive messages as usual??
Click to expand...
Click to collapse
It shouldn't receive any broadcast, and never running, so you coun't recive messages.
Can you add a UI when you can choose apps to hibernate (like Greenify) and force stop them one by one?
BTW, this mod is superb...
Sent from my Xperia E1 dual using Tapatalk
1. Love doesn't need any reason.
2. Wanna speed up 3G (not 4G LTE)?
Here it is:
http://forum.xda-developers.com/showthread.php?t=2586876
3. My blog
4. Press the thanks button if I really helped/assisted you.
???? amazing , thanks so kmmuch
Enviado desde mi HTC One mediante Tapatalk
Hi all,
i installed this fantastic module. It work partially. Problem is when i exit aplication on back key application is still running. Where i am wrong? @liudongmiao
nikola1970 said:
Hi all,
i installed this fantastic module. It work partially. Problem is when i exit aplication on back key application is still running. Where i am wrong? @liudongmiao
Click to expand...
Click to collapse
No, nothing is wrong.
When you use back key to exit the application, the application won't receive any broadcast, however, the application will be cached, so the next time you open it, it will be opened very quickly. But before you open it again, it won't receive any broadcast.
However, if you want to the process be stopped, you can force stop it.
liudongmiao said:
No, nothing is wrong.
When you use back key to exit the application, the application won't receive any broadcast, however, the application will be cached, so the next time you open it, it will be opened very quickly. But before you open it again, it won't receive any broadcast.
However, if you want to the process be stopped, you can force stop it.
Click to expand...
Click to collapse
I observed this behaviour only with play services. For other apps, its working fine. So basically there's no much diffrnce between freezing and this except for application caching right? If we stop mms, do we still receive sms? A UI would be useful to look which apps are stopped and which are not. Great work man :good: BTW xposed for gb isn't updated yet. Any reason?
swat4samp said:
I observed this behaviour only with play services. For other apps, its working fine. So basically there's no much diffrnce between freezing and this except for application caching right? If we stop mms, do we still receive sms? A UI would be useful to look which apps are stopped and which are not. Great work man :good: BTW xposed for gb isn't updated yet. Any reason?
Click to expand...
Click to collapse
I don't know what's freeze, it doesn't seem to be a android's function.
As i said in the description, it doesn't force stop any application, but prevent sending broadcast to force stopped application.
For caching, it's a feature added to android's design.
For android's native design, when you start the application, it will be removed from the stop list until you force stop again.
But for me, i think its too complex to stop it, so i catch the finish, and if it's exited by finish, it will be added to the stop list.
// but it's in the cache processing list. so if you want to force stop it. this little design is useful for me to open a application temporary.
So if you stop the mms, i don't know whether you will receive or not.
The mms should be the core services of the android, i don't think you can force stop the services...
And i didn't forbidden the open the activity from the service, otherwise, it will cause FC of the application.
As i'm very busy, and an UI will take me some time. So there is no ui currently.
However, for the list, you can open the /data/data/me.piebridge.forcestopgb/conf/forcestop.list
For the xposed and other back-ported's module, it's not updated just because i'm too busy, and sometime too lazy .
You can read the description here: http://repo.xposed.info/module/me.piebridge.forcestopgb
And if you want to know more about the tech, you can read google's documetation: http://developer.android.com/about/versions/android-3.1.html#launchcontrols
thanky you for answers @liudongmiao
when i prevent Viber from running, when i start Viber, it starts but when you tao on some conversation it gives me force close. is this know bug?
Can we remove this setting simply by editing in config list (changing to false)?
Edit: I changed gms app to false and then opened the app to check which worked fine (i can see many running process in ram) and then i checked the list and it showed only that app in list. Is it alright?
Sent from my GT-S5670 using Tapatalk 2
swat4samp said:
Can we remove this setting simply by editing in config list (changing to false)?
Edit: I changed gms app to false and then opened the app to check which worked fine (i can see many running process in ram) and then i checked the list and it showed only that app in list. Is it alright?
Sent from my GT-S5670 using Tapatalk 2
Click to expand...
Click to collapse
true or false has special meaning.
true indicates this app is in the stopped list, and no broadcast would be send to the application.
false indicates this app has been marked in the stopped list, and when use back-key to exit, it would be in the stopped list.
I will write a simple ui, after the back-porting of xposed installer (completed), xprivacy (completed), and app settings (in to do).
im following this thread closely,and i want to test somethings,but before i do so,i have some questions.
the most important one its regarding about using this module along with greenify,what settings do i have to set in order to achieve the best of both apps,and then have a better experience.
Thanks.
kalel29 said:
im following this thread closely,and i want to test somethings,but before i do so,i have some questions.
the most important one its regarding about using this module along with greenify,what settings do i have to set in order to achieve the best of both apps,and then have a better experience.
Thanks.
Click to expand...
Click to collapse
As I have no ics+ devices, so i cannot say much things.
And if you want to try, you can wait for some days, I would write a simple configuation ui this weekend.
In short, if greenify works on your device, then just use greenify. But if you find greenify doesn't work at all, then try this one.
From design, greenify depends on http://developer.android.com/about/versions/android-3.1.html#launchcontrols introduces in android 3.1, this app hacks some api to emulate the launch controls. This works on gingerbread devices, and the devices that launch controls don't work at all.

Limit app background data for Google Play Services - Push notifications does not work

Hi all,
I'm still investigating on my battery drain problem apparently related to Google Play services (here a dedicate thread on which I described it: https://forum.xda-developers.com/oneplus-3t/help/google-play-services-battery-drain-t3537545 ).
Summing, all things for now are pointing to one, and not so positive, thing: Mobile radio active bug (here more details: https://code.google.com/p/android/issues/detail?id=190396)
After the little introduction, here comes the more general part.. I've found that using the WiFi connection my drain problem is totally gone, more than this, I see that Google Play Services exchanged a lot of background data when I am using mobile data (2G/3G/4G) .
Due to this I tried, from the Google Play Services app settings, to active the "Limit app background data" option and with my pleasure I saw that this was fixing my drain problems also with mobile data!
"All fantastic!" I said.. not at all, doing this I saw that I lost push notifications while receiving messages on whatsapp, messenger, hangout and so on.. and unfortunately this is very inconvenient.
Do you know if there is a way to mantain the "Limit app background data" option on but assuring all the right push notifications functionalities?
Thanks in advance for your answers and for your help.
Have a nice day
If your phone is rooted and xposed ready , you may try greenify to hibernate.
First I thought is it a stupid app which just force closes applications.
But after using it , It just felt different.Phone was blazingly fast , Battery Drain issue was Gone completely.
And I still get push notifications from Whatsapp , Uber , Facebook etc.
It is worth trying greenify even without root.
Cheers

App won't respond

Hi, everyone!
I'm using a Huawei P30 and recently got a sprinkler controller as a present. Later I found articles and reviews that said this device is compatible with Alexa, Apple HomeKit, iOS, Android, etc. So I downloaded this Rachio app. For some reason, this app and some others stopped responding. I tried to restart my phone and reinstall these apps, but it doesn't help. Maybe someone had the same or similar problem and already found a solution?
Thanks in advance!
NoraHensl said:
Hi, everyone!
I'm using a Huawei P30 and recently got a sprinkler controller as a present. Later I found articles and reviews that said this device is compatible with Alexa, Apple HomeKit, iOS, Android, etc. So I downloaded this Rachio app. For some reason, this app and some others stopped responding. I tried to restart my phone and reinstall these apps, but it doesn't help. Maybe someone had the same or similar problem and already found a solution?
Thanks in advance!
Click to expand...
Click to collapse
Nora it's possible to get this app running correctly if you had root...
([emoji88]Omni Rom[emoji88])
@NoraHensl
Main reason for an ANR ( read: Application Not Responding ) is device's low RAM and/or GHz.
FYI:
An ANR will occur if you are running a process on the UI thread which takes a long time, usually around 5 seconds. During this time the GUI (Graphical User Interface) will lock up which will result in anything the user presses will not be actioned. After the 5 seconds approx has occurred, if the thread still hasn't recovered then an ANR dialogue box is shown informing the user that the application is not responding and will give the user the choice to either wait, in the hope that the app will eventually recover, or to force close the app.
The easiest way to fix an app that keeps crashing on your Android smartphone is to simply force stop it and open it again. To do this, go to Settings -> Apps and select the app that keeps crashing. Tap on the app's name and then tap on 'Force stop'. Now try opening the app again and see if it works well.
____________________
cookspot.org

Categories

Resources