Hi @meeeeeei
You can try to add sensors interface in manifest.xml and device_framework_matrix.xml
android_build/device/nxp/imx8m/evk_8mp/manifest.xml
....
<hal format="hidl">
<name>android.hardware.sensros</name>
<transport>hwbinder</transport>
<version>2.1</version>
<interface>
<name>ISensors</name>
<instance>default</instance>
</interface>
</hal>
....
device_framework_matrix.xml
...
<hal format="aidl" optional="true">
<name>nxp.hardware.sensors</name>
<version>2.1</version>
<interface>
<name>ISensors</name>
<instance>default</instance>
</interface>
</hal>
...
evk_8mp.mk
....
PRODUCT_PACKAGES += \
android.hardware.sensors-service.multihal \
android.hardware.sensors@2.1-nxp-IIO-Subhal
...
Best Regards
Zhiming