user48956
user48956

Reputation: 15810

Android: possible to access kernel modules directly without rooting the phone?

Can Android apps access /dev or /sys without rooting the device?

I have permission problems when doing this from an Activity. Can it work and the native layer?

Upvotes: 1

Views: 1918

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007554

Can Android apps access /dev or /sys without rooting the device?

AFAIK, no.

Can it work and the native layer?

If you mean, "can I write an NDK library to access /dev/ or /sys/?", the language in which you write the code will not matter. It is a matter of processes, users, and permissions.

Upvotes: 1

Related Questions