开发者

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

开发者 https://www.devze.com 2023-04-09 15:06 出处:网络
Can Android apps access /dev or /sys without rooting the device? I have permission problems when开发者_C百科 doing this from an Activity.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消