通过adb写读节点查看TP version
C:\Users\wuchengbing>adb shell
root@M1:/ # setenforce 0
setenforce 0
root@M1:/ # cd /proc/cl*/ms*/de*/
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:/ # cd system/bin
root@M1:/system/bin # chmod 777 busybox
root@M1:/system/bin # cd ../../
root@M1:/ # busybox find -name platform_version
./proc/class/ms-touchscreen-msg20xx/device/platform_version
C:\Users\wuqingya>adb shell
root@M1:/ # cd proc/class/ms-touchscreen-msg20xx/device
root@M1:/proc/class/ms-touchscreen-msg20xx/device # ls
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 # cat platform_version
(null)
root@M1:/proc/class/ms-touchscreen-msg20xx/device # cat chip_type
133root@M1:/proc/class/ms-touchscreen-msg20xx/device # cat version
cat version
(null)
root@M1:/proc/class/ms-touchscreen-msg20xx/device # cat driver_version
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
如果你看完这篇博文,觉得对你有帮助,并且愿意付赞助费,那么我会更有动力写下去。