diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh index c6ebda6b..2a930638 100644 --- a/rootdir/etc/init.qcom.post_boot.sh +++ b/rootdir/etc/init.qcom.post_boot.sh @@ -2515,12 +2515,27 @@ case "$target" in hw_platform=`cat /sys/devices/system/soc/soc0/hw_platform` fi + if [ -f /sys/devices/soc0/platform_version ]; then + platform_version=`cat /sys/devices/soc0/platform_version` + platform_major_version=$((10#${platform_version}>>16)) + fi + case "$soc_id" in "292") #msm8998 apq8098_latv # Start Host based Touch processing case "$hw_platform" in "QRD") - start hbtp + case "$platform_subtype_id" in + "0") + start hbtp + ;; + "16") + if [ $platform_major_version -lt 6 ]; then + start hbtp + fi + ;; + esac + ;; esac ;;