moto fp gestures for fpc
This commit is contained in:
parent
9b18fad926
commit
862135d95b
10
rw-system.sh
10
rw-system.sh
@ -163,7 +163,9 @@ changeKeylayout() {
|
|||||||
|
|
||||||
if getprop ro.product.vendor.manufacturer |grep -q -e motorola;then
|
if getprop ro.product.vendor.manufacturer |grep -q -e motorola;then
|
||||||
cp /system/phh/moto-uinput-egis.kl /mnt/phh/keylayout/uinput-egis.kl
|
cp /system/phh/moto-uinput-egis.kl /mnt/phh/keylayout/uinput-egis.kl
|
||||||
|
cp /system/phh/moto-uinput-egis.kl /mnt/phh/keylayout/uinput-fpc.kl
|
||||||
chmod 0644 /mnt/phh/keylayout/uinput-egis.kl
|
chmod 0644 /mnt/phh/keylayout/uinput-egis.kl
|
||||||
|
chmod 0644 /mnt/phh/keylayout/uinput-fpc.kl
|
||||||
changed=true
|
changed=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -487,9 +489,13 @@ for f in /vendor/lib{,64}/hw/com.qti.chi.override.so /vendor/lib{,64}/libVD*;do
|
|||||||
chcon "$ctxt" "/mnt/phh/$b"
|
chcon "$ctxt" "/mnt/phh/$b"
|
||||||
mount -o bind "/mnt/phh/$b" "$f"
|
mount -o bind "/mnt/phh/$b" "$f"
|
||||||
|
|
||||||
setprop sys.phh.xx.manufacturer "$(getprop ro.product.vendor.manufacturer)"
|
manufacturer=$(getprop ro.product.vendor.manufacturer)
|
||||||
|
[ -z "$manufacturer" ] && manufacturer=$(getprop ro.product.manufacturer)
|
||||||
|
model=$(getprop ro.product.vendor.model)
|
||||||
|
[ -z "$model" ] && model=$(getprop ro.product.odm.model)
|
||||||
|
setprop sys.phh.xx.manufacturer "$manufacturer"
|
||||||
setprop sys.phh.xx.brand "$(getprop ro.product.vendor.brand)"
|
setprop sys.phh.xx.brand "$(getprop ro.product.vendor.brand)"
|
||||||
setprop sys.phh.xx.model "$(getprop ro.product.vendor.model)"
|
setprop sys.phh.xx.model "$model"
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -n "$(getprop ro.boot.product.hardware.sku)" ] && [ -z "$(getprop ro.hw.oemName)" ];then
|
if [ -n "$(getprop ro.boot.product.hardware.sku)" ] && [ -z "$(getprop ro.hw.oemName)" ];then
|
||||||
|
Loading…
Reference in New Issue
Block a user