From c198bdb1b66b1c3505e11b41d0f46afe5aa64eb8 Mon Sep 17 00:00:00 2001 From: Myst33d Date: Thu, 20 Feb 2020 22:19:11 +0600 Subject: [PATCH] Fix camera for cactus and cereus --- rw-system.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/rw-system.sh b/rw-system.sh index 18dfbf8..65d6b4e 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -278,6 +278,7 @@ for f in /vendor/lib/mtk-ril.so /vendor/lib64/mtk-ril.so /vendor/lib/libmtk-ril. done if getprop ro.vendor.build.fingerprint | grep -iq -e iaomi/cactus -e iaomi/cereus; then + mount -o bind /system/phh/empty /vendor/lib/libpdx_default_transport.so setprop debug.stagefright.omx_default_rank.sw-audio 1 setprop debug.stagefright.omx_default_rank 0 fi