Get hardware info on Android?
In adb shell, do we have any command 开发者_开发技巧to get device info, like lspci?
Thank you!
This should probably be on android.stackexchange.com, but anyhow. even if you are not rooted, you can access use getprop
and it will return information about the device.
I'm afraid access to the linux layer is only possible by "rooting" the device
You can get some (messy) messages from dmesg:
$ adb shell dmesg
Note that the kernel ring buffer is limited. The first few lines may be dropped as time goes by.
dmesg requires root, too.
精彩评论