Does the device need to be rooted to read '/proc/cpuinfo' on an Android device?

一笑奈何 提交于 2019-12-13 14:17:44

问题


I need to obtain CPU information on Android. After some research, I found out that reading '/proc/cpuinfo' is one way to do it. My question is - does the device need to be rooted to read '/proc/cpuinfo' on an Android device?

Is '/proc/cpuinfo' even guaranteed to exist on all Android devices.


回答1:


You do not need root privileges to read /proc/cpuinfo



来源:https://stackoverflow.com/questions/8519867/does-the-device-need-to-be-rooted-to-read-proc-cpuinfo-on-an-android-device

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!