BUG B209/B211: Accessibility setting get undone on reboot - Huawei MediaPad X2

Found on Tasker and Autonotification apps. These are automation apps that require Accessibility to remain on to function.
To recreate issue:
Set Accessibility on for app.
Set Protected App on for app (to survive screen off).
Reboot.
Accessibility undone.
Setting Autolaunch seems to get Accessibility preserved on reboot, but that should not be a neccessary condition to preserve Accessibility on reboot.
Thanks to AudioRalf for his contribution to rooting out this issue.
Would a beta tester please report this issue to Huawei? Many thanks.

Related

[App] ForceDoze - Force Doze mode after screen off, disable motion sensors, etc

Hi all,
ForceDoze allows you to forcefully enable Doze right after you turn off your screen, and on top of that, it also disables motion sensors so Doze stays active even if your device is not stationary while screen off. Doze will only deactivate periodically to execute maintenance jobs (like getting notifications, etc), otherwise it will remain fully active as long as your screen is off. This brings a lot more battery savings than standard Doze functionality, because even with screen off and Doze enabled, Doze is still periodically checking for movement, and disabling motion sensing improves battery life further.
Features:
Force enable Doze right after screen off
Disable motion sensors so Doze doesn't periodically poll the sensors to check if the device is stationary or not. This provides an additional boost to battery life
Whitelist apps so they don't get suspended or disabled when Doze mode is active
Doze battery stats: Shows you all the times your device has entered/exited Doze mode, and how much battery was available during those times. It will only work when ForceDoze service is turned on
Tasker support so you can now send com.suyashsrijan.forcedoze.DISABLE_FORCEDOZE broadcast intent to disable the ForceDoze service, or com.suyashsrijan.forcedoze.ENABLE_FORCEDOZE to enable the ForceDoze service
Tasker support for adding/removing apps from the Doze whitelist, so you can send com.suyashsrijan.forcedoze.ADD_WHITELIST broadcast intent along with packageName as the key and the package name you want to add as the value, in Extras. To remove the app from the whitelist, send the com.suyashsrijan.forcedoze.REMOVE_WHITELIST broadcast intent along with packageName as the key and the package name you want to remove as the value, in Extras. So for example, in Tasker, you can set Action as one of the intents above, and in Extras, add packageName:com.your.packagename and then save the task
Enable Doze mode on your device if your device OEM has disabled it (experimental)
No-root mode so you can use this app without root privileges (Requires you to execute an ADB command from your PC to grant it the android.permission.DUMP permission, instructions inside app and app description on Play Store)
Force Doze is a free & open-source app, so you can grab the app and the source code from:
Play Store: https://play.google.com/store/apps/details?id=com.suyashsrijan.forcedoze
Play Store Beta testing: https://play.google.com/apps/testing/com.suyashsrijan.forcedoze
Latest APK (v1.4.0 rev68): https://www.androidfilehost.com/?fid=457095661767144607
Latest Beta APK: Not available right now #
Github: https://github.com/theblixguy/ForceDoze
Frequently asked questions:
Auto-rotate/brightness doesn't work after turning on the device
Please turn on Auto-rotate/brightness fix in settings and restart the ForceDoze service. If that doesn't work, turn on "Don't disable sensors on screen off" in app Settings instead
I have trouble getting push notifications from apps (ex: GMail)
Only high-priority push notifications are delivered to the app while the device is in Doze mode, normal-priority notifications (ex: from Gmail) are delivered during the Doze maintenance window or when you wake up the device. This is an OS restriction and there's nothing that can be done about it
My device doesn't turn on and I have to restart my device to fix
This is most probably being caused by disabling motion sensors, pretty common on LG devices. To fix, turn on "Don't disable sensors on screen off" in app Settings and restart the ForceDoze service
The app doesn't work properly for some reason
If you're rooted, then make sure SU requests made by the app aren't getting denied by the SU app on your phone. Your SU app will occasionally prompt you to grant or deny SU access to ForceDoze and if you deny or ignore the dialog, then the app will not work properly and will fail to do certain things, like re-enabling sensors after exiting Doze or turning off Doze properly after screen on
Please let me know if you spot any bugs or unwanted behavior, or would like me to add more features to the app!
Gotta try this!
I suppose you have already tested it before?
What are the results?
ceftriaxone said:
Gotta try this!
I suppose you have already tested it before?
What are the results?
Click to expand...
Click to collapse
I am presently running it on my Galaxy S7 Edge and I don't face any issues!
if u want to translate the app, i can help with Pt-Br <3 downloading now
I experience rotation issues after installing your app on nexus 7v2. Excited to test this
Sent from my Nexus 7 using Tapatalk
sensor re enabling
I have posted this on Reddit page..(if you didn't see the issues posted there)
app doesn't ask for su
works even without su or adb(greenify notifies me)
even after sometime screen turned on rotation and auto brightness don't work
enabling sensor service option in app , disables doze on motion
thank you
sorry for my English
Is this the same like Greenify Aggressive Doze?
xk0niR said:
Is this the same like Greenify Aggressive Doze?
Click to expand...
Click to collapse
If I'm correctly interpreting the OP, it isn't. Greenify does use the sensors, while this app isn't.
Installed it 5 minutes ago, will report back after a while of testing.
Edit: I have problems too with brightness not responding anymore, until I uncheck and turn autobrightness back on...
Sent from the Matrix
I've been using this for the past 2 days & it's been great. Reduced my idle drain rate from 3 to 4% per hr to 1.5 to 2% per hr.
Sent from my SM-G935P using Tapatalk
Can we please have a whitelist option. Would love to use this , but still get notifications from Twitter and Snapchat. Thanks!
@ssrij I'm on 1.0.7 and I cant access the Google app store. I keep getting the "check your connection" error. What do I need to whitelist? Something is not waking back up properly. Don't have this issue with Greenify aggressive Doze.
Sent from my SM-G935P using Tapatalk
Donnie Sins said:
If I'm correctly interpreting the OP, it isn't. Greenify does use the sensors, while this app isn't.
Installed it 5 minutes ago, will report back after a while of testing.
Edit: I have problems too with brightness not responding anymore, until I uncheck and turn autobrightness back on...
Sent from the Matrix
Click to expand...
Click to collapse
First, kudos for a great app. Was looking for alternative to greenify since i consider it too aggressive for me. Just wanted to inform i have the same adaptive brightness bug. Must be ticked off and on for it to work.
Sent from my D6603 using XDA-Developers mobile app
JoeFCaputo113 said:
Can we please have a whitelist option. Would love to use this , but still get notifications from Twitter and Snapchat. Thanks!
Click to expand...
Click to collapse
There is. Lol
Sent from my A0001 using Tapatalk
PINki92 said:
I experience rotation issues after installing your app on nexus 7v2. Excited to test this
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Please download the latest APK from the main post, reset ForceDoze from app settings, go to app settings again, turn on Enable Auto-rotate/brightness fix, turn on ForceDoze service and see if it fixes the issue
ajeesh vijayan said:
I have posted this on Reddit page..(if you didn't see the issues posted there)
app doesn't ask for su
works even without su or adb(greenify notifies me)
even after sometime screen turned on rotation and auto brightness don't work
enabling sensor service option in app , disables doze on motion
thank you
sorry for my English
Click to expand...
Click to collapse
Please download the latest APK from the main post, reset ForceDoze from app settings, go to app settings again, turn on Enable Auto-rotate/brightness fix, turn on ForceDoze service and see if it fixes the issue
xk0niR said:
Is this the same like Greenify Aggressive Doze?
Click to expand...
Click to collapse
Donnie Sins said:
If I'm correctly interpreting the OP, it isn't. Greenify does use the sensors, while this app isn't.
Installed it 5 minutes ago, will report back after a while of testing.
Edit: I have problems too with brightness not responding anymore, until I uncheck and turn autobrightness back on...
Sent from the Matrix
Click to expand...
Click to collapse
Please download the latest APK from the main post, reset ForceDoze from app settings, go to app settings again, turn on Enable Auto-rotate/brightness fix, turn on ForceDoze service and see if it fixes the issue
JoeFCaputo113 said:
Can we please have a whitelist option. Would love to use this , but still get notifications from Twitter and Snapchat. Thanks!
Click to expand...
Click to collapse
It's there, go to Menu > Settings > Whitelist apps
YYvo said:
First, kudos for a great app. Was looking for alternative to greenify since i consider it too aggressive for me. Just wanted to inform i have the same adaptive brightness bug. Must be ticked off and on for it to work.
Sent from my D6603 using XDA-Developers mobile app
Click to expand...
Click to collapse
Please download the latest APK from the main post, reset ForceDoze from app settings, go to app settings again, turn on Enable Auto-rotate/brightness fix, turn on ForceDoze service and see if it fixes the issue
optimummind said:
@ssrij I'm on 1.0.7 and I cant access the Google app store. I keep getting the "check your connection" error. What do I need to whitelist? Something is not waking back up properly. Don't have this issue with Greenify aggressive Doze.
Sent from my SM-G935P using Tapatalk
Click to expand...
Click to collapse
I don't think whitelisting Play Store will work, but you can try adding com.android.vending to the app whitelist. I don't know why that happens, try clearing Play Store cache or force stopping it, and make sure your internet connection is active and working, that could also be a reason why
@ssrij I downloaded & installed the 1.0.8 apk. When I open the app, it says 1.0.7.
Do you know when a scrolling list of whitelist apps will be available?
Sent from my SM-G925P using Tapatalk
optimummind said:
@ssrij I downloaded & installed the 1.0.8 apk. When I open the app, it says 1.0.7.
Do you know when a scrolling list of whitelist apps will be available?
Sent from my SM-G925P using Tapatalk
Click to expand...
Click to collapse
I have updated the link, try again now and follow the same steps.
It will be available in next version (1.0.9)
everything fine now .. but
latest build works great..
but still I don't understand.. app didn't request su (fresh installed latest build), I didn't grant dump
but still everything works...
ssrij said:
Please let me know if you spot any bugs or unwanted behavior, or would like me to add more features to the app!
Click to expand...
Click to collapse
Great idea !
But you should take some time to answer those questions about Greenify (difference, are they complementary or we should keep only one..), because we are used to it...

Need help in accessibility settings

PLEASE SOMEONE HELP
I have got a problem in accessibility settings of every apps accessibility which is not solved by experts I have gone through many sites but there's not a single le 1s user who have the same problem. I use GREENIFY and CLEAN MASTER to hibernate apps and for this hibernation process both apps need to turn on accessibility of apps.I simply turn on the accessibility setting then we could only use that accessibility service for one time. To use again accessibility service for hibernation or for another activity it should be turn on everytime when needed. In simple it's not possible to turn on accessibility for long usage or for permanent.
IF
YOU'VE ANY KNOWLEDGE REGARDING THIS IT SHOULD BE SHARED.
TO HELP ME
CONTACT ME THROUGH
WHATSAPP
+917718014656 or
Email [email protected]

Greenify Accessibility Service Won't Stay Enabled....

Every single time I launch/run Greenify I have to re-enable the Accessibility Service that allows automated hibernation. Does anyone know how I can make this setting stick? I have tons of devices and none of them have this issue.
Thanks!
Xphyle

How to check if your phone is using Accessibility Services (Samsung)?

I have the S10 and in settings I turned off all Accessibility options. I want to keep all Accessibility Services turned off because I hear they slow down your phone (among other things).
But I strongly suspect that some app is still using overlays or Accessiblity Services. Is there any way to check for sure that my phone is not at all using Accessibility Services?

Question How to prevent apps from auto starting at boot

Hello,
All is in the topic, I've got an app that starts automatically when my phone is powered on.
It is Aircall, an app I use for passing and receiving calls at work.
I would like this app not to start automatically each time I power on the phone.
Is there a setting for disabling some apps to autostart ? Or an app you can advise ?
Thanks for your help.
Check the app's preferences to see if there are options.
In the Android settings, go to Apps > See All > (your app. eg Air Call) > App battery usage and set it to 'restricted.' This will greatly restrict an app's ability to do many things in the background.
Other than that, you'd have to root your device to get any more control over the app using something like Servicely (Google Play Store), My Android Tools (apkmirror.com), Permission Manager X (fdroid), AppOppsX (fdroid), or Blocker (fdroid) to control the app's broadcast receivers. Apps can choose to respond to various phone states such as when a boot is completed, when network connectivity changes, power is connected/disconnected, etc. It can take some aggressive action to fully prevent an app from always running.
If you're just annoyed by a notification icon in your notification area you can always disable that app's notification so it doesn't appear.
I have tried all of these things to control apps but if apps use a lot of various broadcast receivers they will find ways to keep running. You may find stopping it to have unintended consequences. It being a work app, I'd consider simply disabling the app's notificaiton if it has a persistent notifcation or something. The next step would be to restrict the app as in 2. The most aggressive thing is to root and tinker with its broadcast receivers.
Hello jawz101,
Thank you very much for this very complete answer.
All your precise instructions are very interesting.
I'll have a look at all these solutions.
Thanks again.
I am not sure about straight forward solution. But I would like to use Greenify app. Add apps to it once and run it once everytime you restart your phone.

Categories

Resources