简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM