s5e8825-common: Setup fingerprint
Change-Id: I9ba0d87635212e48354d2590eb86d5e801d722e6 Co-authored-by: Flopster101 <nahuelgomez329@gmail.com> Signed-off-by: Majaahh <maja.blaszczak@proton.me>
This commit is contained in:
99
Android.bp
99
Android.bp
@@ -1592,6 +1592,29 @@ cc_prebuilt_library_shared {
|
|||||||
soc_specific: true,
|
soc_specific: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "libegis_fp_normal_sensor_test",
|
||||||
|
owner: "samsung",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
target: {
|
||||||
|
android_arm64: {
|
||||||
|
srcs: [
|
||||||
|
"proprietary/vendor/lib64/libegis_fp_normal_sensor_test.so",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"liblog",
|
||||||
|
"libc",
|
||||||
|
"libm",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "64",
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
cc_prebuilt_library_shared {
|
cc_prebuilt_library_shared {
|
||||||
name: "libengmode_client",
|
name: "libengmode_client",
|
||||||
owner: "samsung",
|
owner: "samsung",
|
||||||
@@ -1620,6 +1643,31 @@ cc_prebuilt_library_shared {
|
|||||||
soc_specific: true,
|
soc_specific: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "libgf_in_system_lib",
|
||||||
|
owner: "samsung",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
target: {
|
||||||
|
android_arm64: {
|
||||||
|
srcs: [
|
||||||
|
"proprietary/vendor/lib64/libgf_in_system_lib.so",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"libcutils",
|
||||||
|
"liblog",
|
||||||
|
"libc",
|
||||||
|
"libm",
|
||||||
|
"libdl",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "64",
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
cc_prebuilt_library_shared {
|
cc_prebuilt_library_shared {
|
||||||
name: "libhwjsqz",
|
name: "libhwjsqz",
|
||||||
owner: "samsung",
|
owner: "samsung",
|
||||||
@@ -1648,6 +1696,33 @@ cc_prebuilt_library_shared {
|
|||||||
soc_specific: true,
|
soc_specific: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "libqfp_sensortest",
|
||||||
|
owner: "samsung",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
target: {
|
||||||
|
android_arm64: {
|
||||||
|
srcs: [
|
||||||
|
"proprietary/vendor/lib64/libqfp_sensortest.so",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"libcutils",
|
||||||
|
"liblog",
|
||||||
|
"libutils",
|
||||||
|
"libc++",
|
||||||
|
"libc",
|
||||||
|
"libm",
|
||||||
|
"libdl",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "64",
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
cc_prebuilt_library_shared {
|
cc_prebuilt_library_shared {
|
||||||
name: "libril_sem",
|
name: "libril_sem",
|
||||||
owner: "samsung",
|
owner: "samsung",
|
||||||
@@ -1771,6 +1846,30 @@ cc_prebuilt_library_shared {
|
|||||||
soc_specific: true,
|
soc_specific: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "libsynaFpSensorTestNwd",
|
||||||
|
owner: "samsung",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
target: {
|
||||||
|
android_arm64: {
|
||||||
|
srcs: [
|
||||||
|
"proprietary/vendor/lib64/libsynaFpSensorTestNwd.so",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"liblog",
|
||||||
|
"libdl",
|
||||||
|
"libc",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "64",
|
||||||
|
check_elf_files: false,
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
cc_prebuilt_library_shared {
|
cc_prebuilt_library_shared {
|
||||||
name: "libuniapi",
|
name: "libuniapi",
|
||||||
owner: "samsung",
|
owner: "samsung",
|
||||||
|
|||||||
37
proprietary/vendor/etc/init/fingerprint_common.rc
vendored
Normal file
37
proprietary/vendor/etc/init/fingerprint_common.rc
vendored
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
on boot
|
||||||
|
# Fingerprint sensor
|
||||||
|
chmod 0660 /dev/esfp0
|
||||||
|
chown system system /dev/esfp0
|
||||||
|
|
||||||
|
chmod 0660 /dev/goodix_fp
|
||||||
|
chown system system /dev/goodix_fp
|
||||||
|
|
||||||
|
chmod 0660 /dev/qbt2000_fd
|
||||||
|
chmod 0660 /dev/qbt2000_ipc
|
||||||
|
chmod 0660 /dev/qbtspi
|
||||||
|
chown system system /dev/qbt2000_fd
|
||||||
|
chown system system /dev/qbt2000_ipc
|
||||||
|
chown system system /dev/qbtspi
|
||||||
|
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/type_check
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/name
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/vendor
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/adm
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/bfs_values
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/position
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/cbgecnt
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/intcnt
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/resetcnt
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/wuhbtest
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/rb
|
||||||
|
|
||||||
|
mkdir /data/vendor/misc 0770 system system
|
||||||
|
mkdir /data/vendor/misc/qti_fp 0770 system system
|
||||||
|
mkdir /data/vendor/misc/qti_fp/bg_estimation 0770 system system
|
||||||
|
mkdir /data/vendor/misc/qti_fp/calib_test 0770 system system
|
||||||
|
mkdir /data/vendor/misc/qti_fp/template 0770 system system
|
||||||
|
|
||||||
|
mkdir /data/vendor/biometrics 0770 system system
|
||||||
|
mkdir /data/vendor/fpSnrTest 0770 system system
|
||||||
|
mkdir /efs/biometrics 0770 system system
|
||||||
|
mkdir /efs/biometrics/meta 0770 system system
|
||||||
37
proprietary/vendor/etc/init/init.fingerprint.rc
vendored
Normal file
37
proprietary/vendor/etc/init/init.fingerprint.rc
vendored
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
on boot
|
||||||
|
# Fingerprint sensor
|
||||||
|
chmod 0660 /dev/esfp0
|
||||||
|
chown system system /dev/esfp0
|
||||||
|
|
||||||
|
chmod 0660 /dev/goodix_fp
|
||||||
|
chown system system /dev/goodix_fp
|
||||||
|
|
||||||
|
chmod 0660 /dev/qbt2000_fd
|
||||||
|
chmod 0660 /dev/qbt2000_ipc
|
||||||
|
chmod 0660 /dev/qbtspi
|
||||||
|
chown system system /dev/qbt2000_fd
|
||||||
|
chown system system /dev/qbt2000_ipc
|
||||||
|
chown system system /dev/qbtspi
|
||||||
|
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/type_check
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/name
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/vendor
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/adm
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/bfs_values
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/position
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/cbgecnt
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/intcnt
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/resetcnt
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/wuhbtest
|
||||||
|
chown system radio /sys/class/fingerprint/fingerprint/rb
|
||||||
|
|
||||||
|
mkdir /data/vendor/misc 0770 system system
|
||||||
|
mkdir /data/vendor/misc/qti_fp 0770 system system
|
||||||
|
mkdir /data/vendor/misc/qti_fp/bg_estimation 0770 system system
|
||||||
|
mkdir /data/vendor/misc/qti_fp/calib_test 0770 system system
|
||||||
|
mkdir /data/vendor/misc/qti_fp/template 0770 system system
|
||||||
|
|
||||||
|
mkdir /data/vendor/biometrics 0770 system system
|
||||||
|
mkdir /data/vendor/fpSnrTest 0770 system system
|
||||||
|
mkdir /efs/biometrics 0770 system system
|
||||||
|
mkdir /efs/biometrics/meta 0770 system system
|
||||||
BIN
proprietary/vendor/lib64/libegis_fp_normal_sensor_test.so
vendored
Normal file
BIN
proprietary/vendor/lib64/libegis_fp_normal_sensor_test.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib64/libgf_in_system_lib.so
vendored
Normal file
BIN
proprietary/vendor/lib64/libgf_in_system_lib.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib64/libqfp_sensortest.so
vendored
Normal file
BIN
proprietary/vendor/lib64/libqfp_sensortest.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib64/libsynaFpSensorTestNwd.so
vendored
Normal file
BIN
proprietary/vendor/lib64/libsynaFpSensorTestNwd.so
vendored
Normal file
Binary file not shown.
@@ -11,7 +11,9 @@ PRODUCT_COPY_FILES += \
|
|||||||
vendor/samsung/s5e8825-common/proprietary/vendor/etc/epic.json:$(TARGET_COPY_OUT_VENDOR)/etc/epic.json \
|
vendor/samsung/s5e8825-common/proprietary/vendor/etc/epic.json:$(TARGET_COPY_OUT_VENDOR)/etc/epic.json \
|
||||||
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/android.hardware.drm@1.4-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.4-service.widevine.rc \
|
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/android.hardware.drm@1.4-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.4-service.widevine.rc \
|
||||||
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/cass.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/cass.rc \
|
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/cass.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/cass.rc \
|
||||||
|
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/fingerprint_common.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/fingerprint_common.rc \
|
||||||
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/init.baseband.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.baseband.rc \
|
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/init.baseband.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.baseband.rc \
|
||||||
|
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/init.fingerprint.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.fingerprint.rc \
|
||||||
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/init.vendor.rilcommon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.vendor.rilcommon.rc \
|
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/init.vendor.rilcommon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.vendor.rilcommon.rc \
|
||||||
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/secaudiohalaidl.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/secaudiohalaidl.rc \
|
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/secaudiohalaidl.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/secaudiohalaidl.rc \
|
||||||
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/vendor.samsung.rilchip.slsi.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.samsung.rilchip.slsi.rc \
|
vendor/samsung/s5e8825-common/proprietary/vendor/etc/init/vendor.samsung.rilchip.slsi.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.samsung.rilchip.slsi.rc \
|
||||||
@@ -71,11 +73,15 @@ PRODUCT_PACKAGES += \
|
|||||||
libVendorSemDataProps \
|
libVendorSemDataProps \
|
||||||
libVendorSemTelephonyProps \
|
libVendorSemTelephonyProps \
|
||||||
libc++_shared \
|
libc++_shared \
|
||||||
|
libegis_fp_normal_sensor_test \
|
||||||
libengmode_client \
|
libengmode_client \
|
||||||
|
libgf_in_system_lib \
|
||||||
libhwjsqz \
|
libhwjsqz \
|
||||||
|
libqfp_sensortest \
|
||||||
libril_sem \
|
libril_sem \
|
||||||
libsec-ril \
|
libsec-ril \
|
||||||
libsensorlistener \
|
libsensorlistener \
|
||||||
|
libsynaFpSensorTestNwd \
|
||||||
libuniapi \
|
libuniapi \
|
||||||
libuniplugin \
|
libuniplugin \
|
||||||
libvkmanager_vendor \
|
libvkmanager_vendor \
|
||||||
|
|||||||
Reference in New Issue
Block a user