From 1b2090b03b263060a67e7675068e42c8c79a212d Mon Sep 17 00:00:00 2001 From: SGCMarkus Date: Fri, 18 Feb 2022 22:06:54 +0100 Subject: [PATCH] sm8250-common: fixup for pstars libgui_vendor.so --- extract-files.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index 12c53a4..11dfa25 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -58,6 +58,17 @@ if [ -z "${SRC}" ]; then SRC="adb" fi +function blob_fixup() { + case "${1}" in + vendor/lib/libgui_vendor.so) + sed -i "s/libui.so/lui30.so/" "${2}" + ;; + vendor/lib64/libgui_vendor.so) + sed -i "s/libui.so/lui30.so/" "${2}" + ;; + esac +} + if [ -z "${ONLY_TARGET}" ]; then # Initialize the helper for common device setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true "${CLEAN_VENDOR}"