LG8n: Patch Keymint services

* This will be useful when updating to Android 14

Change-Id: I1892e9a15b2c10121581a7717a24eb6c64f849ef
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
fjrXTR 2024-07-25 22:59:32 +08:00 committed by Shirayuki39
parent 7bcbb87deb
commit 276b027fd2

View file

@ -106,6 +106,11 @@ function blob_fixup {
vendor/lib*/hw/android.hardware.thermal@2.0-impl.so) vendor/lib*/hw/android.hardware.thermal@2.0-impl.so)
"${PATCHELF}" --replace-needed "libutils.so" "libutils-v32.so" "${2}" "${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 esac
} }