summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_wayne.rc6
-rw-r--r--light/android.hardware.light@2.0-service.xiaomi_wayne.rc4
-rwxr-xr-xrootdir/bin/init.class_main.sh22
-rwxr-xr-xrootdir/bin/init.qcom.post_boot.sh2
-rwxr-xr-xrootdir/etc/init.qcom.rc88
-rwxr-xr-xrootdir/etc/init.target.rc56
6 files changed, 89 insertions, 89 deletions
diff --git a/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_wayne.rc b/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_wayne.rc
index cd91699..d3890ed 100644
--- a/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_wayne.rc
+++ b/biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_wayne.rc
@@ -11,15 +11,15 @@ on boot
chown system system /sys/devices/soc/soc:fpc1020/wakeup_enable
chmod 0660 /sys/devices/soc/soc:fpc1020/wakeup_enable
-service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_wayne
+service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_wayne
class late_start
user system
group system input
-service goodix_script /vendor/bin/init.goodix.sh
+service vendor.goodix_script /vendor/bin/init.goodix.sh
class late_start
user system
disabled
on property:ro.boot.fpsensor=gdx
- start goodix_script
+ start vendor.goodix_script
diff --git a/light/android.hardware.light@2.0-service.xiaomi_wayne.rc b/light/android.hardware.light@2.0-service.xiaomi_wayne.rc
index 36d4af3..f803030 100644
--- a/light/android.hardware.light@2.0-service.xiaomi_wayne.rc
+++ b/light/android.hardware.light@2.0-service.xiaomi_wayne.rc
@@ -13,8 +13,8 @@ on boot
chmod 660 /sys/class/leds/red/pause_lo
chmod 660 /sys/class/leds/red/ramp_step_ms
chmod 660 /sys/class/leds/red/start_idx
-
-service light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.xiaomi_wayne
+
+service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.xiaomi_wayne
class hal
user system
group system
diff --git a/rootdir/bin/init.class_main.sh b/rootdir/bin/init.class_main.sh
index 9fce445..074fb9d 100755
--- a/rootdir/bin/init.class_main.sh
+++ b/rootdir/bin/init.class_main.sh
@@ -47,8 +47,8 @@ esac
case "$baseband" in
"msm" | "csfb" | "svlte2a" | "mdm" | "mdm2" | "sglte" | "sglte2" | "dsda2" | "unknown" | "dsda3" | "sdm" | "sdx")
- start ipacm-diag
- start ipacm
+ start vendor.ipacm-diag
+ start vendor.ipacm
case "$baseband" in
"svlte2a" | "csfb")
start qmiproxy
@@ -67,24 +67,24 @@ case "$baseband" in
multisim=`getprop persist.radio.multisim.config`
if [ "$multisim" = "dsds" ] || [ "$multisim" = "dsda" ]; then
- start ril-daemon2
+ start vendor.ril-daemon2
elif [ "$multisim" = "tsts" ]; then
- start ril-daemon2
- start ril-daemon3
+ start vendor.ril-daemon2
+ start vendor.ril-daemon3
fi
case "$datamode" in
"tethered")
- start qti
- start port-bridge
+ start vendor.qti
+ start vendor.port-bridge
;;
"concurrent")
- start qti
- start netmgrd
- start port-bridge
+ start vendor.qti
+ start vendor.netmgrd
+ start vendor.port-bridge
;;
*)
- start netmgrd
+ start vendor.netmgrd
;;
esac
esac
diff --git a/rootdir/bin/init.qcom.post_boot.sh b/rootdir/bin/init.qcom.post_boot.sh
index 1d6b55a..a7986ae 100755
--- a/rootdir/bin/init.qcom.post_boot.sh
+++ b/rootdir/bin/init.qcom.post_boot.sh
@@ -1336,7 +1336,7 @@ case "$target" in
case "$soc_id" in
"277" | "278")
# Start energy-awareness for 8976
- start energy-awareness
+ start vendor.energy-awareness
;;
esac
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 18fb103..41fefcd 100755
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -425,7 +425,7 @@ on post-fs-data
#Create FTM_AP dir for factory test
mkdir /data/FTM_AP 0775 system system
-service ssr_setup /system/vendor/bin/ssr_setup
+service vendor.ssr_setup /system/vendor/bin/ssr_setup
oneshot
disabled
@@ -442,7 +442,7 @@ on property:persist.sys.pil_proxy_timeout=*
write /sys/module/peripheral_loader/parameters/proxy_timeout_ms ${persist.sys.pil_proxy_timeout}
on property:persist.sys.ssr.restart_level=*
- start ssr_setup
+ start vendor.ssr_setup
on property:persist.sys.ssr.enable_ramdumps=1
write /sys/module/subsystem_restart/parameters/enable_ramdumps 1
@@ -471,107 +471,107 @@ on property:persist.debug.trace=1
write /proc/sys/kernel/core_pattern "/data/core/%E.%p.%e"
on property:sys.ftmd=1
- start ftmd
+ start vendor.ftmd
on property:ro.bluetooth.ftm_enabled=true
- start ftmd
+ start vendor.ftmd
-service qcom-c_main-sh /vendor/bin/init.class_main.sh
+service vendor.qcom-c_main-sh /vendor/bin/init.class_main.sh
class main
user root
oneshot
on property:vold.decrypt=trigger_restart_framework
- start qcom-c_main-sh
+ start vendor.qcom-c_main-sh
start config_bt_addr
start wcnss-service
on property:persist.env.fastdorm.enabled=true
setprop persist.radio.data_no_toggle 1
-service cnd /system/vendor/bin/cnd
+service vendor.cnd /system/vendor/bin/cnd
class main
user system
group system wifi inet radio wakelock net_admin
-service dpmQmiMgr /system/vendor/bin/dpmQmiMgr
+service vendor.dpmQmiMgr /system/vendor/bin/dpmQmiMgr
class main
user system
group system
-service irsc_util /vendor/bin/irsc_util "/vendor/etc/sec_config"
+service vendor.irsc_util /vendor/bin/irsc_util "/vendor/etc/sec_config"
class core
user root
oneshot
-service rmt_storage /vendor/bin/rmt_storage
+service vendor.rmt_storage /vendor/bin/rmt_storage
class core
user root
shutdown critical
ioprio rt 0
-service tftp_server /vendor/bin/tftp_server
+service vendor.tftp_server /vendor/bin/tftp_server
class core
user root
on property:wc_transport.start_hci=true
- start start_hci_filter
+ start vendor.start_hci_filter
on property:wc_transport.start_hci=false
- stop start_hci_filter
+ stop vendor.start_hci_filter
-service start_hci_filter /system/vendor/bin/wcnss_filter
+service vendor.start_hci_filter /system/vendor/bin/wcnss_filter
class late_start
user bluetooth
group bluetooth diag system wakelock
seclabel u:r:bluetooth:s0
disabled
-service ftmd /system/bin/logwrapper /system/vendor/bin/ftmdaemon
+service vendor.ftmd /system/bin/logwrapper /system/vendor/bin/ftmdaemon
class late_start
user root
group bluetooth net_bt_admin misc diag net_bt
disabled
oneshot
-service port-bridge /system/vendor/bin/port-bridge
+service vendor.port-bridge /system/vendor/bin/port-bridge
class main
user radio system
group radio system inet
disabled
oneshot
-service netmgrd /system/vendor/bin/netmgrd
+service vendor.netmgrd /system/vendor/bin/netmgrd
class main
disabled
-service ipacm-diag /system/vendor/bin/ipacm-diag
+service vendor.ipacm-diag /system/vendor/bin/ipacm-diag
class main
user radio
socket ipacm_log_file dgram 660 radio radio
group radio diag oem_2901
disabled
-service ipacm /system/vendor/bin/ipacm
+service vendor.ipacm /system/vendor/bin/ipacm
class main
user radio
group radio inet
disabled
-service qti /system/vendor/bin/qti
+service vendor.qti /system/vendor/bin/qti
class main
user radio
group radio oem_2901 diag usb net_admin
disabled
-service sensors /vendor/bin/sensors.qcom
+service vendor.sensors /vendor/bin/sensors.qcom
class core
user root
group root
on property:ro.use_data_netmgrd=false
# netmgr not supported on specific target
- stop netmgrd
+ stop vendor.netmgrd
# Adjust socket buffer to enlarge TCP receive window for high bandwidth
# but only if ro.data.large_tcp_window_size property is set.
@@ -611,7 +611,7 @@ service vendor.wigig_supplicant /vendor/bin/hw/wpa_supplicant \
oneshot
# FST Manager with hostapd (softap) - all settings inside ini file
-service fstman /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini
+service vendor.fstman /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini
user wifi
group wifi net_admin net_raw
class main
@@ -619,7 +619,7 @@ service fstman /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini
oneshot
# FST Manager with supplicant - connect to supplicant socket
-service fstman_wlan0 /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini @android:wpa_wlan0
+service vendor.fstman_wlan0 /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini @android:wpa_wlan0
user wifi
group wifi net_admin net_raw
class main
@@ -627,24 +627,24 @@ service fstman_wlan0 /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini
oneshot
on property:netd.fstman.start=true
- start fstman
+ start vendor.fstman
on property:netd.fstman.start=false
- stop fstman
+ stop vendor.fstman
on property:persist.vendor.wigig.enable=1
insmod /vendor/lib/modules/wil6210.ko alt_ifname=1
-service cnss-daemon /system/vendor/bin/cnss-daemon -n -l
+service vendor.cnss-daemon /system/vendor/bin/cnss-daemon -n -l
class late_start
user system
group system inet net_admin wifi
capabilities NET_ADMIN
on property:sys.shutdown.requested=*
- stop cnss-daemon
+ stop vendor.cnss-daemon
-service loc_launcher /system/vendor/bin/loc_launcher
+service vendor.loc_launcher /system/vendor/bin/loc_launcher
#loc_launcher will start as root and set its uid to gps
class late_start
group gps inet diag wifi
@@ -653,33 +653,33 @@ on property:crypto.driver.load=1
insmod /system/lib/modules/qce.ko
insmod /system/lib/modules/qcedev.ko
-service qcom-sh /vendor/bin/init.qcom.sh
+service vendor.qcom-sh /vendor/bin/init.qcom.sh
class late_start
user root
oneshot
-service qcom-post-boot /vendor/bin/init.qcom.post_boot.sh
+service vendor.qcom-post-boot /vendor/bin/init.qcom.post_boot.sh
class late_start
user root
disabled
oneshot
on property:sys.boot_completed=1
- start qcom-post-boot
+ start vendor.qcom-post-boot
-service qvop-daemon /vendor/bin/qvop-daemon
+service vendor.qvop-daemon /vendor/bin/qvop-daemon
class late_start
user system
group system drmrpc
-service atfwd /vendor/bin/ATFWD-daemon
+service vendor.atfwd /vendor/bin/ATFWD-daemon
class late_start
user system
group system radio
disabled
on property:persist.radio.atfwd.start=true
- start atfwd
+ start vendor.atfwd
service hostapd_fst /vendor/bin/hostapd -dd -g /data/vendor/wifi/hostapd/global /data/misc/wifi/hostapd.conf
class late_start
@@ -699,7 +699,7 @@ on property:ro.data.large_tcp_window_size=true
# Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB)
write /proc/sys/net/ipv4/tcp_adv_win_scale 2
-service ril-daemon2 /vendor/bin/hw/rild -c 2
+service vendor.ril-daemon2 /vendor/bin/hw/rild -c 2
class main
socket rild2 stream 660 root radio
socket rild-debug2 stream 660 radio system
@@ -708,7 +708,7 @@ service ril-daemon2 /vendor/bin/hw/rild -c 2
group radio cache inet misc audio sdcard_r sdcard_rw diag oem_2901 log
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
-service ril-daemon3 /vendor/bin/hw/rild -c 3
+service vendor.ril-daemon3 /vendor/bin/hw/rild -c 3
class main
socket rild3 stream 660 root radio
socket rild-debug3 stream 660 radio system
@@ -722,7 +722,7 @@ service charger /charger
group system graphics
seclabel u:r:healthd:s0
-service ssr_diag /system/vendor/bin/ssr_diag
+service vendor.ssr_diag /system/vendor/bin/ssr_diag
class late_start
user system
group system
@@ -736,16 +736,16 @@ on property:sys.qbcharger.enable=true
start qbcharger
on property:sys.qbcharger.enable=false
- stop qbcharger
+ stop vendor.qbcharger
-service diag_mdlog_start /system/vendor/bin/diag_mdlog
+service vendor.diag_mdlog_start /system/vendor/bin/diag_mdlog
class late_start
user shell
group system diag oem_2901 sdcard_rw sdcard_r media_rw
disabled
oneshot
-service diag_mdlog_stop /system/vendor/bin/diag_mdlog -k
+service vendor.diag_mdlog_stop /system/vendor/bin/diag_mdlog -k
class late_start
user shell
group system diag oem_2901 sdcard_rw sdcard_r media_rw
@@ -753,9 +753,9 @@ service diag_mdlog_stop /system/vendor/bin/diag_mdlog -k
oneshot
on property:persist.sys.mdlog.enable=true
- start diag_mdlog_start
+ start vendor.diag_mdlog_start
on property:persist.sys.mdlog.enable=false
- start diag_mdlog_stop
+ start vendor.diag_mdlog_stop
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance.conf
class core
@@ -778,7 +778,7 @@ service vendor.msm_irqbl_sdm630 /vendor/bin/msm_irqbalance -f /system/vendor/etc
on charger
setprop persist.sys.usb.config mass_storage
load_system_props
- start qcom-post-boot
+ start vendor.qcom-post-boot
on property:init.svc.surfaceflinger=restarting
stop hwcomposer-2-1
diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc
index 0aaab5d..b054763 100755
--- a/rootdir/etc/init.target.rc
+++ b/rootdir/etc/init.target.rc
@@ -70,7 +70,7 @@ on fs
chown system system /sys/class/thermal/thermal_message/sconfig
on post-fs
- start qseecomd
+ start vendor.qseecomd
exec - system system -- /vendor/bin/init.qti.qseecomd.sh
on init
@@ -88,7 +88,7 @@ on post-fs-data
mkdir /data/thermal/config 0771 system system
on boot
- start rmt_storage
+ start vendor.rmt_storage
write /dev/cpuset/top-app/cpus 0-7
write /dev/cpuset/foreground/cpus 0-7
write /dev/cpuset/foreground/boost/cpus 0-7
@@ -120,30 +120,30 @@ on boot
chown wifi wifi /sys/module/wlan/parameters/fwpath
#Peripheral manager
-service per_mgr /system/vendor/bin/pm-service
+service vendor.per_mgr /system/vendor/bin/pm-service
class core
user system
group system
ioprio rt 4
-service per_proxy /system/vendor/bin/pm-proxy
+service vendor.per_proxy /system/vendor/bin/pm-proxy
class core
user system
group system
disabled
on property:init.svc.per_mgr=running
- start per_proxy
+ start vendor.per_proxy
on property:sys.shutdown.requested=*
- stop per_proxy
+ stop vendor.per_proxy
-service qseecomd /vendor/bin/qseecomd
+service vendor.qseecomd /vendor/bin/qseecomd
class core
user root
group root
-service thermal-engine /system/vendor/bin/thermal-engine
+service vendor.thermal-engine /system/vendor/bin/thermal-engine
class main
user root
socket thermal-send-client stream 0666 system system
@@ -152,42 +152,42 @@ service thermal-engine /system/vendor/bin/thermal-engine
socket thermal-send-rule stream 0660 system system
group root
-service time_daemon /system/vendor/bin/time_daemon
+service vendor.time_daemon /system/vendor/bin/time_daemon
class late_start
user root
group root
-service adsprpcd /system/vendor/bin/adsprpcd audiopd
+service vendor.adsprpcd /system/vendor/bin/adsprpcd audiopd
class main
user media
group media
-service imsqmidaemon /system/vendor/bin/imsqmidaemon
+service vendor.imsqmidaemon /system/vendor/bin/imsqmidaemon
class main
user system
socket ims_qmid stream 0660 system radio
group radio log diag
-service imsdatadaemon /system/vendor/bin/imsdatadaemon
+service vendor.imsdatadaemon /system/vendor/bin/imsdatadaemon
class main
user system
socket ims_datad stream 0660 system radio
group system wifi radio inet log diag
disabled
-service energy-awareness /system/vendor/bin/energy-awareness
+service vendor.energy-awareness /system/vendor/bin/energy-awareness
class main
user system
group system
oneshot
-service pd_mapper /system/vendor/bin/pd-mapper
+service vendor.pd_mapper /system/vendor/bin/pd-mapper
class core
on property:vendor.ims.QMI_DAEMON_STATUS=1
- start imsdatadaemon
+ start vendor.imsdatadaemon
-service ims_rtp_daemon /system/vendor/bin/ims_rtp_daemon
+service vendor.ims_rtp_daemon /system/vendor/bin/ims_rtp_daemon
class main
user system
group radio diag inet log
@@ -201,12 +201,12 @@ service vendor.imsrcsservice /system/vendor/bin/imsrcsd
# add for HMI_L8866_A01-502: begin
on property:vendor.ims.DATA_DAEMON_STATUS=1
- start ims_rtp_daemon
+ start vendor.ims_rtp_daemon
start vendor.imsrcsservice
setprop persist.rcs.supported 0
# add for HMI_L8866_A01-502: end
-service ppd /system/vendor/bin/mm-pp-dpps
+service vendor.ppd /system/vendor/bin/mm-pp-dpps
class late_start
user system
group system graphics
@@ -214,35 +214,35 @@ service ppd /system/vendor/bin/mm-pp-dpps
disabled
on property:init.svc.surfaceflinger=stopped
- stop ppd
+ stop vendor.ppd
on property:init.svc.surfaceflinger=running
- start ppd
+ start vendor.ppd
on property:init.svc.surfaceflinger=restarting
- stop ppd
+ stop vendor.ppd
on property:init.svc.zygote=stopped
- stop ppd
+ stop vendor.ppd
on property:init.svc.zygote=running
- start ppd
+ start vendor.ppd
on property:init.svc.zygote=restarting
- stop ppd
+ stop vendor.ppd
on charger
load_system_props
- start qcom-post-boot
- start hvdcp_opti
+ start vendor.qcom-post-boot
+ start vendor.hvdcp_opti
setprop sys.usb.configfs 1
-service qfp-daemon /vendor/bin/qfp-daemon
+service vendor.qfp-daemon /vendor/bin/qfp-daemon
class late_start
user system
group system drmrpc diag input
-service hvdcp_opti /system/vendor/bin/hvdcp_opti
+service vendor.hvdcp_opti /system/vendor/bin/hvdcp_opti
class main
user root
group system wakelock