From 7c6e328a636eab44fcab2dbe49c3ffa430637587 Mon Sep 17 00:00:00 2001 From: Lily Lin Date: Thu, 28 Apr 2022 19:15:22 +0800 Subject: [PATCH] Enable read/write access to st33spi_state for euiccpixel_app Bug: 228655141 Test: Confirm can read/write st33spi_state Change-Id: I92cf9696c225d4e47c374ea75c78feba8216ca85 --- conf/init.raviole.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/init.raviole.rc b/conf/init.raviole.rc index 22f0917..31ff159 100644 --- a/conf/init.raviole.rc +++ b/conf/init.raviole.rc @@ -50,6 +50,10 @@ on post-fs-data # Start the twoshay touch service start twoshay + # Allow secure_element group to read / write ST33 SPI state + chown secure_element secure_element /sys/class/st33spi/st33spi/st33spi_state + chmod 0660 /sys/class/st33spi/st33spi/st33spi_state + on property:ro.revision=PROTO1.0 setprop persist.fingerprint.ghbm true