From 05a580c10eae81159d4f3ac52c42966880025af2 Mon Sep 17 00:00:00 2001 From: fjrXTR Date: Wed, 17 Jul 2024 07:28:11 +0800 Subject: [PATCH] LG8n: link older libutils for audio.primary.mt6789 Signed-off-by: Shirayuki39 --- extract-files.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index b69d327..72ff322 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -61,6 +61,11 @@ function blob_fixup { vendor/bin/hw/android.hardware.lights-service.mediatek) "$PATCHELF" --replace-needed "android.hardware.light-V1-ndk_platform.so" "android.hardware.light-V1-ndk.so" "$2" ;; + vendor/lib/hw/audio.primary.mt6789.so) + ;& + vendor/lib64/hw/audio.primary.mt6789.so) + "${PATCHELF}" --replace-needed "libutils.so" "libutils-v31.so" "${2}" + ;; vendor/bin/hw/mt6789/camerahalserver) "${PATCHELF}" --replace-needed "libutils.so" "libutils-v31.so" "${2}" "${PATCHELF}" --replace-needed "libbinder.so" "libbinder-v31.so" "${2}"