1#!/vendor/bin/sh
2path=`getprop ro.vendor.touch.dump.sys`
3
4echo "Enable Force Touch Active"
5echo 21 > $path/force_active
6
7echo "Touch Firmware Information"
8cat $path/info
9
10echo "Get Raw Data - Delta"
11echo 12 > $path/get_raw_data && cat $path/get_raw_data
12
13echo "Get Raw Data - Raw"
14echo 13 > $path/get_raw_data && cat $path/get_raw_data
15
16echo "Get Raw Data - Baseline"
17echo 14 > $path/get_raw_data && cat $path/get_raw_data
18
19echo "Disable Force Touch Active"
20echo 20 > $path/force_active
21
22