高通sensor调试

adb shell "echo SAP=DISABLED >> /vendor/etc/izat.conf"

adb shell dumpsys sensorservice restrict .sensors.
打开AP侧sensor log:
adb shell "echo persist.vendor.sensors.debug.hal=v >> /vendor/build.prop"
adb shell "echo persist.vendor.sensors.debug.daemon=v >> /vendor/build.prop"
adb shell "echo persist.debug.sensors.hal=v >> /vendor/build.prop"
adb shell "echo persist.debug.sensors.daemon=v >> /vendor/build.prop"

adb root
adb wait-for-device
adb shell stop sensors
adb shell "echo 'related' > /sys/bus/msm_subsys/devices/subsys2/restart_level"

// need to confirm is "adsp" by command

"cat /sys/bus/msm_subsys/devices/subsys2/name"
send command "send_data 75 37 03 48 00" in QXDM tool
adb shell start sensors

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页