diff options
Diffstat (limited to 'rootdir/etc/init.qcom.rc')
-rwxr-xr-x | rootdir/etc/init.qcom.rc | 469 |
1 files changed, 0 insertions, 469 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 2736b6d..18fb103 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -128,10 +128,6 @@ on boot #enable camera read sensors data setprop persist.camera.gyro.disable 0 - #Remove SUID bit for iproute2 ip tool - chmod 0755 /system/bin/ip - - chmod 0444 /sys/devices/platform/msm_hsusb/gadget/usb_state # Define TCP buffer sizes for various networks @@ -429,38 +425,10 @@ on post-fs-data #Create FTM_AP dir for factory test mkdir /data/FTM_AP 0775 system system -service nqnfcinfo /system/vendor/bin/nqnfcinfo - class late_start - group nfc - user system - oneshot - -service iop /system/vendor/bin/iop - class main - user root - group root - disabled - socket iop seqpacket 0666 root system - -service qcomsysd /system/vendor/bin/qcom-system-daemon - class main - user root - group root diag - disabled - -on property:persist.vendor.qcomsysd.enabled=1 - start qcomsysd - service ssr_setup /system/vendor/bin/ssr_setup oneshot disabled -service ss_ramdump /system/vendor/bin/subsystem_ramdump - class main - user system - group system - disabled - on property:persist.sys.ssr.enable_debug=* write /sys/module/subsystem_restart/parameters/enable_debug ${persist.sys.ssr.enable_debug} @@ -479,7 +447,6 @@ on property:persist.sys.ssr.restart_level=* on property:persist.sys.ssr.enable_ramdumps=1 write /sys/module/subsystem_restart/parameters/enable_ramdumps 1 mkdir /data/ramdump 770 system system - start ss_ramdump on property:persist.sys.ssr.enable_ramdumps=0 write /sys/module/subsystem_restart/parameters/enable_ramdumps 0 @@ -503,51 +470,12 @@ on property:persist.debug.trace=1 mkdir /data/core 0777 root root write /proc/sys/kernel/core_pattern "/data/core/%E.%p.%e" -#zhuxiaomin @ 20170928 -service iwprivftm /system/bin/sh /system/etc/iwpriv.agent.sh - oneshot - disabled -on property:persist.sys.iwpriv=1 - start iwprivftm - -#++++> -on property:sys.ptt_socket_app=1 - start ptt_ffbm - on property:sys.ftmd=1 start ftmd -#<++++ zhuxiaomin @ 20170928 Add for WiFi & BT FFBM test. - -on property:init.svc.wpa_supplicant=stopped - stop dhcpcd - -on property:bluetooth.sap.status=running - start bt-sap - -on property:bluetooth.sap.status=stopped - stop bt-sap - -on property:bluetooth.dun.status=running - start bt-dun - -on property:bluetooth.dun.status=stopped - stop bt-dun on property:ro.bluetooth.ftm_enabled=true start ftmd -on property:bluetooth.startbtsnoop=true - start btsnoop - -on property:bluetooth.startbtsnoop=false - stop btsnoop - -on property:bluetooth.startbtlogger=true - start bt_logger - -on property:bluetooth.startbtlogger=false - stop bt_logger - service qcom-c_main-sh /vendor/bin/init.class_main.sh class main user root @@ -599,34 +527,6 @@ service start_hci_filter /system/vendor/bin/wcnss_filter seclabel u:r:bluetooth:s0 disabled -service bt-dun /system/bin/dun-server /dev/smd7 /dev/rfcomm0 - class late_start - user bluetooth - group bluetooth net_bt_admin inet - disabled - oneshot - -service bt-sap /system/bin/sapd 15 - user bluetooth - group bluetooth net_bt_admin - class late_start - disabled - oneshot - -service btsnoop /system/bin/btsnoop - user bluetooth - group bluetooth net_bt_admin sdcard_rw sdcard_r media_rw - class late_start - disabled - oneshot - -service bt_logger /system/bin/bt_logger - user bluetooth - group bluetooth net_bt_admin sdcard_rw sdcard_r media_rw - class late_start - disabled - oneshot - service ftmd /system/bin/logwrapper /system/vendor/bin/ftmdaemon class late_start user root @@ -641,19 +541,6 @@ service port-bridge /system/vendor/bin/port-bridge disabled oneshot -service qmiproxy /system/bin/qmiproxy - class main - user radio - group radio diag - disabled - -# QMUX must be in multiple groups to support external process connections -service qmuxd /system/vendor/bin/qmuxd - class main - user root - group radio audio bluetooth gps nfc diag - disabled - service netmgrd /system/vendor/bin/netmgrd class main disabled @@ -694,24 +581,6 @@ on property:ro.data.large_tcp_window_size=true on property:sys.sysctl.tcp_adv_win_scale=* write /proc/sys/net/ipv4/tcp_adv_win_scale ${sys.sysctl.tcp_adv_win_scale} -service amp_init /system/vendor/bin/amploader -i - class late_start - user root - disabled - oneshot - -service amp_load /system/vendor/bin/amploader -l 7000 - class late_start - user root - disabled - oneshot - -service amp_unload /system/vendor/bin/amploader -u - class late_start - user root - disabled - oneshot - service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ -O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1 -dd \ -eg@android:wpa_wlan0 @@ -763,91 +632,8 @@ on property:netd.fstman.start=true on property:netd.fstman.start=false stop fstman -service wigighalsvc /vendor/bin/wigighalsvc - class main - user system - group wifi - disabled - -service wigignpt /vendor/bin/wigignpt - class main - socket wigignpt stream 660 system wifi - user system - group wifi net_admin - disabled - on property:persist.vendor.wigig.enable=1 insmod /vendor/lib/modules/wil6210.ko alt_ifname=1 - start wigighalsvc - -on property:persist.vendor.wigig.npt.enable=1 - start wigignpt - -service dhcpcd_wlan0 /system/bin/dhcpcd -ABKLG - class late_start - disabled - oneshot - -service dhcpcd_bond0 /system/bin/dhcpcd -ABKLG - class late_start - disabled - oneshot - -service dhcpcd_p2p /system/bin/dhcpcd -ABKLG - class late_start - disabled - oneshot - -service dhcpcd_wigig0 /system/bin/dhcpcd -ABKLG - class late_start - disabled - oneshot - -service iprenew_wlan0 /system/bin/dhcpcd -n - class late_start - disabled - oneshot - -service iprenew_bond0 /system/bin/dhcpcd -n - class late_start - disabled - oneshot - -service iprenew_p2p /system/bin/dhcpcd -n - class late_start - disabled - oneshot - -service iprenew_wigig0 /system/bin/dhcpcd -n - class late_start - disabled - oneshot - -service ptt_socket_app /system/vendor/bin/ptt_socket_app -d - class main - user root - group root - disabled - oneshot - -service ptt_ffbm /system/vendor/bin/ptt_socket_app -f -d - user root - group root - disabled - oneshot - -service wifi_ftmd /system/vendor/bin/wifi_ftmd - user system - group system inet net_admin - socket wififtmd_server dgram 0660 system system - disabled - oneshot - -on property:wifi.ftmd.load=true - start openwifi -on property:wifi.ftmd.load=false - stop openwifi - service cnss-daemon /system/vendor/bin/cnss-daemon -n -l class late_start @@ -858,48 +644,6 @@ service cnss-daemon /system/vendor/bin/cnss-daemon -n -l on property:sys.shutdown.requested=* stop cnss-daemon -service dhcpcd_bt-pan /system/bin/dhcpcd -BKLG - class late_start - disabled - oneshot - -service iprenew_bt-pan /system/bin/dhcpcd -n - class late_start - disabled - oneshot - -service dhcpcd_bnep0 /system/bin/dhcpcd -BKLG - disabled - oneshot - -service dhcpcd_bnep1 /system/bin/dhcpcd -BKLG - disabled - oneshot - -service dhcpcd_bnep2 /system/bin/dhcpcd -BKLG - disabled - oneshot - -service dhcpcd_bnep3 /system/bin/dhcpcd -BKLG - disabled - oneshot - -service dhcpcd_bnep4 /system/bin/dhcpcd -BKLG - disabled - oneshot - -service ssgqmigd /vendor/bin/ssgqmigd - class late_start - user radio - group radio - socket ssgqmig seqpacket 0660 radio inet - -service mlid /vendor/bin/mlid - class late_start - user gps - group gps - socket mlid stream 0666 gps gps - service loc_launcher /system/vendor/bin/loc_launcher #loc_launcher will start as root and set its uid to gps class late_start @@ -909,18 +653,6 @@ on property:crypto.driver.load=1 insmod /system/lib/modules/qce.ko insmod /system/lib/modules/qcedev.ko -service drmdiag /system/vendor/bin/drmdiagapp - class late_start - user root - disabled - oneshot - -on property:drmdiag.load=1 - start drmdiag - -on property:drmdiag.load=0 - stop drmdiag - service qcom-sh /vendor/bin/init.qcom.sh class late_start user root @@ -963,23 +695,10 @@ service vendor.wigig_hostapd /vendor/bin/hostapd -dd /data/vendor/wifi/wigig_hos oneshot disabled -service ims_regmanager /system/vendor/bin/exe-ims-regmanagerprocessnative - class late_start - group net_bt_admin inet radio wifi - disabled - -on property:persist.ims.regmanager.mode=1 - start ims_regmanager - 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 battery_monitor /system/bin/battery_monitor - user system - group system - disabled - service ril-daemon2 /vendor/bin/hw/rild -c 2 class main socket rild2 stream 660 root radio @@ -998,12 +717,6 @@ service ril-daemon3 /vendor/bin/hw/rild -c 3 group radio cache inet misc audio sdcard_r sdcard_rw diag oem_2901 log capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW -service profiler_daemon /system/bin/profiler_daemon - class late_start - user root - group root - disabled - service charger /charger class charger group system graphics @@ -1015,22 +728,6 @@ service ssr_diag /system/vendor/bin/ssr_diag group system disabled -service hvdcp /system/bin/hvdcp - class core - user root - disabled - -on property:persist.usb.hvdcp.detect=true - start hvdcp - -on property:persist.usb.hvdcp.detect=false - stop hvdcp - -service charger_monitor /system/bin/charger_monitor - user root - group root - disabled - service qbcharger /charger -m 1 disabled oneshot @@ -1060,20 +757,6 @@ on property:persist.sys.mdlog.enable=true on property:persist.sys.mdlog.enable=false start diag_mdlog_stop -service qlogd /system/xbin/qlogd - socket qlogd stream 0662 system system - class main - disabled -on property:persist.sys.qlogd=1 - start qlogd -on property:persist.sys.qlogd=0 - stop qlogd - -service vm_bms /vendor/bin/vm_bms - user root - group root - disabled - service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance.conf class core user root @@ -1092,152 +775,19 @@ service vendor.msm_irqbl_sdm630 /vendor/bin/msm_irqbalance -f /system/vendor/etc group root disabled -# service for USERDEBUG -service vendor.LKCore-dbg /vendor/bin/LKCore - class late_start - oneshot - disabled - user root - group root system log diag net_raw - -service sdlog /system/bin/sdlog - class late_start - user root - disabled - oneshot - -on property:sys.logd_t2.enable=1 - start sdlog - -on property:sys.logd.enable=1 - start sdlog - -on property:persist.service.logd.enable=1 - start sdlog -on property:persist.service.logd.enable=0 - setprop vendor.sdlog.run 0 - stop sdlog - -# service for USER -service vendor.LKCore-rel /vendor/bin/LKCore - class late_start - oneshot - disabled - user system - group system log diag - -service qseeproxydaemon /system/vendor/bin/qseeproxydaemon - class late_start - user system - group system - -service esepmdaemon /system/vendor/bin/esepmdaemon - class core - user system - group nfc - on charger setprop persist.sys.usb.config mass_storage load_system_props start qcom-post-boot -#add poweroffhandler -service poweroffhandler /system/vendor/bin/poweroffhandler - class core - user media - group graphics audio - disabled - oneshot - on property:init.svc.surfaceflinger=restarting stop hwcomposer-2-1 start hwcomposer-2-1 -# Logcat dump daemon, dumps logs to logdump partition -#service logdumpd /system/bin/logcat -b all -v threadtime -D -w /dev/block/bootdevice/by-name/logdump -# class core -# writepid /dev/cpuset/system-background/tasks -# seclabel u:r:logdumpd:s0 -# disabled - -# Logdumpd is enabled only for userdebug non-perf build -#on property:ro.logdumpd.enabled=1 -# start logdumpd - -service time_daemon /system/vendor/bin/time_daemon - class main - user root - group root - -service qdmastatsd /system/vendor/bin/qdmastatsd - class late_start - user system - group readproc system net_bw_stats radio - -service vppservice /vendor/bin/vppservice - class main - user media - group camera - # Set vendor-ril lib path based on Meta version on property:vendor.rild.libpath=* setprop rild.libpath ${vendor.rild.libpath} -service seemp_healthd /vendor/bin/seemp_healthd - class late_start - user system - group system - -# blueduttest service for RF BT test. -service blueduttest /vendor/bin/sh /vendor/bin/bluedut.sh - class late_start - user root - group root - disabled - oneshot - -# openwifi service for RF wifi test. -service openwifi /system/bin/sh /vendor/bin/wifitest.sh - class late_start - user root - disabled - oneshot - -# closewifi service for RF wifi test. -service closewifi /system/bin/sh /vendor/bin/wifitest_close.sh - class late_start - user root - disabled - oneshot - -#for wifi myftm test -service myftmftm /vendor/bin/sh /vendor/bin/myftm.agent.sh - oneshot - disabled -on property:persist.sys.myftm=1 - start myftmftm - -#zhufanghua@longcheer.com -service btclose /vendor/bin/sh /vendor/bin/bt_close.sh - user root - group root - oneshot - disabled -on property:sys.closebt=1 - start btclose - -service wdsdaemon /vendor/bin/wdsdaemon -su - user root - group root - oneshot - disabled - -on property:sys.start_wdsdaemon=1 - start wdsdaemon - -on property:sys.start_wdsdaemon=0 - stop wdsdaemon - #lct add runin on property:persist.sys.runin=enable write /sys/class/power_supply/battery/device/BatteryTestStatus 1 @@ -1251,25 +801,6 @@ on property:sys.thermal.isincall=1 on property:sys.thermal.isincall=0 write /sys/class/power_supply/battery/device/thermalcall 0 - -#Add command for PA test begin -service LctDiagSendData /vendor/bin/LctDiagSendData - class core - user root - oneshot - disabled -#on property:persist.sys.lctdiagsenddata=1 -# start LctDiagSendData -#on property:persist.sys.lctdiagsenddata=0 -# stop LctDiagSendData -on property:ro.runtime.firstboot=* - start LctDiagSendData -#Add command for PA test end -service power_off_alarm /vendor/bin/power_off_alarm - class core - group system - disabled - oneshot service config_bt_addr /vendor/bin/btnvtool -O class core |