blob: 334f2cc19d77bdc36b8ba50ff300d2d48580603a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import init.common.rc
# Add device specific init.
import /vendor/etc/init/hw/init.qcom.rc
on boot
# insmod private_driver to avoid permission limit
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules private-drivers-tp_cyttsp5.ko private-drivers-tp_cyttsp5_access.ko private-drivers-tp_cyttsp5_loader.ko
on property:sys.boot_completed=1
#add for cyttsp5 TP test
chmod 0666 /sys/bus/i2c/devices/5-0024/cmcp_threshold_loading
chmod 0666 /sys/bus/i2c/devices/5-0024/cmcp_threshold_data
chmod 0666 /sys/bus/i2c/devices/5-0024/cmcp_test
#for charge
chmod 666 /sys/class/power_supply/battery/input_suspend
on post-fs-data
mkdir /data/vendor 0777 nfc nfc
mkdir /data/vendor/nfc 0777 nfc nfc
mkdir /data/vendor/nfc/param 0777 nfc nfc
chmod 0660 /dev/pn553
chown nfc nfc /dev/pn553
mkdir /data/vendor/secure_element 0777 secure_element secure_element
chmod 0660 /dev/p73
chmod secure_element secure_element /dev/p73
|