From 9a68ff5d635394004507aa5c848975877159b0be Mon Sep 17 00:00:00 2001 From: rinmichi Date: Tue, 3 May 2022 12:51:58 +0800 Subject: [PATCH] Fix UI lags and Screen Cast on Redmi Note 10S --- rw-system.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index 33cc0fb..40502f1 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -573,6 +573,12 @@ if getprop ro.vendor.build.fingerprint | grep -iq -e Redmi/merlin; then setprop debug.sf.enable_hwc_vds 0 fi +if getprop ro.vendor.build.fingerprint | grep -iq -e Redmi/rosemary \ + -e Redmi/secret -e Redmi/maltose; then + setprop debug.sf.latch_unsignaled 1 + setprop debug.sf.enable_hwc_vds 0 +fi + if getprop ro.vendor.build.fingerprint | grep -iq -E -e 'huawei|honor' || getprop persist.sys.overlay.huawei | grep -iq -E -e 'true'; then p=/product/etc/nfc/libnfc_nxp_*_*.conf mount -o bind "$p" /system/etc/libnfc-nxp.conf ||