From 32bf4d0a619799b637d4f7ed17f1c8092d3bc6d9 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 488240a..0fd3a2b 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -281,6 +281,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