使用Grep命令查看GPS MNL版本和MPE版本:
grep -naoiE "MNL_VER_[0-9]+[A-Z]+[_0-9\.]+" libmnl.so
adb shell grep -anoiE "MPE_VER[_0-9\.]+" /system/vendor/bin/MPED
使用ADB命令push/pull相关文件:
adb root
adb remount
adb push MPED /system/vendor/bin
adb shell chmod 777 /system/vendor/bin/MPED
adb push libDR.so /system/vendor/lib
adb shell chmod 777 /system/vendor/lib/libDR.so
adb push mpe.conf /system/etc
adb shell chmod 644 /system/etc/mpe.conf
adb push mpe.conf /system/vendor/etc
adb shell chmod 644 /system/vendor/etc/mpe.conf
adb push libmnl.so /system/vendor/lib
adb shell chmod 777 system/vendor/lib/libmnl.so
adb push sensors.mt6758.so /system/vendor/lib64/hw
adb shell chmod 777 /system/vendor/lib64/hw/sensors.mt6758.so
pause
adb reboot
查看FW&ROMPATCH Version
Internal Phone获取Root权限