From 2acc50decb241e1a96bf2de8404d85d7ebac8434 Mon Sep 17 00:00:00 2001 From: Tim Bortnik Date: Tue, 15 Jan 2019 21:24:21 +0200 Subject: [PATCH] xiaomi-mimax3-fix --- rw-system.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rw-system.sh b/rw-system.sh index a88e500..f53ead3 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -68,7 +68,8 @@ changeKeylayout() { 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 \ - -e xiaomi/platina -e iaomi/perseus -e xiaomi/ysl;then + -e xiaomi/platina -e iaomi/perseus -e xiaomi/ysl \ + -e xiaomi/nitrogen;then cp /system/phh/empty /mnt/phh/keylayout/uinput-goodix.kl chmod 0644 /mnt/phh/keylayout/uinput-goodix.kl cp /system/phh/empty /mnt/phh/keylayout/uinput-fpc.kl @@ -162,11 +163,11 @@ if getprop ro.vendor.build.fingerprint |grep -q -i \ setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness) fi -if getprop ro.vendor.build.fingerprint |grep -q \ +if getprop ro.vendor.build.fingerprint |grep -iq \ -e Xiaomi/beryllium/beryllium -e Xiaomi/sirius/sirius \ -e Xiaomi/dipper/dipper -e Xiaomi/ursa/ursa -e Xiaomi/polaris/polaris \ -e motorola/ali/ali -e iaomi/perseus/perseus -e iaomi/platina/platina \ - -e iaomi/equuleus/equuleus -e motorola/nora;then + -e iaomi/equuleus/equuleus -e motorola/nora -e xiaomi/nitrogen;then mount -o bind /mnt/phh/empty_dir /vendor/lib64/soundfx mount -o bind /mnt/phh/empty_dir /vendor/lib/soundfx fi