revoke grant kill background processes on doogee N20 - Android Q&A, Help & Troubleshooting

Hi there,
I bought from amazon a doogee N20 with android 9 (pie) and Octa-core 2.0 GHz Mediatek MT6763 CPU.
My issue is that Android kill process in background when the phone goes in standby mode, so push notification from whatsapp and other apps not working.
I have tried to convert app to system app,
disable optimization for battery and data.
try to revoke permission to kill background process by adb, but this action return me a permission error.
try to enforce gcm or fcm to trigger every minute.
So, my question is there is a way to hack this phone to allow me to receive push notification, or there is a custom rom that i can install, ora any other options?
Any help is appreciated
thanks a lot.
Have a nice day.

$ago said:
Hi there,
I bought from amazon a doogee N20 with android 9 (pie) and Octa-core 2.0 GHz Mediatek MT6763 CPU.
My issue is that Android kill process in background when the phone goes in standby mode, so push notification from whatsapp and other apps not working.
I have tried to convert app to system app,
disable optimization for battery and data.
try to revoke permission to kill background process by adb, but this action return me a permission error.
try to enforce gcm or fcm to trigger every minute.
So, my question is there is a way to hack this phone to allow me to receive push notification, or there is a custom rom that i can install, ora any other options?
Any help is appreciated
thanks a lot.
Have a nice day.
Click to expand...
Click to collapse
Have you tried to go in Settings -> DuraSpeed and allow your app to work in background?

Related

[Q] Control processes without root

I would like to have the maximum of control on running processes, but I feel I have not enough control, so I hope you can help me
I know that being root, managing processes and disable "autoruns" is a quite easy task but unfortunately my device is not an easy to root phone
Furthermore, I saw that Android (4.1.2 Jelly Bean) performance is very bad when you have many apps installed or you used many apps recently. Yes I listen about the internal management and I am aware that it is not a suggested practice but since I want to have control on what is happening and i have serious concerns about the algorithms to free RAM (maybe bull****), so I prefer to do it on my own risk
What I am doing is go to
-Settings, Application manager, Running, "Show cached processes"
- Settings, Application manager, Running, "Show services in use"
Identify what apps are in use and i don't like, then go to
-Settings, Application manager, All,
select app and Click "Force Stop"
Doing it my device has a better performance however, some apps still going alive after some time, for instance: Email ( I saw other in the past)
Using "Autoruns" app and checking "email" app I can see with changes of state can start "Email" however, sometime "email" is reenabled after be manually stopped but none of previous conditions happened.
How can I kill "email" or other app and force to stay off? (disable it and install other email app is not a valid answer)
I would like to use email/others as an standalone app, I mean use when I want and have out of memory when I am not using.
Besides, the autoruns, is there any scheduled task or something like that to open apps?
Of course I want to root my phone and I am waiting until someone will find a proper way to root, in fact I think that an android without rooted is like a car with square shape wheels
I think I found the cause for "mail" app being executed automatically, today it went alive after select "flight mode"
Now I would like to control Google play services, I am seeing some of these being executed continuosly, can they be killed? how?
dapgo said:
I would like to have the maximum of control on running processes, but I feel I have not enough control, so I hope you can help me
I know that being root, managing processes and disable "autoruns" is a quite easy task but unfortunately my device is not an easy to root phone
Furthermore, I saw that Android (4.1.2 Jelly Bean) performance is very bad when you have many apps installed or you used many apps recently. Yes I listen about the internal management and I am aware that it is not a suggested practice but since I want to have control on what is happening and i have serious concerns about the algorithms to free RAM (maybe bull****), so I prefer to do it on my own risk
What I am doing is go to
-Settings, Application manager, Running, "Show cached processes"
- Settings, Application manager, Running, "Show services in use"
Identify what apps are in use and i don't like, then go to
-Settings, Application manager, All,
select app and Click "Force Stop"
Doing it my device has a better performance however, some apps still going alive after some time, for instance: Email ( I saw other in the past)
Using "Autoruns" app and checking "email" app I can see with changes of state can start "Email" however, sometime "email" is reenabled after be manually stopped but none of previous conditions happened.
How can I kill "email" or other app and force to stay off? (disable it and install other email app is not a valid answer)
I would like to use email/others as an standalone app, I mean use when I want and have out of memory when I am not using.
Besides, the autoruns, is there any scheduled task or something like that to open apps?
Of course I want to root my phone and I am waiting until someone will find a proper way to root, in fact I think that an android without rooted is like a car with square shape wheels
Click to expand...
Click to collapse
more info about processes, mem and autostart
I am still fighting with Android and how it manages processes, now I am sure that my main problem became each time I went into flight mode or it is restarted.
But it is not only Email being executed and being using in memory but other processes that I am not using doing that, such as:
(Mem. on OS monitor- Mem. in "service in memory"(android settings))
Event: Connectivity changed
-youtube 22.2MB-6.2MB
-Google play services(com.android.gms) 26.8MB-12MB
-Maps 20MB-4.9MB
-Factory Test (18.6MB -3.4MB)
Event: after Startup
-youtube 22.2MB-6.2MB
-Software update (18.0MB-4.3MB)
-Internet (com.android.browser) 18.9MB-3.3MB
There many apps which are executed after events like previous but they are closed after a very short time, but I am frustrated about those which are not unloaded.
Regarding "Email" app I decided to use a free email app and as Email cannot be disabled, so, I removed the accounts associated to email app, however even without accounts configured, it still being launched and wasting resources. can I avoid it?
What do you think?
dapgo said:
I think I found the cause for "mail" app being executed automatically, today it went alive after select "flight mode"
Now I would like to control Google play services, I am seeing some of these being executed continuosly, can they be killed? how?
Click to expand...
Click to collapse
It's not possible to do what you want without root, unfortunately (unless you're talking about normal apps, in which case you can uninstall them to keep them from running). An alternative would be to use Greenify, though it won't be fully automatic without root either.
What about editing the startups rights?
Has anyone used APK permission remover?
GermainZ said:
It's not possible to do what you want without root, unfortunately (unless you're talking about normal apps, in which case you can uninstall them to keep them from running). An alternative would be to use Greenify, though it won't be fully automatic without root either.
Click to expand...
Click to collapse
Apk permission remover never stops an app from automatically starting. It only helps in removing the permissions we see during installation.
dapgo said:
What about editing the startups rights?
Has anyone used APK permission remover?
Click to expand...
Click to collapse
You still want to do this 2 years and 7 months later? That's one late reply there
GermainZ said:
You still want to do this 2 years and 7 months later? That's one late reply there
Click to expand...
Click to collapse
Yes but after SO long I found the app 'autorun manager pro', and it allowed to disable triggers /autoStartups/autoruns

Greenify: Accessiblity keeps getting lost!!

Hi, Greenify keeps losing access to the accessibility service for some reason. It happens after a few minutes of using the phone, not even a reboot is required to get it unticked again. Then when I try to hibernate+lock screen again, it says that it requires the service for automation to work.
Phone: Huawei Mate 7
System: KitKat 4.4.4
Greenify: latest version
Root? No (Greenify set on non-root mode)
Accessibility activated for Greenify? Yes but keeps getting unticked all the time and asks me to enable automation again and again!
Greenify device administrator? Yes
Donation package? Yes.
Anyone?
Have you noticed any clue on when and what caused the stop of accessibility service?
If you device memory is running low, it may be killed by Android system for more memory for foreground app, especially when playing large game.
oasisfeng said:
Have you noticed any clue on when and what caused the stop of accessibility service?
If you device memory is running low, it may be killed by Android system for more memory for foreground app, especially when playing large game.
Click to expand...
Click to collapse
No it does it all the time, after a few minutes usually. If I lock the screen within a minute or two, it works fine, it later than that, the hibernation service is normally turned off already.
Other Info
Any other updates on this issue? I was running Greenify on my Galaxy S5 with no issues. I just changed over to an S6 Edge and now I'm getting the same problem with Greenify losing its Accessibility permissions. No rhyme or reason for when it happens. I'm not running any big applications or games. I have a few other apps that need Accessibility authorization and those never seem to lose their access like Greenify does.
Same Problem on my new Galaxy S6 edge. Any help to solve the problem would be greatly appreciated.
This can solved by removing Greenify from Protected Apps or in the case of non Huawei phones by disabling battery optimisation for greenify or the app in question.
On my phone gets it often after I kill the any application with /long press/back button. Rooted, CM13
this happen as well with OOS 3.2.1 on OnePlus 3
if you decide to clear recents and the memory as well, it will straight away losing the accesibility access..
Is there an established reason for this?! Reinstalling and add power-saving exception doesn't seem to being helpful.
Issue started after update to android 8. On previous versions never had a tiny problem.
Sent from taptalk

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.

Tasker & Other Background Apps Closing (Android 9)

Hi all!
BIT OF BACKGROUND
Before I post this I wanna say I posted this earlier thinking it is a Tasker issue, into Reddit sub for Tasker. But it seems that it is an Android issue. I have in detailed mentioned what are the problems below. No one could identify this issue.
If you have any suggestion please help me out. Looks like this is the worst Android One phone I have got.
There is even a log in the end of the post. If someone can guide me on how to understand which app is force closing it, it will be great.
Thanks a lot in advance!
-------------------------
Hi,
I have been given a phone by office to use to send Whatsapp messages in the early hours of the morning.
This is a Infinix x604B (Indian Model) running stock Android (One) version Pie with security patch 5 March 2019.
I have unlocked bootloader and rooted with Magisk. (this issue was there since it came originally with Android 8)
I have a problem of Tasker and Autoinput not staying open in the background. I use these two along with
Whatsapp
Clipper
Autoresponder PRO (SMS
AutoResponder for WA
And the only one that doesn't fail to work in the background is AutoResponder for WA and Whatsapp.
Till now searching the forums and other places I have
1. Set the battery setting to "NOT OPTIMIZED"
2. Intelligent power saving standby - SET TO OFF
3. Battery Saver - SET TO OFF
4. Adaptive Battery - SET TO OFF (there is no option to exclude apps in this)
5. Developer Options - Background Process Limit - SET TO DEFAULT - STANDARD
6. Developer Options - Standby Apps - All the running apps are - SET TO ACTIVE
Under Tasker
1. App Check Method - App usage stats OR Accessibility (Both are used and still it closes)
2. Use Reliable Alarms - Always
3. Tasker has been given all permissions and others which connect with Android (only device admin is not permitted at the moment)
All the above don't work
As someone suggested in another post in Reddit, to use sys.keep_app_1 and I have added to build.prop and that doesn't bother at all. It still closes.
It barely takes 15 minutes to set the phone in idle stage and Tasker and AutoInput both will be taken out from the BG list.
In Accessibility options they both will appear as "This Service Is Malfunctioning" and have to disable and enable it back to make it work. Then it will be dead in 10-15 minutes. Very short time.
Till now i have reset the app, cleaned the preferences and started all over again without restoring the xml file for profiles and tasks. Still no change here.
Here is the Tasker log which I am sharing here. Hope you can get something out of it.
https://pastebin.com/zzdCugjP
Is there anything I can share to help?
Thank you!

notification issues.

For anyone experiencing notification issues.
I was. None were coming through when they were sent. I changed push notification delay. I tried near everything
(Not coming through you have turned on notifications turn off power saving etc for the app)
If you have root and are able to freeze applications ( I have used titanium backup) to freeze the security app. All my notifications are coming though properly now.
I saw on a website someone that changed the security app so I thought why not freeze it. It works .
Still have access to permissions etc.
The only thing to remember is to keep them in memory. If you close the app you will have to reopen it manually.
I'm on ZUI 11
Not root case
If you don't have root, you can turn off battery optimization in settings for the apps you want, them put them on "autostart" in the security app and just minimize the apps
It's not a good solution, since you can't close fully the apps, but at least you will have notifications
Astronomico said:
If you don't have root, you can turn off battery optimization in settings for the apps you want, them put them on "autostart" in the security app and just minimize the apps
It's not a good solution, since you can't close fully the apps, but at least you will have notifications
Click to expand...
Click to collapse
I tried that. I would receive notifications only occasionally... So it wasn't great :/
ajmdc said:
I tried that. I would receive notifications only occasionally... So it wasn't great :/
Click to expand...
Click to collapse
Yes, it's not good, that's why I'm trying a custom rom now
But for those who are afraid to root/install a custom, it's what they have (notificon also helps, but have to pass through the same steps)
ajmdc said:
For anyone experiencing notification issues.
I was. None were coming through when they were sent. I changed push notification delay. I tried near everything
(Not coming through you have turned on notifications turn off power saving etc for the app)
If you have root and are able to freeze applications ( I have used titanium backup) to freeze the security app. All my notifications are coming though properly now.
I saw on a website someone that changed the security app so I thought why not freeze it. It works .
Still have access to permissions etc.
The only thing to remember is to keep them in memory. If you close the app you will have to reopen it manually.
I'm on ZUI 11
Click to expand...
Click to collapse
Just bought lenovo z5 pro 64gb. I have same problem with whatsapp and other user app notifications. Im on ZUI 11. 1.093 ST.
Im finally found a way to make whatsapp and other user app to make a sound when message coming.
Just install Missed Notifications Reminder from play store. After installation complete, just give permission access for this app to run. Next, you can set reminder for as low as 0.1 minutes ( fastest option and its fast enough ) and set reminder repetitions, i set for 2x repetition. Then finally you can select what application do you want to be reminded (any app on your phone).
Now, when new notification come, my phone will make sound :laugh:
For those who still use the stock china zui, the notification bug still occurs?
yes i still have notification issues sometimes with whatsapp even though i went through all the settings in the security app and battery optimization.even installed missed notifications reminder which helped a little but not always.
im using the latest zui rom 11.5.247.things worked much better on 10.5

Categories

Resources