adb shell getprop ro.product.model

adb shell dumpsys battery

其中 scale 代表最大电量,level 代表当前电量。上面的输出表示还剩下 50% 的电量。
adb shell wm size

设备屏幕分辨率为 1920px * 1080px
adb shell wm density

设备屏幕密度为 240dpi
adb shell dumpsys window displays
adb shell settings get secure android_id

adb shell getprop ro.build.version.release

adb shell ifconfig

adb shell cat /sys/class/net/网卡/address

我的网卡是 eth0
也可以用下面的命令查看
adb shell netcfg

adb shell cat /proc/cpuinfo
adb shell cat /proc/meminfo
adb shell cat /system/build.prop
adb shell getprop <属性名>
| 属性名 | 含义 | 
|---|---|
| ro.build.version.sdk | SDK 版本 | 
| ro.build.version.release | Android 系统版本 | 
| ro.build.version.security_patch | Android 安全补丁程序级别 | 
| ro.product.model | 型号 | 
| ro.product.brand | 品牌 | 
| ro.product.name | 设备名 | 
| ro.product.board | 处理器型号 | 
| ro.product.cpu.abilist | CPU 支持的 abi 列表[节注一] | 
| persist.sys.isUsbOtgEnabled | 是否支持 OTG | 
| dalvik.vm.heapsize | 每个应用程序的内存上限 | 
| ro.sf.lcd_density | 屏幕密度 | 
原文:https://www.cnblogs.com/sq1995liu/p/15308134.html