Page 1 of 1

Accessibility Service via ADB?

Posted: 03 Feb 2017 04:39
by pokermango7
Hey I have a rooted fire tv 2nd gen and my goal is to use automagic to fix up a few things. It runs great on the box, root commands work and everything, but I need to enable the Accessibility Service to use the "Most Recent Task Running" condition. When I go to "click here" it does nothing. Any idea how I'd be able to enable this? Perhaps a root user ADB shell command or just something I can throw in a terminal emulator? Thanks.

Re: Accessibility Service via ADB?

Posted: 05 Feb 2017 20:24
by Martin
Hi,

I don't have a fire tv so I'm not sure if this works:
-use system settings->Accessibility to enable the accessibility service (I assume this setting page is not available)
-use action Set System Setting to set the setting with category Secure and name enabled_accessibility_services to ch.gridvision.ppam.androidautomagic/ch.gridvision.ppam.androidautomagic.AccessibilityService
-use the EAP version and use the new method Usage statistics (available on Android 5.1+ but might not work on all devices)

Regards,
Martin