sm6375-common: Import vendor files for the Linux 6.1 port
Extracted from malmo_g W1UOS36H.35-39-8 and device-specific compatibility overrides. Device extraction scripts preserve the build compatibility fixups.
This commit is contained in:
commit
5d0291f99e
936 files changed
+60890
No files matched your search
@@ -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,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
|
||||
@@ -0,0 +1,10 @@
|
||||
on property:vendor.keymaster.quickboot=true
|
||||
stop gatekeeper-1-0
|
||||
start gatekeeper-1-0
|
||||
stop gatekeeperd
|
||||
start gatekeeperd
|
||||
|
||||
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 vendor_ssgtzd
|
||||
@@ -0,0 +1,4 @@
|
||||
service vendor.identity /vendor/bin/hw/android.hardware.identity-service-qti
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
@@ -0,0 +1,14 @@
|
||||
on init
|
||||
start vendor.keymaster-4-1
|
||||
|
||||
on property:vendor.keymaster.quickboot=true
|
||||
stop vendor.keymaster-4-1
|
||||
start vendor.keymaster-4-1
|
||||
stop keystore
|
||||
start keystore
|
||||
start wait_for_keymaster
|
||||
|
||||
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,8 @@
|
||||
on boot && property:ro.vendor.hw.nfc=ese_nq
|
||||
start vendor.secure_element
|
||||
|
||||
service vendor.secure_element /vendor/bin/hw/android.hardware.secure_element-service.qti
|
||||
class hal
|
||||
user system
|
||||
group nfc system
|
||||
disabled
|
||||
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
|
||||
@@ -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
@@ -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-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
|
||||
@@ -0,0 +1,45 @@
|
||||
on init
|
||||
setprop vendor.usb.adb_early ${ro.boot.adb_early:-"0"}
|
||||
|
||||
on charger
|
||||
setprop vendor.usb.charging.func.name fastboot
|
||||
|
||||
# Wait for the USB init shell script to finish, to prevent enumeration issues
|
||||
on property:init.svc.vendor.mmi-usb-sh=stopped && property:ro.boot.mode=charger && property:vendor.usb.adb_early=0
|
||||
setprop sys.usb.configfs 1
|
||||
setprop sys.usb.config fastboot
|
||||
|
||||
on property:init.svc.vendor.mmi-usb-sh=stopped && property:ro.boot.mode=charger && property:vendor.usb.adb_early=1
|
||||
setprop sys.usb.configfs 1
|
||||
setprop sys.usb.config adb
|
||||
|
||||
on moto-charger
|
||||
stop qseecom-service
|
||||
stop vendor.sensors
|
||||
stop vendor.diag_mdlog
|
||||
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
|
||||
trigger firmware_mounts_complete
|
||||
start vendor.charge_only_mode
|
||||
start vendor.batt_health
|
||||
start vendor.thermal-com
|
||||
start system_suspend
|
||||
|
||||
# Enable only CPU core 0 to keep current drain to a minimum
|
||||
write /sys/devices/system/cpu/cpu0/online 1
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "interactive"
|
||||
write /sys/devices/system/cpu/cpu1/online 0
|
||||
write /sys/devices/system/cpu/cpu2/online 0
|
||||
write /sys/devices/system/cpu/cpu3/online 0
|
||||
write /sys/devices/system/cpu/cpu4/online 0
|
||||
write /sys/devices/system/cpu/cpu5/online 0
|
||||
write /sys/devices/system/cpu/cpu6/online 0
|
||||
write /sys/devices/system/cpu/cpu7/online 0
|
||||
|
||||
write /proc/sys/kernel/sched_boost 0
|
||||
write /sys/module/lpm_levels/parameters/sleep_disabled 0
|
||||
|
||||
on firmware_mounts_complete && property:ro.boot.mode=charger && property:persist.vendor.qcomsysd.enabled=1
|
||||
stop qcomsysd
|
||||
@@ -0,0 +1,11 @@
|
||||
on boot && property:ro.boot.adb_early=1
|
||||
start vendor.mmi-usb-sh
|
||||
|
||||
on moto-charger && property:ro.boot.adb_early=1
|
||||
start vendor.mmi-usb-sh
|
||||
|
||||
on post-fs && property:ro.boot.force_aplogd_enable=1
|
||||
setprop persist.vendor.log.aplogd.enable 1
|
||||
|
||||
on boot && property:ro.boot.emmc_dload=0
|
||||
write /sys/kernel/dload/emmc_dload 0
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/diag_mdlog 0770 system log
|
||||
mkdir /data/vendor/diag_mdlog/logs 0750 log log
|
||||
|
||||
on property:persist.vendor.sys.reduce_qdss_log=1
|
||||
write /sys/bus/coresight/reset_source_sink 1
|
||||
write /sys/kernel/tracing/instances/usb/tracing_on 0
|
||||
write /sys/kernel/debug/tracing/tracing_on 0
|
||||
write /sys/kernel/debug/tracing/events/enable 0
|
||||
write /sys/kernel/tracing/tracing_on 0
|
||||
write /sys/kernel/tracing/events/enable 0
|
||||
write /sys/kernel/tracing/instances/wifi/tracing_on 0
|
||||
write /sys/kernel/tracing/instances/ufs/tracing_on 0
|
||||
write /sys/kernel/tracing/instances/bootreceiver/tracing_on 0
|
||||
write /sys/kernel/tracing/instances/kgsl-fence/tracing_on 0
|
||||
|
||||
on property:persist.vendor.sys.diag_mdlog.on=1
|
||||
start vendor.diag_mdlog
|
||||
|
||||
on property:persist.vendor.sys.diag_mdlog.on=0
|
||||
start vendor.safe_stop_mdlog
|
||||
|
||||
on property:vendor.log.diag_mdlog.invld_mode_stop=1
|
||||
stop vendor.diag_mdlog
|
||||
|
||||
on property:persist.vendor.radio.usbdiag=1
|
||||
setprop persist.vendor.sys.diag_mdlog.on 0
|
||||
|
||||
service vendor.diag_mdlog /vendor/bin/diag_mdlog-wrap
|
||||
class late_start
|
||||
socket mdlog_cmd stream 0660 log diag
|
||||
user log
|
||||
group log sdcard_rw sdcard_r media_rw oem_2901 oem_2902 mount vendor_qdss vendor_adpl_odl
|
||||
disabled
|
||||
|
||||
service vendor.safe_stop_mdlog /vendor/bin/diag_mdlog-getlogs -s
|
||||
class late_start
|
||||
user log
|
||||
group log sdcard_rw sdcard_r media_rw oem_2901 oem_2902
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service vendor.mdlog-getlogs /vendor/bin/init.mmi.mdlog-getlogs.sh
|
||||
class late_start
|
||||
user log
|
||||
group log sdcard_rw sdcard_r media_rw oem_2901 oem_2902
|
||||
oneshot
|
||||
disabled
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
service vendor.wlan-getlogs /vendor/bin/init.mmi.wlan-getlogs.sh
|
||||
class late_start
|
||||
user log
|
||||
group log system wifi
|
||||
oneshot
|
||||
disabled
|
||||
+386
@@ -0,0 +1,386 @@
|
||||
#
|
||||
# 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 && property:ro.build.type=userdebug
|
||||
write ${persist.vendor.mmi.misc_dev_path} "ffbm-01"
|
||||
|
||||
on property:vendor.sys.boot_mode=ffbm && property:ro.build.type=eng
|
||||
write ${persist.vendor.mmi.misc_dev_path} "ffbm-01"
|
||||
|
||||
on property:vendor.sys.boot_mode=qmmi && property:ro.build.type=userdebug
|
||||
write ${persist.vendor.mmi.misc_dev_path} "qmmi"
|
||||
|
||||
on property:vendor.sys.boot_mode=qmmi && property:ro.build.type=eng
|
||||
write ${persist.vendor.mmi.misc_dev_path} "qmmi"
|
||||
|
||||
on property:vendor.sys.boot_mode=normal && property:ro.build.type=userdebug
|
||||
write ${persist.vendor.mmi.misc_dev_path} "normal"
|
||||
|
||||
on property:vendor.sys.boot_mode=normal && property:ro.build.type=eng
|
||||
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 && property:ro.build.type=userdebug
|
||||
mount tmpfs tmpfs /data
|
||||
|
||||
on factory-fs && property:ro.bootmode=ffbm-00 && property:ro.build.type=eng
|
||||
mount tmpfs tmpfs /data
|
||||
|
||||
on factory-fs && property:ro.bootmode=ffbm-01 && property:ro.build.type=userdebug
|
||||
mount tmpfs tmpfs /data
|
||||
|
||||
on factory-fs && property:ro.bootmode=ffbm-01 && property:ro.build.type=eng
|
||||
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 && property:ro.build.type=userdebug
|
||||
setprop sys.usb.config ${persist.vendor.usb.config}
|
||||
|
||||
on property:persist.vendor.usb.config=* && property:ro.bootmode=ffbm-00 && property:ro.build.type=eng
|
||||
setprop sys.usb.config ${persist.vendor.usb.config}
|
||||
|
||||
on property:persist.vendor.usb.config=* && property:ro.bootmode=ffbm-01 && property:ro.build.type=userdebug
|
||||
setprop sys.usb.config ${persist.vendor.usb.config}
|
||||
|
||||
on property:persist.vendor.usb.config=* && property:ro.bootmode=ffbm-01 && property:ro.build.type=eng
|
||||
setprop sys.usb.config ${persist.vendor.usb.config}
|
||||
|
||||
on property:persist.vendor.usb.config=* && property:ro.bootmode=ffbm-02 && property:ro.build.type=userdebug
|
||||
setprop sys.usb.config ${persist.vendor.usb.config}
|
||||
|
||||
on property:persist.vendor.usb.config=* && property:ro.bootmode=ffbm-02 && property:ro.build.type=eng
|
||||
setprop sys.usb.config ${persist.vendor.usb.config}
|
||||
|
||||
on property:persist.vendor.usb.config=* && property:ro.bootmode=qmmi && property:ro.build.type=userdebug
|
||||
setprop sys.usb.config ${persist.vendor.usb.config}
|
||||
|
||||
on property:persist.vendor.usb.config=* && property:ro.bootmode=qmmi && property:ro.build.type=eng
|
||||
setprop sys.usb.config ${persist.vendor.usb.config}
|
||||
|
||||
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
|
||||
# ========================================================
|
||||
+225
@@ -0,0 +1,225 @@
|
||||
#=============================================================================
|
||||
# Copyright (c) 2019-2023 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 && property:ro.vendor.qti.load_dlkm.service=native
|
||||
start load_dlkm
|
||||
|
||||
on early-init && property:ro.vendor.qti.load_dlkm.service=""
|
||||
exec_start gki.modprobe
|
||||
start vendor.modprobe
|
||||
|
||||
on early-init
|
||||
# Set the console loglevel to < KERN_WARN
|
||||
# Set the default message loglevel to KERN_INFO
|
||||
write /proc/sys/kernel/printk "4 6 1 7"
|
||||
|
||||
# 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
|
||||
start vendor-early_eth
|
||||
|
||||
on post-fs
|
||||
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
|
||||
|
||||
# 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
|
||||
trigger moto-post-fs-fs-tune
|
||||
|
||||
on early-boot
|
||||
# Allow subsystem (modem etc) debugging
|
||||
start vendor.pd_mapper
|
||||
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
|
||||
# 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 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
|
||||
|
||||
on property:vendor.memory.min_free_kbytes=*
|
||||
write /proc/sys/vm/min_free_kbytes ${vendor.memory.min_free_kbytes}
|
||||
|
||||
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
|
||||
trigger moto-boot-completed-fs-tune
|
||||
write /proc/sys/vm/page-cluster 0
|
||||
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 gki.modprobe /vendor/bin/system_dlkm_modprobe.sh
|
||||
class main
|
||||
user root
|
||||
group root system
|
||||
disabled
|
||||
stdio_to_kmsg
|
||||
seclabel u:r:vendor_modprobe:s0
|
||||
oneshot
|
||||
|
||||
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
|
||||
|
||||
service load_dlkm /vendor/bin/load_dlkm
|
||||
class main
|
||||
user root
|
||||
group root system
|
||||
disabled
|
||||
stdio_to_kmsg
|
||||
seclabel u:r:vendor_modprobe:s0
|
||||
oneshot
|
||||
|
||||
service vendor-early_eth /vendor/bin/sh /vendor/bin/early_eth.sh
|
||||
user net_admin
|
||||
group system inet net_admin
|
||||
capabilities NET_ADMIN
|
||||
disabled
|
||||
oneshot
|
||||
timeout_period 2
|
||||
+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,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"
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
# Copyright (c) 2022-2023 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
on post-fs-data
|
||||
# create QDMA dropbox
|
||||
mkdir /data/vendor/qcc 0770 system system
|
||||
mkdir /data/vendor/qcc/shared 0770 system system
|
||||
mkdir /data/vendor/qcc/shared/3 0770 system system
|
||||
mkdir /data/vendor/qcc/shared/1501 0770 system system
|
||||
mkdir /data/vendor/qcc/shared/1503 0770 system system
|
||||
mkdir /data/vendor/qcc/shared/qmct 0770 system system
|
||||
mkdir /dev/socket/qcc_trd 0770 system vendor_qtr
|
||||
chmod 2770 /dev/socket/qcc_trd
|
||||
|
||||
service vendor.qcc-vendor /system/vendor/bin/qcc-vendor
|
||||
class late_start
|
||||
user system
|
||||
group vendor_qtr readproc system radio vendor_rfs_shared sdcard_rw media_rw sdcard_r
|
||||
interface aidl vendor.qti.qccvndhal_aidl
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
service fm_dl /vendor/bin/init.qti.fm.sh
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
disabled
|
||||
oneshot
|
||||
+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}
|
||||
+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,52 @@
|
||||
# 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
|
||||
|
||||
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
|
||||
|
||||
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,22 @@
|
||||
#! /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 system oem_2907
|
||||
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
|
||||
setprop vendor.boot_completed ${sys.boot_completed}
|
||||
restart thermal-engine
|
||||
|
||||
on property:vendor.thermal.mode=*
|
||||
stop thermal-engine
|
||||
start thermal-engine
|
||||
+8
@@ -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
|
||||
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
# Copyright (c) 2021-2022 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 /data/vendor/location/hmac 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
|
||||
mkdir /dev/socket/qsap_location 0770 gps gps
|
||||
mkdir /data/vendor/location-partner 0770 gps gps
|
||||
mkdir /data/vendor/location-partner/dre 0770 gps gps
|
||||
mkdir /data/vendor/location-partner/ppe 0770 gps gps
|
||||
+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
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
# Copyright (c) 2020, 2023 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
service vendor.qconfig /vendor/bin/hw/qconfigservice
|
||||
class hal
|
||||
user media
|
||||
group camera
|
||||
|
||||
# AIDL interfaces
|
||||
interface aidl vendor.qti.hardware.qconfig.IQConfig/default
|
||||
|
||||
# auto restart (uncomment below to disable rebooting automatically)
|
||||
# oneshot
|
||||
|
||||
# start only when requested (uncomment below to disable service at boot)
|
||||
# disabled
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
on boot
|
||||
mkdir /dev/socket/qcrild 0750 radio radio
|
||||
|
||||
service vendor.qcrild /vendor/bin/hw/qcrilNrd
|
||||
class main
|
||||
user radio
|
||||
disabled
|
||||
socket cutback stream 660 audioserver radio
|
||||
group radio cache inet misc audio log readproc wakelock oem_2901 net_raw wifi diag input
|
||||
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
|
||||
+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
|
||||
@@ -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
|
||||
+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
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
# Copyright (c) 2019, 2022 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
|
||||
# Start daemon
|
||||
on boot
|
||||
start vendor.qwesd
|
||||
|
||||
# Used 'disabled' flag, so daemon won't be started until explicit start
|
||||
service vendor.qwesd /vendor/bin/qwesd
|
||||
class late_start
|
||||
user system
|
||||
group system inet
|
||||
disabled
|
||||
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
# Copyright (c) 2019-2022 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
on boot
|
||||
write /data/vendor/shsusr/shsusr_log.txt ""
|
||||
chown radio radio /data/vendor/shsusr/shsusr_log.txt
|
||||
|
||||
# shsc socket
|
||||
mkdir /dev/socket/shsusrd 0750 radio radio
|
||||
|
||||
# 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 0x22819000 0x0A
|
||||
class main
|
||||
user radio
|
||||
group radio
|
||||
capabilities NET_ADMIN NET_RAW
|
||||
disabled
|
||||
|
||||
on property:persist.vendor.data.shsusr_load=1
|
||||
start vendor.shsusrd
|
||||
|
||||
on property:persist.vendor.data.shsusr_load=0
|
||||
stop vendor.shsusrd
|
||||
|
||||
on property:persist.vendor.data.shsusr_ipa=02
|
||||
write /sys/class/net/rmnet_ipa0/queues/rx-0/rps_cpus "02"
|
||||
|
||||
on property:persist.vendor.data.shsusr_ipa=10
|
||||
write /sys/class/net/rmnet_ipa0/queues/rx-0/rps_cpus "10"
|
||||
|
||||
on property:persist.vendor.data.shsusr_ipa=20
|
||||
write /sys/class/net/rmnet_ipa0/queues/rx-0/rps_cpus "20"
|
||||
|
||||
on property:persist.vendor.data.shsusr_ipa=40
|
||||
write /sys/class/net/rmnet_ipa0/queues/rx-0/rps_cpus "40"
|
||||
|
||||
+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 oem_2912 wakelock
|
||||
capabilities WAKE_ALARM BLOCK_SUSPEND
|
||||
disabled
|
||||
socket ssgtzd stream 0660 system oem_2912
|
||||
socket ssgtzd_opener stream 0660 system system
|
||||
@@ -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,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
|
||||
@@ -0,0 +1,51 @@
|
||||
#
|
||||
# Copyright (c) 2022 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
### [MALMO CUSTOMIZED vendor.qti.diag_userdebug.rc] ###
|
||||
|
||||
on early-init
|
||||
chown system system /sys/devices/soc0/select_image
|
||||
chown system system /sys/devices/soc0/image_version
|
||||
chown system system /sys/devices/soc0/image_variant
|
||||
chown system system /sys/devices/soc0/image_crm_version
|
||||
|
||||
# moto rework for user version diag log
|
||||
on boot
|
||||
chown system system /sys/bus/coresight/devices/coresight-tmc-etr/enable_sink
|
||||
chmod 660 /sys/devices/platform/soc/8048000.tmc/coresight-tmc-etr/enable_sink
|
||||
chown system system /sys/bus/coresight/devices/coresight-tmc-etr/out_mode
|
||||
chown system system /sys/bus/coresight/devices/coresight-stm/enable_source
|
||||
chmod 660 /sys/devices/platform/soc/8048000.tmc/coresight-tmc-etr/out_mode
|
||||
chown root oem_2902 /sys/devices/platform/soc/8048000.tmc/coresight-tmc-etr/block_size
|
||||
chmod 660 /sys/devices/platform/soc/8048000.tmc/coresight-tmc-etr/block_size
|
||||
chown root oem_2902 /sys/devices/platform/soc/8048000.tmc/coresight-tmc-etr/buffer_size
|
||||
chmod 660 /sys/devices/platform/soc/8048000.tmc/coresight-tmc-etr/buffer_size
|
||||
chown system system /sys/bus/coresight/devices/coresight-tmc-etr1/enable_sink
|
||||
chmod 660 /sys/devices/platform/soc/1004f000.tmc/coresight-tmc-etr1/enable_sink
|
||||
chown system system /sys/bus/coresight/devices/coresight-tmc-etr1/out_mode
|
||||
chmod 660 /sys/devices/platform/soc/1004f000.tmc/coresight-tmc-etr1/out_mode
|
||||
chown root oem_2902 /sys/devices/platform/soc/1004f000.tmc/coresight-tmc-etr1/block_size
|
||||
chmod 660 /sys/devices/platform/soc/1004f000.tmc/coresight-tmc-etr1/block_size
|
||||
chown root oem_2902 /sys/devices/platform/soc/1004f000.tmc/coresight-tmc-etr1/buffer_size
|
||||
chmod 660 /sys/devices/platform/soc/1004f000.tmc/coresight-tmc-etr1/buffer_size
|
||||
chown root oem_2902 /sys/bus/coresight/reset_source_sink
|
||||
chmod 660 /sys/bus/coresight/reset_source_sink
|
||||
chmod 660 /sys/bus/coresight/devices/coresight-tmc-etr/block_size
|
||||
chown log vendor_qdss /sys/bus/coresight/devices/coresight-tmc-etr/block_size
|
||||
chmod 660 /sys/bus/coresight/devices/coresight-tmc-etr1/block_size
|
||||
chown log vendor_qdss /sys/bus/coresight/devices/coresight-tmc-etr1/block_size
|
||||
chown system system /sys/bus/coresight/devices/coresight-modem-diag/enable_source
|
||||
|
||||
on early-boot
|
||||
start vendor.diag-router
|
||||
|
||||
service vendor.diag-router /vendor/bin/diag-router
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
capabilities KILL
|
||||
task_profiles ProcessCapacityLow HighEnergySaving LowIoPriority
|
||||
disabled
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2023 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
service vendor.qti.hardware.alarm-service /vendor/bin/hw/vendor.qti.hardware.alarm-service
|
||||
interface aidl vendor.qti.hardware.alarm.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
|
||||
+43
@@ -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
|
||||
@@ -0,0 +1,10 @@
|
||||
# Copyright (c) 2023 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
service vendor.qti.hardware.display.color-service /vendor/bin/hw/vendor.qti.hardware.display.color-service
|
||||
interface aidl vendor.qti.hardware.display.color.IDisplayColor/default
|
||||
interface aidl vendor.qti.hardware.display.postproc.IDisplayPostproc/default
|
||||
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,15 @@
|
||||
#
|
||||
# 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
|
||||
interface aidl vendor.qti.hardware.qseecom
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# Copyright (c) 2017, 2021, 2023 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
on boot && property:ro.vendor.hw.nfc=ese_nq
|
||||
start qteeconnector-hal-1-0
|
||||
|
||||
service qteeconnector-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.qteeconnector@1.0-service
|
||||
class early_hal
|
||||
user system
|
||||
group system
|
||||
interface aidl vendor.qti.hardware.qteeconnector
|
||||
disabled
|
||||
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
service vendor.qti.hardware.sensorscalibrate-service /vendor/bin/hw/vendor.qti.hardware.sensorscalibrate-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
@@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2023 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
service vendor.soter /vendor/bin/hw/vendor.qti.hardware.soter-service
|
||||
class late_start
|
||||
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,16 @@
|
||||
#==============================================================================
|
||||
# vendor.qti.qspmhal-service.rc
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#===============================================================================
|
||||
service qspmhal /vendor/bin/vendor.qti.qspmhal-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
interface aidl vendor.qti.qspmhal.IQspmhal/default
|
||||
|
||||
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
|
||||
+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,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
|
||||
+10
@@ -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