通过adb写读节点查看TP version
C:\Users\wuchengbing>adb shell
root@M1:/
setenforce 0
root@M1:/
cd /proc/cl*/ms*/de*/
root@M1:/proc/class/ms-touchscreen-msg20xx/device # echo 1 > vers*
echo 1 > vers*
root@M1:/proc/class/ms-touchscreen-msg20xx/device # cat ver*
cat ver*
002003
root@M1:/proc/class/ms-touchscreen-msg20xx/device #
adb shell getprop查看手机编译版本
C:\Windows\system32>adb shell
shell@M1:/ $ getprop | grep build
getprop | grep build
[ro.build.fingerprint]: [alps/full_lcsh6580_weg_sh_
[ro.build.flavor]: [full_lcsh6580_weg_sh_l-eng]
[ro.build.host]: [glsrv4]
用busybox工具查看平台相关设备的版本
C:\Users\wuqingya>adb root
adbd is already running as root
C:\Users\wuqingya>adb remount
remount succeeded
C:\Users\wuqingya>adb push F:\Tools\busybox system/bin
2465 KB/s (1159276 bytes in 0.459s)
C:\Users\wuqingya>adb shell
root@M1:/
root@M1:/system/bin
root@M1:/system/bin
root@M1:/
./proc/class/ms-touchscreen-msg20xx/device/platform_version
C:\Users\wuqingya>adb shell
root@M1:/
root@M1:/proc/class/ms-touchscreen-msg20xx/device
ls
change_feature_support_status
chip_type
data
debug
driver_version
force_fw_update
header
mode
msgtool
platform_version
query_feature_support_status
report_rate
sdcard_update
selinux_limit_update
sensor
set_debug_value
set_dqmem_value
smbus_debug
update
version
root@M1:/proc/class/ms-touchscreen-msg20xx/device
(null)
root@M1:/proc/class/ms-touchscreen-msg20xx/device
133root@M1:/proc/class/ms-touchscreen-msg20xx/device
cat version
(null)
root@M1:/proc/class/ms-touchscreen-msg20xx/device
cat driver_version
3.8.0.0root@M1:/proc/class/ms-touchscreen-msg20xx/device
Wu_Being博客声明:本人博客欢迎转载,请标明博客原文和原链接!谢谢!
《各种查看Android手机信息的命令》: http://blog.csdn.net/u014134180/article/details/78125395
![Wu_Being 吴兵博客接受赞助费二维码]()
如果你看完这篇博文,觉得对你有帮助,并且愿意付赞助费,那么我会更有动力写下去。