sm8250-common: Import Xiaomi TouchFeature service

This commit is contained in:
johnmart19
2025-05-09 15:08:11 +03:00
committed by bntxperses
parent 9be65e2af7
commit 02271875b7
6 changed files with 122 additions and 0 deletions

Binary file not shown.

BIN
proprietary/vendor/bin/toucheventcheck vendored Executable file

Binary file not shown.

View File

@@ -0,0 +1,21 @@
# Copyright (c) 2017 Xiaomi, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Xiaomi, Inc.
#
on boot
chown system system /dev/xiaomi-touch
chmod 0664 /dev/xiaomi-touch
chown system system /sys/class/touch/tp_dev/fod_status
chmod 0664 /sys/class/touch/tp_dev/fod_status
service touchfeature-hal-1-0 /vendor/bin/hw/vendor.xiaomi.hardware.touchfeature@1.0-service
class hal
user system
group system system
onrestart restart touchfeature
service toucheventcheck /vendor/bin/toucheventcheck
class main
user root
group system
oneshot