diff --git a/Android.bp b/Android.bp index 9fb553b..b6f5afe 100644 --- a/Android.bp +++ b/Android.bp @@ -1482,6 +1482,32 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "android.hardware.security.keymint-V3-ndk-v34", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/android.hardware.security.keymint-V3-ndk-v34.so", + ], + shared_libs: [ + "libbinder_ndk", + "android.hardware.security.secureclock-V1-ndk", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "com.xiaomi.plugin.capbokeh", owner: "xiaomi", @@ -29364,7 +29390,7 @@ cc_prebuilt_binary { "libhardware", "libhidlbase", "android.hardware.keymaster@4.0", - "android.hardware.security.keymint-V4-ndk", + "android.hardware.security.keymint-V3-ndk-v34", "android.hardware.security.sharedsecret-V1-ndk", "android.hardware.security.secureclock-V1-ndk", "lib_android_keymaster_keymint_utils", diff --git a/proprietary/vendor/bin/hw/android.hardware.security.keymint@1.0-service.mitee b/proprietary/vendor/bin/hw/android.hardware.security.keymint@1.0-service.mitee index a2d8396..9474595 100755 Binary files a/proprietary/vendor/bin/hw/android.hardware.security.keymint@1.0-service.mitee and b/proprietary/vendor/bin/hw/android.hardware.security.keymint@1.0-service.mitee differ diff --git a/proprietary/vendor/lib64/android.hardware.security.keymint-V3-ndk-v34.so b/proprietary/vendor/lib64/android.hardware.security.keymint-V3-ndk-v34.so new file mode 100644 index 0000000..631427a Binary files /dev/null and b/proprietary/vendor/lib64/android.hardware.security.keymint-V3-ndk-v34.so differ diff --git a/tanzanite-vendor.mk b/tanzanite-vendor.mk index e9520c4..28cb820 100644 --- a/tanzanite-vendor.mk +++ b/tanzanite-vendor.mk @@ -756,6 +756,7 @@ PRODUCT_PACKAGES += \ APUWareHmpServer \ APUWareUtilsServer \ anc.hal \ + android.hardware.security.keymint-V3-ndk-v34 \ com.xiaomi.plugin.capbokeh \ com.xiaomi.plugin.memcpy \ com.xiaomi.plugin.mibokeh \