Merge pull request #326 from iovxw/gauguin-fixes

Fixes for Xiaomi Mi 10T Lite/Mi 10i/Redmi Note 9 Pro
This commit is contained in:
Pierre-Hugues HUSSON 2022-09-18 18:24:52 +02:00 committed by GitHub
commit 53c51cfa88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -392,9 +392,9 @@ if getprop ro.vendor.build.fingerprint | grep -iq \
setprop persist.sys.qcom-brightness -1
fi
# Lenovo Z5s brightness flickers without this setting
# Lenovo Z5s & Xiaomi Mi10TLite brightness flickers without this setting
if getprop ro.vendor.build.fingerprint | grep -iq \
-e Lenovo/jd2019; then
-e Lenovo/jd2019 -e Xiaomi/gauguin -e Redmi/gauguin; then
setprop persist.sys.qcom-brightness -1
fi
@ -457,7 +457,7 @@ if getprop ro.vendor.build.fingerprint | grep -iq \
-e motorola/hannah -e motorola/james -e motorola/pettyl -e xiaomi/cepheus \
-e xiaomi/grus -e xiaomi/cereus -e xiaomi/cactus -e xiaomi/raphael -e xiaomi/davinci \
-e xiaomi/ginkgo -e xiaomi/willow -e xiaomi/laurel_sprout -e xiaomi/andromeda \
-e redmi/curtana -e redmi/picasso \
-e xiaomi/gauguin -e redmi/gauguin -e redmi/curtana -e redmi/picasso \
-e bq/Aquaris_M10 ; then
mount -o bind /mnt/phh/empty_dir /vendor/lib64/soundfx
mount -o bind /mnt/phh/empty_dir /vendor/lib/soundfx