Gallal
Gallal

Reputation: 4262

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

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.

Upvotes: 4

Views: 1041

Answers (1)

Vishal Pawar
Vishal Pawar

Reputation: 4340

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

Upvotes: 4

Related Questions