From 83a65d682a935b584c180625ea02197112898de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danijel=20Jovanovi=C4=87?= Date: Thu, 20 Feb 2020 21:57:00 +0100 Subject: [PATCH] Fix distorted audio bug on GSI images for ginkgo and willow --- rw-system.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index 42c0adb..4c605e4 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -285,6 +285,10 @@ 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