Commit b70050f8 authored by Sooraj S's avatar Sooraj S 👽 Committed by Romain Hunault
Browse files

FP3: Add Elan Fingerprint Sensor

parent e9198acb
......@@ -110,33 +110,34 @@ PRODUCT_PACKAGES += \
#INIT
PRODUCT_PACKAGES += \
init.target.rc \
init.qcom.rc \
init.recovery.qcom.rc \
init.qcom.factory.rc \
init.qcom.usb.rc \
init.msm.usb.configfs.rc \
ueventd.qcom.rc \
init.carrier.rc \
vold.fstab \
fstab.qcom \
init.qti.ims.sh \
init.qcom.coex.sh \
init.qcom.early_boot.sh \
init.qcom.post_boot.sh \
init.qcom.sdio.sh \
init.qcom.sh \
init.qcom.class_core.sh \
init.class_main.sh \
init.class_late.sh \
init.qcom.usb.sh \
init.qcom.efs.sync.sh \
qca6234-service.sh \
init.mdm.sh \
init.qcom.sensors.sh \
init.qcom.crashdata.sh \
init.qti.can.sh \
init.qti.charger.sh
init.target.rc \
init.qcom.rc \
init.recovery.qcom.rc \
init.qcom.factory.rc \
init.qcom.usb.rc \
init.msm.usb.configfs.rc \
ueventd.qcom.rc \
init.carrier.rc \
vold.fstab \
fstab.qcom \
init.qti.ims.sh \
init.qcom.coex.sh \
init.qcom.early_boot.sh \
init.qcom.post_boot.sh \
init.qcom.sdio.sh \
init.qcom.sh \
init.qcom.class_core.sh \
init.class_main.sh \
init.class_late.sh \
init.qcom.usb.sh \
init.qcom.efs.sync.sh \
qca6234-service.sh \
init.mdm.sh \
init.qcom.sensors.sh \
init.qcom.crashdata.sh \
init.qti.can.sh \
init.qti.charger.sh \
elan_device.rc
# CRDA += init.crda.sh #TODO fix CRDA packages later
......@@ -323,6 +324,11 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
$(LOCAL_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy
# Fingerprint
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1-service
# android.hardware.biometrics.fingerprint@2.1
# FBE support
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/bin/init.qti.qseecomd.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qti.qseecomd.sh
......
......@@ -17,7 +17,7 @@
<instance>default</instance>
</interface>
</hal>
<!-- <hal format="hidl">
<hal format="hidl">
<name>android.hardware.biometrics.fingerprint</name>
<transport>hwbinder</transport>
<version>2.1</version>
......@@ -25,7 +25,7 @@
<name>IBiometricsFingerprint</name>
<instance>default</instance>
</interface>
</hal> -->
</hal>
<hal format="hidl">
<name>android.hardware.bluetooth</name>
<transport>hwbinder</transport>
......
......@@ -1117,3 +1117,14 @@ vendor/lib64/libStDrvInt.so
vendor/lib/libStDrvInt.so
vendor/lib64/libsecureui_svcsock.so
vendor/lib/libsecureui_svcsock.so
# Elan Fingerprint
vendor/lib64/hw/fingerprint.default.so
vendor/firmware/fingerprint.mdt
vendor/firmware/fingerprint.b00
vendor/firmware/fingerprint.b01
vendor/firmware/fingerprint.b02
vendor/firmware/fingerprint.b03
vendor/firmware/fingerprint.b04
vendor/firmware/fingerprint.b05
vendor/firmware/fingerprint.b06
......@@ -313,3 +313,12 @@ LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/$(LOCAL_MODULE)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := elan_device.rc
LOCAL_MODULE_OWNER := elan
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/$(LOCAL_MODULE)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init
include $(BUILD_PREBUILT)
on boot
#[SM42][[fingerprint]elan
chown system system /dev/elan_fp
chmod 0666 /dev/elan_fp
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment