From d88e19e3daa45a849324b289e8e83816872aa5c3 Mon Sep 17 00:00:00 2001 From: Arian Date: Thu, 29 Aug 2024 16:59:23 +0200 Subject: [PATCH] sm8450-common: Patch keymint to use ndk backend Change-Id: I45d2e0adebdc3c1f63220698e283f0a6471bc350 --- extract-files.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index 676f925..5f9c9b2 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -65,6 +65,9 @@ fi function blob_fixup() { case "${1}" in vendor/bin/hw/android.hardware.security.keymint-service-qti|vendor/lib64/libqtikeymint.so) + "${PATCHELF_0_17_2}" --replace-needed "android.hardware.security.keymint-V1-ndk_platform.so" "android.hardware.security.keymint-V1-ndk.so" "${2}" + "${PATCHELF_0_17_2}" --replace-needed "android.hardware.security.secureclock-V1-ndk_platform.so" "android.hardware.security.secureclock-V1-ndk.so" "${2}" + "${PATCHELF_0_17_2}" --replace-needed "android.hardware.security.sharedsecret-V1-ndk_platform.so" "android.hardware.security.sharedsecret-V1-ndk.so" "${2}" grep -q "android.hardware.security.rkp-V1-ndk.so" "${2}" || "${PATCHELF_0_17_2}" --add-needed "android.hardware.security.rkp-V1-ndk.so" "${2}" ;; vendor/etc/init/init.embmssl_server.rc)