Question

I found a few ways to detect a rooted Android phone, but I would now like to use that functionality to whitelist (or blacklist) users who root with activesync.

What are my implementation options here?

Was it helpful?

Solution

The ActiveSync client uses the account manager API to sync stuff, thus with the android.permission.MANAGE_ACCOUNTS you should be able to do stuff like clear the password or at least disable sync / delete the account.

(Deleting the account can lead to all information being removed. Clients usually do not appreciate this)

But.. they'd have to be running software that you've built. So whats stopping them from uninstalling that? They've already got root.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top