Enable eSE2 and ctsmode settings am: ffc1fc5c5b

Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19354428

Change-Id: I5ebb06b8db4f29c211810ec12b4d557e12980d91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
George Chang 2022-07-21 06:26:25 +00:00 committed by Automerger Merge Worker
commit cdf7f8a482

View file

@ -42,6 +42,10 @@ on post-fs-data
chown system system /dev/goodix_fp
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g7.app
# SecureElement eSE2 cts mode
on property:persist.vendor.se.ese2.mode=ctsmode
write /sys/class/st33spi/st33spi/st33spi_state 33
# Allow secure_element group to read / write ST33 SPI state
on post-fs-data
chown secure_element secure_element /sys/class/st33spi/st33spi/st33spi_state