How to Force Stop Apps when we Close Recent Apps ?! - Xiaomi Mi A3 Questions & Answers

hi
i have mi a3 , rooted .
i want a way to force stop apps when i close them from recent apps .
thanks for your help

Greenify app from playstore will do that

MohRez said:
hi
i have mi a3 , rooted .
i want a way to force stop apps when i close them from recent apps .
thanks for your help
Click to expand...
Click to collapse
Most of the apps will get (force) closed when cleared from recents. Only those with background services need actual "force close" button press. As advised, Greenify might accomplish what you're looking for.

_mysiak_ said:
Most of the apps will get (force) closed when cleared from recents. Only those with background services need actual "force close" button press. As advised, Greenify might accomplish what you're looking for.
Click to expand...
Click to collapse
i was think so , but when i installed an app to force stop apps , sew all of them are still running !
please give me the link of greenify
thanks

garylawwd said:
Greenify app from playstore will do that
Click to expand...
Click to collapse
is any magisk module to do not use third app party ?
( i mean a way just the clear all buttom do that )

MohRez said:
is any magisk module to do not use third app party ?
( i mean a way just the clear all buttom do that )
Click to expand...
Click to collapse
Greenify is completely automated and done in the background. You can set whatever apps you want to close whenever you want.
I don't know of anything else that is as effective as it.
Also I wouldn't really be using these anymore as Android is more than capable of ram management.
Spare ram is wasted ram

MohRez said:
i was think so , but when i installed an app to force stop apps , sew all of them are still running !
please give me the link of greenify
thanks
Click to expand...
Click to collapse
Well, that's the risk you take. Most of the killed apps will re-launch themselves automatically, either right away or after a while, when they receive corresponding event/broadcast message. You did not specify why do you want to kill apps in the first place, but generic approach:
1. Greenify (link) - it will kill an app AND prevents automatic restart of an app (doesn't work at 100% though)
2. Disable specific service of an app, so it won't keep restarting (app might be unstable - crash)
3. Uninstall the app and find a better alternative which isn't always running

garylawwd said:
Greenify is completely automated and done in the background.
Click to expand...
Click to collapse
_mysiak_ said:
Most of the apps will get (force) closed when cleared from recents. Only those with background services need actual "force close" button press. As advised, Greenify might accomplish what you're looking for.
Click to expand...
Click to collapse
i installed magisk and using it for some days .
but i dont know that it working correctly or not !
because when i go into it , only show me 2 apps that i need always be open and nothing else !
but another app that i used ( kaspersky battery life ) shoed me every apps that are open

MohRez said:
i installed magisk and using it for some days .
but i dont know that it working correctly or not !
because when i go into it , only show me 2 apps that i need always be open and nothing else !
but another app that i used ( kaspersky battery life ) shoed me every apps that are open
Click to expand...
Click to collapse
https://www.howtogeek.com/198135/how-to-optimize-your-android-phones-battery-life-using-greenify/

Related

[Q] greenify system applications

anyone know what are the system applications that can be safely greenify
xperia sp
prabasha said:
anyone know what are the system applications that can be safely greenify
xperia sp
Click to expand...
Click to collapse
None...
They all carry risk
All may not have risks but all have consequences and some have risks and some others serious risks.
prabasha said:
anyone know what are the system applications that can be safely greenify
xperia sp
Click to expand...
Click to collapse
You can greenify google playstore but dont greenify google play services.
my playstore is not working now after i greenify it
,
All fine ,thanks!
naik2902 said:
You can greenify google playstore but dont greenify google play services.
Click to expand...
Click to collapse
Err why not?
berryman13 said:
Err why not?
Click to expand...
Click to collapse
It will give you more problems that are related to the gservices.
berryman13 said:
Err why not?
Click to expand...
Click to collapse
If u greenify play services then u want get push messages related to google apps. Moreover its not possible to hibernate it. Its perceptible n wakes up all the time.
naik2902 said:
If u greenify play services then u want get push messages related to google apps. Moreover its not possible to hibernate it. Its perceptible n wakes up all the time.
Click to expand...
Click to collapse
That is not true. It is possible to hibernate Playservices. I have done it and no problems for the last three months. However I don't use Whatsapp or Facebook so no idea about effect on them.
You simply select 'ignore state for hibernation'.
tnsmani said:
That is not true. It is possible to hibernate Playservices. I have done it and no problems for the last three months. However I don't use Whatsapp or Facebook so no idea about effect on them.
You simply select 'ignore state for hibernation'.
Click to expand...
Click to collapse
Lucky for you, I experience multiple errors including play store unable to detect a network connection, apps won't allow me to purchase something (probably to the connection problem) and worse of all battery draining.
I also got those issues when I tried to cut off the links in Playservices and Playstore. I even got random reboots though no battery drain.
But now I do not touch the links, merely greenify these two ignoring their state.
May be you can try this?
Can you safely greenify gmail ?
w00cash88 said:
Can you safely greenify gmail ?
Click to expand...
Click to collapse
What do you mean by "safely"?
Better to change the options in Gmail.

Redmi MIUI killng apps

I find that apps like Spotify or other music apps get killed after a while even if they are the only open app. Many apps that create notification for persistence also get killed very quickly on MIUI. e.g. Wakey to keep screen on gets killed to.
Is there a way to fix this?
Give them a lock in recent apps or you go to security center look for Autostart and choose your application. This helped for me
Dev111 said:
Give them a lock in recent apps or you go to security center look for Autostart and choose your application. This helped for me
Click to expand...
Click to collapse
Even if I have exactly done what you have suggested, some of my apps keep being shut down for no obvious reasons.
I am on the latest weekly developers rom by the way.
Go to Settings->Additional Settings->Battery & Performance->Manage app's and battery usage->Choose app's to restrict. Try it out maybe it works for you. If not I got no solution anymore if you find out an other method pls say it to me!
Dev111 said:
Go to Settings->Additional Settings->Battery & Performance->Manage app's and battery usage->Choose app's to restrict. Try it out maybe it works for you. If not I got no solution anymore if you find out an other method pls say it to me!
Click to expand...
Click to collapse
Tried that for the constantly closing 2 apps but still getting shut downs.
I froze as many system apps as I could to free some ram and also disabled ram management from developer's options.

Resume hibernated apps - restore last state?

first of all - amazing app!!
I have one question, maybe I got it completely wrong ...
If I hibernate an app, and restart it later again, e.g using the recent key, shouldn't the app state also be restored??
e.g. I use root explorer and navigate to a folder, then press the home key. When I get back to the application ( not using greenify) I will see the same folder that I was in before (if LMK did not kill my app of course).
But when the app was hibernated (greenifed), it always starts up "fresh"... Is this intended??
Galaxy s6, android 5.0.2 rooted
The app is stopped so is normal. Btw in Root Explorer is an option to restore your last working folder, check it if you want to go back to your folder.
MihaiSG said:
The app is stopped so is normal. Btw in Root Explorer is an option to restore your last working folder, check it if you want to go back to your folder.
Click to expand...
Click to collapse
Root explorer was just an example. So it is not exactly the iOS feeling that an application is stopped in background and resumed afterwards...
Which means, that I should not greenify apps that I want to go back later on using the recent key - because I will get a reload of the whole app which makes the 3 Gigs of RAM completely useless ... Is this correct??
So people who greenify everything will get a bad user experience, at least on the apps they use many a time....
A little disappointing but still a great app.
GZA1337 said:
Root explorer was just an example. So it is not exactly the iOS feeling that an application is stopped in background and resumed afterwards...
Which means, that I should not greenify apps that I want to go back later on using the recent key - because I will get a reload of the whole app which makes the 3 Gigs of RAM completely useless ... Is this correct??
So people who greenify everything will get a bad user experience, at least on the apps they use many a time....
A little disappointing but still a great app.
Click to expand...
Click to collapse
That is how the app is designed. You are not supposed to Greenify every app especially those you use frequently. That will consume more battery. This is stated in the OP of the main thread by the Dev himself and repeated many times in many sub-threads.
Makes sense.
tnsmani said:
That is how the app is designed. You are not supposed to Greenify every app especially those you use frequently. That will consume more battery. This is stated in the OP of the main thread by the Dev himself and repeated many times in many sub-threads.
Makes sense.
Click to expand...
Click to collapse
Yes, makes sense.
Thank you for the clarification.
GZA1337 said:
Root explorer was just an example. So it is not exactly the iOS feeling that an application is stopped in background and resumed afterwards...
Which means, that I should not greenify apps that I want to go back later on using the recent key - because I will get a reload of the whole app which makes the 3 Gigs of RAM completely useless ... Is this correct??
So people who greenify everything will get a bad user experience, at least on the apps they use many a time....
A little disappointing but still a great app.
Click to expand...
Click to collapse
I believe the closest equivalent of the IOS behavior that you are looking for is generated through Doze, a function implemented in Android phones with Marshmallows. For a more aggressive Doze behavior, you can use greenify. And if you don't have marshmallow on your phone, I believe there is a dedicated Doze app on the play store
Surfinette said:
I believe the closest equivalent of the IOS behavior that you are looking for is generated through Doze, a function implemented in Android phones with Marshmallows. For a more aggressive Doze behavior, you can use greenify. And if you don't have marshmallow on your phone, I believe there is a dedicated Doze app on the play store
Click to expand...
Click to collapse
Ok thank you. I assume the app you are taking about is shutApp... The doze app (same developer) just cuts off the network activity using a dead VPN connection. I will try shutApp on my device phone, but for now I am happy with greenify, it works great except for Chrome and YouTube... Thanks for your help..
GZA1337 said:
Root explorer was just an example. So it is not exactly the iOS feeling that an application is stopped in background and resumed afterwards...
Which means, that I should not greenify apps that I want to go back later on using the recent key - because I will get a reload of the whole app which makes the 3 Gigs of RAM completely useless ... Is this correct??
So people who greenify everything will get a bad user experience, at least on the apps they use many a time....
A little disappointing but still a great app.
Click to expand...
Click to collapse
You may try the new experimental feature - "Shallow Hibernation" if your device is running Android 6.0 and rooted. It preserves the app running context even in hibernation.
oasisfeng said:
You may try the new experimental feature - "Shallow Hibernation" if your device is running Android 6.0 and rooted. It preserves the app running context even in hibernation.
Click to expand...
Click to collapse
I will give it a try, thanks!

App standby issue

i recently updated my meizu m2 to flyme 5.1.8.0G
it has a feature that it stop all the apps that are not being used every 3 minutes .
but the problem is dat i want some apps not to be cleaned like VPN apps that works in background, It had a option to whitelist apps , But it does not work , So please suggest me some solution or some other app that can control which apps to clean and which to keep.
I am also interested in know such kind of app.
ravishru1414 said:
i recently updated my meizu m2 to flyme 5.1.8.0G
it has a feature that it stop all the apps that are not being used every 3 minutes .
but the problem is dat i want some apps not to be cleaned like VPN apps that works in background, It had a option to whitelist apps , But it does not work , So please suggest me some solution or some other app that can control which apps to clean and which to keep.
Click to expand...
Click to collapse
PulseMedicalApp said:
I am also interested in know such kind of app.
Click to expand...
Click to collapse
Hello and welcome to XDA Q&A section of the Forum.
If you have the XPosed framework installed you can downlaod and install a module called "Greenify". It lets you force close apps after not using them and put them into a mode called "hibernation". This module also has a feature that lets you pick the apps you don't want hibernating.
Hope that solves your issue and hit "thanks" if I did
RAZERZDAHACKER said:
Hello and welcome to XDA Q&A section of the Forum.
If you have the XPosed framework installed you can downlaod and install a module called "Greenify". It lets you force close apps after not using them and put them into a mode called "hibernation". This module also has a feature that lets you pick the apps you don't want hibernating.
Hope that solves your issue and hit "thanks" if I did
Click to expand...
Click to collapse
But i think it requires root, and i dont want to void warranty.
And i installed greenify app but it only does hibernation , does nt has any option to prevent some apps from auto clearing
ravishru1414 said:
But i think it requires root, and i dont want to void warranty.
And i installed greenify app but it only does hibernation , does nt has any option to prevent some apps from auto clearing
Click to expand...
Click to collapse
Hello again!
Well, I am sorry to hear that, I have now no clue how to fix it. Hopefully, you'll do it

Greenify Auto Hibernation Not Working In Xiaomi Redmi Note 4 Non Rooted With latest M

Greenify can't auto hibernate apps in Xiaomi Redmi Note 4 running the latest Miui version 9.2.1.0 (details attached in screenshot below).Even after granting all the permissions, Greenify fails to click the force stop button & no apps are hibernated.
This is a major bug and leaves Greenify completely non functional in non rooted phones.
This issue must be fixed ASAP!
Video which shows that Greenify doesn't hibernate apps (CHECK VIDEO FOR COMPLETE INFO) :- https://drive.google.com/file/d/1H3h1118X4WXwmeBDNLL0nHiVEkGyWsjH/view?usp=drivesdk
Screenshot of device details attached below.
Please check and revert.
Thanks
Screenshot Of Device details attached below
KauG said:
Greenify can't auto hibernate apps in Xiaomi Redmi Note 4 running the latest Miui version 9.2.1.0 (details attached in screenshot below).Even after granting all the permissions, Greenify fails to click the force stop button & no apps are hibernated.
This is a major bug and leaves Greenify completely non functional in non rooted phones.
This issue must be fixed ASAP!
Video which shows that Greenify doesn't hibernate apps (CHECK VIDEO FOR COMPLETE INFO) :- https://drive.google.com/file/d/1H3h1118X4WXwmeBDNLL0nHiVEkGyWsjH/view?usp=drivesdk
Screenshot of device details attached below.
Please check and revert.
Thanks
Click to expand...
Click to collapse
Not sure of your expectations or what you are trying to show with the video. Greenify does not remove apps from storage nor immediately reduce their memory footprint (although they may happen over time due to normal LMK behavior). It's singular purpose is to block unwanted background behavior without crushing functionality.
While you may have indeed identified a new 'bug' a single data point (your device) does not necessarily extend to all devices and configs - rooted or otherwise.
Davey126 said:
Not sure of your expectations or what you are trying to show with the video. Greenify does not remove apps from storage nor immediately reduce their memory footprint (although they may happen over time due to normal LMK behavior). It's singular purpose is to block unwanted background behavior without crushing functionality.
While you may have indeed identified a new 'bug' a single data point (your device) does not necessarily extend to all devices and configs - rooted or otherwise.
Click to expand...
Click to collapse
Yes brother.I know that Greenify doesn't remove apps from storage but what I'm trying to show here is that when you click on Hibernate Now, Greenify force closes the apps but in this case it fails to do the same.I am not the sole user facing this issue.
This problem has popped up after the latest miui update.
Thanks again
Kaushik
KauG said:
Yes brother.I know that Greenify doesn't remove apps from storage but what I'm trying to show here is that when you click on Hibernate Now, Greenify force closes the apps but in this case it fails to do the same.I am not the sole user facing this issue.
This problem has popped up after the latest miui update.
Thanks again
Kaushik
Click to expand...
Click to collapse
Appreciate the clarification (might want to shorten and/or annotate the video). So you claim the "problem" is related to the latest miui update but then extend the claim to all unrooted phones and demand Greenify "revert" ... to what?
I do see others raising issues with accessibility based functionality and there may indeed be a link. So far none have stated Greenify flat out does not work, only that automatic hibernation doesn't take place the screen is turned off.
Let's see how this plays out as more reports filter in.
Davey126 said:
Appreciate the clarification (might want to shorten and/or annotate the video). So you claim the "problem" is related to the latest miui update but then extend the claim to all unrooted phones and demand Greenify "revert" ... to what?
I do see others raising issues with accessibility based functionality and there may indeed be a link. So far none have stated Greenify flat out does not work, only that automatic hibernation doesn't take place the screen is turned off.
Let's see how this plays out as more reports filter in.
Click to expand...
Click to collapse
Yes!You are correct.In a nutshell with the latest Miui Update (9.2) , Greenify doesn't hibernate the apps after screen lock even after being granted all the required permissions.
This happens in non-rooted devices
Hope that we will find a fix soon
Thanks a lot!
Kaushik
Turn Off MIUI Optimisation
I had same problem on my Mi Max 2 after MIUI update. To solve it just disable MIUI optimization under developer settings and reboot, Greenify will work again as it used to work before MIUI update.
KauG said:
Yes!You are correct.In a nutshell with the latest Miui Update (9.2) , Greenify doesn't hibernate the apps after screen lock even after being granted all the required permissions.
This happens in non-rooted devices
Hope that we will find a fix soon
Thanks a lot!
Kaushik
Click to expand...
Click to collapse
Check v3.9.5 on Play Store. It seems to have the solution for your issue.
jai220 said:
I had same problem on my Mi Max 2 after MIUI update. To solve it just disable MIUI optimization under developer settings and reboot, Greenify will work again as it used to work before MIUI update.
Click to expand...
Click to collapse
Thanks!
This solved the problem!
tnsmani said:
Check v3.9.5 on Play Store. It seems to have the solution for your issue.
Click to expand...
Click to collapse
Thanks!
This solved the problem!
jai220 said:
I had same problem on my Mi Max 2 after MIUI update. To solve it just disable MIUI optimization under developer settings and reboot, Greenify will work again as it used to work before MIUI update.
Click to expand...
Click to collapse
Are you able to grant special ADB Permissions via Pc brother in non rooted Mi device?
In my case,with usb debugging enabled and all permissions granted,I get an error saying "Neither user 2000 nor......."
Kindly help
Thanks
V 3.9.5 does not work on redmi note 3 (miui9)
I noticed this the hibernate now does not works because Xiaomi change force stop button layout.
Yes Sir correct it doesn't work in note 3
KauG said:
Are you able to grant special ADB Permissions via Pc brother in non rooted Mi device?
In my case,with usb debugging enabled and all permissions granted,I get an error saying "Neither user 2000 nor......."
Kindly help
Thanks
Click to expand...
Click to collapse
Me and others in MIUI forums had the same problem with only USB debugging turned on, this is what solved it:
Turn on the following option:
USB debugging -Debug mode when USB is connected
Install via USB -Allow installing apps via USB
USB debugging (Security Settings)- Allow granting permissions and simulating input via USB debugging
It's very simple
1 . Turn off miui optimisation under developer settings
2 . Turn on " FORCE ALLOW apps on external "under
developer settings.
bit.ly/2JXpR7s
Watch this ,
I think this will surely fix your problem.
I'm on xiaomi redmi note 5 pro (india) with miui 10.0.1
0. I'm having the same issue that greenify is not at all able to click the force stop option in the app page in the settings. This renders greenify completely useless in my device, since hibernation isn't working at all. I've been using greenify from last 5 years, and never faced an issue until now.
akhu5 said:
I'm on xiaomi redmi note 5 pro (india) with miui 10.0.1
0. I'm having the same issue that greenify is not at all able to click the force stop option in the app page in the settings. This renders greenify completely useless in my device, since hibernation isn't working at all. I've been using greenify from last 5 years, and never faced an issue until now.
Click to expand...
Click to collapse
I really don't understand why you are using Greenify to go to an app and click force stop ... Why not just go directly to the MIUI settings and force stop it there ?
Anyway, on all my 4 Xiaomis, with the latest and greatest MIUI 10 8.9.2 Developer ROM as at this date, Greenify works perfectly.
Apps under Hibernation are as expected when viewed from the MIUI Settings, they are already Force Closed (Force Close button greyed out), with the Uninstall button available (not greyed out).
Under MIUI Settings, apps under Shallow Hibernation are not Force Closed, and clicking on the button Force Close will force close it and the button becomes greyed out, and after that, the Uninstall button will be ungreyed and available. When you go back to Greenify, the previously shallow hibernated app that was force closed is now under the section of the normal hibernation, no longer under shallow hibernation.
All fine on my side, MM and Nougat Xiaomis, I don't know about Oreo. I think Greenify is still needed for Xiaomi with Oreo, since Xiaomi seems to walk a different path than the others.
hyborian said:
I really don't understand why you are using Greenify to go to an app and click force stop ... Why not just go directly to the MIUI settings and force stop it there ?
Anyway, on all my 4 Xiaomis, with the latest and greatest MIUI 10 8.9.2 Developer ROM as at this date, Greenify works perfectly.
Apps under Hibernation are as expected when viewed from the MIUI Settings, they are already Force Closed (Force Close button greyed out), with the Uninstall button available (not greyed out).
Under MIUI Settings, apps under Shallow Hibernation are not Force Closed, and clicking on the button Force Close will force close it and the button becomes greyed out, and after that, the Uninstall button will be ungreyed and available. When you go back to Greenify, the previously shallow hibernated app that was force closed is now under the section of the normal hibernation, no longer under shallow hibernation.
All fine on my side, MM and Nougat Xiaomis, I don't know about Oreo. I think Greenify is still needed for Xiaomi with Oreo, since Xiaomi seems to walk a different path than the others.
Click to expand...
Click to collapse
I have over 200 apps in my phone. So there are a lot of apps that need to be 'greenified'. And I've noticed that if you go into developer settings and disable 'miui optimisations', then greenify works perfectly. But for the rest, even if the app is open in the background and you select the option to hibernate it, the force close button is greyed out and nothing happens
akhu5 said:
I have over 200 apps in my phone. So there are a lot of apps that need to be 'greenified'. And I've noticed that if you go into developer settings and disable 'miui optimisations', then greenify works perfectly. But for the rest, even if the app is open in the background and you select the option to hibernate it, the force close button is greyed out and nothing happens
Click to expand...
Click to collapse
Oh, yes, I forgot, of course I have MIUI OPtimizations disabled, always, less problems for me. All rooted too, with Greenify4Magisk, and some module to allow Play Services to be dozed.
Well, if an app cannot be force closed in the MIUI settings, then it is something else preventing it from being closed, and Greenify cannot override it. Gboard (Google Keyboard if used) I think is an example, if I remember. Only a few, and system apps which I would not touch anyway. I don't greenify important user message apps like Messenger or Whatsapp, though, I also Whitelist them from deep doze, just playing safe.
Excluding system apps, I have only a few user apps, less than 40 for sure. All greenified except a few I don't want greenified. As for system apps,
I froze many of them that I will never use and safe to freeze of course, surely stronger than doze or hibernate.
akhu5 said:
I have over 200 apps in my phone. So there are a lot of apps that need to be 'greenified'. And I've noticed that if you go into developer settings and disable 'miui optimisations', then greenify works perfectly. But for the rest, even if the app is open in the background and you select the option to hibernate it, the force close button is greyed out and nothing happens
Click to expand...
Click to collapse
hyborian said:
Excluding system apps, I have only a few user apps, less than 40 for sure. All greenified except a few I don't want greenified. As for system apps, I froze many of them that I will never use and safe to freeze of course, surely stronger than doze or hibernate.
Click to expand...
Click to collapse
Ridiculous and counterproductive greenifying a huge app suite. Focus on those that demonstrate bad behaviors; ignore the rest.

Categories

Resources