diff --git a/BoardConfig.mk b/BoardConfig.mk index fee972e..81bd5dc 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -19,5 +19,9 @@ TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop TARGET_RECOVERY_DENSITY := xxhdpi TARGET_RECOVERY_UI_MARGIN_HEIGHT := 126 +# VINTF +DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += \ + $(DEVICE_PATH)/vintf/compatibility_matrix.xml + # Include the proprietary files BoardConfig. include vendor/realme/ferrari/BoardConfigVendor.mk diff --git a/extract-files.py b/extract-files.py index 424c94c..2e9ec96 100755 --- a/extract-files.py +++ b/extract-files.py @@ -71,6 +71,9 @@ def blob_fixup_nop_call( blob_fixups: blob_fixups_user_type = { + 'odm/bin/hw/vendor.oplus.hardware.biometrics.face@1.0-service': blob_fixup() + .replace_needed('android.hardware.biometrics.common-V1-ndk_platform.so', 'android.hardware.biometrics.common-V1-ndk.so') + .replace_needed('android.hardware.biometrics.face-V1-ndk_platform.so', 'android.hardware.biometrics.face-V1-ndk.so'), 'odm/bin/hw/vendor.oplus.hardware.biometrics.fingerprint@2.1-service': blob_fixup() .replace_needed('android.hardware.biometrics.common-V1-ndk_platform.so', 'android.hardware.biometrics.common-V1-ndk.so') .replace_needed('android.hardware.biometrics.fingerprint-V1-ndk_platform.so', 'android.hardware.biometrics.fingerprint-V1-ndk.so'), diff --git a/proprietary-files.txt b/proprietary-files.txt index a614c66..dedaee7 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -975,7 +975,6 @@ odm/lib64/libsnpe_loader.so odm/lib64/libstblur_api.so odm/lib64/libstblur_capture_api.so odm/lib64/libstface_fd_api.so -odm/lib64/libstfaceunlockocl.so odm/lib64/libstfd_mobile_api.so odm/lib64/libthirdcapability.so odm/lib64/libtriplecam_optical_zoom_control.so @@ -1253,6 +1252,25 @@ vendor/firmware/evautil64.b07 vendor/firmware/evautil64.b08 vendor/firmware/evautil64.mdt +# Face unlock +odm/bin/hw/vendor.oplus.hardware.biometrics.face@1.0-service +odm/etc/init/vendor.oplus.hardware.biometrics.face@1.0-service.rc +odm/etc/vintf/manifest/manifest_oplus_face.xml +odm/lib64/libstfaceunlockocl.so +odm/init.oplus.face.rc +vendor/lib64/libcamera2ndk_vendor.so + +# Face unlock firmware +odm/vendor/firmware/facereg.b00 +odm/vendor/firmware/facereg.b01 +odm/vendor/firmware/facereg.b02 +odm/vendor/firmware/facereg.b03 +odm/vendor/firmware/facereg.b04 +odm/vendor/firmware/facereg.b05 +odm/vendor/firmware/facereg.b06 +odm/vendor/firmware/facereg.b07 +odm/vendor/firmware/facereg.mdt + # Fingerprint odm/bin/hw/vendor.oplus.hardware.biometrics.fingerprint@2.1-service odm/bin/init.oplus.fingerprints.sh diff --git a/vintf/compatibility_matrix.xml b/vintf/compatibility_matrix.xml new file mode 100644 index 0000000..7c1d178 --- /dev/null +++ b/vintf/compatibility_matrix.xml @@ -0,0 +1,10 @@ + + + android.hardware.biometrics.face + 1 + + IFace + default + + +