pstar: cleanup init, remove unused services and duplicates
This commit is contained in:
parent
b76c7be1db
commit
211c965b06
@ -1,7 +1,6 @@
|
||||
# NFC ST21NFC
|
||||
import /vendor/etc/init/hw/init.vendor.st21nfc.rc
|
||||
|
||||
# import /vendor/etc/init/hw/init.vendor.st21nfc.rc
|
||||
on early-init
|
||||
setprop ro.vendor.device_edition ${ro.boot.edition}
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules qpnp-smbcharger-mmi qpnp_adaptive_charge
|
||||
@ -49,28 +48,6 @@ on post-fs
|
||||
chown root input /sys/class/sensors/dt-gesture/poll_delay
|
||||
chmod 0660 /sys/class/sensors/dt-gesture/poll_delay
|
||||
|
||||
# Change ownership and permision of st nfc device
|
||||
chown nfc nfc /dev/st21nfc
|
||||
chmod 0660 /dev/st21nfc
|
||||
|
||||
on post-fs-data
|
||||
# Load DLKM that can afford being loaded later
|
||||
setprop vendor.mmi_init.stage late
|
||||
start vendor.mmi_modules
|
||||
wait_for_prop init.svc.vendor.mmi_modules stopped
|
||||
setprop vendor.mmi_init.stage complete
|
||||
|
||||
service vendor.stflashtool /vendor/bin/STFlashTool -c /vendor/etc/st21nfc_conf.txt -P vendor.nfc.fw_status
|
||||
group nfc
|
||||
user nfc
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service vendor.mmi_modules /vendor/bin/init.mmi.modules.sh
|
||||
user root
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service vendor.vl53l1_daemon /vendor/bin/vl53l1_daemon
|
||||
class late_start
|
||||
user root
|
||||
@ -82,20 +59,6 @@ service vendor.mmi-laser-sh /vendor/bin/init.mmi.laser.sh
|
||||
user root
|
||||
oneshot
|
||||
|
||||
|
||||
service vendor.ftmipcd2 /vendor/bin/ftmipcd2
|
||||
user radio
|
||||
group radio net_raw inet oem_2901
|
||||
capabilities NET_RAW
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
on property:ro.bootmode=factory
|
||||
start vendor.ftmipcd2
|
||||
|
||||
on property:ro.bootmode=mot-factory
|
||||
start vendor.ftmipcd2
|
||||
|
||||
on init
|
||||
write /sys/block/zram0/comp_algorithm lz4
|
||||
|
||||
@ -193,12 +156,3 @@ on post-fs-data
|
||||
mkdir /data/vendor/tzstorage/goodix 0770 system system
|
||||
exec_start vendor.ident-fps-overlay-sh
|
||||
|
||||
service vendor.qrtr-lookup-sh /vendor/bin/init.mmi.qrtr-lookup.sh
|
||||
class late_start
|
||||
user root
|
||||
group log system
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
start vendor.qrtr-lookup-sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user