diff options
author | guaiyihu <guaiyihu@foxmail.com> | 2018-09-19 00:17:06 +0800 |
---|---|---|
committer | TingyiChen <tingyi364@gmail.com> | 2019-08-13 11:47:02 +0200 |
commit | 75595b3414fc062586008d3e30dff6093ac71ca9 (patch) | |
tree | 9fb6b7cc0bd20867a4ced428f1126e57221a8eb7 /rootdir/etc | |
parent | 7597a55eb5d7195624372f2d8ab909bea655cafd (diff) |
wayne-common: rootdir: Clean up init scripts
* Clean up unused and non-exsistent services
* Clean up invalid commands
Change-Id: I5b991e8770b0ed9a7ba5af3a0fed612015e809a5
Diffstat (limited to 'rootdir/etc')
-rwxr-xr-x | rootdir/etc/init.qcom.rc | 469 | ||||
-rwxr-xr-x | rootdir/etc/init.target.rc | 371 |
2 files changed, 1 insertions, 839 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 diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index c19a360..0aaab5d 100755 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -72,7 +72,6 @@ on fs on post-fs start qseecomd exec - system system -- /vendor/bin/init.qti.qseecomd.sh - write /dev/ipa 1 on init write /sys/module/qpnp_rtc/parameters/poweron_alarm 1 @@ -82,17 +81,14 @@ on post-fs-data mkdir /data/tombstones/lpass 0771 system system mkdir /data/tombstones/wcnss 0771 system system mkdir /data/tombstones/dsps 0771 system system - mkdir /data/vendor/hbtp 0750 system system mkdir /persist/qti_fp 0700 system system mkdir /data/misc/seemp 0700 system system mkdir /data/misc/tloc 0700 system drmrpc mkdir /data/thermal 0771 system system mkdir /data/thermal/config 0771 system system - start pa-cal-load on boot start rmt_storage - start rfs_access write /dev/cpuset/top-app/cpus 0-7 write /dev/cpuset/foreground/cpus 0-7 write /dev/cpuset/foreground/boost/cpus 0-7 @@ -142,52 +138,11 @@ on property:init.svc.per_mgr=running on property:sys.shutdown.requested=* stop 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 -# -## Allow usb charging to be disabled peristently -#on property:persist.usb.chgdisabled=1 -# write /sys/class/power_supply/battery/charging_enabled 0 -# -#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 qseecomd /vendor/bin/qseecomd class core user root group root -#service mpdecision /system/vendor/bin/mpdecision --avg_comp -# user root -# disabled -# -#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 @@ -197,14 +152,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 time_daemon /system/vendor/bin/time_daemon class late_start user root @@ -215,78 +162,6 @@ service adsprpcd /system/vendor/bin/adsprpcd audiopd user media group media -service hbtp /system/vendor/bin/hbtp_daemon - class main - user system - group system - disabled - -service audiod /system/vendor/bin/audiod - class late_start - user system - group system -# -#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 -## access permission for secure touch -# chmod 0660 /sys/devices/f9966000.i2c/i2c-1/1-004a/secure_touch_enable -# chmod 0440 /sys/devices/f9966000.i2c/i2c-1/1-004a/secure_touch -# chmod 0660 /sys/devices/f9966000.i2c/i2c-1/1-0020/secure_touch_enable -# chmod 0440 /sys/devices/f9966000.i2c/i2c-1/1-0020/secure_touch -# chown system drmrpc /sys/devices/f9966000.i2c/i2c-1/1-004a/secure_touch_enable -# 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 imsqmidaemon /system/vendor/bin/imsqmidaemon class main user system @@ -299,47 +174,6 @@ service imsdatadaemon /system/vendor/bin/imsdatadaemon socket ims_datad stream 0660 system radio group system wifi radio inet log diag disabled -# -#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 @@ -347,27 +181,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 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:vendor.ims.QMI_DAEMON_STATUS=1 start imsdatadaemon @@ -420,207 +236,22 @@ on charger start qcom-post-boot start hvdcp_opti 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 qfp-daemon /vendor/bin/qfp-daemon class late_start user system group system drmrpc diag input -service tlocd /system/bin/tloc_daemon - class late_start - user system - group drmrpc - service hvdcp_opti /system/vendor/bin/hvdcp_opti class main user root group system wakelock - -service smcinvoked /system/bin/smcinvoked - class main - user system - group system - -# smart pa cal wangshiyou 11/09 -service smart-pa-tfa-cal /system/vendor/bin/smart-pa-tfa-cal - user root - group root - disabled - oneshot - -# smart pa cal tsx 08/26 -service pa-cal-load /system/vendor/bin/smart-pa-cal -load - user root - group root - disabled - oneshot - -# smart pa cal tsx 08/26 -service smart-pa-cal /system/vendor/bin/smart-pa-cal -t 25 -c /system/vendor/etc/speaker.ftcfg -v -u - user root - group root - disabled - oneshot - -on property:sys.pa-cal=0 - stop smart-pa-cal - -on property:sys.pa-cal=1 - start smart-pa-cal - -on property:sys.pa-tfa-cal=0 - stop smart-pa-tfa-cal - -on property:sys.pa-tfa-cal=1 - start smart-pa-tfa-cal - -# audio loopback test begin tsx 08/26 -service loopback_spk1 /system/vendor/bin/loopback.sh 1 1 - user root - group root - disabled - oneshot - -service loopback_spk0 /system/vendor/bin/loopback.sh 1 0 - user root - group root - disabled - oneshot - -service loopback_rec1 /system/vendor/bin/loopback.sh 2 1 - user root - group root - disabled - oneshot - -service loopback_rec0 /system/vendor/bin/loopback.sh 2 0 - user root - group root - disabled - oneshot - -service loopback_hand1 /system/vendor/bin/loopback.sh 3 1 - user root - group root - disabled - oneshot - -service loopback_hand0 /system/vendor/bin/loopback.sh 3 0 - user root - group root - disabled - oneshot - -service loopback_sec1 /system/vendor/bin/loopback.sh 4 1 - user root - group root - disabled - oneshot - -service loopback_sec0 /system/vendor/bin/loopback.sh 4 0 - user root - group root - disabled - oneshot - -service spk_playback1 /system/vendor/bin/loopback.sh 5 1 - user root - group root - disabled - oneshot - -service spk_playback0 /system/vendor/bin/loopback.sh 5 0 - user root - group root - disabled - oneshot - -on property:sys.loopback-spk=1 - start loopback_spk1 - -on property:sys.loopback-spk=0 - start loopback_spk0 - -on property:sys.loopback-rec=1 - start loopback_rec1 - -on property:sys.loopback-rec=0 - start loopback_rec0 - -on property:sys.loopback-mic1=1 - start loopback_hand1 - -on property:sys.loopback-mic1=0 - start loopback_hand0 - -on property:sys.loopback-mic2=1 - start loopback_sec1 - -on property:sys.loopback-mic2=0 - start loopback_sec0 - -on property:sys.spk-playback=1 - start spk_playback1 - -on property:sys.spk-playback=0 - start spk_playback0 - -service tinyhostless_spk /system/vendor/bin/tinyhostless -D 0 -P 35 -C 11 -p 8 -n 2 -c 1 -r 48000 - user root - group root - disabled - oneshot - -service tinyhostless /system/vendor/bin/tinyhostless -D 0 -P 5 -C 11 -p 8 -n 2 -c 1 -r 48000 - user root - group root - disabled - oneshot - -on property:sys.tinyhostless=0 - stop tinyhostless - -on property:sys.tinyhostless=1 - start tinyhostless - -on property:sys.tinyhostless-spk=0 - stop tinyhostless_spk - -on property:sys.tinyhostless-spk=1 - start tinyhostless_spk -#audio loopback test end on property:persist.sys.display_srgb=1 write /sys/class/graphics/fb0/msm_fb_srgb 1 on property:persist.sys.display_srgb=2 - write /sys/class/graphics/fb0/msm_fb_srgb 2 + write /sys/class/graphics/fb0/msm_fb_srgb 2 on property:sys.dynamic_debug=1 write /sys/kernel/debug/dynamic_debug/control "file q6afe.c +p" |