From 85950b345c56c979029264f50961b5a6a97595f4 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Sat, 5 Oct 2024 12:26:00 +0100 Subject: [PATCH] g12a: Resolve all missing symbols from libui Fixes errors detected with ELF checks: error: Unresolved symbol: _ZN7android19GraphicBufferMapper4lockEPK13native_handlejRKNS_4RectEPPvPiS9_ error: Unresolved symbol: _ZN7android19GraphicBufferMapper6unlockEPK13native_handle Change-Id: I4b5e44c884cc708c98c903eb2621b8b8607f76c9 --- extract-files.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extract-files.sh b/extract-files.sh index e7183b0..5612302 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -76,7 +76,9 @@ function blob_fixup() { sed -i '/media 0770 media_rw media_rw/d' "${2}" sed -i '/setprop ro.crypto.fuse_sdcard true/d' "${2}" ;; - vendor/lib/hw/camera.amlogic.so|vendor/lib/hw/hwcomposer.amlogic.so|vendor/lib/libOmxCore.so) + vendor/lib/hw/camera.amlogic.so | vendor/lib/hw/hwcomposer.amlogic.so | \ + vendor/lib/libOmxBase.so | vendor/lib/libOmxCore.so | vendor/lib/libOmxVideo.so | \ + vendor/lib/libmeson_display_service.so) [ "$2" = "" ] && return 0 grep -q "libui_shim.so" "${2}" || "${PATCHELF}" --add-needed "libui_shim.so" "${2}" ;; -- 2.20.1