问题
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