From 8f61607113d9ef0cc650292c6d5cf42f7d6bcceb Mon Sep 17 00:00:00 2001 From: DarkJoker360 Date: Fri, 3 Sep 2021 12:49:00 +0200 Subject: [PATCH 1/2] Enable audio fixes for Redmi Note 8T Signed-off-by: DarkJoker360 --- rw-system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rw-system.sh b/rw-system.sh index 2145711..a1489f2 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -405,7 +405,7 @@ if getprop ro.vendor.build.fingerprint | grep -iq \ -e xiaomi/equuleus/equuleus -e motorola/nora -e xiaomi/nitrogen \ -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/laurel_sprout -e xiaomi/andromeda \ + -e xiaomi/ginkgo -e xiaomi/willow -e xiaomi/laurel_sprout -e xiaomi/andromeda \ -e iaomi/renoir \ -e redmi/curtana -e redmi/picasso \ -e bq/Aquaris_M10 ; then From 29b13b352ac86f67caa49a603c73e044f0f12088 Mon Sep 17 00:00:00 2001 From: DarkJoker360 Date: Fri, 3 Sep 2021 12:49:32 +0200 Subject: [PATCH 2/2] Cleanup audio hacks for Redmi Note 8/8T * Already done by previous audio hacks. Signed-off-by: DarkJoker360 --- rw-system.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rw-system.sh b/rw-system.sh index a1489f2..c61037e 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -478,10 +478,6 @@ if getprop ro.vendor.build.fingerprint | grep -iq -e iaomi/cactus -e iaomi/cereu setprop debug.stagefright.omx_default_rank 0 fi -if getprop ro.vendor.build.fingerprint | grep -iq -e xiaomi/ginkgo -e xiaomi/willow; then - mount -o bind /system/phh/empty /vendor/lib/soundfx/libvolumelistener.so -fi - mount -o bind /system/phh/empty /vendor/lib/libpdx_default_transport.so mount -o bind /system/phh/empty /vendor/lib64/libpdx_default_transport.so