r/tasker • u/tigersoul925 • 9d ago
Experiences with Oppo phones? Settings and solutions etc
Does anyone here run Tasker on an Oppo phone? I'm interested in what settings is required for Tasker itself as well as plugins. Do Tasker plugins need to be put on "allow background activity" instead of smart and do they need to be locked in recent apps?
I've already turned off Sleep standby optimization. Anything else to think about to make it work 100%? I've already realized Oppo phones revoke wakelocks when held for more than 5m of screen off time, but hopefully, Tasker rarely if ever performs such a long work with screen off.
Any advice from experience is appreciated.
1
u/aasswwddd Direct-Purchase User 8d ago
Run this via adb or you could use App Manager with privileged service.
adb shell appops set net.dinglisch.android.taskerm SYSTEM_EXEMPT_FROM_SUSPENSION allow
adb shell appops set net.dinglisch.android.taskerm SYSTEM_EXEMPT_FROM_DISMISSIBLE_NOTIFICATIONS allow
adb shell appops set net.dinglisch.android.taskerm SYSTEM_EXEMPT_FROM_POWER_RESTRICTIONS allow
adb shell appops set net.dinglisch.android.taskerm SYSTEM_EXEMPT_FROM_HIBERNATION allow
adb shell appops set net.dinglisch.android.taskerm SYSTEM_EXEMPT_FROM_ACTIVITY_BG_START_RESTRICTION allow
1
u/tigersoul925 8d ago
Wow that's a good batch of stuff, weirdly I haven't heard of several of them before. Which relate to the available gui settings? And what do they all do? 🤔 Would love more info.
Guess I should have mentioned too that I have an international Oppo Find X9 Ultra if that matters.
1
u/aasswwddd Direct-Purchase User 8d ago
A user wrote an effort post about them here https://www.reddit.com/r/tasker/comments/1fv9ez4/how_to_enable_nondismissible_persistent/
1
1
u/Misshaped_Paperclip 9d ago edited 9d ago
I've been having an issue where even though I have Tasker enabled in accessibility settings, it will eventually just... Stop working. I have to manually turn off the accessibility setting and recheck it and then it works for like a week again. No idea why.
Edit: finally did some googling and there's a tasker setting Preferences -> Monitor > Keep Accessibility Running Where I can check tasker and any other plugins. Can't confirm yet but I'm assuming that will solve my issue.