Register pod face (tee face), bind name and manufacturer

The names of these two macros are bound to the face. The face can be used only after the registration on the pod is successful. Every time you apply, give them the name you need for your project.

ro.product.manufacturer = YSF

ro.product.name = Rugged_tablet_EEA

After the application is successful, a folder will be sent to you

It mainly contains the file bstFaceUnlock.cfg in the cfg directory and copied to

vendor/mediatek/proprietary/trustzone/microtrust/source/common/400/tface/config/bstFaceUnlock.cfg

There are also two subdirectories under the libs directory

respectively

The file libbstFaceUnlock.so under arm64-v8a is copied to

/vendor/mediatek/proprietary/trustzone/microtrust/source/common/400/tface/app/libs/arm64-v8a/libbstFaceUnlock.so

The file libbstFaceUnlock.so under armeabi-v7a is copied to

vendor/mediatek/proprietary/trustzone/microtrust/source/common/400/tface/app/libs/armeabi-v7a/libbstFaceUnlock.so

Finally, make sure that the TEE macro is turned on, and the macro that supports faces is also turned on

#TEE
MTK_TEE_SUPPORT = yes
MICROTRUST_TEE_SUPPORT = yes
MICROTRUST_THH_SUPPORT = yes
MICROTRUST_TEE_TFACE = yes    

If the same project is changed to a different name or manufacturer, arm64-v8a and armeabi-v7a will remain unchanged after the application is successful, but bstFaceUnlock.cfg will be changed, just replace it and edit it again, but it is best to confirm .

Guess you like

Origin blog.csdn.net/youthking1314/article/details/128913161