From 050def76e8f43edaf7b75bf9e91468fb50989359 Mon Sep 17 00:00:00 2001 From: Leonardo Estacio Date: Thu, 16 Sep 2021 07:15:05 +0200 Subject: [PATCH] d1: enable RAW on all cameras * Remove condition (someVar >> 4 & 1) != 0 in createScalerAvailableStreamConfigurationsOutput (pretty much at the end of the method) to unconditionally enable RAW on all cameras Co-Authored-By: Tim Zimmermann Change-Id: I756fa386e8bccba33d890cdc0535d160d823d71a --- extract-files.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index a7462b3..2acc909 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -8,6 +8,10 @@ function blob_fixup() { case "${1}" in + vendor/lib64/libexynoscamera3.so) + xxd -p "${2}" | sed "s/8b022036/1f2003d5/g" | xxd -r -p > "${2}".patched + mv "${2}".patched "${2}" + ;; vendor/lib*/libsec-ril*.so) "${PATCHELF}" --replace-needed libril.so libril-samsung.so "${2}" ;;