From b9c8c28644d9d9caed2153054024670c2dcb30df Mon Sep 17 00:00:00 2001 From: George Chang Date: Tue, 24 May 2022 10:18:33 +0800 Subject: [PATCH] Set sereset property every time at boot Set it to "reset" in order to reset ST54K eSE at NFC hal init. Bug: 232204531 Test: check eSE reset process starts at boot Change-Id: I9f5863f963716ddceabbd540fbde32abec0a38b4 --- conf/init.pantah.rc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/init.pantah.rc b/conf/init.pantah.rc index ac43e1a..6ddf9cd 100644 --- a/conf/init.pantah.rc +++ b/conf/init.pantah.rc @@ -4,7 +4,6 @@ on init # NFC streset tool name setprop persist.vendor.nfc.streset libstreset21 setprop persist.vendor.se.streset libstreset21 - setprop persist.vendor.se.reset needed on init && property:ro.vendor.factory=1 import /vendor/etc/init/hw/init.factory.rc @@ -72,6 +71,9 @@ on property:ro.boot.hardware.revision=PROTO1.0 on property:ro.boot.hardware.revision=PROTO1.1 setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf +on post-fs-data + setprop persist.vendor.se.reset reset + # Bluetooth on post-fs-data chown bluetooth system /proc/bluetooth/timesync