From a777cf1e36ec6e7da5eec40e46e9f7f13796b24d Mon Sep 17 00:00:00 2001 From: fjrXTR Date: Thu, 25 Jul 2024 22:59:32 +0800 Subject: [PATCH] LG8n: Patch Keymint services * This will be useful when updating to Android 14 Change-Id: I1892e9a15b2c10121581a7717a24eb6c64f849ef Signed-off-by: fjrXTR Signed-off-by: Shirayuki39 --- extract-files.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/extract-files.sh b/extract-files.sh index cf2f766..58d16c8 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -102,10 +102,15 @@ function blob_fixup { ;; vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service) "${PATCHELF}" --replace-needed "android.hardware.power-V2-ndk_platform.so" "android.hardware.power-V2-ndk.so" "${2}" - ;; + ;; vendor/lib*/hw/android.hardware.thermal@2.0-impl.so) "${PATCHELF}" --replace-needed "libutils.so" "libutils-v32.so" "${2}" ;; + vendor/bin/hw/android.hardware.security.keymint-service.trustonic) + "$PATCHELF" --replace-needed "android.hardware.security.keymint-V1-ndk_platform.so" "android.hardware.security.keymint-V1-ndk.so" "$2" + "$PATCHELF" --replace-needed "android.hardware.security.secureclock-V1-ndk_platform.so" "android.hardware.security.secureclock-V1-ndk.so" "$2" + "$PATCHELF" --replace-needed "android.hardware.security.sharedsecret-V1-ndk_platform.so" "android.hardware.security.sharedsecret-V1-ndk.so" "$2" + ;; esac }