Init e3q vendor blobs
This commit is contained in:
5
proprietary/vendor/etc/init/android.hardware.bluetooth@1.1-service-qti.rc
vendored
Normal file
5
proprietary/vendor/etc/init/android.hardware.bluetooth@1.1-service-qti.rc
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
service vendor.bluetooth-1-1-qti /vendor/bin/hw/android.hardware.bluetooth@1.1-service-qti
|
||||
class hal
|
||||
user bluetooth
|
||||
group bluetooth system wakelock oem_2901 net_raw oem_2912
|
||||
capabilities BLOCK_SUSPEND NET_ADMIN
|
8
proprietary/vendor/etc/init/android.hardware.camera.provider-V1-external-service.rc
vendored
Normal file
8
proprietary/vendor/etc/init/android.hardware.camera.provider-V1-external-service.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
service vendor.camera.provider-ext /vendor/bin/hw/android.hardware.camera.provider-V1-external-service
|
||||
interface aidl android.hardware.camera.provider.ICameraProvider/external/0
|
||||
class hal
|
||||
user cameraserver
|
||||
group audio camera input drmrpc usb
|
||||
ioprio rt 4
|
||||
capabilities SYS_NICE
|
||||
task_profiles CameraServiceCapacity MaxPerformance
|
7
proprietary/vendor/etc/init/android.hardware.gatekeeper-service.rc
vendored
Normal file
7
proprietary/vendor/etc/init/android.hardware.gatekeeper-service.rc
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
service vendor.gatekeeper-default /vendor/bin/hw/android.hardware.gatekeeper-service
|
||||
class hal
|
||||
user system
|
||||
group system 5678
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/gatekeeper 0770 system system
|
6
proprietary/vendor/etc/init/android.hardware.gnss-aidl-service-qti.rc
vendored
Normal file
6
proprietary/vendor/etc/init/android.hardware.gnss-aidl-service-qti.rc
vendored
Normal file
@@ -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
|
13
proprietary/vendor/etc/init/android.hardware.security.keymint-service-qti.rc
vendored
Normal file
13
proprietary/vendor/etc/init/android.hardware.security.keymint-service-qti.rc
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
service vendor.keymint-default /vendor/bin/hw/android.hardware.security.keymint-service-qti
|
||||
class early_hal
|
||||
user system
|
||||
group system drmrpc
|
||||
|
||||
on post-fs
|
||||
mkdir /mnt/vendor/efs/DAK 0775 system system
|
||||
restorecon --recursive --force /mnt/vendor/efs/DAK
|
||||
chown system system /mnt/vendor/efs/DAK/gakkeybox
|
||||
chmod 0644 /mnt/vendor/efs/DAK/gakkeybox
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/keymaster 0775 system system
|
11
proprietary/vendor/etc/init/android.hardware.security.keymint-service-spu-qti.rc
vendored
Normal file
11
proprietary/vendor/etc/init/android.hardware.security.keymint-service-spu-qti.rc
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
on init && property:ro.boot.product.vendor.sku=pineapple
|
||||
start vendor.keymint-spu-qti
|
||||
|
||||
service vendor.keymint-spu-qti /vendor/bin/hw/android.hardware.security.keymint-service-spu-qti
|
||||
class early_hal
|
||||
user system
|
||||
group system drmrpc
|
7
proprietary/vendor/etc/init/android.hardware.sensors-service-multihal.rc
vendored
Normal file
7
proprietary/vendor/etc/init/android.hardware.sensors-service-multihal.rc
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
service vendor.sensors-hal-multihal /vendor/bin/hw/android.hardware.sensors-service.multihal
|
||||
class hal
|
||||
user system
|
||||
group system wakelock context_hub input uhid
|
||||
task_profiles ServiceCapacityLow
|
||||
capabilities BLOCK_SUSPEND
|
||||
rlimit rtprio 10 10
|
2
proprietary/vendor/etc/init/camera.unihal.rc
vendored
Normal file
2
proprietary/vendor/etc/init/camera.unihal.rc
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
on early-boot
|
||||
setprop vendor.camera.unihal.enable true
|
4
proprietary/vendor/etc/init/cnd.rc
vendored
Normal file
4
proprietary/vendor/etc/init/cnd.rc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
service vendor.cnd /system/vendor/bin/cnd
|
||||
class main
|
||||
user system
|
||||
group system wifi inet radio wakelock net_admin oem_2912
|
13
proprietary/vendor/etc/init/dataadpl.rc
vendored
Normal file
13
proprietary/vendor/etc/init/dataadpl.rc
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
# Create the directories used by DPM subsystem
|
||||
|
||||
#start dataadpl service
|
||||
service vendor.dataadpl /system/vendor/bin/adpl
|
||||
class main
|
||||
user radio
|
||||
socket adpl_cmd_uds_file dgram 660 radio radio
|
||||
group radio oem_2901 diag usb inet
|
||||
disabled
|
19
proprietary/vendor/etc/init/dataqti.rc
vendored
Normal file
19
proprietary/vendor/etc/init/dataqti.rc
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
# Create the directories used by DPM subsystem
|
||||
|
||||
# msm specific files that need to be created on /data
|
||||
on post-fs-data
|
||||
#Create DATAQTI dir for logs
|
||||
mkdir /data/vendor/dataqti 0770 radio radio
|
||||
chmod 0770 /data/vendor/dataqti
|
||||
|
||||
#start dataqti service
|
||||
service vendor.dataqti /system/vendor/bin/qti
|
||||
class main
|
||||
user radio
|
||||
socket qti_dpm_uds_file dgram 660 radio radio
|
||||
group radio oem_2901 diag usb inet
|
||||
disabled
|
17
proprietary/vendor/etc/init/dpmQmiMgr.rc
vendored
Normal file
17
proprietary/vendor/etc/init/dpmQmiMgr.rc
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# Copyright (c) 2019-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
|
15
proprietary/vendor/etc/init/hermesd.rc
vendored
Normal file
15
proprietary/vendor/etc/init/hermesd.rc
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
service hermesd /vendor/bin/hermesd /data/vendor/gatekeeper
|
||||
class hal
|
||||
user system
|
||||
socket hermes_secnvm stream 660 system system
|
||||
group system 5678
|
||||
capabilities WAKE_ALARM
|
||||
|
||||
on early-fs
|
||||
chown system system /dev/k250a
|
||||
chmod 0660 /dev/k250a
|
||||
chown system system /dev/ssp
|
||||
chmod 0660 /dev/ssp
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/gatekeeper 0770 system system
|
177
proprietary/vendor/etc/init/init.audio.samsung.rc
vendored
Normal file
177
proprietary/vendor/etc/init/init.audio.samsung.rc
vendored
Normal file
@@ -0,0 +1,177 @@
|
||||
|
||||
# Copyright (c) 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 post-fs-data
|
||||
# Cirrus Amp Calibration
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/status
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/rdc
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/rdc_r
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/rdc_b
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/rdc_br
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/temp
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/temp_r
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/temp_b
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/temp_br
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/v_status
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/v_validation
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/v_validation_r
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/v_validation_b
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/v_validation_br
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/vsc
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/vsc_r
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/vsc_b
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/vsc_br
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/isc
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/isc_r
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/isc_b
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/isc_br
|
||||
chown system audio /sys/class/cirrus/cirrus_cal/reinit
|
||||
mkdir /efs/cirrus 0770 audioserver audio
|
||||
chown audioserver audio /efs/cirrus/temp_cal
|
||||
chown audioserver audio /efs/cirrus/rdc_cal
|
||||
chown audioserver audio /efs/cirrus/rdc_cal_r
|
||||
chown audioserver audio /efs/cirrus/rdc_cal_b
|
||||
chown audioserver audio /efs/cirrus/rdc_cal_br
|
||||
chown audioserver audio /efs/cirrus/vsc_cal
|
||||
chown audioserver audio /efs/cirrus/vsc_cal_r
|
||||
chown audioserver audio /efs/cirrus/vsc_cal_b
|
||||
chown audioserver audio /efs/cirrus/vsc_cal_br
|
||||
chown audioserver audio /efs/cirrus/isc_cal
|
||||
chown audioserver audio /efs/cirrus/isc_cal_r
|
||||
chown audioserver audio /efs/cirrus/isc_cal_b
|
||||
chown audioserver audio /efs/cirrus/isc_cal_br
|
||||
|
||||
chmod 0660 /efs/cirrus/temp_cal
|
||||
chmod 0660 /efs/cirrus/rdc_cal
|
||||
chmod 0660 /efs/cirrus/rdc_cal_b
|
||||
chmod 0660 /efs/cirrus/rdc_cal_r
|
||||
chmod 0660 /efs/cirrus/rdc_cal_br
|
||||
chmod 0660 /efs/cirrus/vsc_cal
|
||||
chmod 0660 /efs/cirrus/vsc_cal_b
|
||||
chmod 0660 /efs/cirrus/vsc_cal_r
|
||||
chmod 0660 /efs/cirrus/vsc_cal_br
|
||||
chmod 0660 /efs/cirrus/isc_cal
|
||||
chmod 0660 /efs/cirrus/isc_cal_b
|
||||
chmod 0660 /efs/cirrus/isc_cal_r
|
||||
chmod 0660 /efs/cirrus/isc_cal_br
|
||||
|
||||
# Cirrus Amp power
|
||||
chown system audio /sys/class/cirrus/cirrus_pwr/status
|
||||
chown system audio /sys/class/cirrus/cirrus_pwr/value
|
||||
chown system audio /sys/class/cirrus/cirrus_pwr/value_r
|
||||
chown system audio /sys/class/cirrus/cirrus_pwr/value_b
|
||||
chown system audio /sys/class/cirrus/cirrus_pwr/value_br
|
||||
chown system audio /sys/class/cirrus/cirrus_pwr/spk_t
|
||||
chown system audio /sys/class/cirrus/cirrus_pwr/spk_t_r
|
||||
chown system audio /sys/class/cirrus/cirrus_pwr/spk_t_b
|
||||
chown system audio /sys/class/cirrus/cirrus_pwr/spk_t_br
|
||||
chown system audio /sys/class/cirrus/cirrus_pwr/env_temp
|
||||
chown system audio /sys/class/cirrus/cirrus_pwr/env_temp_r
|
||||
chown system audio /sys/class/cirrus/cirrus_pwr/env_temp_b
|
||||
chown system audio /sys/class/cirrus/cirrus_pwr/env_temp_br
|
||||
|
||||
# Cirrus Amp Bigdata
|
||||
chown system audio /sys/class/audio/amp/temperature_max_0
|
||||
chown system audio /sys/class/audio/amp/temperature_keep_max_0
|
||||
chown system audio /sys/class/audio/amp/temperature_overcount_0
|
||||
chown system audio /sys/class/audio/amp/excursion_max_0
|
||||
chown system audio /sys/class/audio/amp/excursion_overcount_0
|
||||
chown system audio /sys/class/audio/amp/ready_0
|
||||
chown system audio /sys/class/audio/amp/temperature_max_1
|
||||
chown system audio /sys/class/audio/amp/temperature_keep_max_1
|
||||
chown system audio /sys/class/audio/amp/temperature_overcount_1
|
||||
chown system audio /sys/class/audio/amp/excursion_max_1
|
||||
chown system audio /sys/class/audio/amp/excursion_overcount_1
|
||||
chown system audio /sys/class/audio/amp/ready_1
|
||||
chown system audio /sys/class/audio/amp/temperature_max_2
|
||||
chown system audio /sys/class/audio/amp/temperature_keep_max_2
|
||||
chown system audio /sys/class/audio/amp/temperature_overcount_2
|
||||
chown system audio /sys/class/audio/amp/excursion_max_2
|
||||
chown system audio /sys/class/audio/amp/excursion_overcount_2
|
||||
chown system audio /sys/class/audio/amp/ready_2
|
||||
chown system audio /sys/class/audio/amp/temperature_max_3
|
||||
chown system audio /sys/class/audio/amp/temperature_keep_max_3
|
||||
chown system audio /sys/class/audio/amp/temperature_overcount_3
|
||||
chown system audio /sys/class/audio/amp/excursion_max_3
|
||||
chown system audio /sys/class/audio/amp/excursion_overcount_3
|
||||
chown system audio /sys/class/audio/amp/ready_3
|
||||
|
||||
# Goodix Amp Calibration/Validation
|
||||
chown system system /sys/class/tfa/tfa_cal/status
|
||||
chown system system /sys/class/tfa/tfa_cal/rdc
|
||||
chown system system /sys/class/tfa/tfa_cal/rdc_r
|
||||
chown system system /sys/class/tfa/tfa_cal/temp
|
||||
chown system system /sys/class/tfa/tfa_cal/temp_r
|
||||
chown system audio /sys/class/tfa/tfa_vval/status
|
||||
chown system audio /sys/class/tfa/tfa_vval/status_r
|
||||
chown system audio /sys/class/tfa/tfa_vval/validation
|
||||
chown system system /sys/class/tfa/tfa_stc/power_state
|
||||
chown system system /sys/class/tfa/tfa_stc/power_state_r
|
||||
chown system system /sys/class/tfa/tfa_cal/ref_temp
|
||||
chown audioserver audio /sys/class/tfa/tfa_cal/config
|
||||
chmod 0660 /sys/class/tfa/tfa_cal/status
|
||||
|
||||
mkdir /efs/tfa_cal 0770 audioserver audio
|
||||
chown audioserver audio /efs/tfa_cal/status
|
||||
chown audioserver audio /efs/tfa_cal/rdc
|
||||
chown audioserver audio /efs/tfa_cal/rdc_r
|
||||
chown audioserver audio /efs/tfa_cal/temp
|
||||
chown audioserver audio /efs/tfa_cal/temp_r
|
||||
chmod 0660 /efs/tfa_cal/status
|
||||
chmod 0660 /efs/tfa_cal/rdc
|
||||
chmod 0660 /efs/tfa_cal/rdc_r
|
||||
chmod 0660 /efs/tfa_cal/temp
|
||||
chmod 0660 /efs/tfa_cal/temp_r
|
||||
|
||||
# TAS Amp
|
||||
chown audioserver audio /sys/class/tas25xx_dev/cmd/temp
|
||||
chown audioserver audio /sys/class/tas25xx_dev/cmd/drv_opmode
|
||||
chown audioserver audio /sys/class/tas25xx_dev/cmd/iv_vbat
|
||||
chown audioserver audio /sys/class/tas25xx_dev/cmd/calib
|
||||
|
||||
mkdir /efs/tas25xx 0770 audioserver audio
|
||||
chown audioserver audio /efs/tas25xx/calibration
|
||||
chown audioserver audio /efs/tas25xx/calib_re
|
||||
chown audioserver audio /efs/tas25xx/amb_temp
|
||||
chown audioserver audio /efs/tas25xx/calib_re_r
|
||||
chown audioserver audio /efs/tas25xx/amb_temp_r
|
||||
chmod 0660 /efs/tas25xx/calibration
|
||||
chmod 0660 /efs/tas25xx/calib_re
|
||||
chmod 0660 /efs/tas25xx/amb_temp
|
||||
chmod 0660 /efs/tas25xx/calib_re_r
|
||||
chmod 0660 /efs/tas25xx/amb_temp_r
|
||||
|
||||
# SSRM Amp temperature
|
||||
chown system system /sys/class/audio/amp/surface_temperature_0
|
||||
chown system system /sys/class/audio/amp/surface_temperature_1
|
||||
|
||||
|
||||
# DSP Silent reset count
|
||||
chown system audio /sys/class/audio/dsp/srcnt
|
||||
chown system audio /sys/class/audio/dsp/srcnt_keep
|
19
proprietary/vendor/etc/init/init.embmssl_server.rc
vendored
Normal file
19
proprietary/vendor/etc/init/init.embmssl_server.rc
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# Copyright (c) 2019-2020, 2023 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
|
||||
|
||||
# AIDL interfaces
|
||||
interface aidl vendor.qti.hardware.embmssl.IEmbms/default
|
||||
|
||||
# don't auto restart
|
||||
oneshot
|
||||
|
||||
# start only when requested
|
||||
disabled
|
37
proprietary/vendor/etc/init/init.fingerprint.rc
vendored
Normal file
37
proprietary/vendor/etc/init/init.fingerprint.rc
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
on boot
|
||||
# Fingerprint sensor
|
||||
chmod 0660 /dev/esfp0
|
||||
chown system system /dev/esfp0
|
||||
|
||||
chmod 0660 /dev/goodix_fp
|
||||
chown system system /dev/goodix_fp
|
||||
|
||||
chmod 0660 /dev/qbt2000_fd
|
||||
chmod 0660 /dev/qbt2000_ipc
|
||||
chmod 0660 /dev/qbtspi
|
||||
chown system system /dev/qbt2000_fd
|
||||
chown system system /dev/qbt2000_ipc
|
||||
chown system system /dev/qbtspi
|
||||
|
||||
chown system radio /sys/class/fingerprint/fingerprint/type_check
|
||||
chown system radio /sys/class/fingerprint/fingerprint/name
|
||||
chown system radio /sys/class/fingerprint/fingerprint/vendor
|
||||
chown system radio /sys/class/fingerprint/fingerprint/adm
|
||||
chown system radio /sys/class/fingerprint/fingerprint/bfs_values
|
||||
chown system radio /sys/class/fingerprint/fingerprint/position
|
||||
chown system radio /sys/class/fingerprint/fingerprint/cbgecnt
|
||||
chown system radio /sys/class/fingerprint/fingerprint/intcnt
|
||||
chown system radio /sys/class/fingerprint/fingerprint/resetcnt
|
||||
chown system radio /sys/class/fingerprint/fingerprint/wuhbtest
|
||||
chown system radio /sys/class/fingerprint/fingerprint/rb
|
||||
|
||||
mkdir /data/vendor/misc 0770 system system
|
||||
mkdir /data/vendor/misc/qti_fp 0770 system system
|
||||
mkdir /data/vendor/misc/qti_fp/bg_estimation 0770 system system
|
||||
mkdir /data/vendor/misc/qti_fp/calib_test 0770 system system
|
||||
mkdir /data/vendor/misc/qti_fp/template 0770 system system
|
||||
|
||||
mkdir /data/vendor/biometrics 0770 system system
|
||||
mkdir /data/vendor/fpSnrTest 0770 system system
|
||||
mkdir /efs/biometrics 0770 system system
|
||||
mkdir /efs/biometrics/meta 0770 system system
|
20
proprietary/vendor/etc/init/init.qccvendor.rc
vendored
Normal file
20
proprietary/vendor/etc/init/init.qccvendor.rc
vendored
Normal file
@@ -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
|
54
proprietary/vendor/etc/init/init.qti.media.rc
vendored
Normal file
54
proprietary/vendor/etc/init/init.qti.media.rc
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
#==============================================================================
|
||||
# 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}
|
||||
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}
|
22
proprietary/vendor/etc/init/init.spdaemon.rc
vendored
Normal file
22
proprietary/vendor/etc/init/init.spdaemon.rc
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
on fs && property:ro.product.device=pineapple
|
||||
mkdir /mnt/vendor/persist/spudc 0770 system system
|
||||
mkdir /mnt/vendor/spunvm 0660 system system
|
||||
|
||||
on post-fs && property:ro.boot.product.vendor.sku=pineapple
|
||||
mkdir /mnt/vendor/persist/iar_db 0770 system system
|
||||
start vendor.spdaemon
|
||||
start vendor.sec_nvm
|
||||
|
||||
service vendor.spdaemon /vendor/bin/spdaemon
|
||||
class core
|
||||
user system
|
||||
group system
|
||||
disabled
|
||||
shutdown critical
|
||||
|
||||
service vendor.sec_nvm /vendor/bin/sec_nvm
|
||||
class core
|
||||
user system
|
||||
group system
|
||||
disabled
|
||||
|
14
proprietary/vendor/etc/init/init.time_daemon.rc
vendored
Normal file
14
proprietary/vendor/etc/init/init.time_daemon.rc
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
on post-fs-data && property:ro.crypto.state=encrypted && property:ro.crypto.type=file
|
||||
start time_daemon
|
||||
|
||||
service time_daemon /vendor/bin/time_daemon
|
||||
class main
|
||||
user system
|
||||
group system
|
||||
capabilities SYS_TIME
|
14
proprietary/vendor/etc/init/init.vendor.onebinary.rc
vendored
Normal file
14
proprietary/vendor/etc/init/init.vendor.onebinary.rc
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
# Copyright (C) 2012 The Android Open Source Project
|
||||
#
|
||||
# IMPORTANT: Do not create world writable files or directories.
|
||||
# This is a common source of Android security bugs.
|
||||
#
|
||||
|
||||
# service can not be overwritten except SPRINT
|
||||
# Thus, rilcarrier is imported before common rc, like init.rilchip.rc
|
||||
|
||||
on fs
|
||||
copy /mnt/vendor/efs/factory.prop /efs/imei/factory.prop
|
||||
chown root root /efs/imei/factory.prop
|
||||
chmod 0600 /efs/imei/factory.prop
|
||||
|
35
proprietary/vendor/etc/init/init.vendor.rilcommon.rc
vendored
Normal file
35
proprietary/vendor/etc/init/init.vendor.rilcommon.rc
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright (C) 2012 The Android Open Source Project
|
||||
#
|
||||
# IMPORTANT: Do not create world writable files or directories.
|
||||
# This is a common source of Android security bugs.
|
||||
#
|
||||
|
||||
# service can not be overwritten except SPRINT
|
||||
# Thus, rilcarrier is imported before common rc, like init.rilchip.rc
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/secradio 0770 radio radio
|
||||
|
||||
on property:vts.native_server.on=*
|
||||
setprop vendor.vts.native_server.on ${vts.native_server.on}
|
||||
|
||||
service network_config /vendor/bin/secril_config_svc NetworkConfig
|
||||
user radio
|
||||
group radio
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service sim_config /vendor/bin/secril_config_svc SimConfig
|
||||
user radio
|
||||
group radio
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
on fs
|
||||
chown radio radio /mnt/vendor/efs/factory.prop
|
||||
chmod 0600 /mnt/vendor/efs/factory.prop
|
||||
exec_start sim_config
|
||||
|
||||
on post-fs-data
|
||||
exec_start network_config
|
||||
setprop ro.telephony.default_network ${ro.vendor.radio.default_network}
|
50
proprietary/vendor/etc/init/init.vendor.sensors.rc
vendored
Normal file
50
proprietary/vendor/etc/init/init.vendor.sensors.rc
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
# 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
|
||||
|
||||
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
|
9
proprietary/vendor/etc/init/init.vendor.wlan.rc
vendored
Normal file
9
proprietary/vendor/etc/init/init.vendor.wlan.rc
vendored
Normal file
@@ -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
|
54
proprietary/vendor/etc/init/loc-launcher.rc
vendored
Normal file
54
proprietary/vendor/etc/init/loc-launcher.rc
vendored
Normal file
@@ -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
|
12
proprietary/vendor/etc/init/qdcmss.rc
vendored
Normal file
12
proprietary/vendor/etc/init/qdcmss.rc
vendored
Normal file
@@ -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
|
7
proprietary/vendor/etc/init/qmipriod.debug.rc
vendored
Normal file
7
proprietary/vendor/etc/init/qmipriod.debug.rc
vendored
Normal file
@@ -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
proprietary/vendor/etc/init/qmipriod.rc
vendored
Normal file
20
proprietary/vendor/etc/init/qmipriod.rc
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
service vendor.qmipriod /system/vendor/bin/qmipriod
|
||||
class main
|
||||
user radio
|
||||
group radio
|
||||
disabled
|
||||
|
||||
on property:persist.vendor.data.qmipriod_load=1
|
||||
start vendor.qmipriod
|
||||
|
||||
on property:persist.vendor.data.qmipriod_load=0
|
||||
stop vendor.qmipriod
|
||||
|
||||
on post-fs-data
|
||||
#Create logging directory
|
||||
mkdir /data/vendor/qmipriod 0770 radio radio
|
||||
chmod 0770 /data/vendor/qmipriod
|
13
proprietary/vendor/etc/init/qms.rc
vendored
Normal file
13
proprietary/vendor/etc/init/qms.rc
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/qms 0700 radio radio
|
||||
mkdir /data/vendor/qms_logs 0700 radio radio
|
||||
mkdir /data/vendor/qms_logs/main 0700 radio radio
|
||||
mkdir /data/vendor/qms_logs/other 0700 radio radio
|
||||
mkdir /data/vendor/qms_logs/config 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
proprietary/vendor/etc/init/qseecomd.rc
vendored
Normal file
12
proprietary/vendor/etc/init/qseecomd.rc
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
on init
|
||||
start vendor.qseecomd
|
||||
|
||||
service vendor.qseecomd /vendor/bin/qseecomd
|
||||
socket notify-topology stream 660 system drmrpc
|
||||
class core
|
||||
user root
|
||||
group root drmrpc
|
16
proprietary/vendor/etc/init/qwesd.rc
vendored
Normal file
16
proprietary/vendor/etc/init/qwesd.rc
vendored
Normal file
@@ -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
|
||||
|
4
proprietary/vendor/etc/init/secure_element-service-nxp.rc
vendored
Normal file
4
proprietary/vendor/etc/init/secure_element-service-nxp.rc
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
service vendor.secure_element_hal_service /vendor/bin/hw/android.hardware.secure_element-service.nxp
|
||||
class hal
|
||||
user system
|
||||
group system
|
43
proprietary/vendor/etc/init/shsusrd.rc
vendored
Normal file
43
proprietary/vendor/etc/init/shsusrd.rc
vendored
Normal file
@@ -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"
|
||||
|
21
proprietary/vendor/etc/init/ssgtzd.rc
vendored
Normal file
21
proprietary/vendor/etc/init/ssgtzd.rc
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
|
||||
# Create the directories used by qwes
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/qwes 0755 system system
|
||||
|
||||
# Start daemon 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
|
||||
disabled
|
||||
socket ssgtzd stream 0660 system oem_2912
|
||||
socket ssgtzd_opener stream 0660 system system
|
18
proprietary/vendor/etc/init/tlpd.rc
vendored
Normal file
18
proprietary/vendor/etc/init/tlpd.rc
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
# Copyright (c) 2021-2023 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
on boot
|
||||
#Create Throughput Latency Processing Daemon socket area
|
||||
mkdir /dev/socket/tlpd 0750 radio radio
|
||||
|
||||
on post-fs-data
|
||||
#Create TLPD daemon dir
|
||||
mkdir /data/vendor/tlpd 2750 radio system
|
||||
chmod 2750 /data/vendor/tlpd
|
||||
|
||||
service vendor.tlpd /system/vendor/bin/tlpd boot
|
||||
class main
|
||||
user radio
|
||||
group radio
|
||||
|
8
proprietary/vendor/etc/init/trusteduilistener.rc
vendored
Normal file
8
proprietary/vendor/etc/init/trusteduilistener.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
service vendor.trusteduilistener /vendor/bin/trusteduilistener
|
||||
class late_start
|
||||
user system
|
||||
group system
|
37
proprietary/vendor/etc/init/vendor.qti.adsprpc-guestos-service.rc
vendored
Normal file
37
proprietary/vendor/etc/init/vendor.qti.adsprpc-guestos-service.rc
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
#
|
||||
# Copyright (c) 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
|
37
proprietary/vendor/etc/init/vendor.qti.audio-adsprpc-service.rc
vendored
Normal file
37
proprietary/vendor/etc/init/vendor.qti.audio-adsprpc-service.rc
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
#
|
||||
# Copyright (c) 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.
|
||||
#
|
||||
|
||||
service vendor.audioadsprpcd_audiopd /vendor/bin/audioadsprpcd audiopd
|
||||
class main
|
||||
user media
|
||||
group media
|
||||
|
||||
# Start audio adsp rpc deamon at early init stage
|
||||
on early-init
|
||||
start vendor.audioadsprpcd_audiopd
|
40
proprietary/vendor/etc/init/vendor.qti.cdsprpc-service.rc
vendored
Normal file
40
proprietary/vendor/etc/init/vendor.qti.cdsprpc-service.rc
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
#
|
||||
# Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
# * Neither the name of The Linux Foundation nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
service vendor.cdsprpcd /vendor/bin/cdsprpcd
|
||||
class main
|
||||
user system
|
||||
group system
|
||||
|
||||
on property:vendor.fastrpc.disable.cdsprpcd.daemon=1
|
||||
stop vendor.cdsprpcd
|
17
proprietary/vendor/etc/init/vendor.qti.diag.rc
vendored
Normal file
17
proprietary/vendor/etc/init/vendor.qti.diag.rc
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# Copyright (c) 2022 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
|
||||
on early-boot
|
||||
start vendor.diag-router
|
||||
|
||||
service vendor.diag-router /vendor/bin/diag-router
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
capabilities KILL
|
||||
disabled
|
||||
|
8
proprietary/vendor/etc/init/vendor.qti.hardware.capabilityconfigstore@1.0-service.rc
vendored
Normal file
8
proprietary/vendor/etc/init/vendor.qti.hardware.capabilityconfigstore@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
service vendor.capabilityconfigstore /vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
12
proprietary/vendor/etc/init/vendor.qti.hardware.display.color-service.rc
vendored
Normal file
12
proprietary/vendor/etc/init/vendor.qti.hardware.display.color-service.rc
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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
|
||||
oneshot
|
||||
disabled
|
13
proprietary/vendor/etc/init/vendor.qti.hardware.dsp@1.0-service.rc
vendored
Normal file
13
proprietary/vendor/etc/init/vendor.qti.hardware.dsp@1.0-service.rc
vendored
Normal file
@@ -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
|
31
proprietary/vendor/etc/init/vendor.qti.hardware.perf2-hal-service.rc
vendored
Normal file
31
proprietary/vendor/etc/init/vendor.qti.hardware.perf2-hal-service.rc
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
# @file vendor.qti.hardware.perf2-hal-service.rc
|
||||
# @brief Defination perf service
|
||||
#
|
||||
# DESCRIPTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# Copyright (c) 2019-2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
# ---------------------------------------------------------------------------
|
||||
service perf2-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.perf2-hal-service
|
||||
class hal
|
||||
user root
|
||||
group root system readproc oem_2907
|
||||
interface aidl vendor.qti.hardware.perf2
|
||||
|
||||
|
||||
on property:vendor.change.cgroup=fg && property:vendor.change.cgroup.for.pid=*
|
||||
write /dev/cpuset/foreground/tasks ${vendor.change.cgroup.for.pid}
|
||||
write /dev/cpuctl/foreground/tasks ${vendor.change.cgroup.for.pid}
|
||||
write /proc/${vendor.change.cgroup.for.pid}/timerslack_ns 50000
|
||||
|
||||
on property:vendor.change.cgroup=bg && property:vendor.change.cgroup.for.pid=*
|
||||
write /dev/blkio/background/tasks ${vendor.change.cgroup.for.pid}
|
||||
write /dev/cpuctl/background/tasks ${vendor.change.cgroup.for.pid}
|
||||
write /proc/${vendor.change.cgroup.for.pid}/timerslack_ns 40000000
|
||||
|
||||
on property:vendor.change.cgroup=def && property:vendor.change.cgroup.for.pid=*
|
||||
write /dev/blkio/tasks ${vendor.change.cgroup.for.pid}
|
||||
write /dev/cpuctl/tasks ${vendor.change.cgroup.for.pid}
|
||||
write /dev/cpuset/tasks ${vendor.change.cgroup.for.pid}
|
||||
write /proc/${vendor.change.cgroup.for.pid}/timerslack_ns 50000
|
15
proprietary/vendor/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc
vendored
Normal file
15
proprietary/vendor/etc/init/vendor.qti.hardware.qseecom@1.0-service.rc
vendored
Normal file
@@ -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
|
5
proprietary/vendor/etc/init/vendor.qti.hardware.secureprocessor@1.0.rc
vendored
Normal file
5
proprietary/vendor/etc/init/vendor.qti.hardware.secureprocessor@1.0.rc
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
service secureprocessor-1-0 /vendor/bin/hw/vendor.qti.hardware.secureprocessor@1.0
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
disabled
|
8
proprietary/vendor/etc/init/vendor.qti.hardware.trustedui-aidl-service-qti.rc
vendored
Normal file
8
proprietary/vendor/etc/init/vendor.qti.hardware.trustedui-aidl-service-qti.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
service vendor.trustedui /vendor/bin/hw/vendor.qti.hardware.trustedui-aidl-service-qti
|
||||
class hal
|
||||
user system
|
||||
group system
|
4
proprietary/vendor/etc/init/vendor.qti.hardware.trustedui@1.0-service-qti.rc
vendored
Normal file
4
proprietary/vendor/etc/init/vendor.qti.hardware.trustedui@1.0-service-qti.rc
vendored
Normal file
@@ -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
|
6
proprietary/vendor/etc/init/vendor.qti.media.c2@1.0-service.rc
vendored
Normal file
6
proprietary/vendor/etc/init/vendor.qti.media.c2@1.0-service.rc
vendored
Normal file
@@ -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
|
11
proprietary/vendor/etc/init/vendor.qti.rmt_storage.rc
vendored
Normal file
11
proprietary/vendor/etc/init/vendor.qti.rmt_storage.rc
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
service vendor.rmt_storage /vendor/bin/rmt_storage
|
||||
class core
|
||||
user root
|
||||
shutdown critical
|
||||
ioprio rt 0
|
10
proprietary/vendor/etc/init/vendor.qti.smp2p.rc
vendored
Normal file
10
proprietary/vendor/etc/init/vendor.qti.smp2p.rc
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Copyright (c) 2023 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
on early-boot
|
||||
write /sys/devices/platform/soc/soc:qcom,smp2p-adsp/power/wakeup "enabled"
|
||||
write /sys/devices/platform/soc/soc:qcom,smp2p-modem/power/wakeup "enabled"
|
||||
write /sys/devices/platform/soc/soc:qcom,smp2p-cdsp/power/wakeup "enabled"
|
14
proprietary/vendor/etc/init/vendor.qti.tftp.rc
vendored
Normal file
14
proprietary/vendor/etc/init/vendor.qti.tftp.rc
vendored
Normal file
@@ -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
|
29
proprietary/vendor/etc/init/vendor.samsung.hardware.camera.provider-service_64.rc
vendored
Normal file
29
proprietary/vendor/etc/init/vendor.samsung.hardware.camera.provider-service_64.rc
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
service sec-camera-provider /vendor/bin/hw/vendor.samsung.hardware.camera.provider-service_64
|
||||
interface aidl android.hardware.camera.provider.ICameraProvider/internal/0
|
||||
class hal
|
||||
user cameraserver
|
||||
group audio camera input drmrpc system media_rw sdcard_rw media vendor_secdir wakelock
|
||||
ioprio rt 4
|
||||
capabilities SYS_NICE BLOCK_SUSPEND
|
||||
task_profiles CameraServicePerformance CameraServiceCapacity MaxIoPriority
|
||||
|
||||
on boot
|
||||
mkdir /data/vendor/postprocess/ 0770 camera vendor_secdir
|
||||
mkdir /data/vendor/postprocess/eraw/ 0770 camera vendor_secdir
|
||||
mkdir /data/vendor/postprocess/native/ 0770 camera vendor_secdir
|
||||
setprop vendor.camera.ppp.erawtid 0
|
||||
setprop vendor.camera.ppp.nativetid 0
|
||||
setprop vendor.camera.ppp.erawstart 0
|
||||
setprop vendor.camera.ppp.nativestart 0
|
||||
|
||||
on property:vendor.camera.ppp.erawstart=1
|
||||
write /dev/cpuset/camera-daemon/cgroup.procs ${vendor.camera.ppp.erawtid}
|
||||
write /dev/cpuctl/camera-daemon/cgroup.procs ${vendor.camera.ppp.erawtid}
|
||||
write /dev/blkio/cgroup.procs ${vendor.camera.ppp.erawtid}
|
||||
write /dev/freezer/cgroup.procs ${vendor.camera.ppp.erawtid}
|
||||
|
||||
on property:vendor.camera.ppp.nativestart=1
|
||||
write /dev/cpuset/camera-daemon/cgroup.procs ${vendor.camera.ppp.nativetid}
|
||||
write /dev/cpuctl/camera-daemon/cgroup.procs ${vendor.camera.ppp.nativetid}
|
||||
write /dev/blkio/cgroup.procs ${vendor.camera.ppp.nativetid}
|
||||
write /dev/freezer/cgroup.procs ${vendor.camera.ppp.nativetid}
|
6
proprietary/vendor/etc/init/vendor.samsung.hardware.health-service.rc
vendored
Normal file
6
proprietary/vendor/etc/init/vendor.samsung.hardware.health-service.rc
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
service vendor.health-samsung /vendor/bin/hw/vendor.samsung.hardware.health-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
capabilities WAKE_ALARM BLOCK_SUSPEND
|
||||
file /dev/kmsg w
|
11
proprietary/vendor/etc/init/vendor.samsung.hardware.security.drk-service.rc
vendored
Normal file
11
proprietary/vendor/etc/init/vendor.samsung.hardware.security.drk-service.rc
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
on boot
|
||||
mkdir /mnt/vendor/efs/prov 0770 system system
|
||||
mkdir /mnt/vendor/efs/prov_data 0770 system system
|
||||
mkdir /mnt/vendor/efs/prov_data/dev_root 0770 system system
|
||||
mkdir /data/vendor/log/drk 0775 system log
|
||||
|
||||
service drk_hal /vendor/bin/hw/vendor.samsung.hardware.security.drk-service
|
||||
interface aidl vendor.samsung.hardware.security.drk.ISehDrk/default
|
||||
class hal
|
||||
user system
|
||||
group system
|
8
proprietary/vendor/etc/init/vendor.samsung.hardware.security.hermes.rc
vendored
Normal file
8
proprietary/vendor/etc/init/vendor.samsung.hardware.security.hermes.rc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
service vendor.hermes-default /vendor/bin/hw/vendor.samsung.hardware.security.hermes-service
|
||||
interface aidl vendor.samsung.hardware.security.hermes.ISehHermesCommand/default
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/log/hermes 0770 system log
|
7
proprietary/vendor/etc/init/vendor.samsung.hardware.security.sem-service.rc
vendored
Normal file
7
proprietary/vendor/etc/init/vendor.samsung.hardware.security.sem-service.rc
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
service sem_aidl /vendor/bin/hw/vendor.samsung.hardware.security.sem-service
|
||||
interface aidl vendor.samsung.hardware.security.sem.ISehSem/default
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
7
proprietary/vendor/etc/init/vendor.samsung.hardware.security.skpm-service.rc
vendored
Normal file
7
proprietary/vendor/etc/init/vendor.samsung.hardware.security.skpm-service.rc
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
service skpm_aidl /vendor/bin/hw/vendor.samsung.hardware.security.skpm-service
|
||||
interface aidl vendor.samsung.hardware.security.skpm.ISehSkpm/default
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
7
proprietary/vendor/etc/init/vendor.samsung.hardware.security.widevine.keyprov-service.rc
vendored
Normal file
7
proprietary/vendor/etc/init/vendor.samsung.hardware.security.widevine.keyprov-service.rc
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
service vendor.wvkprov_default /vendor/bin/hw/vendor.samsung.hardware.security.widevine.keyprov-service
|
||||
interface aidl vendor.samsung.hardware.security.widevine.keyprov.ISehWidevineKeyProv/default
|
||||
oneshot
|
||||
disabled
|
||||
class hal
|
||||
user system
|
||||
group system drm drmrpc
|
19
proprietary/vendor/etc/init/vendor.samsung.hardware.thermal-default.rc
vendored
Normal file
19
proprietary/vendor/etc/init/vendor.samsung.hardware.thermal-default.rc
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
service vendor.samsung.hardware.thermal-default /vendor/bin/hw/vendor.samsung.hardware.thermal-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
|
||||
on property:init.svc.zygote=restarting
|
||||
restart vendor.samsung.hardware.thermal-default
|
||||
|
||||
on property:sys.boot_completed=*
|
||||
setprop vendor.thermal.bt_completed ${sys.boot_completed}
|
||||
|
||||
on property:debug.btcon.disable=*
|
||||
setprop persist.vendor.btcon.disable ${debug.btcon.disable}
|
||||
|
||||
on property:vendor.thermal.amb.test=*
|
||||
setprop persist.vendor.thermal.amb.test ${vendor.thermal.amb.test}
|
||||
|
||||
on property:vendor.thermal.amb.last=*
|
||||
setprop persist.vendor.thermal.amb.last ${vendor.thermal.amb.last}
|
80
proprietary/vendor/etc/init/vendor.samsung.hardware.vibrator-default.rc
vendored
Normal file
80
proprietary/vendor/etc/init/vendor.samsung.hardware.vibrator-default.rc
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
on early-boot
|
||||
|
||||
chown system system /sys/class/timed_output/vibrator/intensity
|
||||
chown system system /sys/class/timed_output/vibrator/force_touch_intensity
|
||||
chown system system /sys/class/timed_output/vibrator/multi_freq
|
||||
chown system system /sys/class/timed_output/vibrator/haptic_engine
|
||||
chown system system /sys/class/timed_output/vibrator/cp_trigger_index
|
||||
chown system system /sys/class/timed_output/vibrator/cp_trigger_queue
|
||||
chown system system /sys/class/timed_output/vibrator/num_waves
|
||||
chown system system /sys/class/timed_output/vibrator/motor_type
|
||||
chown system system /sys/class/timed_output/vibrator/event_cmd
|
||||
chown system system /sys/class/timed_output/vibrator/pattern_length
|
||||
chown system system /sys/class/timed_output/vibrator/ext_control
|
||||
chown system system /sys/class/timed_output/vibrator/vibe_state
|
||||
chown system system /sys/class/timed_output/vibrator/intensities
|
||||
chown system system /sys/class/timed_output/vibrator/haptic_intensities
|
||||
chown system system /sys/class/timed_output/vibrator/fifo
|
||||
chown system system /sys/class/timed_output/vibrator/hybrid_haptic_engine
|
||||
chown system system /sys/class/timed_output/vibrator/use_sep_index
|
||||
|
||||
chown system system /sys/class/leds/vibrator/intensity
|
||||
chown system system /sys/class/leds/vibrator/force_touch_intensity
|
||||
chown system system /sys/class/leds/vibrator/multi_freq
|
||||
chown system system /sys/class/leds/vibrator/haptic_engine
|
||||
chown system system /sys/class/leds/vibrator/cp_trigger_index
|
||||
chown system system /sys/class/leds/vibrator/cp_trigger_queue
|
||||
chown system system /sys/class/leds/vibrator/num_waves
|
||||
chown system system /sys/class/leds/vibrator/motor_type
|
||||
chown system system /sys/class/leds/vibrator/event_cmd
|
||||
chown system system /sys/class/leds/vibrator/pattern_length
|
||||
chown system system /sys/class/leds/vibrator/ext_control
|
||||
chown system system /sys/class/leds/vibrator/vibe_state
|
||||
chown system system /sys/class/leds/vibrator/intensities
|
||||
chown system system /sys/class/leds/vibrator/haptic_intensities
|
||||
chown system system /sys/class/leds/vibrator/fifo
|
||||
chown system system /sys/class/leds/vibrator/hybrid_haptic_engine
|
||||
|
||||
chown system system /sys/class/sec_vib_inputff/control/use_sep_index
|
||||
|
||||
chmod 660 /sys/class/timed_output/vibrator/intensity
|
||||
chmod 660 /sys/class/timed_output/vibrator/force_touch_intensity
|
||||
chmod 660 /sys/class/timed_output/vibrator/multi_freq
|
||||
chmod 660 /sys/class/timed_output/vibrator/haptic_engine
|
||||
chmod 660 /sys/class/timed_output/vibrator/cp_trigger_index
|
||||
chmod 660 /sys/class/timed_output/vibrator/cp_trigger_queue
|
||||
chmod 660 /sys/class/timed_output/vibrator/num_waves
|
||||
chmod 660 /sys/class/timed_output/vibrator/motor_type
|
||||
chmod 660 /sys/class/timed_output/vibrator/event_cmd
|
||||
chmod 660 /sys/class/timed_output/vibrator/pattern_length
|
||||
chmod 660 /sys/class/timed_output/vibrator/ext_control
|
||||
chmod 660 /sys/class/timed_output/vibrator/vibe_state
|
||||
chmod 660 /sys/class/timed_output/vibrator/intensities
|
||||
chmod 660 /sys/class/timed_output/vibrator/haptic_intensities
|
||||
chmod 660 /sys/class/timed_output/vibrator/fifo
|
||||
chmod 660 /sys/class/timed_output/vibrator/hybrid_haptic_engine
|
||||
chmod 220 /sys/class/timed_output/vibrator/use_sep_index
|
||||
|
||||
chmod 660 /sys/class/leds/vibrator/intensity
|
||||
chmod 660 /sys/class/leds/vibrator/force_touch_intensity
|
||||
chmod 660 /sys/class/leds/vibrator/multi_freq
|
||||
chmod 660 /sys/class/leds/vibrator/haptic_engine
|
||||
chmod 660 /sys/class/leds/vibrator/cp_trigger_index
|
||||
chmod 660 /sys/class/leds/vibrator/cp_trigger_queue
|
||||
chmod 660 /sys/class/leds/vibrator/num_waves
|
||||
chmod 660 /sys/class/leds/vibrator/motor_type
|
||||
chmod 660 /sys/class/leds/vibrator/event_cmd
|
||||
chmod 660 /sys/class/leds/vibrator/pattern_length
|
||||
chmod 660 /sys/class/leds/vibrator/ext_control
|
||||
chmod 660 /sys/class/leds/vibrator/vibe_state
|
||||
chmod 660 /sys/class/leds/vibrator/intensities
|
||||
chmod 660 /sys/class/leds/vibrator/haptic_intensities
|
||||
chmod 660 /sys/class/leds/vibrator/fifo
|
||||
chmod 660 /sys/class/leds/vibrator/hybrid_haptic_engine
|
||||
|
||||
chmod 220 /sys/class/sec_vib_inputff/control/use_sep_index
|
||||
|
||||
service sec-vibrator-aidl /vendor/bin/hw/vendor.samsung.hardware.vibrator-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
34
proprietary/vendor/etc/init/vendor.samsung.rilchip.qcom.rc
vendored
Normal file
34
proprietary/vendor/etc/init/vendor.samsung.rilchip.qcom.rc
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
service irsc_util_oem /vendor/bin/irsc_util "/vendor/etc/sec_config_oem"
|
||||
class core
|
||||
user root
|
||||
oneshot
|
||||
|
||||
# Avoid running ril-daemon services on qualcomm model
|
||||
service vendor.ril-daemon /vendor/bin/hw/rild-dummy
|
||||
override
|
||||
|
||||
service vendor.ril-daemon1 /vendor/bin/hw/rild-dummy
|
||||
override
|
||||
|
||||
service vendor.ril-daemon2 /vendor/bin/hw/rild-dummy
|
||||
override
|
||||
|
||||
service vendor.ril-daemon3 /vendor/bin/hw/rild-dummy
|
||||
override
|
||||
|
||||
# Disable vendor.embmsslServer to fix VTS failure
|
||||
# as vendor.embmsslServer is not running even though it has interface
|
||||
service vendor.embmsslServer /vendor/bin/embmsslServer
|
||||
override
|
||||
|
||||
on property:init.svc.vendor.netmgrd=running && property:ro.vendor.use_data_netmgrd=false
|
||||
stop vendor.netmgrd
|
||||
|
||||
# To enable QMS logs
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/qms_logs 0775 radio system
|
||||
mkdir /data/vendor/qms_logs/main 0775 radio system
|
||||
mkdir /data/vendor/qms_logs/other 0775 radio system
|
||||
mkdir /data/vendor/qms_logs/config 0775 radio system
|
||||
copy /vendor/etc/qms_log_config /data/vendor/qms_logs/config/qms_log_config
|
||||
chmod 0666 /data/vendor/qms_logs/config/qms_log_config
|
14
proprietary/vendor/etc/init/vendor.samsung.rild.rc
vendored
Normal file
14
proprietary/vendor/etc/init/vendor.samsung.rild.rc
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
# Increase the number of service supplementary group (NR_SVC_SUPP_GIDS) from 12 to 32 from V os
|
||||
# AID_VENDOR_QTI_DIAG(oem_2901), drmrpc for Qcom
|
||||
# restart cpboot-daemon, DIAG-daemon for LSI
|
||||
# restart cpboot-daemon5g for LSI beyondx, d1x, d2x, it could be removed.
|
||||
|
||||
service ril-daemon /vendor/bin/hw/rild
|
||||
class main
|
||||
user radio
|
||||
group radio cache inet misc audio log oem_2901 system drmrpc vpn readproc wakelock net_admin
|
||||
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW SYS_ADMIN CHOWN SYS_TIME
|
||||
onrestart restart cpboot-daemon
|
||||
onrestart restart cpboot-daemon5g
|
||||
onrestart restart DIAG-daemon
|
||||
override
|
32
proprietary/vendor/etc/init/vendor.sensordebug.rc
vendored
Normal file
32
proprietary/vendor/etc/init/vendor.sensordebug.rc
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
# For Sensordebug in *#31597#
|
||||
|
||||
service vendor-sensordebug-sh /vendor/bin/init.vendor.sensordebug.sh
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service start_sensor_ssr_dump /vendor/bin/init.vendor.sensordebug.ssr_dump.sh start
|
||||
user root
|
||||
group system shell
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service stop_sensor_ssr_dump /vendor/bin/init.vendor.sensordebug.ssr_dump.sh complete
|
||||
user root
|
||||
group system shell
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
on late-fs
|
||||
chown system system /sys/kernel/boot_adsp/check
|
||||
write /sys/kernel/boot_adsp/check 0
|
||||
|
||||
on property:sys.sensordebug_enable=true
|
||||
start vendor-sensordebug-sh
|
||||
|
||||
on property:sec.sensor.ssr_dump=start
|
||||
start start_sensor_ssr_dump
|
||||
|
||||
on property:sec.sensor.ssr_dump=complete
|
||||
write /sys/class/sensors/ssc_core/sns_crash 2
|
42
proprietary/vendor/etc/init/vendor.sensors.qti.rc
vendored
Normal file
42
proprietary/vendor/etc/init/vendor.sensors.qti.rc
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
# 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.
|
||||
#
|
||||
|
||||
#SS_SLPI_PROJECT
|
||||
# case 04886997 - SS does not use sensors.qti
|
||||
#service vendor.sensors.qti /vendor/bin/sensors.qti
|
||||
# class core
|
||||
# user system
|
||||
# group system
|
||||
|
||||
service vendor-sensor-sh /vendor/bin/init.qcom.sensors.sh
|
||||
class late_start
|
||||
user root
|
||||
oneshot
|
37
proprietary/vendor/etc/init/vendor.sensors.sscrpcd.rc
vendored
Normal file
37
proprietary/vendor/etc/init/vendor.sensors.sscrpcd.rc
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
# # Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# # Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# # Neither the name of The Linux Foundation nor
|
||||
# the names of its contributors may be used to endorse or promote
|
||||
# products derived from this software without specific prior written
|
||||
# permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
service vendor.sensors /vendor/bin/sscrpcd sensorspd
|
||||
class early_hal
|
||||
user system
|
||||
group system wakelock
|
||||
capabilities BLOCK_SUSPEND
|
||||
shutdown critical
|
82
proprietary/vendor/etc/init/wifi.rc
vendored
Normal file
82
proprietary/vendor/etc/init/wifi.rc
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
# Wi-Fi init file
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/conn 0771 wifi wifi
|
||||
mkdir /data/vendor/wifi 0771 wifi wifi
|
||||
mkdir /data/vendor/wifi/wpa 0770 wifi wifi
|
||||
mkdir /data/vendor/wifi/wpa/sockets 0770 wifi wifi
|
||||
mkdir /data/vendor/log/wifi 0770 wifi system
|
||||
|
||||
# for WIFI TRP/TIS
|
||||
chown wifi wifi /data/vendor/conn/.psm.info
|
||||
chmod 0640 /data/vendor/conn/.psm.info
|
||||
|
||||
# for WIFI Antenna Selection
|
||||
chown wifi wifi /data/vendor/conn/.ant.info
|
||||
chmod 0640 /data/vendor/conn/.ant.info
|
||||
|
||||
# for WIFI Version
|
||||
chown wifi wifi /data/vendor/conn/.wifiver.info
|
||||
chmod 0644 /data/vendor/conn/.wifiver.info
|
||||
|
||||
# for WIFI MEMDUMP
|
||||
# The default value of below memdump file is set in SecProductFeature
|
||||
#write /data/vendor/conn/.memdump.info 2
|
||||
chown wifi wifi /data/vendor/conn/.memdump.info
|
||||
chmod 0640 /data/vendor/conn/.memdump.info
|
||||
|
||||
# for WIFI hotspot
|
||||
chown wifi wifi /data/vendor/conn/.softap.info
|
||||
chmod 0644 /data/vendor/conn/.softap.info
|
||||
chown system wifi /vendor/etc/wifi/indoorchannel.info
|
||||
chmod 0664 /vendor/etc/wifi/indoorchannel.info
|
||||
|
||||
# for updating the supported feature
|
||||
chown wifi wifi /data/vendor/conn/.feature.info
|
||||
chmod 0640 /data/vendor/conn/.feature.info
|
||||
chown wifi wifi /sys/wifi/feature
|
||||
chmod 0640 /sys/wifi/feature
|
||||
|
||||
# for WIFI MAC
|
||||
mkdir /mnt/vendor/efs/wifi 0755 wifi wifi
|
||||
chown wifi wifi /mnt/vendor/efs/wifi/.mac.info
|
||||
chmod 0644 /mnt/vendor/efs/wifi/.mac.info
|
||||
chown wifi wifi /mnt/vendor/efs/wifi/.mac.cob
|
||||
chmod 0644 /mnt/vendor/efs/wifi/.mac.cob
|
||||
chown wifi wifi /sys/wifi/mac_addr
|
||||
chmod 0640 /sys/wifi/mac_addr
|
||||
|
||||
chown wifi wifi /sys/wifi/dump_in_progress
|
||||
chmod 0660 /sys/wifi/dump_in_progress
|
||||
|
||||
start macloader
|
||||
|
||||
on boot
|
||||
setprop wifi.interface wlan0
|
||||
|
||||
# start for WiFi MFG (TestMode)
|
||||
service mfgloader /vendor/bin/hw/mfgloader
|
||||
class wlanfactorytest
|
||||
user wifi
|
||||
group wifi inet net_raw net_admin
|
||||
capabilities NET_ADMIN NET_RAW SYS_MODULE
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service macloader /vendor/bin/hw/macloader
|
||||
class main
|
||||
user wifi
|
||||
group wifi inet net_raw net_admin
|
||||
capabilities NET_ADMIN NET_RAW SYS_MODULE
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service wlandutservice /system/bin/wlandutservice
|
||||
class wlanfactorytest
|
||||
user system
|
||||
group system wifi net_raw net_admin inet
|
||||
capabilities NET_ADMIN NET_RAW
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
# end of WiFi MFG (TestMode)
|
||||
|
95
proprietary/vendor/etc/init/wifi_qcom.rc
vendored
Normal file
95
proprietary/vendor/etc/init/wifi_qcom.rc
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
on post-fs-data
|
||||
# for boot_wlan
|
||||
chown wifi wifi /sys/kernel/boot_wlan/boot_wlan
|
||||
chmod 0640 /sys/kernel/boot_wlan/boot_wlan
|
||||
|
||||
# for WIFI qcwlanstate
|
||||
chown wifi wifi /sys/wifi/qcwlanstate
|
||||
chmod 0644 /sys/wifi/qcwlanstate
|
||||
|
||||
chown wifi wifi /sys/wifi/wifiver
|
||||
chmod 0640 /sys/wifi/wifiver
|
||||
chown wifi wifi /sys/wifi/softap
|
||||
chmod 0640 /sys/wifi/softap
|
||||
chown wifi wifi /sys/wifi/memdump
|
||||
chmod 0644 /sys/wifi/memdump
|
||||
mkdir /data/vendor/log/wifi/ramdump 0771 wifi system
|
||||
|
||||
# for WIFI Antenna
|
||||
write /data/vendor/conn/.wificable.info E
|
||||
chown system root /data/vendor/conn/.wificable.info
|
||||
chmod 0666 /data/vendor/conn/.wificable.info
|
||||
chown wifi root /sys/wifi/wificable
|
||||
chmod 0664 /sys/wifi/wificable
|
||||
|
||||
# for WIFI TRP/TIS
|
||||
chown wifi wifi /data/vendor/conn/.psm.info
|
||||
chmod 0644 /data/vendor/conn/.psm.info
|
||||
chown wifi wifi /sys/wifi/pm
|
||||
chmod 0640 /sys/wifi/pm
|
||||
|
||||
# for WIFI Antenna Selection
|
||||
chown wifi wifi /data/vendor/conn/.ant.info
|
||||
chmod 0644 /data/vendor/conn/.ant.info
|
||||
chown wifi wifi /sys/wifi/ant
|
||||
chmod 0640 /sys/wifi/ant
|
||||
|
||||
service vendor.cnss_dumpcollector /system/vendor/bin/cnss_dumpcollector
|
||||
class main
|
||||
user wifi
|
||||
group system wifi inet sdcard_rw media_rw
|
||||
oneshot
|
||||
|
||||
on property:vendor.wlan.ramdump_mode=0
|
||||
write /sys/kernel/cnss/recovery 1
|
||||
stop vendor.cnss_dumpcollector
|
||||
|
||||
on property:vendor.wlan.ramdump_mode=2
|
||||
write /sys/kernel/cnss/dump_mode 1
|
||||
write /sys/kernel/cnss/recovery 1
|
||||
stop vendor.cnss_dumpcollector
|
||||
start vendor.cnss_dumpcollector
|
||||
|
||||
on property:vendor.wlan.ramdump_mode=3
|
||||
write /sys/kernel/cnss/dump_mode 1
|
||||
write /sys/kernel/cnss/recovery 0
|
||||
stop vendor.cnss_dumpcollector
|
||||
start vendor.cnss_dumpcollector
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
chown wifi wifi /sys/module/wlan/parameters/fwpath
|
||||
chmod 0644 /sys/module/wlan/parameters/fwpath
|
||||
chown wifi wifi /sys/module/wlan/parameters/con_mode
|
||||
chmod 0644 /sys/module/wlan/parameters/con_mode
|
||||
chown wifi wifi /sys/module/kiwi_v2/parameters/con_mode
|
||||
chmod 0644 /sys/module/kiwi_v2/parameters/con_mode
|
||||
chown wifi wifi /sys/module/qca6490/parameters/con_mode
|
||||
chmod 0644 /sys/module/qca6490/parameters/con_mode
|
||||
chown wifi wifi /sys/module/qca_cld3_kiwi_v2/parameters/con_mode
|
||||
chmod 0644 /sys/module/qca_cld3_kiwi_v2/parameters/con_mode
|
||||
|
||||
on property:wifi.active.interface=wlan0 && property:ro.boot.debug_level=0x494d
|
||||
write /sys/kernel/kiwi_v2/logging_config "4 2 12 1"
|
||||
|
||||
on property:wifi.active.interface=wlan0 && property:ro.boot.debug_level=0x4948
|
||||
write /sys/kernel/kiwi_v2/logging_config "4 2 12 1"
|
||||
|
||||
on property:wifi.active.interface=swlan0 && property:ro.boot.debug_level=0x494d
|
||||
write /sys/kernel/kiwi_v2/logging_config "4 2 12 1"
|
||||
|
||||
on property:wifi.active.interface=swlan0 && property:ro.boot.debug_level=0x4948
|
||||
write /sys/kernel/kiwi_v2/logging_config "4 2 12 1"
|
||||
|
||||
on property:sys.wlan.sniffer.mode=enable
|
||||
chown system system /sys/class/net/radiotap0/monitor_mode_channel
|
||||
chmod 0664 /sys/class/net/radiotap0/monitor_mode_channel
|
||||
|
||||
on boot
|
||||
# for wlan FTM app
|
||||
service ftm_ptt /system/bin/ftm_ptt -d
|
||||
user root
|
||||
group radio system
|
||||
disabled
|
||||
|
||||
on charger
|
||||
write /sys/kernel/cnss/charger_mode 1
|
Reference in New Issue
Block a user