Fix speaker and touchscreen on Huawei P10
This commit is contained in:
parent
3aad44c311
commit
ee833b1d7d
10
rw-system.sh
10
rw-system.sh
@ -991,3 +991,13 @@ fi
|
|||||||
if getprop ro.boot.prjname |grep -qi 21615;then
|
if getprop ro.boot.prjname |grep -qi 21615;then
|
||||||
mount -o bind /system/phh/empty /odm/overlay/android_framework_res_overlay.display.product.21615.apk
|
mount -o bind /system/phh/empty /odm/overlay/android_framework_res_overlay.display.product.21615.apk
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
setprop debug.sf.latch_unsignaled 1
|
||||||
|
if [ "$(stat -c '%U' /dev/nxp_smartpa_dev)" == "root" ] &&
|
||||||
|
[ "$(stat -c '%G' /dev/nxp_smartpa_dev)" == "root" ];then
|
||||||
|
chown root:audio /dev/nxp_smartpa_dev
|
||||||
|
chmod 0660 /dev/nxp_smartpa_dev
|
||||||
|
fi
|
||||||
|
if getprop ro.odm.build.fingerprint |grep -q Huawei/Chicago;then
|
||||||
|
setprop ctl.stop aptouch
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user