I managed to run my HAL fingerprint on Android 8.1, executable on HiKey 96 after the modified files, as shown below.
First, you need to add the HIDL to configure the device to be declared as a provider, or that you lose VTS.
About HIDL configures device/linaro/hikey/manifest.xml +<hal format="hidl"> <name>android.hardware.biometrics.fingerprint</name> <transport>hwbinder</transport> <version>2.1</version> <interface> <name>IBiometricsFingerprint</name> <instance>default</instance> </interface> </hal>
Secondly, the finger service will start after you define it in the file below.
device/linaro/hikey/device-common.mk +
Finally, verify that the finger service has been started and is running on the Android system using terminal commands such as "adb shell" and "ps | grep finger".
Any suggestion is welcome.
source share