avicii: Import vendor from AC2003_11_F.18
This commit is contained in:
5
proprietary/vendor/etc/init/android.hardware.bluetooth@1.0-service-qti.rc
vendored
Normal file
5
proprietary/vendor/etc/init/android.hardware.bluetooth@1.0-service-qti.rc
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
service vendor.bluetooth-1-0-qti /vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti
|
||||
class hal
|
||||
user bluetooth
|
||||
group bluetooth system wakelock oem_2901 net_raw
|
||||
capabilities BLOCK_SUSPEND NET_ADMIN
|
||||
8
proprietary/vendor/etc/init/android.hardware.drm@1.1-service.wfdhdcp.rc
vendored
Normal file
8
proprietary/vendor/etc/init/android.hardware.drm@1.1-service.wfdhdcp.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2018-2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
service wfdhdcphalservice /vendor/bin/wfdhdcphalservice
|
||||
class main
|
||||
user system
|
||||
4
proprietary/vendor/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc
vendored
Normal file
4
proprietary/vendor/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
service gatekeeper-1-0 /vendor/bin/hw/android.hardware.gatekeeper@1.0-service-qti
|
||||
class early_hal
|
||||
user system
|
||||
group system
|
||||
4
proprietary/vendor/etc/init/android.hardware.gnss@2.1-service-qti.rc
vendored
Normal file
4
proprietary/vendor/etc/init/android.hardware.gnss@2.1-service-qti.rc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
service gnss_service /vendor/bin/hw/android.hardware.gnss@2.1-service-qti
|
||||
class hal
|
||||
user gps
|
||||
group system gps radio vendor_qti_diag
|
||||
7
proprietary/vendor/etc/init/android.hardware.keymaster@4.0-service-qti.rc
vendored
Normal file
7
proprietary/vendor/etc/init/android.hardware.keymaster@4.0-service-qti.rc
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
on init
|
||||
start keymaster-4-0
|
||||
|
||||
service keymaster-4-0 /vendor/bin/hw/android.hardware.keymaster@4.0-service-qti
|
||||
class early_hal
|
||||
user system
|
||||
group system drmrpc
|
||||
14
proprietary/vendor/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc
vendored
Normal file
14
proprietary/vendor/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
service neuralnetworks_hal_service /vendor/bin/hw/android.hardware.neuralnetworks@1.3-service-qti
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
writepid /dev/stune/nnapi-hal/tasks
|
||||
|
||||
#Below changes moved from init.target.rc as part of go/FR53051
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/nnhal 0700 system system
|
||||
4
proprietary/vendor/etc/init/cnd.rc
vendored
Normal file
4
proprietary/vendor/etc/init/cnd.rc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
service vendor.cnd /system/vendor/bin/cnd
|
||||
class main
|
||||
user system
|
||||
group system wifi inet radio wakelock net_admin
|
||||
11
proprietary/vendor/etc/init/com.qualcomm.qti.wifidisplayhal@1.0-service.rc
vendored
Normal file
11
proprietary/vendor/etc/init/com.qualcomm.qti.wifidisplayhal@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
service wifidisplayhalservice /vendor/bin/wifidisplayhalservice
|
||||
class main
|
||||
user system
|
||||
group inet input audio media uhid
|
||||
capabilities NET_RAW
|
||||
|
||||
13
proprietary/vendor/etc/init/dataadpl.rc
vendored
Normal file
13
proprietary/vendor/etc/init/dataadpl.rc
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
# Create the directories used by DPM subsystem
|
||||
|
||||
#start dataadpl service
|
||||
service vendor.dataadpl /system/vendor/bin/adpl
|
||||
class main
|
||||
user radio
|
||||
socket adpl_cmd_uds_file dgram 660 radio radio
|
||||
group radio oem_2901 diag usb inet
|
||||
disabled
|
||||
19
proprietary/vendor/etc/init/dataqti.rc
vendored
Normal file
19
proprietary/vendor/etc/init/dataqti.rc
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
# Create the directories used by DPM subsystem
|
||||
|
||||
# msm specific files that need to be created on /data
|
||||
on post-fs-data
|
||||
#Create DATAQTI dir for logs
|
||||
mkdir /data/vendor/dataqti 0770 radio radio
|
||||
chmod 0770 /data/vendor/dataqti
|
||||
|
||||
#start dataqti service
|
||||
service vendor.dataqti /system/vendor/bin/qti
|
||||
class main
|
||||
user radio
|
||||
socket qti_dpm_uds_file dgram 660 radio radio
|
||||
group radio oem_2901 diag usb inet
|
||||
disabled
|
||||
17
proprietary/vendor/etc/init/dpmQmiMgr.rc
vendored
Normal file
17
proprietary/vendor/etc/init/dpmQmiMgr.rc
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
#start dpmQmiMgr service
|
||||
service dpmQmiMgr /system/vendor/bin/dpmQmiMgr
|
||||
interface com.qualcomm.qti.dpm.api@1.0::IdpmQmi dpmQmiService
|
||||
class main
|
||||
user system
|
||||
group system
|
||||
disabled
|
||||
|
||||
on property:persist.vendor.dpmhalservice.enable=*
|
||||
start dpmQmiMgr
|
||||
|
||||
on property:persist.vendor.dpmhalservice.enable=0
|
||||
stop dpmQmiMgr
|
||||
19
proprietary/vendor/etc/init/feature_enabler_client.rc
vendored
Normal file
19
proprietary/vendor/etc/init/feature_enabler_client.rc
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
on post-fs-data
|
||||
mkdir /mnt/vendor/persist/data/pfm 0755 system system
|
||||
mkdir /mnt/vendor/persist/data/pfm/licenses 0755 system system
|
||||
chown system system /mnt/vendor/persist/feature_enabler_client
|
||||
chmod 0775 /mnt/vendor/persist/feature_enabler_client
|
||||
|
||||
service feature_enabler_client /vendor/bin/feature_enabler_client
|
||||
class late_start
|
||||
user system
|
||||
group system graphics
|
||||
|
||||
on property:init.svc.vendor.qti.hardware.display.composer=stopping
|
||||
stop feature_enabler_client
|
||||
|
||||
on property:init.svc.vendor.qti.hardware.display.composer=running
|
||||
start feature_enabler_client
|
||||
|
||||
on property:init.svc.vendor.qti.hardware.display.composer=restarting
|
||||
restart feature_enabler_client
|
||||
13
proprietary/vendor/etc/init/ims_rtp_daemon.rc
vendored
Normal file
13
proprietary/vendor/etc/init/ims_rtp_daemon.rc
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
# imsdatadaemon starts with root and UID will be downgraded to RADIO.
|
||||
service vendor.ims_rtp_daemon /vendor/bin/ims_rtp_daemon
|
||||
class main
|
||||
user radio
|
||||
group radio vendor_qti_diag inet log
|
||||
|
||||
on property:vendor.ims.DATA_DAEMON_STATUS=1
|
||||
restart vendor.ims_rtp_daemon
|
||||
15
proprietary/vendor/etc/init/imsdatadaemon.rc
vendored
Normal file
15
proprietary/vendor/etc/init/imsdatadaemon.rc
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
# imsdatadaemon starts with root and UID will be downgraded to RADIO.
|
||||
service vendor.imsdatadaemon /vendor/bin/imsdatadaemon
|
||||
class main
|
||||
user radio
|
||||
socket ims_datad stream 0660 system radio
|
||||
group radio wifi inet vendor_qti_diag log
|
||||
disabled
|
||||
|
||||
on property:vendor.ims.QMI_DAEMON_STATUS=1
|
||||
start vendor.imsdatadaemon
|
||||
10
proprietary/vendor/etc/init/imsqmidaemon.rc
vendored
Normal file
10
proprietary/vendor/etc/init/imsqmidaemon.rc
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
service vendor.imsqmidaemon /vendor/bin/imsqmidaemon
|
||||
class main
|
||||
user radio
|
||||
socket ims_qmid stream 0660 system radio
|
||||
group radio vendor_qti_diag log
|
||||
8
proprietary/vendor/etc/init/imsrcsd.rc
vendored
Normal file
8
proprietary/vendor/etc/init/imsrcsd.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
service vendor.imsrcsservice /vendor/bin/imsrcsd
|
||||
class main
|
||||
user radio
|
||||
group radio vendor_qti_diag log inet wakelock
|
||||
2
proprietary/vendor/etc/init/init-qcril-data.rc
vendored
Normal file
2
proprietary/vendor/etc/init/init-qcril-data.rc
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
on property:ro.board.platform=msmnile && property:ro.baseband=msm && property:ro.vendor.qti.va_aosp.support=1
|
||||
setprop ro.telephony.iwlan_operation_mode "legacy"
|
||||
14
proprietary/vendor/etc/init/init.time_daemon.rc
vendored
Normal file
14
proprietary/vendor/etc/init/init.time_daemon.rc
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
on post-fs-data && property:ro.crypto.state=encrypted && property:ro.crypto.type=file
|
||||
start time_daemon
|
||||
|
||||
service time_daemon /vendor/bin/time_daemon
|
||||
class main
|
||||
user system
|
||||
group system
|
||||
capabilities SYS_TIME
|
||||
56
proprietary/vendor/etc/init/init.vendor.sensors.rc
vendored
Normal file
56
proprietary/vendor/etc/init/init.vendor.sensors.rc
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
# # Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# # Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# # Neither the name of The Linux Foundation nor
|
||||
# the names of its contributors may be used to endorse or promote
|
||||
# products derived from this software without specific prior written
|
||||
# permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
on early-boot
|
||||
|
||||
write /sys/kernel/boot_slpi/boot 1
|
||||
#yajie.chen@BSP.Sensor, 2020/07/20, Add for recovery sensors dir
|
||||
exec u:r:vendor_qti_init_shell:s0 -- /odm/bin/sensor_recover.sh
|
||||
chown system system /mnt/vendor/persist/sensors
|
||||
chown system system /mnt/vendor/persist/sensors/sns.reg
|
||||
chown system system /mnt/vendor/persist/sensors/sensors_list.txt
|
||||
chown system system /mnt/vendor/persist/sensors/registry
|
||||
chown system system /mnt/vendor/persist/sensors/registry/registry
|
||||
chown system system /mnt/vendor/persist/sensors/registry/registry/sensors_registry
|
||||
chown system system /mnt/vendor/persist/sensors/sensors_settings
|
||||
chown system system /mnt/vendor/persist/sensors/registry/sns_reg_config
|
||||
chown system system /mnt/vendor/persist/sensors/registry/sns_reg_version
|
||||
chown system system /mnt/vendor/persist/sensors/registry/config
|
||||
chmod 0664 /mnt/vendor/persist/sensors/sensors_settings
|
||||
chown system system /sys/kernel/boot_adsp/ssr
|
||||
chmod 0664 /dev/ssc_interactive
|
||||
chown system system /dev/ssc_interactive
|
||||
|
||||
on post-fs-data && property:ro.build.type=userdebug
|
||||
#sensors log dir
|
||||
|
||||
mkdir /data/vendor/sensors 0777 system system
|
||||
mkdir /data/vendor/sensors/scripts 0777 system system
|
||||
17
proprietary/vendor/etc/init/init_thermal-engine.rc
vendored
Normal file
17
proprietary/vendor/etc/init/init_thermal-engine.rc
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
#Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
#All Rights Reserved.
|
||||
#Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
#Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
|
||||
service thermal-engine /vendor/bin/thermal-engine
|
||||
class main
|
||||
user root
|
||||
group root
|
||||
socket thermal-send-client stream 0660 system oem_2907
|
||||
socket thermal-recv-client stream 0660 system oem_2907
|
||||
socket thermal-recv-passive-client stream 0660 system oem_2907
|
||||
socket thermal-send-rule stream 0660 system oem_2907
|
||||
8
proprietary/vendor/etc/init/ipa_fws.rc
vendored
Normal file
8
proprietary/vendor/etc/init/ipa_fws.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
on early-boot
|
||||
write /dev/ipa 1
|
||||
|
||||
6
proprietary/vendor/etc/init/mutualex.rc
vendored
Normal file
6
proprietary/vendor/etc/init/mutualex.rc
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
service vendor.mutualex /vendor/bin/mutualex
|
||||
class main
|
||||
user radio
|
||||
group radio wakelock wifi inet
|
||||
capabilities BLOCK_SUSPEND
|
||||
oneshot
|
||||
81
proprietary/vendor/etc/init/netmgrd.rc
vendored
Normal file
81
proprietary/vendor/etc/init/netmgrd.rc
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
on boot
|
||||
#Create NETMGR daemon socket area
|
||||
mkdir /dev/socket/netmgr 0750 radio radio
|
||||
|
||||
#Assign TCP buffer thresholds to be ceiling value of technology maximums
|
||||
#Increased technology maximums should be reflected here.
|
||||
write /proc/sys/net/core/rmem_max 16777216
|
||||
write /proc/sys/net/core/wmem_max 8388608
|
||||
|
||||
#Load rmnet_core driver
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_ctl
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_core
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_ctl
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_core
|
||||
|
||||
on boot
|
||||
#Reduce the pressure on the reassemly cache by discarding orphan fragments quicker
|
||||
write /proc/sys/net/netfilter/nf_conntrack_frag6_timeout 10
|
||||
|
||||
# msm specific files that need to be created on /data
|
||||
on post-fs-data
|
||||
#Create NETMGR daemon log dir
|
||||
mkdir /data/vendor/netmgr 0770 radio radio
|
||||
chmod 0770 /data/vendor/netmgr
|
||||
|
||||
# Create netmgr recovery folder
|
||||
mkdir /data/vendor/netmgr/recovery 0700 radio radio
|
||||
chmod 0770 /data/vendor/netmgr/recovery
|
||||
write /data/vendor/netmgr/recovery/recovery_info ""
|
||||
chown radio radio /data/vendor/netmgr/recovery/recovery_info
|
||||
|
||||
# Manage netmgrd based on value of property
|
||||
on property:persist.vendor.data.mode=disabled
|
||||
stop vendor.netmgrd
|
||||
|
||||
service vendor.netmgrd /system/vendor/bin/netmgrd
|
||||
class main
|
||||
|
||||
on property:ro.vendor.use_data_netmgrd=false
|
||||
# netmgr not supported on specific target
|
||||
stop vendor.netmgrd
|
||||
|
||||
on property:ro.baseband=apq
|
||||
stop vendor.netmgrd
|
||||
|
||||
on property:persist.vendor.data.shs_ko_load=1
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_shs
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_shs
|
||||
|
||||
on property:persist.vendor.data.shs_ko_load=0
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules rmnet_shs
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules/5.4-gki rmnet_shs
|
||||
|
||||
on property:persist.vendor.data.perf_ko_load=3
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -d /vendor/lib/modules rmnet_perf rmnet_perf_ingress_deag=N
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -d /vendor/lib/modules/5.4-gki rmnet_perf rmnet_perf_ingress_deag=N
|
||||
|
||||
on property:persist.vendor.data.perf_ko_load=2
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -d /vendor/lib/modules rmnet_perf rmnet_perf_opt_mode="udp"
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -d /vendor/lib/modules/5.4-gki rmnet_perf rmnet_perf_opt_mode="udp"
|
||||
|
||||
on property:persist.vendor.data.perf_ko_load=1
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_perf
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_perf
|
||||
|
||||
on property:persist.vendor.data.perf_ko_load=0
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules rmnet_perf
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules/5.4-gki rmnet_perf
|
||||
|
||||
on property:persist.vendor.data.offload_ko_load=1
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules rmnet_offload
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules/5.4-gki rmnet_offload
|
||||
|
||||
on property:persist.vendor.data.offload_ko_load=0
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules rmnet_offload
|
||||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -r -d /vendor/lib/modules/5.4-gki rmnet_offload
|
||||
20
proprietary/vendor/etc/init/port-bridge.rc
vendored
Normal file
20
proprietary/vendor/etc/init/port-bridge.rc
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
on boot
|
||||
#Create PORT-BRIDGE daemon socket area
|
||||
mkdir /dev/socket/port-bridge 0750 radio radio
|
||||
|
||||
# msm specific files that need to be created on /data
|
||||
on post-fs-data
|
||||
#Create port-bridge log dir
|
||||
mkdir /data/vendor/port_bridge 0770 radio radio
|
||||
chmod 0770 /data/vendor/port_bridge
|
||||
|
||||
service vendor.port-bridge /system/vendor/bin/port-bridge
|
||||
class main
|
||||
user radio
|
||||
group radio system inet
|
||||
oneshot
|
||||
36
proprietary/vendor/etc/init/qcrild.rc
vendored
Normal file
36
proprietary/vendor/etc/init/qcrild.rc
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
service vendor.qcrild /vendor/bin/hw/qcrild
|
||||
class main
|
||||
user radio
|
||||
disabled
|
||||
#ifdef OPLUS_FEATURE_OEM_QMI
|
||||
#TanZhengpeng@NETWORK.REG.919197, 2016/06/04, modify for Oem qmi service
|
||||
#group radio cache inet misc audio log readproc wakelock oem_2901
|
||||
#else /* OPLUS_FEATURE_OEM_QMI */
|
||||
group radio cache inet misc audio log readproc wakelock oem_2901 net_raw system root
|
||||
#endif /* OPLUS_FEATURE_OEM_QMI */
|
||||
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
|
||||
|
||||
service vendor.qcrild2 /vendor/bin/hw/qcrild -c 2
|
||||
class main
|
||||
user radio
|
||||
disabled
|
||||
#ifdef OPLUS_FEATURE_OEM_QMI
|
||||
#TanZhengpeng@NETWORK.REG.919197, 2016/06/04, modify for Oem qmi service
|
||||
#group radio cache inet misc audio log readproc wakelock oem_2901
|
||||
#else /* OPLUS_FEATURE_OEM_QMI */
|
||||
group radio cache inet misc audio log readproc wakelock oem_2901 net_raw system root
|
||||
#endif /* OPLUS_FEATURE_OEM_QMI */
|
||||
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
|
||||
|
||||
service vendor.qcrild3 /vendor/bin/hw/qcrild -c 3
|
||||
class main
|
||||
user radio
|
||||
disabled
|
||||
#ifdef OPLUS_FEATURE_OEM_QMI
|
||||
#TanZhengpeng@NETWORK.REG.919197, 2016/06/04, modify for Oem qmi service
|
||||
#group radio cache inet misc audio log readproc wakelock oem_2901
|
||||
#else /* OPLUS_FEATURE_OEM_QMI */
|
||||
group radio cache inet misc audio log readproc wakelock oem_2901 net_raw system root
|
||||
#endif /* OPLUS_FEATURE_OEM_QMI */
|
||||
|
||||
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
|
||||
20
proprietary/vendor/etc/init/qmipriod.rc
vendored
Normal file
20
proprietary/vendor/etc/init/qmipriod.rc
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
service vendor.qmipriod /system/vendor/bin/qmipriod
|
||||
class main
|
||||
user radio
|
||||
group radio
|
||||
disabled
|
||||
|
||||
on property:persist.vendor.data.qmipriod_load=1
|
||||
start vendor.qmipriod
|
||||
|
||||
on property:persist.vendor.data.qmipriod_load=0
|
||||
stop vendor.qmipriod
|
||||
|
||||
on post-fs-data
|
||||
#Create logging directory
|
||||
mkdir /data/vendor/qmipriod 0770 radio radio
|
||||
chmod 0770 /data/vendor/qmipriod
|
||||
12
proprietary/vendor/etc/init/qseecomd.rc
vendored
Normal file
12
proprietary/vendor/etc/init/qseecomd.rc
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
on init
|
||||
wait /dev/qseecom
|
||||
start vendor.qseecomd
|
||||
|
||||
service vendor.qseecomd /vendor/bin/qseecomd
|
||||
class core
|
||||
user root
|
||||
group root
|
||||
27
proprietary/vendor/etc/init/shsusrd.rc
vendored
Normal file
27
proprietary/vendor/etc/init/shsusrd.rc
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
on boot
|
||||
# Create netmgr recovery folder
|
||||
write /data/vendor/shsusr/shsusr_log.txt ""
|
||||
chown radio radio /data/vendor/shsusr/shsusr_log.txt
|
||||
|
||||
# msm specific files that need to be created on /data
|
||||
on post-fs-data
|
||||
#Create SHSUSR daemon log dir
|
||||
mkdir /data/vendor/shsusr 0770 radio radio
|
||||
chmod 0770 /data/vendor/shsusr
|
||||
|
||||
service vendor.shsusrd /system/vendor/bin/shsusrd 0x002819000
|
||||
class main
|
||||
user radio
|
||||
group radio
|
||||
disabled
|
||||
|
||||
on property:persist.vendor.data.shsusr_load=1
|
||||
start vendor.shsusrd
|
||||
|
||||
on property:persist.vendor.data.shsusr_load=0
|
||||
stop vendor.shsusrd
|
||||
21
proprietary/vendor/etc/init/ssgtzd.rc
vendored
Normal file
21
proprietary/vendor/etc/init/ssgtzd.rc
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
|
||||
# Create the directories used by qwes
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/qwes 0755 system system
|
||||
|
||||
# Start daemon after boot completed
|
||||
on property:sys.boot_completed=1
|
||||
start vendor.ssgtzd
|
||||
|
||||
# Used 'disabled' flag, so daemon won't be started until explicit start
|
||||
service vendor.ssgtzd /vendor/bin/ssgtzd
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
disabled
|
||||
socket ssgtzd stream 0660 system inet
|
||||
socket qwes_ipc stream 0660 system inet
|
||||
4
proprietary/vendor/etc/init/vendor.display.color@1.0-service.rc
vendored
Normal file
4
proprietary/vendor/etc/init/vendor.display.color@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
service display-color-hal-1-0 /vendor/bin/hw/vendor.display.color@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
9
proprietary/vendor/etc/init/vendor.oplus.hardware.cameraMDM@1.0-service.rc
vendored
Normal file
9
proprietary/vendor/etc/init/vendor.oplus.hardware.cameraMDM@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
service vendor.opluscamera-mdm-1-0 /vendor/bin/hw/vendor.oplus.hardware.cameraMDM@1.0-service
|
||||
class hal
|
||||
user cameraserver
|
||||
group audio camera input drmrpc sdcard_rw system
|
||||
|
||||
on post-fs
|
||||
chmod 0666 /dev/cpuset/background/cpus
|
||||
chmod 0666 /dev/cpuset/foreground/cpus
|
||||
chmod 0666 /dev/cpuset/camera-app/cpus
|
||||
46
proprietary/vendor/etc/init/vendor.qti.adsprpc-service.rc
vendored
Normal file
46
proprietary/vendor/etc/init/vendor.qti.adsprpc-service.rc
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
#
|
||||
# Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
# * Neither the name of The Linux Foundation nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
service vendor.adsprpcd /vendor/bin/adsprpcd
|
||||
class main
|
||||
user system
|
||||
group media
|
||||
|
||||
service vendor.adsprpcd_audiopd /vendor/bin/adsprpcd audiopd
|
||||
class main
|
||||
user media
|
||||
group media
|
||||
#ifdef OPLUS_FEATURE_KTV
|
||||
#Xiong.Hu@MULTIMEDIA.AUDIODRIVER.ADSP,2020/09/22, Add ADSP_LIBRARY_PATH new path
|
||||
setenv ADSP_LIBRARY_PATH ";/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp;/vendor/dsp;/odm/lib/rfsa/adsp;/vendor/lib/rfsa/adsp"
|
||||
#endif /* OPLUS_FEATURE_KTV */
|
||||
40
proprietary/vendor/etc/init/vendor.qti.cdsprpc-service.rc
vendored
Normal file
40
proprietary/vendor/etc/init/vendor.qti.cdsprpc-service.rc
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
#
|
||||
# Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
# * Neither the name of The Linux Foundation nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
service vendor.cdsprpcd /vendor/bin/cdsprpcd
|
||||
class main
|
||||
user system
|
||||
group system
|
||||
|
||||
on property:vendor.fastrpc.disable.cdsprpcd.daemon=1
|
||||
stop vendor.cdsprpcd
|
||||
11
proprietary/vendor/etc/init/vendor.qti.hardware.alarm@1.0-service.rc
vendored
Normal file
11
proprietary/vendor/etc/init/vendor.qti.hardware.alarm@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2017 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
service alarm-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.alarm@1.0-service
|
||||
interface vendor.qti.hardware.alarm@1.0::IAlarm default
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
||||
8
proprietary/vendor/etc/init/vendor.qti.hardware.capabilityconfigstore@1.0-service.rc
vendored
Normal file
8
proprietary/vendor/etc/init/vendor.qti.hardware.capabilityconfigstore@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
service vendor.capabilityconfigstore /vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
43
proprietary/vendor/etc/init/vendor.qti.hardware.charger_monitor@1.0-service.rc
vendored
Normal file
43
proprietary/vendor/etc/init/vendor.qti.hardware.charger_monitor@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright (c) 2019-2020, Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
|
||||
service vendor.hvdcp_opti /vendor/bin/hvdcp_opti
|
||||
class main
|
||||
user system
|
||||
group system wakelock
|
||||
capabilities BLOCK_SUSPEND WAKE_ALARM
|
||||
disabled
|
||||
|
||||
service vendor.qti-chg-policy-sh /vendor/bin/init.qti.chg_policy.sh
|
||||
class core
|
||||
user root
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
on boot
|
||||
enable vendor.qti-chg-policy-sh
|
||||
start vendor.qti-chg-policy-sh
|
||||
|
||||
on charger
|
||||
chown radio wakelock /sys/power/wake_lock
|
||||
chmod 0660 /sys/power/wake_lock
|
||||
chown radio wakelock /sys/power/wake_unlock
|
||||
chmod 0660 /sys/power/wake_unlock
|
||||
mkdir /mnt/vendor/persist/hvdcp_opti 0770 root system
|
||||
mount_all /vendor/etc/charger_fstab.qti --early
|
||||
enable vendor.qti-chg-policy-sh
|
||||
start vendor.qti-chg-policy-sh
|
||||
|
||||
on property:persist.vendor.hvdcp_opti.start=2
|
||||
rmdir /mnt/vendor/persist/hvdcp_opti
|
||||
setprop persist.vendor.hvdcp_opti.start 0
|
||||
|
||||
on property:persist.vendor.hvdcp_opti.start=1
|
||||
mkdir /mnt/vendor/persist/hvdcp_opti 0770 root system
|
||||
enable vendor.hvdcp_opti
|
||||
start vendor.hvdcp_opti
|
||||
setprop persist.vendor.hvdcp_opti.start 0
|
||||
13
proprietary/vendor/etc/init/vendor.qti.hardware.perf@2.2-service.rc
vendored
Normal file
13
proprietary/vendor/etc/init/vendor.qti.hardware.perf@2.2-service.rc
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# @file vendor.qti.hardware.perf@2.2-service.rc
|
||||
# @brief Defination perf service
|
||||
#
|
||||
# DESCRIPTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
# ---------------------------------------------------------------------------
|
||||
service perf-hal-2-2 /vendor/bin/hw/vendor.qti.hardware.perf@2.2-service
|
||||
class hal
|
||||
user root
|
||||
group root readproc oem_2907
|
||||
14
proprietary/vendor/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc
vendored
Normal file
14
proprietary/vendor/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
#
|
||||
|
||||
on init
|
||||
start qseecom-service
|
||||
|
||||
service qseecom-service /vendor/bin/hw/vendor.qti.hardware.qseecom@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system drmrpc
|
||||
4
proprietary/vendor/etc/init/vendor.qti.hardware.qteeconnector@1.0-service.rc
vendored
Normal file
4
proprietary/vendor/etc/init/vendor.qti.hardware.qteeconnector@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
service qteeconnector-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.qteeconnector@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
8
proprietary/vendor/etc/init/vendor.qti.hardware.sensorscalibrate@1.0-service.rc
vendored
Normal file
8
proprietary/vendor/etc/init/vendor.qti.hardware.sensorscalibrate@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2017 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
service sensorscal-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.sensorscalibrate@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
8
proprietary/vendor/etc/init/vendor.qti.hardware.soter@1.0-service.rc
vendored
Normal file
8
proprietary/vendor/etc/init/vendor.qti.hardware.soter@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2018 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
service soter-1-0 /vendor/bin/hw/vendor.qti.hardware.soter@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system drmrpc
|
||||
4
proprietary/vendor/etc/init/vendor.qti.hardware.tui_comm@1.0-service-qti.rc
vendored
Normal file
4
proprietary/vendor/etc/init/vendor.qti.hardware.tui_comm@1.0-service-qti.rc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
service tui_comm-1-0 /vendor/bin/hw/vendor.qti.hardware.tui_comm@1.0-service-qti
|
||||
class hal
|
||||
user system
|
||||
group system drmrpc
|
||||
11
proprietary/vendor/etc/init/vendor.qti.rmt_storage.rc
vendored
Normal file
11
proprietary/vendor/etc/init/vendor.qti.rmt_storage.rc
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
service vendor.rmt_storage /vendor/bin/rmt_storage
|
||||
class core
|
||||
user root
|
||||
shutdown critical
|
||||
ioprio rt 0
|
||||
13
proprietary/vendor/etc/init/vendor.qti.tftp.rc
vendored
Normal file
13
proprietary/vendor/etc/init/vendor.qti.tftp.rc
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
# Create pddump directory
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/pddump 0770 oem_2903 oem_2903
|
||||
|
||||
service vendor.tftp_server /vendor/bin/tftp_server
|
||||
class core
|
||||
user root
|
||||
40
proprietary/vendor/etc/init/vendor.sensors.qti.rc
vendored
Normal file
40
proprietary/vendor/etc/init/vendor.sensors.qti.rc
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
# # Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# # Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# # Neither the name of The Linux Foundation nor
|
||||
# the names of its contributors may be used to endorse or promote
|
||||
# products derived from this software without specific prior written
|
||||
# permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
service vendor.sensors.qti /vendor/bin/sensors.qti
|
||||
class core
|
||||
user system
|
||||
group system
|
||||
|
||||
service vendor-sensor-sh /vendor/bin/init.qcom.sensors.sh
|
||||
class late_start
|
||||
user root
|
||||
oneshot
|
||||
37
proprietary/vendor/etc/init/vendor.sensors.sscrpcd.rc
vendored
Normal file
37
proprietary/vendor/etc/init/vendor.sensors.sscrpcd.rc
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
# # Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# # Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# # Neither the name of The Linux Foundation nor
|
||||
# the names of its contributors may be used to endorse or promote
|
||||
# products derived from this software without specific prior written
|
||||
# permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
service vendor.sensors /vendor/bin/sscrpcd sensorspd
|
||||
class early_hal
|
||||
user system
|
||||
group system wakelock
|
||||
capabilities BLOCK_SUSPEND
|
||||
shutdown critical
|
||||
19
proprietary/vendor/etc/init/vppservice.rc
vendored
Normal file
19
proprietary/vendor/etc/init/vppservice.rc
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
service vendor.vppservice /vendor/bin/vppservice
|
||||
class hal
|
||||
user media
|
||||
group camera
|
||||
|
||||
# HIDL interfaces
|
||||
interface vendor.qti.hardware.vpp@1.1::IHidlVppService vppService
|
||||
interface vendor.qti.hardware.vpp@1.2::IHidlVppService vppService
|
||||
interface vendor.qti.hardware.vpp@1.3::IHidlVppService vppService
|
||||
|
||||
# don't auto restart
|
||||
oneshot
|
||||
|
||||
# start only when requested (uncomment below to disable service at boot)
|
||||
# disabled
|
||||
10
proprietary/vendor/etc/init/wfdvndservice.rc
vendored
Normal file
10
proprietary/vendor/etc/init/wfdvndservice.rc
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
service wfdvndservice /vendor/bin/wfdvndservice
|
||||
class main
|
||||
user system
|
||||
group inet
|
||||
Reference in New Issue
Block a user