diff options
author | Michael Bestas <mkbestas@lineageos.org> | 2020-12-27 21:02:08 +0200 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-12-27 21:09:44 +0200 |
commit | 3fee3a2e465a4f5c21504af7c1fc6d2e96117b95 (patch) | |
tree | 7f47bba9ff6ffba78ab7e2f895a5c408a57b5ae9 | |
parent | 87d29a7abe1771c5008b195a95c94a8f3b1d31ca (diff) |
sdm660-common: Remove services that don't exist
Change-Id: Ifaf8240542786ba9964d27850e22ce5c43348770
-rw-r--r-- | rootdir/etc/init.class_main.sh | 7 | ||||
-rw-r--r-- | rootdir/etc/init.qcom.early_boot.sh | 3 | ||||
-rw-r--r-- | rootdir/etc/init.qcom.post_boot.sh | 5 | ||||
-rw-r--r-- | rootdir/etc/init.qcom.rc | 352 | ||||
-rw-r--r-- | rootdir/etc/init.qcom.sh | 121 | ||||
-rw-r--r-- | rootdir/etc/init.target.rc | 183 |
6 files changed, 2 insertions, 669 deletions
diff --git a/rootdir/etc/init.class_main.sh b/rootdir/etc/init.class_main.sh index 35e72ef..a88c38f 100644 --- a/rootdir/etc/init.class_main.sh +++ b/rootdir/etc/init.class_main.sh @@ -96,13 +96,8 @@ case "$baseband" in fi case "$baseband" in - "svlte2a" | "csfb") - start qmiproxy - ;; "sglte" | "sglte2" ) - if [ "x$sgltecsfb" != "xtrue" ]; then - start qmiproxy - else + if [ "x$sgltecsfb" = "xtrue" ]; then setprop persist.vendor.radio.voice.modem.index 0 fi ;; diff --git a/rootdir/etc/init.qcom.early_boot.sh b/rootdir/etc/init.qcom.early_boot.sh index 5224b06..1f1850d 100644 --- a/rootdir/etc/init.qcom.early_boot.sh +++ b/rootdir/etc/init.qcom.early_boot.sh @@ -121,9 +121,6 @@ case "$target" in setprop vendor.media.target.version 2 fi ;; - 355|369|377|384) - setprop vendor.chre.enabled 0 - ;; *) esac ;; diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh index 8ea7be3..c381d3b 100644 --- a/rootdir/etc/init.qcom.post_boot.sh +++ b/rootdir/etc/init.qcom.post_boot.sh @@ -4204,8 +4204,6 @@ case "$target" in echo N > /sys/module/lpm_levels/parameters/sleep_disabled fi echo N > /sys/module/lpm_levels/parameters/sleep_disabled - # Starting io prefetcher service - start iop # Set Memory parameters configure_memory_parameters @@ -4981,7 +4979,6 @@ case "$target" in echo 5 > /proc/sys/kernel/sched_spill_nr_run echo 1 > /proc/sys/kernel/sched_restrict_cluster_spill echo 1 > /proc/sys/kernel/sched_prefer_sync_wakee_to_waker - start iop # disable thermal bcl hotplug to switch governor echo 0 > /sys/module/msm_thermal/core_control/enabled @@ -5266,7 +5263,6 @@ esac # Enable Power modes and set the CPU Freq Sampling rates case "$target" in "msm7627a") - start qosmgrd echo 1 > /sys/module/pm2/modes/cpu0/standalone_power_collapse/idle_enabled echo 1 > /sys/module/pm2/modes/cpu1/standalone_power_collapse/idle_enabled echo 1 > /sys/module/pm2/modes/cpu0/standalone_power_collapse/suspend_enabled @@ -5304,7 +5300,6 @@ fi # Change adj level and min_free_kbytes setting for lowmemory killer to kick in case "$target" in "msm8660") - start qosmgrd echo 0,1,2,4,9,12 > /sys/module/lowmemorykiller/parameters/adj echo 5120 > /proc/sys/vm/min_free_kbytes ;; diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 45ae20a..3be2004 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -71,7 +71,6 @@ on early-boot write /sys/kernel/boot_slpi/boot 1 write /sys/devices/virtual/cvp/cvp/boot 1 exec u:r:qti_init_shell:s0 -- /vendor/bin/init.qcom.early_boot.sh - exec u:r:qti_init_shell:s0 -- /vendor/bin/init.qti.can.sh # for backward compatibility chown system system /persist/sensors @@ -175,9 +174,6 @@ on boot # Allow access for CCID command/response timeout configuration chown system system /sys/module/ccid_bridge/parameters/bulk_msg_timeout - # bond0 used by FST Manager - chown wifi wifi /sys/class/net/bond0/bonding/queue_id - # Allow access to emmc rawdump block partition and dload sysfs node #chown root system /dev/block/bootdevice/by-name/rawdump #chmod 0660 /dev/block/bootdevice/by-name/rawdump @@ -371,44 +367,12 @@ on post-fs-data #Create dir for TUI mkdir /data/vendor/tui 0700 system drmrpc - #Start move time data to /data/vendor once post-fs-data done - start vendor.move_time_data - 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 oem_2901 - disabled - -on property:persist.vendor.qcomsysd.enabled=1 - enable qcomsysd - -on property:persist.vendor.qcomsysd.enabled=0 - stop qcomsysd - -service vendor.ssr_setup /system/vendor/bin/ssr_setup - oneshot - disabled - -service vendor.ss_ramdump /system/vendor/bin/subsystem_ramdump - class main - user system - group system - disabled - on property:ro.vendor.iocgrp.config=1 mkdir /dev/blkio mount cgroup none /dev/blkio blkio @@ -433,13 +397,9 @@ on property:persist.sys.modem_auth_timeout=* on property:persist.sys.pil_proxy_timeout=* write /sys/module/peripheral_loader/parameters/proxy_timeout_ms ${persist.sys.pil_proxy_timeout} -on property:persist.vendor.ssr.restart_level=* - start vendor.ssr_setup - on property:persist.vendor.ssr.enable_ramdumps=1 write /sys/module/subsystem_restart/parameters/enable_ramdumps 1 mkdir /data/vendor/ramdump_ssr 770 system system - start vendor.ss_ramdump on property:persist.vendor.ssr.enable_ramdumps=0 write /sys/module/subsystem_restart/parameters/enable_ramdumps 0 @@ -471,29 +431,9 @@ on property:vendor.radio.atfwd.start=false # mkdir /data/core 0777 root root # write /proc/sys/kernel/core_pattern "/data/core/%E.%p.%e" -on property:vendor.bluetooth.dun.status=running - start vendor.bt-dun - -on property:vendor.bluetooth.dun.status=stopped - stop vendor.bt-dun - -#on property:ro.bluetooth.ftm_enabled=true -# start ftmd - -on property:vendor.bluetooth.startbtlogger=true - start vendor.bt_logger - -on property:vendor.bluetooth.startbtlogger=false - stop vendor.bt_logger - on property:vendor.media.target.version=* setprop vendor.sys.media.target.version ${vendor.media.target.version} -service qcom-c_core-sh /vendor/bin/init.qcom.class_core.sh - class core - user root - oneshot - service qcom-c_main-sh /vendor/bin/init.class_main.sh class main user root @@ -527,33 +467,6 @@ service vendor.tftp_server /vendor/bin/tftp_server class core user root -service vendor.bt-dun /system/bin/dun-server /dev/smd7 /dev/rfcomm0 - class late_start - user bluetooth - group bluetooth net_bt_admin inet - disabled - oneshot - -service vendor.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/bin/ftmdaemon - class late_start - user root - group bluetooth net_bt_admin misc diag net_bt - disabled - oneshot - -service qmiproxy /system/bin/qmiproxy - class main - user radio - group radio diag - disabled - service vendor.sensors.qti /vendor/bin/sensors.qti class core user system @@ -567,37 +480,6 @@ service vendor.sensors.qti /vendor/bin/sensors.qti on property:sys.sysctl.tcp_adv_win_scale=* write /proc/sys/net/ipv4/tcp_adv_win_scale ${sys.sysctl.tcp_adv_win_scale} -# Data Migration -service vendor.move_wifi_data /system/bin/move_wifi_data.sh - class main - user wifi - group wifi - disabled - oneshot - -service ptt_socket_app /system/vendor/bin/ptt_socket_app -d - class main - user wifi - group wifi system inet net_admin - capabilities NET_ADMIN - 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:vendor.wifi.ftmd.load=true - insmod /system/lib/modules/pronto/pronto_wlan.ko con_mode=5 - service cnss-daemon /system/vendor/bin/cnss-daemon -n -l class late_start user system @@ -608,24 +490,6 @@ on property:sys.shutdown.requested=* write /sys/kernel/shutdown_wlan/shutdown 1 stop cnss-daemon -service ssgqmigd /vendor/bin/ssgqmigd - class late_start - user radio - group radio gps system - socket ssgqmig seqpacket 0660 radio inet - -service ssgtzd /vendor/bin/ssgtzd - class late_start - user system - group system - socket ssgtzd stream 0660 system 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 class late_start user gps @@ -635,29 +499,12 @@ service loc_launcher /system/vendor/bin/loc_launcher # 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 group root system radio oneshot -service crashdata-sh /vendor/bin/init.qcom.crashdata.sh - class late_start - user root - oneshot - service qcom-post-boot /vendor/bin/init.qcom.post_boot.sh class late_start user root @@ -665,67 +512,21 @@ service qcom-post-boot /vendor/bin/init.qcom.post_boot.sh disabled oneshot -service qti-testscripts /system/bin/sh /system/etc/init.qcom.testscripts.sh - class late_start - user root - disabled - oneshot - seclabel u:r:qti-testscripts:s0 - -service wifi-sdio-on /vendor/bin/init.qcom.sdio.sh - class late_start - group wifi inet - disabled - oneshot - -service wifi-crda /vendor/bin/init.crda.sh - class late_start - user root - disabled - oneshot - on property:sys.boot_completed=1 start qcom-post-boot - start qti-testscripts on property:ro.vendor.ril.mbn_copy_completed=1 write /data/vendor/radio/copy_complete 1 -service qvop-daemon /vendor/bin/qvop-daemon - class late_start - user system - group system drmrpc - service vendor.atfwd /vendor/bin/ATFWD-daemon class late_start user system group system radio -service hostapd_fst /vendor/bin/hw/hostapd -dd -g /data/vendor/wifi/hostapd/global - class main - capabilities NET_ADMIN NET_RAW - user wifi - group wifi - disabled - oneshot - -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 vendor.ril-daemon2 /vendor/bin/hw/rild -c 2 class main user radio @@ -740,12 +541,6 @@ service vendor.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 /system/bin/charger class charger user system @@ -753,142 +548,25 @@ service charger /system/bin/charger capabilities SYS_BOOT seclabel u:r:charger:s0 -service vendor.ssr_diag /system/vendor/bin/ssr_diag - class late_start - user system - 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 - -on property:sys.qbcharger.enable=true - start qbcharger - -on property:sys.qbcharger.enable=false - stop qbcharger - -service diag_mdlog_start /system/vendor/bin/diag_mdlog - class late_start - user shell - group system oem_2901 sdcard_rw sdcard_r media_rw - disabled - oneshot - -service diag_mdlog_stop /system/vendor/bin/diag_mdlog -k - class late_start - user shell - group system oem_2901 sdcard_rw sdcard_r media_rw - disabled - oneshot - -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 group root disabled -service vendor.msm_irqbal_lb /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance_little_big.conf - class core - user root - group root - disabled - service vendor.msm_irqbl_sdm630 /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance_sdm630.conf class core user root 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 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 start qcom-post-boot -#add poweroffhandler -service poweroffhandler /system/vendor/bin/poweroffhandler - class core - user media - group graphics audio - disabled - oneshot - on property:vendor.display.lcd_density=* setprop ro.sf.lcd_density ${vendor.display.lcd_density} -# 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 /vendor/bin/time_daemon - class main - user system - group system - capabilities SYS_TIME - # Set vendor-ril lib path based on Meta version on property:vendor.rild.libpath=* setprop rild.libpath ${vendor.rild.libpath} @@ -896,34 +574,12 @@ on property:vendor.rild.libpath=* on property:ro.vendor.radio.noril=* setprop ro.radio.noril ${ro.vendor.radio.noril} -service seemp_healthd /vendor/bin/seemp_healthd - class late_start - user system - group system - service vendor.power_off_alarm /vendor/bin/power_off_alarm class core group system disabled oneshot -service vendor.move_time_data /system/bin/move_time_data.sh - class main - user system - group system - disabled - oneshot - -service chre /vendor/bin/chre - class late_start - user system - group system - socket chre seqpacket 0660 root system - shutdown critical - -on property:vendor.chre.enabled=0 - stop chre - service bugreport /system/bin/dumpstate -d -p -B -z -o /data/user_de/0/com.android.shell/files/bugreports/bugreport class main disabled @@ -948,11 +604,3 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service ioprio rt 4 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks onrestart restart audioserver - -service vendor.contexthub-hal-1-0 /vendor/bin/hw/android.hardware.contexthub@1.0-service - override - class hal - interface android.hardware.contexthub@1.0::IContexthub default - user system - group system - disabled diff --git a/rootdir/etc/init.qcom.sh b/rootdir/etc/init.qcom.sh index 58dd93d..25b7851 100644 --- a/rootdir/etc/init.qcom.sh +++ b/rootdir/etc/init.qcom.sh @@ -35,59 +35,12 @@ else platformid=`cat /sys/devices/system/soc/soc0/id` fi -start_battery_monitor() -{ - if ls /sys/bus/spmi/devices/qpnp-bms-*/fcc_data ; then - chown -h root.system /sys/module/pm8921_bms/parameters/* - chown -h root.system /sys/module/qpnp_bms/parameters/* - chown -h root.system /sys/bus/spmi/devices/qpnp-bms-*/fcc_data - chown -h root.system /sys/bus/spmi/devices/qpnp-bms-*/fcc_temp - chown -h root.system /sys/bus/spmi/devices/qpnp-bms-*/fcc_chgcyl - chmod 0660 /sys/module/qpnp_bms/parameters/* - chmod 0660 /sys/module/pm8921_bms/parameters/* - mkdir -p /data/bms - chown -h root.system /data/bms - chmod 0770 /data/bms - start battery_monitor - fi -} - -start_charger_monitor() -{ - if ls /sys/module/qpnp_charger/parameters/charger_monitor; then - chown -h root.system /sys/module/qpnp_charger/parameters/* - chown -h root.system /sys/class/power_supply/battery/input_current_max - chown -h root.system /sys/class/power_supply/battery/input_current_trim - chown -h root.system /sys/class/power_supply/battery/input_current_settled - chown -h root.system /sys/class/power_supply/battery/voltage_min - chmod 0664 /sys/class/power_supply/battery/input_current_max - chmod 0664 /sys/class/power_supply/battery/input_current_trim - chmod 0664 /sys/class/power_supply/battery/input_current_settled - chmod 0664 /sys/class/power_supply/battery/voltage_min - chmod 0664 /sys/module/qpnp_charger/parameters/charger_monitor - start charger_monitor - fi -} - -start_vm_bms() -{ - if [ -e /dev/vm_bms ]; then - chown -h root.system /sys/class/power_supply/bms/current_now - chown -h root.system /sys/class/power_supply/bms/voltage_ocv - chmod 0664 /sys/class/power_supply/bms/current_now - chmod 0664 /sys/class/power_supply/bms/voltage_ocv - start vm_bms - fi -} - start_msm_irqbalance_8939() { if [ -f /vendor/bin/msm_irqbalance ]; then case "$platformid" in "239" | "293" | "294" | "295" | "304" | "338" | "313" | "353" | "354") start vendor.msm_irqbalance;; - "349" | "350" ) - start vendor.msm_irqbal_lb;; esac fi } @@ -149,61 +102,6 @@ case "$baseband" in esac case "$target" in - "msm7630_surf" | "msm7630_1x" | "msm7630_fusion") - if [ -f /sys/devices/soc0/hw_platform ]; then - value=`cat /sys/devices/soc0/hw_platform` - else - value=`cat /sys/devices/system/soc/soc0/hw_platform` - fi - case "$value" in - "Fluid") - start profiler_daemon;; - esac - ;; - "msm8660" ) - if [ -f /sys/devices/soc0/hw_platform ]; then - platformvalue=`cat /sys/devices/soc0/hw_platform` - else - platformvalue=`cat /sys/devices/system/soc/soc0/hw_platform` - fi - case "$platformvalue" in - "Fluid") - start profiler_daemon;; - esac - ;; - "msm8960") - case "$baseband" in - "msm") - start_battery_monitor;; - esac - - if [ -f /sys/devices/soc0/hw_platform ]; then - platformvalue=`cat /sys/devices/soc0/hw_platform` - else - platformvalue=`cat /sys/devices/system/soc/soc0/hw_platform` - fi - case "$platformvalue" in - "Fluid") - start profiler_daemon;; - "Liquid") - start profiler_daemon;; - esac - ;; - "msm8974") - platformvalue=`cat /sys/devices/soc0/hw_platform` - case "$platformvalue" in - "Fluid") - start profiler_daemon;; - "Liquid") - start profiler_daemon;; - esac - case "$baseband" in - "msm") - start_battery_monitor - ;; - esac - start_charger_monitor - ;; "sdm660") if [ -f /sys/devices/soc0/soc_id ]; then soc_id=`cat /sys/devices/soc0/soc_id` @@ -218,23 +116,7 @@ case "$target" in fi start_msm_irqbalance660 ;; - "apq8084") - platformvalue=`cat /sys/devices/soc0/hw_platform` - case "$platformvalue" in - "Fluid") - start profiler_daemon;; - "Liquid") - start profiler_daemon;; - esac - ;; - "msm8226") - start_charger_monitor - ;; - "msm8610") - start_charger_monitor - ;; "msm8916") - start_vm_bms start_msm_irqbalance_8939 if [ -f /sys/devices/soc0/soc_id ]; then soc_id=`cat /sys/devices/soc0/soc_id` @@ -293,9 +175,6 @@ case "$target" in ;; esac ;; - "msm8909") - start_vm_bms - ;; "msmnile") start_msm_irqbalance_msmnile ;; diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index e9df0da..6b92226 100644 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -132,12 +132,6 @@ on property:init.svc.vendor.per_mgr=running on property:sys.shutdown.requested=* stop vendor.per_proxy -#start camera server as daemon -#service qcamerasvr /system/bin/mm-qcamera-daemon -# class late_start -# user camera -# group camera system inet input graphics - ## import cne init file #on post-fs # export LD_PRELOAD /vendor/lib/libNimsWrap.so @@ -148,32 +142,12 @@ on property:sys.shutdown.requested=* # #on property:persist.usb.chgdisabled=0 # write /sys/class/power_supply/battery/charging_enabled 1 -# -#service qrngd /system/bin/qrngd -f -# class main -# user root -# group root -# -#service qrngp /system/bin/qrngp -# class main -# user root -# group root -# oneshot -# disabled -# -#on property:sys.boot_completed=1 -# start qrngp -# + service vendor.qseecomd /vendor/bin/qseecomd class core user root group root -#service qosmgrd /system/bin/qosmgr /system/etc/qosmgr_rules.xml -# user system -# group system -# disabled -# service thermal-engine /system/vendor/bin/thermal-engine class main user root @@ -183,15 +157,6 @@ service thermal-engine /system/vendor/bin/thermal-engine socket thermal-send-rule stream 0660 system system group root -#service security-check1 /sbin/security_boot_check system -# class core -# oneshot -# -#service security-check2 /sbin/security_boot_check recovery -# class core -# oneshot -# - service adsprpcd_root /vendor/bin/adsprpcd class main user media @@ -208,54 +173,6 @@ service vendor.cdsprpcd /vendor/bin/cdsprpcd group system disabled -# -#service usf_tester /system/vendor/bin/usf_tester -# user system -# group system inet -# disabled -# -#service usf_epos /system/vendor/bin/usf_epos -# user system -# group system inet -# disabled -# -#service usf_gesture /system/vendor/bin/usf_gesture -# user system -# group system inet -# disabled -# - -#service usf_sync_gesture /system/vendor/bin/usf_sync_gesture -# user system -# group system inet -# disabled -# - -#service usf_p2p /system/vendor/bin/usf_p2p -# user system -# group system inet -# disabled -# -#service usf_hovering /system/vendor/bin/usf_hovering -# user system -# group system inet -# disabled -# -#service usf_proximity /system/vendor/bin/usf_proximity -# user system -# group system inet -# disabled -# -#service usf-post-boot /system/vendor/bin/sh /system/etc/usf_post_boot.sh -# class late_start -# user root -# disabled -# oneshot -# -#on property:init.svc.bootanim=stopped -# start usf-post-boot -# -# #on boot # insmod /system/lib/modules/adsprpc.ko # insmod /system/lib/modules/mhi.ko @@ -268,50 +185,6 @@ service vendor.cdsprpcd /vendor/bin/cdsprpcd # chown system drmrpc /sys/devices/f9966000.i2c/i2c-1/1-004a/secure_touch # chown system drmrpc /sys/devices/f9966000.i2c/i2c-1/1-0020/secure_touch_enable # chown system drmrpc /sys/devices/f9966000.i2c/i2c-1/1-0020/secure_touch -# -# -# -# -#service mdm_helper /system/bin/mdm_helper -# class core -# onrestart setprop ro.service.mdm_helper_restarted "true" -# disabled -# -#service mdm_helper_proxy /system/bin/mdm_helper_proxy -# class core -# disabled -# -#service mdm_launcher /system/bin/sh /init.mdm.sh -# class main -# oneshot -# -#service qcamerasvr /system/bin/mm-qcamera-daemon -# class late_start -# user camera -# group camera system inet input graphics -# -# Stop mdm_helper_proxy in case of shutdown -#on property:sys.shutdown.requested=* -# stop mdm_helper_proxy -# -# Stop mdm_helper_proxy on APQ target -#on property:ro.radio.noril=yes -# stop mdm_helper_proxy -# -#on property:persist.airplane.mode.pwr.svg=enabled -# setprop ro.mdm_helper_proxy_req false -# -#on property:init.svc.ril-daemon=running -# setprop ro.mdm_helper_proxy_req true -# -## Start mdm_helper_proxy -#on property:ro.mdm_helper_proxy_req=true -# start mdm_helper_proxy -# -## QCA1530 SoC core detect -#service gnss-detect /system/vendor/bin/gnss.qca1530.sh detect -# class core -# oneshot service energy-awareness /system/vendor/bin/energy-awareness class main @@ -319,36 +192,9 @@ service energy-awareness /system/vendor/bin/energy-awareness group system oneshot -service mdtpd /system/vendor/bin/mdtpd - class late_start - user root - group system radio drmrpc - service vendor.pd_mapper /system/vendor/bin/pd-mapper class core -# -## QCA1530 SoC late_start group trigger -#service gnss-init /system/vendor/bin/gnss.qca1530.sh init -# class late_start -# oneshot -# -## QCA1530 SoC Service Daemon -#service gnss-svcd /system/vendor/bin/gnss.qca1530.sh start -# class late_start -# user root -# group gps system qcom_diag diag log inet net_raw -# disabled - -on property:vold.decrypt=trigger_restart_framework - start cnss_diag - -service cnss_diag /system/vendor/bin/cnss_diag -q -f -t HELIUM - class main - user system - group system wifi inet sdcard_rw media_rw diag - oneshot - service ppd /system/vendor/bin/mm-pp-dpps class late_start user system @@ -380,34 +226,7 @@ on charger setprop sys.usb.configfs 1 start power_off_alarm -# -#service nqs /system/bin/nqs -# class late_start -# socket nqs_qsb_comm stream 660 system system -# user system -# group drmrpc -# -#service adsprpcd /system/vendor/bin/adsprpcd -# class main -# user media -# group media -# -##Start picture quality tuning service -#service vqttoolservice /system/bin/vqttoolservice -# class late_start -# socket vqtss stream 0660 system system -# user system -# group system - -service seempd /system/bin/seempd - class late_start - user system - group system sdcard_rw - socket seempdw dgram 0666 system system - service vendor.hvdcp_opti /system/vendor/bin/hvdcp_opti class main user root group system wakelock - - |