sanders: init: /system/vendor -> /vendor

This commit is contained in:
Vachounet
2018-05-15 10:57:48 +02:00
committed by therootlord
parent e8de4d1208
commit 7207d67758
2 changed files with 39 additions and 40 deletions

View File

@@ -1,5 +1,5 @@
# Moto USB configuration # Moto USB configuration
import /system/vendor/etc/init/hw/init.mmi.usb.rc import /vendor/etc/init/hw/init.mmi.usb.rc
on early-boot on early-boot
write /sys/module/subsystem_restart/parameters/disable_restart_work 0x0 write /sys/module/subsystem_restart/parameters/disable_restart_work 0x0
@@ -219,7 +219,7 @@ on boot
write /sys/module/binder/parameters/debug_mask 0x5 write /sys/module/binder/parameters/debug_mask 0x5
# Pass carrier to wlan # Pass carrier to wlan
service init_wifi /system/vendor/bin/sh /system/vendor/bin/wlan_carrier_bin.sh service init_wifi /vendor/bin/sh /vendor/bin/wlan_carrier_bin.sh
class main class main
user root user root
group root group root
@@ -251,20 +251,20 @@ on property:ro.boot.dualsim=false
on property:ro.boot.hwrev=* on property:ro.boot.hwrev=*
start mmi-boot-sh start mmi-boot-sh
service adspd /system/vendor/bin/adspd service adspd /vendor/bin/adspd
class main class main
socket adspdsock stream 0660 system audio socket adspdsock stream 0660 system audio
user audio user audio
group audio input diag group audio input diag
service mmi-boot-sh /system/vendor/bin/sh /system/vendor/bin/init.mmi.boot.sh service mmi-boot-sh /vendor/bin/sh /vendor/bin/init.mmi.boot.sh
class core class core
user root user root
oneshot oneshot
disabled disabled
# Sanders uses qcom sensor service # Sanders uses qcom sensor service
service sensors /system/vendor/bin/sensors.qcom service sensors /vendor/bin/sensors.qcom
class core class core
user root user root
group root group root
@@ -274,7 +274,7 @@ service charge_only_mode /system/bin/charge_only_mode
group graphics system input group graphics system input
disabled disabled
service thermal-com /system/vendor/bin/thermal-engine --minimode service thermal-com /vendor/bin/thermal-engine --minimode
class main class main
user root user root
disabled disabled
@@ -296,4 +296,4 @@ on property:ro.bootmode=normal
on property:sys.boot_completed=1 on property:sys.boot_completed=1
# Enable ZRAM on boot_complete # Enable ZRAM on boot_complete
swapon_all /system/vendor/etc/fstab.qcom swapon_all /vendor/etc/fstab.qcom

View File

@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# #
import /system/vendor/etc/init/hw/init.mmi.rc import /vendor/etc/init/hw/init.mmi.rc
on early-init on early-init
mount debugfs debugfs /sys/kernel/debug mount debugfs debugfs /sys/kernel/debug
@@ -41,7 +41,7 @@ on fs
wait /dev/block/platform/soc/${ro.boot.bootdevice} wait /dev/block/platform/soc/${ro.boot.bootdevice}
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
mount_all /system/vendor/etc/fstab.qcom mount_all /vendor/etc/fstab.qcom
write /proc/sys/vm/swappiness 100 write /proc/sys/vm/swappiness 100
# Keeping following partitions outside fstab file. As user may not have # Keeping following partitions outside fstab file. As user may not have
@@ -480,7 +480,6 @@ on post-fs-data
service charger /charger service charger /charger
class charger class charger
group log group log
seclabel u:r:charger:s0
disabled disabled
# Allow usb charging to be disabled peristently # Allow usb charging to be disabled peristently
@@ -490,13 +489,13 @@ on property:persist.usb.chgdisabled=1
on property:persist.usb.chgdisabled=0 on property:persist.usb.chgdisabled=0
write /sys/class/power_supply/battery/charging_enabled 1 write /sys/class/power_supply/battery/charging_enabled 1
service qseecomd /system/vendor/bin/qseecomd service qseecomd /vendor/bin/qseecomd
class core class core
user root user root
group root group root
writepid /dev/cpuset/system-background/tasks writepid /dev/cpuset/system-background/tasks
service thermal-engine /system/vendor/bin/thermal-engine service thermal-engine /vendor/bin/thermal-engine
class main class main
user root user root
socket thermal-send-client stream 0666 system system socket thermal-send-client stream 0666 system system
@@ -506,13 +505,13 @@ service thermal-engine /system/vendor/bin/thermal-engine
group root group root
writepid /dev/cpuset/system-background/tasks writepid /dev/cpuset/system-background/tasks
service time_daemon /system/vendor/bin/time_daemon service time_daemon /vendor/bin/time_daemon
class late_start class late_start
user root user root
group root group root
writepid /dev/cpuset/system-background/tasks writepid /dev/cpuset/system-background/tasks
service audiod /system/vendor/bin/audiod service audiod /vendor/bin/audiod
class late_start class late_start
user system user system
group system group system
@@ -524,24 +523,24 @@ on property:persist.env.fastdorm.enabled=true
setprop persist.radio.data_no_toggle 1 setprop persist.radio.data_no_toggle 1
#start camera server as daemon #start camera server as daemon
service qcamerasvr /system/vendor/bin/mm-qcamera-daemon service qcamerasvr /vendor/bin/mm-qcamera-daemon
class late_start class late_start
user camera user camera
group camera system inet input graphics group camera system inet input graphics
writepid /dev/cpuset/system-background/tasks writepid /dev/cpuset/system-background/tasks
service cnd /system/vendor/bin/cnd service cnd /vendor/bin/cnd
class main class main
user system user system
group system wifi inet radio wakelock net_admin group system wifi inet radio wakelock net_admin
service qseeproxydaemon /system/vendor/bin/qseeproxydaemon service qseeproxydaemon /vendor/bin/qseeproxydaemon
class late_start class late_start
user system user system
group system group system
writepid /dev/cpuset/system-background/tasks writepid /dev/cpuset/system-background/tasks
service esepmdaemon /system/vendor/bin/esepmdaemon service esepmdaemon /vendor/bin/esepmdaemon
class core class core
user system user system
group nfc group nfc
@@ -552,30 +551,30 @@ service wcnss-service /system/bin/wcnss_service
group system wifi radio group system wifi radio
oneshot oneshot
service adsprpcd /system/vendor/bin/adsprpcd service adsprpcd /vendor/bin/adsprpcd
class main class main
user media user media
group media group media
service energy-awareness /system/vendor/bin/energy-awareness service energy-awareness /vendor/bin/energy-awareness
class main class main
user root user root
group system group system
oneshot oneshot
service irsc_util /system/vendor/bin/irsc_util "/system/vendor/etc/sec_config" service irsc_util /vendor/bin/irsc_util "/vendor/etc/sec_config"
class core class core
user root user root
oneshot oneshot
service imsqmidaemon /system/vendor/bin/imsqmidaemon service imsqmidaemon /vendor/bin/imsqmidaemon
class main class main
user system user system
socket ims_qmid stream 0660 system radio socket ims_qmid stream 0660 system radio
group radio log diag group radio log diag
writepid /dev/cpuset/system-background/tasks writepid /dev/cpuset/system-background/tasks
service imsdatadaemon /system/vendor/bin/imsdatadaemon service imsdatadaemon /vendor/bin/imsdatadaemon
class main class main
user system user system
socket ims_datad stream 0660 system radio socket ims_datad stream 0660 system radio
@@ -586,14 +585,14 @@ service imsdatadaemon /system/vendor/bin/imsdatadaemon
on property:vendor.ims.QMI_DAEMON_STATUS=1 on property:vendor.ims.QMI_DAEMON_STATUS=1
start imsdatadaemon start imsdatadaemon
service ims_rtp_daemon /system/vendor/bin/ims_rtp_daemon service ims_rtp_daemon /vendor/bin/ims_rtp_daemon
class main class main
user system user system
socket ims_rtpd stream 0660 system radio socket ims_rtpd stream 0660 system radio
group radio diag inet log group radio diag inet log
disabled disabled
service imsrcsservice /system/vendor/bin/imsrcsd service imsrcsservice /vendor/bin/imsrcsd
class main class main
user system user system
group radio diag inet log group radio diag inet log
@@ -604,7 +603,7 @@ on property:vendor.ims.DATA_DAEMON_STATUS=1
start ims_rtp_daemon start ims_rtp_daemon
start imsrcsservice start imsrcsservice
service rmt_storage /system/vendor/bin/rmt_storage service rmt_storage /vendor/bin/rmt_storage
class core class core
user root user root
ioprio rt 0 ioprio rt 0
@@ -636,24 +635,24 @@ service hci_filter_root /system/bin/wcnss_filter
disabled disabled
#net_admin capability needed to write rfkill sysfs entry #net_admin capability needed to write rfkill sysfs entry
service fmhal_service /system/vendor/bin/fmhal_service service fmhal_service /vendor/bin/fmhal_service
class late_start class late_start
user bluetooth user bluetooth
group bluetooth net_bt_admin net_admin group bluetooth net_bt_admin net_admin
disabled disabled
service tftp_server /system/vendor/bin/tftp_server service tftp_server /vendor/bin/tftp_server
class core class core
user root user root
writepid /dev/cpuset/system-background/tasks writepid /dev/cpuset/system-background/tasks
service per_mgr /system/vendor/bin/pm-service service per_mgr /vendor/bin/pm-service
class core class core
user system user system
group system net_raw group system net_raw
writepid /dev/cpuset/system-background/tasks writepid /dev/cpuset/system-background/tasks
service per_proxy /system/vendor/bin/pm-proxy service per_proxy /vendor/bin/pm-proxy
class core class core
user system user system
group system group system
@@ -669,12 +668,12 @@ on property:sys.shutdown.requested=*
on property:ro.hw.ecompass=true on property:ro.hw.ecompass=true
enable ecompassd enable ecompassd
service netmgrd /system/vendor/bin/netmgrd service netmgrd /vendor/bin/netmgrd
class main class main
group radio system wakelock group radio system wakelock
writepid /dev/cpuset/system-background/tasks writepid /dev/cpuset/system-background/tasks
service qti /system/vendor/bin/qti service qti /vendor/bin/qti
class main class main
user radio user radio
group radio net_raw oem_2950 usb net_admin group radio net_raw oem_2950 usb net_admin
@@ -749,7 +748,7 @@ service iprenew_wigig0 /system/bin/dhcpcd -n
oneshot oneshot
on property:ro.hw.dtv=true on property:ro.hw.dtv=true
insmod /system/lib/modules/isdbt.ko insmod /vendor/lib/modules/isdbt.ko
service wlan_logging /system/bin/cnss_diag -q -f service wlan_logging /system/bin/cnss_diag -q -f
class main class main
@@ -758,7 +757,7 @@ service wlan_logging /system/bin/cnss_diag -q -f
disabled disabled
oneshot oneshot
service cnss-daemon /system/vendor/bin/cnss-daemon -n -l service cnss-daemon /vendor/bin/cnss-daemon -n -l
class late_start class late_start
user system user system
group system inet net_admin wifi group system inet net_admin wifi
@@ -797,13 +796,13 @@ service dhcpcd_bnep4 /system/bin/dhcpcd -BKLG
disabled disabled
oneshot oneshot
service loc_launcher /system/vendor/bin/loc_launcher service loc_launcher /vendor/bin/loc_launcher
#loc_launcher will start as root and set its uid to gps #loc_launcher will start as root and set its uid to gps
class late_start class late_start
group gps inet oem_2950 wifi group gps inet oem_2950 wifi
writepid /dev/cpuset/system-background/tasks writepid /dev/cpuset/system-background/tasks
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance.conf service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /vendor/etc/msm_irqbalance.conf
class core class core
user root user root
group root group root
@@ -816,10 +815,10 @@ service fm_dl /vendor/bin/init.qti.fm.sh
oneshot oneshot
on property:crypto.driver.load=1 on property:crypto.driver.load=1
insmod /system/lib/modules/qce.ko insmod /vendor/lib/modules/qce.ko
insmod /system/lib/modules/qcedev.ko insmod /vendor/lib/modules/qcedev.ko
service atfwd /system/vendor/bin/ATFWD-daemon service atfwd /vendor/bin/ATFWD-daemon
class late_start class late_start
user system user system
group system radio group system radio
@@ -834,7 +833,7 @@ service ril-daemon2 /vendor/bin/hw/rild -c 2
group radio cache inet misc audio log readproc wakelock group radio cache inet misc audio log readproc wakelock
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
service ssr_setup /system/vendor/bin/ssr_setup service ssr_setup /vendor/bin/ssr_setup
oneshot oneshot
disabled disabled