From 95010d21fa95ffd13bb0fac1a96a88c2fd00189a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20R?= Date: Thu, 3 Mar 2022 19:26:16 -0600 Subject: [PATCH] [Motorola One Fusion+] Fix bluetooth audio --- rw-system.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index 90663ee..7116945 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -1058,3 +1058,11 @@ fi if getprop ro.vendor.build.fingerprint | grep -qi -e iaomi/mona; then copyprop ro.product.manufacturer ro.product.vendor.manufacturer fi + +if getprop ro.vendor.build.fingerprint | grep -iq -e motorola/liber; then + cp /vendor/etc/audio_policy_configuration.xml /mnt/phh/ + sed -i '198i ' /mnt/phh/audio_policy_configuration.xml + mount -o bind /mnt/phh/audio_policy_configuration.xml /vendor/etc/audio_policy_configuration.xml + chcon -h u:object_r:vendor_configs_file:s0 /vendor/etc/audio_policy_configuration.xml + chmod 644 /vendor/etc/audio_policy_configuration.xml +fi \ No newline at end of file