From db5ad32b2319139b428e7ae6ffa0e276157b010f Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Fri, 26 Jul 2024 00:24:12 +0800 Subject: [PATCH] LG8n: Patch libs for missing GraphicBufferMapper symbols Change-Id: I1e79f01710433ceafb2a4b296a591cf910ee649f Signed-off-by: Shirayuki39 --- device.mk | 3 +++ extract-files.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/device.mk b/device.mk index dc2f25c..45a0c24 100644 --- a/device.mk +++ b/device.mk @@ -474,6 +474,9 @@ PRODUCT_PACKAGES += \ libunwindstack.vendor \ libutilscallstack.vendor +PRODUCT_PACKAGES += \ + libui_shim.vendor + # Wi-Fi PRODUCT_PACKAGES += \ libwifi-hal-wrapper \ diff --git a/extract-files.sh b/extract-files.sh index 819b19e..3ab4f44 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -123,6 +123,9 @@ function blob_fixup { vendor/lib64/mt6789/libcam.utils.sensorprovider.so) "${PATCHELF}" --add-needed "libshim_sensors.so" "${2}" ;; + lib64/libsource.so) + grep -q libui_shim.so "$2" || "$PATCHELF" --add-needed libui_shim.so "$2" + ;; esac }