device_google_tegu/conf/init.tegu.rc
KRIS CHEN 1821a75ecb Revert "Temporarily disable fingerprint"
This reverts commit cf92798034.

Reason for revert: Enable fingerprint

Bug: 325856577
Test: suspend and resume
Test: enroll and authenticate fingerprint
Change-Id: I0e86d9ef08bdf3ee31f63e259228e7ad1383718a
2024-03-28 05:07:09 +00:00

43 lines
1.2 KiB
Text

# Tegu specific init.rc
import /vendor/etc/init/hw/init.${ro.board.platform}.board.rc
on init && property:ro.vendor.factory=1
import /vendor/etc/init/hw/init.factory.rc
on init
# eSE streset tool name
setprop persist.vendor.se.streset libstreset24
on early-boot
# Wait for insmod_sh to finish all common modules
wait_for_prop vendor.common.modules.ready 1
start insmod_sh_tegu
service insmod_sh_tegu /vendor/bin/insmod.sh /vendor_dlkm/etc/init.insmod.${ro.hardware}.cfg
class main
user root
group root system
disabled
oneshot
on property:vendor.mfgapi.touchpanel.permission=1
chmod 0600 /sys/devices/virtual/sec/tsp/cmd
chown system system /sys/devices/virtual/sec/tsp/cmd
# WiFi
on post-fs-data
setprop wifi.direct.interface p2p-dev-wlan0
setprop wifi.aware.interface aware_nmi0
# Speaker amp permission
chmod 644 /mnt/vendor/persist/audio/speaker.cal
# Bluetooth
on post-fs-data
chown bluetooth system /proc/bluetooth/timesync
# ODPM
on early-boot && property:ro.boot.hardware.sku=GXQ96
write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"
on early-boot && property:ro.boot.hardware.sku=G3Y12
write /sys/bus/iio/devices/iio:device0/enabled_rails "CH11=BUCK12S"