Accessibility Service via ADB?

Post your questions and help other users.

Moderator: Martin

Post Reply
pokermango7
Posts: 1
Joined: 02 Feb 2017 10:59

Accessibility Service via ADB?

Post by pokermango7 » 03 Feb 2017 04:39

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.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Accessibility Service via ADB?

Post by Martin » 05 Feb 2017 20:24

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

Post Reply