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开发者_C百科 doing this from an Activity. Can it work and the native layer?
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.
精彩评论