add jasmine_sprout fp (experimental)

adding jasmine_sprout (Mi A2) for fingerprint files, should be same hardware as wayne
This commit is contained in:
Alexander Gujral 2018-11-11 14:05:07 -05:00
parent e5c1052d1a
commit c5afa54a51

View File

@ -54,7 +54,7 @@ changeKeylayout() {
chmod 0644 /mnt/phh/keylayout/gpio_keys.kl /mnt/phh/keylayout/sec_touchscreen.kl chmod 0644 /mnt/phh/keylayout/gpio_keys.kl /mnt/phh/keylayout/sec_touchscreen.kl
fi fi
if getprop ro.vendor.build.fingerprint |grep -iq -e xiaomi/polaris -e xiaomi/sirius -e xiaomi/dipper -e xiaomi/wayne -e xiaomi/jasmine;then if getprop ro.vendor.build.fingerprint |grep -iq -e xiaomi/polaris -e xiaomi/sirius -e xiaomi/dipper -e xiaomi/wayne -e xiaomi/jasmine -e xiaomi/jasmine_sprout;then
cp /system/phh/empty /mnt/phh/keylayout/uinput-goodix.kl cp /system/phh/empty /mnt/phh/keylayout/uinput-goodix.kl
chmod 0644 /mnt/phh/keylayout/uinput-goodix.kl chmod 0644 /mnt/phh/keylayout/uinput-goodix.kl
cp /system/phh/empty /mnt/phh/keylayout/uinput-fpc.kl cp /system/phh/empty /mnt/phh/keylayout/uinput-fpc.kl
@ -135,7 +135,7 @@ if getprop ro.vendor.build.fingerprint |grep -q \
mount -o bind /mnt/phh/empty_dir /vendor/lib/soundfx mount -o bind /mnt/phh/empty_dir /vendor/lib/soundfx
fi fi
if getprop ro.vendor.build.fingerprint |grep -q -i -e xiaomi/wayne -e xiaomi/jasmine;then if getprop ro.vendor.build.fingerprint |grep -q -i -e xiaomi/wayne -e xiaomi/jasmine -e xiaomi/jasmine_sprout;then
setprop persist.imx376_sunny.low.lux 310 setprop persist.imx376_sunny.low.lux 310
setprop persist.imx376_sunny.light.lux 280 setprop persist.imx376_sunny.light.lux 280
setprop persist.imx376_ofilm.low.lux 310 setprop persist.imx376_ofilm.low.lux 310