garnet: Initial import
Change-Id: Ib229a3a4d2f8a1e602085fad2b6a757f994cdd99
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,28 @@
|
||||
on property:init.svc.mediadrm=running
|
||||
mkdir /data/vendor/mediadrm 0770 media mediadrm
|
||||
start vendor.move_data_sh
|
||||
|
||||
service vendor.move_data_sh /system/bin/move_widevine_data.sh
|
||||
class late_start
|
||||
user media
|
||||
group media mediadrm system
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.drm-widevine-hal-1-4 /vendor/bin/hw/android.hardware.drm@1.4-service.widevine
|
||||
interface android.hardware.drm@1.0::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.0::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.1::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.1::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.2::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.2::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.3::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.3::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.4::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.4::IDrmFactory widevine
|
||||
interface android.hidl.base@1.0::IBase widevine
|
||||
class hal
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
@@ -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
|
||||
@@ -0,0 +1,6 @@
|
||||
service gnss_service /vendor/bin/hw/android.hardware.gnss-aidl-service-qti
|
||||
interface aidl android.hardware.gnss.IGnss/default
|
||||
interface aidl vendor.qti.gnss.ILocAidlGnss/default
|
||||
class hal
|
||||
user gps
|
||||
group system gps radio vendor_qti_diag
|
||||
@@ -0,0 +1,7 @@
|
||||
on init
|
||||
start vendor.keymaster-4-1
|
||||
|
||||
service vendor.keymaster-4-1 /vendor/bin/hw/android.hardware.keymaster@4.1-service-qti
|
||||
class early_hal
|
||||
user system
|
||||
group system drmrpc
|
||||
@@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
on init
|
||||
start vendor.keymint-qti
|
||||
|
||||
service vendor.keymint-qti /vendor/bin/hw/android.hardware.security.keymint-service-qti
|
||||
class early_hal
|
||||
user system
|
||||
group system drmrpc
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
service vendor.cnd /system/vendor/bin/cnd
|
||||
class main
|
||||
user system
|
||||
group system wifi inet radio wakelock net_admin
|
||||
+13
@@ -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
@@ -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
@@ -0,0 +1,17 @@
|
||||
# Copyright (c) 2019-2021 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 hal
|
||||
user system
|
||||
group system
|
||||
disabled
|
||||
|
||||
on property:persist.vendor.dpm.vndr.halservice.enable=*
|
||||
start dpmQmiMgr
|
||||
|
||||
on property:persist.vendor.dpm.vndr.halservice.enable=0
|
||||
stop dpmQmiMgr
|
||||
@@ -0,0 +1,29 @@
|
||||
on property:sys.boot_completed=1
|
||||
chmod 0664 /sys/class/qcom-battery/pd_verifed
|
||||
chmod 0664 /sys/class/qcom-battery/request_vdm_cmd
|
||||
chmod 0664 /sys/class/qcom-battery/verify_process
|
||||
chmod 0664 /sys/class/qcom-battery/authentic
|
||||
chmod 0664 /sys/class/qcom-battery/verify_slave_flag
|
||||
chmod 0664 /sys/class/qcom-battery/slave_authentic
|
||||
chmod 0664 /sys/class/qcom-battery/is_old_hw
|
||||
|
||||
service batterysecret /vendor/bin/batterysecret
|
||||
class last_start
|
||||
user root
|
||||
group system system wakelock
|
||||
disabled
|
||||
seclabel u:r:batterysecret:s0
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
start batterysecret
|
||||
|
||||
#run batterysecret in off-charge mode
|
||||
on charger
|
||||
start batterysecret
|
||||
chmod 0664 /sys/class/qcom-battery/pd_verifed
|
||||
chmod 0664 /sys/class/qcom-battery/request_vdm_cmd
|
||||
chmod 0664 /sys/class/qcom-battery/verify_process
|
||||
chmod 0664 /sys/class/qcom-battery/authentic
|
||||
chmod 0664 /sys/class/qcom-battery/verify_slave_flag
|
||||
chmod 0664 /sys/class/qcom-battery/slave_authentic
|
||||
chmod 0664 /sys/class/qcom-battery/is_old_hw
|
||||
@@ -0,0 +1,12 @@
|
||||
on charger
|
||||
wait /sys/class/power_supply/usb/type
|
||||
start mi_thermald
|
||||
on boot
|
||||
wait /sys/class/power_supply/usb/type
|
||||
start mi_thermald
|
||||
|
||||
service mi_thermald /system/vendor/bin/mi_thermald
|
||||
class main
|
||||
user root
|
||||
group system
|
||||
seclabel u:r:mi_thermald:s0
|
||||
+362
@@ -0,0 +1,362 @@
|
||||
#
|
||||
# Copyright (c) 2009-2016, 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.
|
||||
#
|
||||
|
||||
# Define fastmmi
|
||||
service fastmmi /system_ext/bin/mmi
|
||||
user root
|
||||
group root
|
||||
disabled
|
||||
|
||||
service vendor.mmid /vendor/bin/mmid
|
||||
user root
|
||||
group root
|
||||
disabled
|
||||
|
||||
service mmi_diag /system_ext/bin/mmi_diag
|
||||
class main
|
||||
user root
|
||||
group root oem_2901
|
||||
disabled
|
||||
|
||||
on property:vendor.sys.boot_mode=ffbm
|
||||
write ${persist.vendor.mmi.misc_dev_path} "ffbm-01"
|
||||
|
||||
on property:vendor.sys.boot_mode=qmmi
|
||||
write ${persist.vendor.mmi.misc_dev_path} "qmmi"
|
||||
|
||||
on property:vendor.sys.boot_mode=normal
|
||||
write ${persist.vendor.mmi.misc_dev_path} "normal"
|
||||
|
||||
# Creating a scratch storage on /data for factory testing.
|
||||
on factory-fs && property:ro.bootmode=ffbm-00
|
||||
mount tmpfs tmpfs /data
|
||||
|
||||
on factory-fs && property:ro.bootmode=ffbm-01
|
||||
mount tmpfs tmpfs /data
|
||||
|
||||
# aligned the usb port with system standard, otherwise if only diag be added
|
||||
# Then in QMMI mode, the whole Andoid be booted, but due to the ro.bootmode is
|
||||
# not normal/unknow, then when it apply the default funcs, it will turn to MTP
|
||||
# which cause the diag/Wwan/modem port all be lost in qmmi mode. Details:
|
||||
# UsbDeviceManager.java---->getDefaultFunctions and trySetEnabledFunctions
|
||||
on property:persist.vendor.usb.config=*
|
||||
setprop persist.sys.usb.qmmi.func ${persist.vendor.usb.config}
|
||||
|
||||
on mmi && property:ro.bootmode=ffbm-00
|
||||
# ========================================================
|
||||
# This is FFBM only settings.
|
||||
# ========================================================
|
||||
#mkdir for factory data files.
|
||||
mkdir /mnt/vendor/persist/FTM_AP 0750 system system
|
||||
|
||||
start fastmmi
|
||||
# start qcom-post-boot to set the misc partition path property value
|
||||
start qcom-post-boot
|
||||
start mmi_diag
|
||||
|
||||
on mmi && property:ro.bootmode=ffbm-01
|
||||
# ========================================================
|
||||
# This is FFBM only settings.
|
||||
# ========================================================
|
||||
#mkdir for factory data files.
|
||||
mkdir /mnt/vendor/persist/FTM_AP 0750 system system
|
||||
|
||||
start fastmmi
|
||||
## start qcom-post-boot to set the misc partition path property value
|
||||
start qcom-post-boot
|
||||
start mmi_diag
|
||||
|
||||
on property:persist.vendor.usb.config=* && property:ro.bootmode=ffbm-00
|
||||
setprop sys.usb.config ${persist.vendor.usb.config}
|
||||
|
||||
on property:persist.vendor.usb.config=* && property:ro.bootmode=ffbm-01
|
||||
setprop sys.usb.config ${persist.vendor.usb.config}
|
||||
|
||||
on property:persist.vendor.usb.config=* && property:ro.bootmode=ffbm-02
|
||||
setprop sys.usb.config ${persist.vendor.usb.config}
|
||||
|
||||
on property:persist.vendor.usb.config=* && property:ro.bootmode=qmmi
|
||||
setprop sys.usb.config ${persist.vendor.usb.config}
|
||||
|
||||
on boot && property:ro.boot.factorybuild=1
|
||||
write /config/usb_gadget/g1/strings/0x409/serialnumber 1234567890ABCDEF
|
||||
|
||||
on ffbm
|
||||
trigger early-fs
|
||||
trigger factory-fs
|
||||
trigger fs
|
||||
trigger post-fs
|
||||
|
||||
# Mount fstab in init.{$device}.rc by mount_all with '--late' parameter
|
||||
# to only mount entries with 'latemount'. This is needed if '--early' is
|
||||
# specified in the previous mount_all command on the fs stage.
|
||||
# With /system mounted and properties form /system + /factory available,
|
||||
# some services can be started.
|
||||
trigger late-fs
|
||||
|
||||
# Now we can mount /data. File encryption requires keymaster to decrypt
|
||||
# /data, which in turn can only be loaded when system properties are present.
|
||||
trigger post-fs-data
|
||||
|
||||
# Now we can start zygote for devices with file based encryption
|
||||
trigger zygote-start
|
||||
|
||||
# Load persist properties and override properties (if enabled) from /data.
|
||||
trigger load_persist_props_action
|
||||
|
||||
# Remove a file to wake up anything waiting for firmware.
|
||||
trigger firmware_mounts_complete
|
||||
|
||||
trigger early-boot
|
||||
trigger boot
|
||||
trigger mmi
|
||||
|
||||
|
||||
# ========================================================
|
||||
# Start for audio TC
|
||||
# ========================================================
|
||||
|
||||
service vendor.audio_tc53 /vendor/bin/mm-audio-ftm -tc 53
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc1 /vendor/bin/mm-audio-ftm -tc 1
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc2 /vendor/bin/mm-audio-ftm -tc 2
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc3 /vendor/bin/mm-audio-ftm -tc 3
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc4 /vendor/bin/mm-audio-ftm -tc 4
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc5 /vendor/bin/mm-audio-ftm -tc 5
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc51 /vendor/bin/mm-audio-ftm -tc 51
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc56 /vendor/bin/mm-audio-ftm -tc 56
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc222 /vendor/bin/mm-audio-ftm -tc 222
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc225 /vendor/bin/mm-audio-ftm -tc 225
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc228 /vendor/bin/mm-audio-ftm -tc 228
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc229 /vendor/bin/mm-audio-ftm -tc 229
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc230 /vendor/bin/mm-audio-ftm -tc 230
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc246 /vendor/bin/mm-audio-ftm -tc 246
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc247 /vendor/bin/mm-audio-ftm -tc 247
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc250 /vendor/bin/mm-audio-ftm -tc 250
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc251 /vendor/bin/mm-audio-ftm -tc 251
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc252 /vendor/bin/mm-audio-ftm -tc 252
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc253 /vendor/bin/mm-audio-ftm -tc 253
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc333 /vendor/bin/mm-audio-ftm -tc 333
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc334 /vendor/bin/mm-audio-ftm -tc 334
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc335 /vendor/bin/mm-audio-ftm -tc 335
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc336 /vendor/bin/mm-audio-ftm -tc 336
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc337 /vendor/bin/mm-audio-ftm -tc 337
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc338 /vendor/bin/mm-audio-ftm -tc 338
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc11 /vendor/bin/mm-audio-ftm -tc 11 -file /data/vendor/audio/ftm_headset_mic_record.wav
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc16 /vendor/bin/mm-audio-ftm -tc 16 -file /data/vendor/audio/ftm_mic1_record.wav
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc17 /vendor/bin/mm-audio-ftm -tc 17 -file /data/vendor/audio/ftm_mic2_record.wav
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc18 /vendor/bin/mm-audio-ftm -tc 18 -file /data/vendor/audio/ftm_mic3_record.wav
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc19 /vendor/bin/mm-audio-ftm -tc 19 -file /data/vendor/audio/ftm_mic4_record.wav
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc20 /vendor/bin/mm-audio-ftm -tc 20 -file /data/vendor/audio/ftm_mic5_record.wav
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc21 /vendor/bin/mm-audio-ftm -tc 21 -file /data/vendor/audio/ftm_mic6_record.wav
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc101 /vendor/bin/mm-audio-ftm -tc 101 -file /data/vendor/audio/ftm_mic1_record.wav
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc102 /vendor/bin/mm-audio-ftm -tc 102 -file /data/vendor/audio/ftm_mic2_record.wav
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc103 /vendor/bin/mm-audio-ftm -tc 103 -file /data/vendor/audio/ftm_mic3_record.wav
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.audio_tc104 /vendor/bin/mm-audio-ftm -tc 104 -file /data/vendor/audio/ftm_mic4_record.wav
|
||||
user audio
|
||||
group audio
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
# ========================================================
|
||||
# End for audio TC
|
||||
# ========================================================
|
||||
+191
@@ -0,0 +1,191 @@
|
||||
#=============================================================================
|
||||
# Copyright (c) 2019-2021 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.
|
||||
#=============================================================================
|
||||
import /vendor/etc/init/hw/init.qti.kernel.test.rc
|
||||
|
||||
on early-init
|
||||
start vendor.modprobe
|
||||
|
||||
# Mount tracefs in /sys/kernel/tracing as CONFIG_DEBUG_FS might be
|
||||
# disabled and /sys/kernel/debug/tracing might not be available
|
||||
mount tracefs tracefs /sys/kernel/tracing
|
||||
chmod 0755 /sys/kernel/tracing
|
||||
|
||||
chown root system /dev/kmsg
|
||||
chmod 0620 /dev/kmsg
|
||||
|
||||
write /proc/sys/kernel/sched_boost 1
|
||||
|
||||
write /proc/sys/kernel/firmware_config/force_sysfs_fallback 1
|
||||
|
||||
on init
|
||||
wait_for_prop vendor.all.modules.ready 1
|
||||
|
||||
# Create cgroup mount point for memory
|
||||
mkdir /sys/fs/cgroup/memory/bg 0750 root system
|
||||
write /sys/fs/cgroup/memory/bg/memory.swappiness 140
|
||||
write /sys/fs/cgroup/memory/bg/memory.move_charge_at_immigrate 1
|
||||
chown root system /sys/fs/cgroup/memory/bg/tasks
|
||||
chmod 0660 /sys/fs/cgroup/memory/bg/tasks
|
||||
|
||||
# update scheduler tunables
|
||||
write /dev/cpuctl/foreground/cpu.uclamp.sched_boost_no_override 1
|
||||
write /dev/cpuctl/top-app/cpu.uclamp.sched_boost_no_override 1
|
||||
write /dev/cpuctl/background/cpu.uclamp.colocate 0
|
||||
write /dev/cpuctl/foreground/cpu.uclamp.colocate 0
|
||||
write /dev/cpuctl/top-app/cpu.uclamp.colocate 1
|
||||
|
||||
on post-fs
|
||||
# set aggressive read ahead for dm-0 and dm-1 during boot up
|
||||
write /sys/block/dm-0/queue/read_ahead_kb 2048
|
||||
write /sys/block/dm-1/queue/read_ahead_kb 2048
|
||||
write /sys/block/dm-2/queue/read_ahead_kb 2048
|
||||
|
||||
on early-boot
|
||||
# Allow subsystem (modem etc) debugging
|
||||
exec_background u:r:vendor_qti_init_shell_bg:s0 -- /vendor/bin/init.qti.write.sh /sys/kernel/boot_adsp/boot 1
|
||||
exec_background u:r:vendor_qti_init_shell_bg:s0 -- /vendor/bin/init.qti.write.sh /sys/kernel/boot_cdsp/boot 1
|
||||
exec_background u:r:vendor_qti_init_shell_bg:s0 -- /vendor/bin/init.qti.write.sh /sys/devices/virtual/cvp/cvp/boot 1
|
||||
|
||||
on boot
|
||||
# Set the console loglevel to < KERN_WARN
|
||||
# Set the default message loglevel to KERN_INFO
|
||||
write /proc/sys/kernel/printk "4 6 1 7"
|
||||
|
||||
# Allow access to dload sysfs node
|
||||
chown root system /sys/kernel/dload/emmc_dload
|
||||
chmod 0660 /sys/kernel/dload/emmc_dload
|
||||
chown root system /dev/block/bootdevice/by-name/ramdump
|
||||
chmod 0660 /dev/block/bootdevice/by-name/ramdump
|
||||
chown root system /sys/kernel/dload/dload_mode
|
||||
chmod 0660 /sys/kernel/dload/dload_mode
|
||||
|
||||
# set the io-scheduler to bfq on all mq support devices
|
||||
write /sys/block/sda/queue/scheduler bfq
|
||||
write /sys/block/sdb/queue/scheduler bfq
|
||||
write /sys/block/sdc/queue/scheduler bfq
|
||||
write /sys/block/sdd/queue/scheduler bfq
|
||||
write /sys/block/sde/queue/scheduler bfq
|
||||
write /sys/block/sdf/queue/scheduler bfq
|
||||
write /sys/block/sdg/queue/scheduler bfq
|
||||
write /sys/block/sdh/queue/scheduler bfq
|
||||
write /sys/class/block/mmcblk0/queue/scheduler bfq
|
||||
write /sys/class/block/mmcblk1/queue/scheduler bfq
|
||||
|
||||
# update io-scheduler tunables
|
||||
write /sys/block/sda/queue/iosched/slice_idle 0
|
||||
write /sys/block/sdb/queue/iosched/slice_idle 0
|
||||
write /sys/block/sdc/queue/iosched/slice_idle 0
|
||||
write /sys/block/sdd/queue/iosched/slice_idle 0
|
||||
write /sys/block/sde/queue/iosched/slice_idle 0
|
||||
write /sys/block/sdf/queue/iosched/slice_idle 0
|
||||
write /sys/block/sdg/queue/iosched/slice_idle 0
|
||||
write /sys/block/sdh/queue/iosched/slice_idle 0
|
||||
write /sys/class/block/mmcblk0/queue/iosched/slice_idle 0
|
||||
write /sys/class/block/mmcblk1/queue/iosched/slice_idle 0
|
||||
|
||||
# Allow access to memory hotplug device attributes
|
||||
chown system system /sys/kernel/mem-offline/anon_migrate
|
||||
|
||||
on boot && property:persist.sys.stability.smartfocusio=on
|
||||
write /sys/block/sda/queue/scheduler cpq
|
||||
on property:persist.sys.stability.smartfocusio=off
|
||||
write /sys/block/sda/queue/scheduler bfq
|
||||
write /sys/block/sda/queue/iosched/slice_idle 0
|
||||
|
||||
on post-fs-data
|
||||
# Create directory used for dump collection
|
||||
mkdir /data/vendor/ssrdump 0770 root system
|
||||
|
||||
on property:persist.sys.ssr.enable_debug=*
|
||||
write /sys/module/subsys_pil_tz/parameters/enable_debug ${persist.sys.ssr.enable_debug}
|
||||
|
||||
on property:persist.sys.mba_boot_timeout=*
|
||||
write /sys/module/pil_msa/parameters/pbl_mba_boot_timeout_ms ${persist.sys.mba_boot_timeout}
|
||||
|
||||
on property:persist.sys.modem_auth_timeout=*
|
||||
write /sys/module/pil_msa/parameters/modem_auth_timeout_ms ${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.enable_ramdumps=1
|
||||
write /sys/module/subsystem_restart/parameters/enable_ramdumps 1
|
||||
|
||||
on property:persist.vendor.ssr.enable_ramdumps=0
|
||||
write /sys/module/subsystem_restart/parameters/enable_ramdumps 0
|
||||
|
||||
on property:persist.vendor.sys.rawdump_copy=1
|
||||
write /sys/kernel/dload/emmc_dload 1
|
||||
|
||||
on property:persist.vendor.sys.rawdump_copy=0
|
||||
write /sys/kernel/dload/emmc_dload 0
|
||||
|
||||
service kernel-boot /vendor/bin/sh /vendor/bin/init.qti.kernel.sh
|
||||
class core
|
||||
user root
|
||||
group root
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service kernel-post-boot /vendor/bin/sh /vendor/bin/init.kernel.post_boot.sh
|
||||
class core
|
||||
user root
|
||||
group root system wakelock graphics
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
write /dev/kmsg "Boot completed "
|
||||
#Reset read ahead for dm-0, dm-1 and dm-2 to 512kb
|
||||
write /sys/block/dm-0/queue/read_ahead_kb 512
|
||||
write /sys/block/dm-1/queue/read_ahead_kb 512
|
||||
write /sys/block/dm-2/queue/read_ahead_kb 512
|
||||
start kernel-boot
|
||||
start kernel-post-boot
|
||||
|
||||
on charger
|
||||
start kernel-post-boot
|
||||
|
||||
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance.conf
|
||||
class core
|
||||
user root
|
||||
group root
|
||||
disabled
|
||||
|
||||
service vendor.modprobe /vendor/bin/vendor_modprobe.sh
|
||||
class main
|
||||
user root
|
||||
group root system
|
||||
disabled
|
||||
stdio_to_kmsg
|
||||
seclabel u:r:vendor_modprobe:s0
|
||||
oneshot
|
||||
@@ -0,0 +1,56 @@
|
||||
#=============================================================================
|
||||
# Copyright (c) 2020-2021 Qualcomm Technologies, Inc. All Rights Reserved.
|
||||
# Qualcomm Technologies Proprietary and Confidential.
|
||||
#
|
||||
# Copyright (c) 2016, 2018, 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-init
|
||||
write /proc/sys/kernel/kptr_restrict 2
|
||||
start qti-debug-early-debug
|
||||
|
||||
service qti-debug-early-debug /vendor/bin/sh /vendor/bin/init.qti.kernel.early_debug.sh
|
||||
class core
|
||||
user root
|
||||
oneshot
|
||||
seclabel u:r:vendor-qti-testscripts:s0
|
||||
|
||||
# Coresight early boot service
|
||||
service qti-debug-early-boot /vendor/bin/sh /vendor/bin/init.qti.kernel.debug.sh
|
||||
class core
|
||||
user root
|
||||
oneshot
|
||||
seclabel u:r:vendor-qti-testscripts:s0
|
||||
|
||||
on property:vendor.all.modules.ready=1
|
||||
start qti-debug-early-boot
|
||||
|
||||
on property:sys.vendor.dbg.coresight.enable=1
|
||||
write /mnt/vendor/persist/coresight/enable 1
|
||||
|
||||
on property:sys.vendor.dbg.coresight.enable=0
|
||||
write /mnt/vendor/persist/coresight/enable 0
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
# Copyright (c) 2011-2016, 2018-2020 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.
|
||||
#
|
||||
|
||||
on init
|
||||
exec u:r:vendor-qti-testscripts:s0 -- /vendor/bin/sh /vendor/bin/init.qti.ufs.debug.sh
|
||||
+13
@@ -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
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
|
||||
# Copyright (c) 2020-2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/imslogs 0770 radio radio
|
||||
chmod 0770 /data/vendor/imslogs
|
||||
|
||||
# imsdaemon starts with root and UID will be downgraded to RADIO.
|
||||
service vendor.imsdaemon /vendor/bin/imsdaemon
|
||||
class main
|
||||
user radio
|
||||
socket ims_datad stream 0660 system radio
|
||||
group radio wifi inet vendor_qti_diag log
|
||||
@@ -0,0 +1,20 @@
|
||||
#
|
||||
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
service vendor.embmsslServer /vendor/bin/embmsslServer
|
||||
class main
|
||||
user radio
|
||||
group radio oem_2901
|
||||
|
||||
# HIDL interfaces
|
||||
interface vendor.qti.hardware.embmssl@1.0::IEmbms embmsslServer0
|
||||
interface vendor.qti.hardware.embmssl@1.1::IEmbms embmsslServer0
|
||||
|
||||
# don't auto restart
|
||||
oneshot
|
||||
|
||||
# start only when requested
|
||||
disabled
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
# Copyright (c) 2019-2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
on boot
|
||||
chown system system /sys/module/microdump_collector/parameters/enable_microdump
|
||||
chown system system /sys/module/microdump_collector/parameters/start_qcomdump
|
||||
|
||||
on post-fs-data
|
||||
# create QDMA dropbox
|
||||
mkdir /data/vendor/qdmastats 0700 system system
|
||||
mkdir /data/vendor/qdma 0770 system system
|
||||
mkdir /data/vendor/qdma/shared 0770 system system
|
||||
mkdir /data/vendor/qdma/shared/3 0770 system system
|
||||
mkdir /data/vendor/qdma/shared/1503 0770 system system
|
||||
mkdir /dev/socket/qcc_trd 0770 system vendor_qtr
|
||||
chmod 2770 /dev/socket/qcc_trd
|
||||
|
||||
service vendor.qcc-trd /system/vendor/bin/qcc-trd
|
||||
class late_start
|
||||
user system
|
||||
group vendor_qtr readproc system net_bw_stats radio vendor_rfs_shared sdcard_rw media_rw sdcard_r
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
#==============================================================================
|
||||
# init.qti.media.rc
|
||||
#
|
||||
# Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2020, 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 qti-media /vendor/bin/init.qti.media.sh
|
||||
class main
|
||||
user media
|
||||
group media
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
on early-init
|
||||
setprop vendor.media.system.build_codename ${ro.build.version.release_or_codename}
|
||||
|
||||
on post-fs
|
||||
start qti-media
|
||||
|
||||
on post-fs-data
|
||||
setprop ro.media.xml_variant.codecs ${vendor.media.target_variant}
|
||||
setprop ro.media.xml_variant.codecs_performance ${vendor.media.target_variant}
|
||||
|
||||
on property:vendor.netflix.bsp_rev=*
|
||||
setprop ro.netflix.bsp_rev ${vendor.netflix.bsp_rev}
|
||||
|
||||
on property:vendor.mm.target.enable.qcom_parser=*
|
||||
setprop vendor.mm.enable.qcom_parser ${vendor.mm.target.enable.qcom_parser}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
#! /vendor/etc/init
|
||||
#=============================================================================
|
||||
# Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#=============================================================================
|
||||
|
||||
on early-init
|
||||
# Set ro.boot.product.vendor.sku to soc_name
|
||||
exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qti.qcv.sh
|
||||
setprop ro.boot.product.vendor.sku ${ro.vendor.qti.soc_name}
|
||||
setprop ro.soc.model ${ro.vendor.qti.soc_model}
|
||||
setprop ro.odm.build.media_performance_class ${ro.vendor.media_performance_class}
|
||||
@@ -0,0 +1,19 @@
|
||||
# Copyright (c) 2022 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
on boot
|
||||
chown system /sys/devices/platform/soc/980000.spi/spi_master/spi0/spi0.0/trusted_touch_enable
|
||||
chmod 0660 /sys/devices/platform/soc/980000.spi/spi_master/spi0/spi0.0/trusted_touch_enable
|
||||
chown system /sys/devices/platform/soc/980000.spi/spi_master/spi0/spi0.0/trusted_touch_event
|
||||
chmod 0660 /sys/devices/platform/soc/980000.spi/spi_master/spi0/spi0.0/trusted_touch_event
|
||||
chown system /sys/devices/platform/soc/a8c000.i2c/i2c-2/2-0062/trusted_touch_enable
|
||||
chmod 0660 /sys/devices/platform/soc/a8c000.i2c/i2c-2/2-0062/trusted_touch_enable
|
||||
chown system /sys/devices/platform/soc/a8c000.i2c/i2c-2/2-0062/trusted_touch_event
|
||||
chmod 0660 /sys/devices/platform/soc/a8c000.i2c/i2c-2/2-0062/trusted_touch_event
|
||||
chown system /sys/devices/platform/soc/984000.i2c/i2c-1/1-0038/trusted_touch_enable
|
||||
chmod 0660 /sys/devices/platform/soc/984000.i2c/i2c-1/1-0038/trusted_touch_enable
|
||||
chown system /sys/devices/platform/soc/984000.i2c/i2c-1/1-0038/trusted_touch_event
|
||||
chmod 0660 /sys/devices/platform/soc/984000.i2c/i2c-1/1-0038/trusted_touch_event
|
||||
|
||||
+14
@@ -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
|
||||
@@ -0,0 +1,3 @@
|
||||
on post-fs-data
|
||||
#sensors log dir
|
||||
mkdir /data/vendor/ins 0764 gps system
|
||||
@@ -0,0 +1,54 @@
|
||||
# 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
|
||||
|
||||
exec_background u:r:vendor_qti_init_shell_bg:s0 -- /vendor/bin/init.qti.write.sh /sys/kernel/boot_slpi/boot 1
|
||||
|
||||
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
|
||||
chmod 0644 /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 0770 /sys/kernel/boot_adsp/ssr
|
||||
|
||||
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
|
||||
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (c) 2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
on early-boot
|
||||
write /sys/kernel/icnss/wlan_en_delay 1000
|
||||
write /sys/kernel/icnss/wpss_boot 1
|
||||
@@ -0,0 +1,17 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
#Copyright (c) 2021 Qualcomm Technologies, Inc.
|
||||
#All Rights Reserved.
|
||||
#Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
# service thermal-engine /vendor/bin/thermal-engine-v2
|
||||
# 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
|
||||
|
||||
# on property:sys.boot_completed=1
|
||||
# restart thermal-engine
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
# Copyright (c) 2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# # Copyright (c) 2009-2012, 2014-2021, 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 loc_launcher /vendor/bin/loc_launcher
|
||||
class late_start
|
||||
user gps
|
||||
group gps
|
||||
|
||||
|
||||
on post-fs-data
|
||||
|
||||
#Create directories for Location services
|
||||
mkdir /data/vendor/location 0770 gps gps
|
||||
mkdir /data/vendor/location/mq 0770 gps gps
|
||||
mkdir /data/vendor/location/xtwifi 0770 gps gps
|
||||
mkdir /dev/socket/location 0770 gps gps
|
||||
mkdir /dev/socket/location/mq 0770 gps gps
|
||||
mkdir /dev/socket/location/xtra 0770 gps gps
|
||||
mkdir /dev/socket/location/ehub 0770 gps gps
|
||||
mkdir /dev/socket/location/dgnss 0770 gps gps
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
service vendor.modemManager /vendor/bin/modemManager
|
||||
class main
|
||||
user radio
|
||||
group radio
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
# Copyright (c) 2019-2021 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
|
||||
|
||||
# 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
@@ -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
|
||||
+76
@@ -0,0 +1,76 @@
|
||||
on boot
|
||||
mkdir /dev/socket/qcrild 0750 radio radio
|
||||
|
||||
service vendor.qcrild /vendor/bin/hw/qcrilNrd
|
||||
class main
|
||||
user radio
|
||||
disabled
|
||||
group radio cache inet misc audio log readproc wakelock oem_2901
|
||||
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
|
||||
|
||||
service vendor.qcrild2 /vendor/bin/hw/qcrilNrd -c 2
|
||||
class main
|
||||
user radio
|
||||
disabled
|
||||
group radio cache inet misc audio log readproc wakelock oem_2901
|
||||
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
|
||||
|
||||
service vendor.qcrild3 /vendor/bin/hw/qcrilNrd -c 3
|
||||
class main
|
||||
user radio
|
||||
disabled
|
||||
group radio cache inet misc audio log readproc wakelock oem_2901
|
||||
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
|
||||
|
||||
on property:persist.radio.multisim.config=ssss && property:ro.baseband=msm
|
||||
stop vendor.qcrild
|
||||
stop vendor.qcrild2
|
||||
start vendor.qcrild
|
||||
|
||||
on property:persist.radio.multisim.config=ssss && property:ro.baseband=mdm
|
||||
stop vendor.qcrild
|
||||
stop vendor.qcrild2
|
||||
start vendor.qcrild
|
||||
|
||||
on property:persist.radio.multisim.config=SSSS && property:ro.baseband=msm
|
||||
stop vendor.qcrild
|
||||
stop vendor.qcrild2
|
||||
start vendor.qcrild
|
||||
|
||||
on property:persist.radio.multisim.config=SSSS && property:ro.baseband=mdm
|
||||
stop vendor.qcrild
|
||||
stop vendor.qcrild2
|
||||
start vendor.qcrild
|
||||
|
||||
on property:persist.radio.multisim.config=dsds && property:ro.baseband=msm
|
||||
stop vendor.qcrild
|
||||
stop vendor.qcrild2
|
||||
start vendor.qcrild
|
||||
start vendor.qcrild2
|
||||
|
||||
on property:persist.radio.multisim.config=dsds && property:ro.baseband=mdm
|
||||
stop vendor.qcrild
|
||||
stop vendor.qcrild2
|
||||
start vendor.qcrild
|
||||
start vendor.qcrild2
|
||||
|
||||
on property:persist.radio.multisim.config=DSDS && property:ro.baseband=msm
|
||||
stop vendor.qcrild
|
||||
stop vendor.qcrild2
|
||||
start vendor.qcrild
|
||||
start vendor.qcrild2
|
||||
|
||||
on property:persist.radio.multisim.config=DSDS && property:ro.baseband=mdm
|
||||
stop vendor.qcrild
|
||||
stop vendor.qcrild2
|
||||
start vendor.qcrild
|
||||
start vendor.qcrild2
|
||||
|
||||
on property:persist.radio.restart_rild=1
|
||||
stop vendor.qcrild
|
||||
start vendor.qcrild
|
||||
on property:persist.radio.restart_rild=2
|
||||
stop vendor.qcrild
|
||||
stop vendor.qcrild2
|
||||
start vendor.qcrild
|
||||
start vendor.qcrild2
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
service qdcmss /vendor/bin/qdcmss
|
||||
class late_start
|
||||
user system
|
||||
group system graphics
|
||||
socket qdcmsocket stream 0660 system adb
|
||||
disabled
|
||||
|
||||
on property:vendor.display.qdcm_socket_service=1
|
||||
start qdcmss
|
||||
|
||||
on property:vendor.display.qdcm_socket_service=0
|
||||
stop qdcmss
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
#==============================================================================
|
||||
# qesdk-manager.rc
|
||||
#
|
||||
# Copyright (c) 2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#===============================================================================
|
||||
service vendor.qesdk-mgr /vendor/bin/qesdk-manager
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
socket qesd seqpacket 666 root system
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
service qguard /vendor/bin/qguard
|
||||
class late_start
|
||||
user root
|
||||
group system readproc
|
||||
file /dev/kmsg w
|
||||
capabilities KILL
|
||||
@@ -0,0 +1,7 @@
|
||||
# Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
on boot
|
||||
write /data/vendor/qmipriod/log.txt ""
|
||||
chown radio radio /data/vendor/qmipriod/log.txt
|
||||
+20
@@ -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
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/qms 0700 radio radio
|
||||
|
||||
service vendor.qms /vendor/bin/qms
|
||||
class main
|
||||
user radio
|
||||
group radio wakelock wifi inet net_admin
|
||||
capabilities BLOCK_SUSPEND NET_ADMIN
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
on init
|
||||
start vendor.qseecomd
|
||||
|
||||
service vendor.qseecomd /vendor/bin/qseecomd
|
||||
socket notify-topology stream 660 system drmrpc
|
||||
class core
|
||||
user root
|
||||
group root drmrpc
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
# 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 on early-init
|
||||
on early-boot
|
||||
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 ssgtzd_opener stream 0660 system inet
|
||||
socket qwes_ipc stream 0660 system inet
|
||||
@@ -0,0 +1,17 @@
|
||||
service display-color-hal-1-0 /vendor/bin/hw/vendor.display.color@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
interface vendor.display.postproc@1.0::IDisplayPostproc default
|
||||
|
||||
interface vendor.display.color@1.0::IDisplayColor default
|
||||
interface vendor.display.color@1.1::IDisplayColor default
|
||||
interface vendor.display.color@1.2::IDisplayColor default
|
||||
interface vendor.display.color@1.3::IDisplayColor default
|
||||
interface vendor.display.color@1.4::IDisplayColor default
|
||||
interface vendor.display.color@1.5::IDisplayColor default
|
||||
interface vendor.display.color@1.6::IDisplayColor default
|
||||
interface vendor.display.color@1.7::IDisplayColor default
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
# Copyright (c) 2018 - 2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
# Create the directories used by DPM subsystem
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/dpm_vndr 0771 system system
|
||||
chown system system /data/vendor/dpm_vndr
|
||||
|
||||
#start vendor.dpmd service
|
||||
service vendor.dpmd /vendor/bin/vendor.dpmd
|
||||
class late_start
|
||||
#socket dpmd stream 660 root radio
|
||||
#socket tcm stream 660 root inet
|
||||
#socket dpmwrapper stream 660 root inet
|
||||
group system readproc inet radio wakelock oem_2901
|
||||
disabled
|
||||
|
||||
on property:persist.vendor.dpm.vndr.feature=*
|
||||
start vendor.dpmd
|
||||
on property:persist.vendor.dpm.vndr.feature=0
|
||||
stop vendor.dpmd
|
||||
@@ -0,0 +1,37 @@
|
||||
# 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
|
||||
@@ -0,0 +1,24 @@
|
||||
service vendor.camera-provider-2-7 /vendor/bin/hw/vendor.qti.camera.provider@2.7-service_64
|
||||
interface android.hardware.camera.provider@2.7::ICameraProvider legacy/1
|
||||
interface android.hardware.camera.provider@2.6::ICameraProvider legacy/1
|
||||
interface android.hardware.camera.provider@2.5::ICameraProvider legacy/1
|
||||
interface android.hardware.camera.provider@2.4::ICameraProvider legacy/1
|
||||
interface vendor.qti.hardware.camera.postproc@1.0::IPostProcService camerapostprocservice
|
||||
interface vendor.xiaomi.hardware.quickcamera@1.0::IQuickCameraService default
|
||||
interface vendor.xiaomi.hardware.campostproc@1.0::IMiPostProcService default
|
||||
interface vendor.xiaomi.hardware.bgservice@1.0::IBGService default
|
||||
class hal
|
||||
user cameraserver
|
||||
group audio camera input drmrpc oem_2907
|
||||
ioprio rt 4
|
||||
capabilities SYS_NICE
|
||||
task_profiles CameraServiceCapacity CameraServicePerformance
|
||||
writepid /sys/kernel/reserve_pool/pid
|
||||
writepid /dev/memcg/camera/provider/cgroup.procs
|
||||
|
||||
on property:persist.vendor.camera.TriggerSimpleperf=1 && property:persist.vendor.camera.SimpleperfDebug=1
|
||||
exec_background system/xbin/su -c "/system/bin/simpleperf record -p ${persist.vendor.camera.TriggerSimpleperfPid} --call-graph fp --duration 5 -o /data/vendor/camera/offlinelog/${persist.vendor.camera.TriggerSimpleperfPid}_${persist.vendor.camera.TriggerSimpleperfTime}_perf.data"
|
||||
|
||||
on boot
|
||||
chmod 0664 /sys/kernel/reserve_pool/config
|
||||
chmod 0666 /sys/kernel/extend_reclaim/reclaim
|
||||
@@ -0,0 +1,62 @@
|
||||
# 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
|
||||
disabled
|
||||
|
||||
on boot && property:ro.boot.product.vendor.sku=taro
|
||||
start vendor.cdsprpcd
|
||||
|
||||
on boot && property:ro.boot.product.vendor.sku=diwali
|
||||
start vendor.cdsprpcd
|
||||
|
||||
on boot && property:ro.boot.product.vendor.sku=parrot
|
||||
start vendor.cdsprpcd
|
||||
|
||||
on boot && property:ro.boot.product.vendor.sku=cape
|
||||
start vendor.cdsprpcd
|
||||
|
||||
on boot && property:ro.boot.product.vendor.sku=ukee
|
||||
start vendor.cdsprpcd
|
||||
|
||||
on boot && property:ro.product.device=sm6150
|
||||
start vendor.cdsprpcd
|
||||
|
||||
on boot && property:ro.product.device=anorak
|
||||
start vendor.cdsprpcd
|
||||
|
||||
on property:vendor.fastrpc.disable.cdsprpcd.daemon=1
|
||||
stop vendor.cdsprpcd
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
|
||||
on early-boot
|
||||
start vendor.diag-router
|
||||
|
||||
service vendor.diag-router /vendor/bin/diag-router
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
capabilities KILL
|
||||
disabled
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Copyright (c) 2017-2018, 2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
service qti_esepowermanager_service_1_1 /vendor/bin/hw/vendor.qti.esepowermanager@1.1-service
|
||||
class early_hal
|
||||
user system
|
||||
group nfc system
|
||||
@@ -0,0 +1,37 @@
|
||||
# Copyright (c) 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.agm-1-0 /vendor/bin/hw/vendor.qti.hardware.AGMIPC@1.0-service
|
||||
class hal
|
||||
user system
|
||||
interface vendor.qti.hardware.AGMIPC@1.0::IAGM default
|
||||
# media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
|
||||
group system audio media mediadrm oem_2901 wakelock
|
||||
capabilities BLOCK_SUSPEND SYS_NICE
|
||||
ioprio rt 4
|
||||
task_profiles ProcessCapacityHigh HighPerformance
|
||||
writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
||||
@@ -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
@@ -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
|
||||
@@ -0,0 +1,13 @@
|
||||
# Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
service vendor.dspservice /vendor/bin/dspservice
|
||||
class hal
|
||||
user system
|
||||
group system wakelock oem_2908
|
||||
capabilities BLOCK_SUSPEND
|
||||
interface vendor.qti.hardware.dsp@1.0::IDspService dspservice
|
||||
|
||||
# uncomment below to disable service at boot
|
||||
# disabled
|
||||
@@ -0,0 +1,10 @@
|
||||
# Copyright (c) 2020-2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
service vendor.limits-hal /vendor/bin/hw/vendor.qti.hardware.limits@1.1-service
|
||||
interface vendor.qti.hardware.limits@1.0::ILimits default
|
||||
interface vendor.qti.hardware.limits@1.1::ILimits default
|
||||
class hal
|
||||
user root
|
||||
group root
|
||||
@@ -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
|
||||
@@ -0,0 +1,4 @@
|
||||
service qteeconnector-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.qteeconnector@1.0-service
|
||||
class early_hal
|
||||
user system
|
||||
group system
|
||||
@@ -0,0 +1,4 @@
|
||||
service vendor.servicetracker-1-2 /vendor/bin/hw/vendor.qti.hardware.servicetracker@1.2-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
@@ -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
|
||||
@@ -0,0 +1,4 @@
|
||||
service vendor.trustedui-1-0 /vendor/bin/hw/vendor.qti.hardware.trustedui@1.0-service-qti
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
@@ -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
|
||||
@@ -0,0 +1,6 @@
|
||||
service vendor-qti-media-c2-hal-1-0 /vendor/bin/hw/vendor.qti.media.c2@1.0-service
|
||||
class hal
|
||||
user mediacodec
|
||||
group mediadrm camera drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
@@ -0,0 +1,7 @@
|
||||
service vendor-qti-media-c2audio-hal-1-0 /vendor/bin/hw/vendor.qti.media.c2audio@1.0-service
|
||||
class hal
|
||||
user mediacodec
|
||||
group mediadrm camera drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
#==============================================================================
|
||||
# vendor.qti.qspmhal@1.0-service.rc
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#===============================================================================
|
||||
service qspmhal /vendor/bin/vendor.qti.qspmhal@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
|
||||
on post-fs-data
|
||||
#Create QSPM-hal deamon related dirs
|
||||
mkdir /data/vendor/gaming 0770 root system
|
||||
@@ -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
|
||||
@@ -0,0 +1,4 @@
|
||||
service secureelement-hal_1_2 /vendor/bin/hw/vendor.qti.secure_element@1.2-service
|
||||
class early_hal
|
||||
user system
|
||||
group system
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# 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
|
||||
ioprio rt 4
|
||||
@@ -0,0 +1,36 @@
|
||||
# Copyright (c) 2021 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.qesdk /vendor/bin/sensors-qesdk
|
||||
class core
|
||||
user system
|
||||
group system wakelock
|
||||
capabilities BLOCK_SUSPEND
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -0,0 +1,11 @@
|
||||
#==============================================================================
|
||||
# vendor.wlan.lowirpcd.rc
|
||||
# Copyright (c) 2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#===============================================================================
|
||||
service vendor.lowi /vendor/bin/lowirpcd
|
||||
class core
|
||||
user system
|
||||
group system wakelock
|
||||
capabilities BLOCK_SUSPEND
|
||||
@@ -0,0 +1,4 @@
|
||||
service vendor.mlipay-1-1 /vendor/bin/mlipayd@1.1
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
# VM mananger
|
||||
# root permission needed for loopback device setup
|
||||
service vendor.vm-mgr /vendor/bin/vmmgr
|
||||
class core
|
||||
user root
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
||||
Reference in New Issue
Block a user