diff --git a/common.mk b/common.mk index 4c8ef68..d007bbf 100644 --- a/common.mk +++ b/common.mk @@ -268,6 +268,7 @@ PRODUCT_PACKAGES += \ android.hardware.security.keymint-V1-ndk_platform.vendor \ android.hardware.security.secureclock-V1-ndk_platform.vendor \ android.hardware.security.sharedsecret-V1-ndk_platform.vendor \ + android.hardware.security.rkp-V3-ndk.vendor \ libkeymaster_messages.vendor PRODUCT_COPY_FILES += \ diff --git a/extract-files.sh b/extract-files.sh index b420ba5..e1eec11 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -64,6 +64,9 @@ fi function blob_fixup() { case "${1}" in + vendor/bin/hw/android.hardware.security.keymint-service-qti|vendor/lib/libqtikeymint.so|vendor/lib64/libqtikeymint.so) + grep -q "android.hardware.security.rkp-V3-ndk.so" "${2}" || "${PATCHELF_0_17_2}" --add-needed "android.hardware.security.rkp-V3-ndk.so" "${2}" + ;; vendor/etc/init/hw/init.mi_thermald.rc|vendor/etc/init/hw/init.qcom.usb.rc|vendor/etc/init/hw/init.qti.kernel.rc) sed -i 's/on charger/on property:init.svc.vendor.charger=running/g' "${2}" ;;