From e76dccff1a8bca9dd7737efa4395d16f7b80e98e Mon Sep 17 00:00:00 2001 From: R0rt1z2 Date: Mon, 22 Jan 2024 13:10:24 +0100 Subject: [PATCH] rosemary: Hexpatch camera lib to increase maximum JPEG streams for an app * Increase maxAppJpegStreamNum to 17 in order to fix GCam lags. Change-Id: I190a2c39e406e0a8389a7bf29b420ef4f2352e2d --- extract-files.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index fed84c1..95e31ef 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -74,6 +74,10 @@ function blob_fixup { vendor/lib64/libwifi-hal-mtk.so) "$PATCHELF" --set-soname libwifi-hal-mtk.so "${2}" ;; + vendor/lib64/libmtkcam_featurepolicy.so) + # evaluateCaptureConfiguration() + sed -i "s/\x34\xE8\x87\x40\xB9/\x34\x28\x02\x80\x52/" "$2" + ;; vendor/lib64/libmtkcam_stdutils.so) "${PATCHELF}" --replace-needed "libutils.so" "libutils-v32.so" "${2}" ;;