From 36e03ddbaefd3f229ca67a16b94901d4eb85eabc Mon Sep 17 00:00:00 2001 From: Lokesh Vazirani <68844395+Lokesh790@users.noreply.github.com> Date: Tue, 29 Dec 2020 15:14:20 +0530 Subject: [PATCH] RMX1831: Fixed FP cleanup in phh GSI. --- rw-system.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index b431f60..bd8f330 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -347,6 +347,11 @@ if getprop ro.vendor.build.fingerprint | grep -qE '^xiaomi/wayne/wayne.*'; then setprop audio.camerasound.force true fi +if getprop persist.sys.phh.fingerprint.nocleanup | grep -qE '^realme/RMX1831/RMX1831.*'; then + # Fix fingerprint cleanup after reboot in RMX1831 aka realme U1 + setprop.sys.phh.fingerprint.nocleanup true +fi + mount -o bind /mnt/phh/empty_dir /vendor/etc/audio || true for f in /vendor/lib{,64}/hw/com.qti.chi.override.so;do