xun: Regenerate vendor tree
* With latest changes at https://github.com/Xiaomi-Redmi-Pad-SE-Resources/android_device_xiaomi_xun/commit/b5aaa00d8c7893a024c132d02eca0254aa6743cf Signed-off-by: dodyirawan85 <dev.irawans@gmail.com>
This commit is contained in:
1 parent
f795c86e48
commit
bb2e409f8f
982 files changed
+45002
-3037
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,10 @@
|
||||
on property:init.svc.mediadrm=running
|
||||
mkdir /data/vendor/mediadrm 0770 media mediadrm
|
||||
|
||||
service vendor.drm-widevine-hal /vendor/bin/hw/android.hardware.drm-service.widevine
|
||||
interface aidl android.hardware.drm::IDrmFactory/widevine
|
||||
class hal
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
@@ -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,14 @@
|
||||
on property:vendor.gatekeeper.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
|
||||
disabled
|
||||
|
||||
on property:vendor.gatekeeper.is_security_level_spu=0
|
||||
enable gatekeeper-1-0
|
||||
@@ -0,0 +1,15 @@
|
||||
# Copyright (c) 2021 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
on init
|
||||
start vendor.keymint-qti
|
||||
|
||||
on property:vendor.keymint.quickboot=true
|
||||
stop vendor.keymint-qti
|
||||
start vendor.keymint-qti
|
||||
|
||||
service vendor.keymint-qti /vendor/bin/hw/android.hardware.security.keymint-service-qti
|
||||
class early_hal
|
||||
user system
|
||||
group system drmrpc
|
||||
@@ -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
|
||||
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
on fs
|
||||
chmod 0664 /sys/class/thermal/thermal_message/sconfig
|
||||
chown system system /sys/class/thermal/thermal_message/sconfig
|
||||
chmod 0666 /sys/class/thermal/thermal_message/temp_state
|
||||
chown system system /sys/class/thermal/thermal_message/temp_state
|
||||
chown system system /sys/class/thermal/thermal_message/boost
|
||||
chmod 0664 /sys/class/thermal/thermal_message/boost
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/thermal 0771 root system
|
||||
mkdir /data/vendor/thermal/config 0771 root system
|
||||
|
||||
on boot
|
||||
start mi_thermald
|
||||
|
||||
on charger
|
||||
start mi_thermald
|
||||
|
||||
|
||||
service mi_thermald /system/vendor/bin/mi_thermald
|
||||
class main
|
||||
user root
|
||||
group system
|
||||
seclabel u:r:mi_thermald:s0
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
# Copyright (c) 2022 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/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
|
||||
|
||||
+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,17 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
#Copyright (c) 2021 Qualcomm Technologies, Inc.
|
||||
#All Rights Reserved.
|
||||
#Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
#service thermal-engine /vendor/bin/thermal-engine-v2
|
||||
# class main
|
||||
# user root
|
||||
# group root
|
||||
# socket thermal-send-client stream 0660 system oem_2907
|
||||
# socket thermal-recv-client stream 0660 system oem_2907
|
||||
# socket thermal-recv-passive-client stream 0660 system oem_2907
|
||||
# socket thermal-send-rule stream 0660 system oem_2907
|
||||
|
||||
#on property:sys.boot_completed=1
|
||||
# restart thermal-engine
|
||||
+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
|
||||
@@ -0,0 +1,4 @@
|
||||
service display-color-hal-1-0 /vendor/bin/hw/vendor.display.color@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
@@ -0,0 +1,6 @@
|
||||
service dms-hal-2-0 /vendor/bin/hw/vendor.dolby.hardware.dms@2.0-service
|
||||
class hal
|
||||
user media
|
||||
group audio media
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/dolby 0770 media media
|
||||
@@ -0,0 +1,14 @@
|
||||
# @file qapeservice.rc
|
||||
# @brief Definition for qape client service
|
||||
#
|
||||
# DESCRIPTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# Copyright (c) 2021-2022 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
service vendor.qsap.qapeservice /vendor/bin/qsap_qapeservice
|
||||
class main
|
||||
user system
|
||||
group 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,19 @@
|
||||
# Copyright (c) 2022 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/battery_stats 0700 system system
|
||||
|
||||
service vendor.qti.battery_stats /vendor/bin/battery_stats
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
disabled
|
||||
|
||||
on property:persist.vendor.qtr.core.pmic.battery_linux.battery_stats=1
|
||||
enable vendor.qti.battery_stats
|
||||
start vendor.qti.battery_stats
|
||||
|
||||
on property:persist.vendor.qtr.core.pmic.battery_linux.battery_stats=0
|
||||
stop vendor.qti.battery_stats
|
||||
@@ -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
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# Copyright (c) 2022 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
|
||||
on early-boot
|
||||
chown system system /sys/bus/coresight/devices/coresight-tmc-etf/curr_sink
|
||||
chown system system /sys/bus/coresight/devices/coresight-tmc-etf/enable_sink
|
||||
chown system system /sys/bus/coresight/devices/coresight-tmc-etr/curr_sink
|
||||
chown system system /sys/bus/coresight/devices/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-tpiu/curr_sink
|
||||
chown system system /sys/bus/coresight/devices/coresight-tpiu/out_mode
|
||||
chown system system /sys/bus/coresight/devices/coresight-stm/enable
|
||||
chown system system /sys/bus/coresight/devices/coresight-stm/enable_source
|
||||
chown system system /sys/bus/coresight/devices/coresight-hwevent/enable
|
||||
chown system system /sys/bus/coresight/devices/coresight-stm/hwevent_enable
|
||||
chown system system /sys/bus/coresight/devices/coresight-hwevent/setreg
|
||||
chown system system /sys/bus/coresight/devices/coresight-swao-csr/timestamp
|
||||
chown system system /sys/bus/coresight/devices/coresight-modem-diag/enable_source
|
||||
chown system system /sys/bus/coresight/devices/coresight-tmc-etr1/enable_sink
|
||||
chown system system /sys/bus/coresight/devices/coresight-tmc-etr1/out_mode
|
||||
chown system system /sys/bus/coresight/reset_source_sink
|
||||
start vendor.diag-router
|
||||
|
||||
service vendor.diag-router /vendor/bin/diag-router
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
capabilities KILL
|
||||
disabled
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2017 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
service alarm-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.alarm@1.0-service
|
||||
interface vendor.qti.hardware.alarm@1.0::IAlarm default
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
service vendor.capabilityconfigstore /vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
+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,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,14 @@
|
||||
# @file io-p.c
|
||||
# @brief Defination for iop service
|
||||
#
|
||||
# DESCRIPTION
|
||||
# ---------------------------------------------------------------------------
|
||||
# Copyright (c) 2011-2017 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
service iop-hal-2-0 /vendor/bin/hw/vendor.qti.hardware.iop@2.0-service
|
||||
class hal
|
||||
user root
|
||||
group root readproc
|
||||
@@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2020-2022 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
service vendor.limits-hal /vendor/bin/hw/vendor.qti.hardware.limits@1.2-service
|
||||
interface vendor.qti.hardware.limits@1.0::ILimits default
|
||||
interface vendor.qti.hardware.limits@1.1::ILimits default
|
||||
interface vendor.qti.hardware.limits@1.2::ILimits default
|
||||
class hal
|
||||
user root
|
||||
group root
|
||||
@@ -0,0 +1,30 @@
|
||||
# @file vendor.qti.hardware.perf-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 perf-hal-2-3 /vendor/bin/hw/vendor.qti.hardware.perf-hal-service
|
||||
class hal
|
||||
user root
|
||||
group root system readproc oem_2907
|
||||
|
||||
|
||||
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
|
||||
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
#
|
||||
|
||||
on init
|
||||
start qseecom-service
|
||||
|
||||
service qseecom-service /vendor/bin/hw/vendor.qti.hardware.qseecom@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system drmrpc
|
||||
@@ -0,0 +1,4 @@
|
||||
service qteeconnector-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.qteeconnector@1.0-service
|
||||
class early_hal
|
||||
user system
|
||||
group system
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2017 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
service sensorscal-hal-1-0 /vendor/bin/hw/vendor.qti.hardware.sensorscalibrate@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
@@ -0,0 +1,4 @@
|
||||
service vendor.servicetracker-1-2 /vendor/bin/hw/vendor.qti.hardware.servicetracker@1.2-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2018 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
service soter-1-0 /vendor/bin/hw/vendor.qti.hardware.soter@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system drmrpc
|
||||
@@ -0,0 +1,4 @@
|
||||
service tui_comm-1-0 /vendor/bin/hw/vendor.qti.hardware.tui_comm@1.0-service-qti
|
||||
class hal
|
||||
user system
|
||||
group system drmrpc
|
||||
@@ -0,0 +1,6 @@
|
||||
service vendor-qti-media-c2-hal-1-0 /vendor/bin/hw/vendor.qti.media.c2@1.0-service
|
||||
class hal
|
||||
user mediacodec
|
||||
group mediadrm camera drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
@@ -0,0 +1,7 @@
|
||||
service vendor-qti-media-c2audio-hal-1-0 /vendor/bin/hw/vendor.qti.media.c2audio@1.0-service
|
||||
class hal
|
||||
user mediacodec
|
||||
group mediadrm camera drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
service pasr-hal /vendor/bin/hw/vendor.qti.memory.pasrmanager@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
@@ -0,0 +1,21 @@
|
||||
# Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
service psiclient /vendor/bin/hw/vendor.qti.psiclient@1.0-service
|
||||
class core
|
||||
user system
|
||||
group system
|
||||
disabled
|
||||
capabilities SYS_RESOURCE
|
||||
|
||||
# Stop psi service when vendor.pasr.[activemode.enabled/enabled] is disabled
|
||||
on property:vendor.pasr.activemode.enabled=false
|
||||
stop psiclient
|
||||
|
||||
on property:vendor.pasr.enabled=false
|
||||
stop psiclient
|
||||
|
||||
# Start psi service after boot completed
|
||||
on property:vendor.pasr.activemode.enabled=true && property:vendor.pasr.enabled=true
|
||||
start psiclient
|
||||
@@ -0,0 +1,15 @@
|
||||
#==============================================================================
|
||||
# vendor.qti.qspmhal@1.0-service.rc
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#===============================================================================
|
||||
service qspmhal /vendor/bin/vendor.qti.qspmhal@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
|
||||
on post-fs-data
|
||||
#Create QSPM-hal deamon related dirs
|
||||
mkdir /data/vendor/gaming 0770 root system
|
||||
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# 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
|
||||
oneshot
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# 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
|
||||
oneshot
|
||||
@@ -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
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
# Copyright (c) 2017 Xiaomi, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Xiaomi, Inc.
|
||||
#
|
||||
service displayfeature-hal-1-0 /vendor/bin/hw/vendor.xiaomi.hardware.displayfeature@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system graphics
|
||||
onrestart restart displayfeature
|
||||
|
||||
on boot
|
||||
chown system system /sys/devices/virtual/graphics/fb0/hist_event
|
||||
|
||||
on post-fs-data
|
||||
chown system system /sys/class/mi_display/disp-DSI-0/mipi_rw
|
||||
chmod 664 /sys/class/mi_display/disp-DSI-0/mipi_rw
|
||||
@@ -0,0 +1,140 @@
|
||||
on post-fs-data
|
||||
chown system system /sys/class/power_supply/wireless/reverse_chg_mode
|
||||
chown system system /sys/class/power_supply/wireless/bt_state
|
||||
chown system system /sys/class/power_supply/wireless/rx_cr
|
||||
chown system system /sys/class/power_supply/main/cool_mode
|
||||
chown system system /sys/class/power_supply/battery/night_charging
|
||||
|
||||
on property:dev.bootcomplete=1
|
||||
chown system system /sys/class/power_supply/battery/input_suspend
|
||||
chown system system /sys/class/power_supply/battery/smart_batt
|
||||
chown system system /sys/class/power_supply/battery/shipmode_count_reset
|
||||
chown system system /sys/class/power_supply/battery/cc_toggle
|
||||
chown system system /sys/class/qcom-battery/reverse_chg_mode
|
||||
chown system system /sys/class/qcom-battery/bt_state
|
||||
chown system system /sys/class/qcom-battery/rx_cr
|
||||
chown system system /sys/class/qcom-battery/input_suspend
|
||||
chown system system /sys/class/qcom-battery/screen_unlock
|
||||
chown system system /sys/class/qcom-battery/cool_mode
|
||||
chown system system /sys/class/qcom-battery/night_charging
|
||||
chown system system /sys/class/qcom-battery/bt_transfer_start
|
||||
chown system system /sys/class/qcom-battery/wls_tx_speed
|
||||
chown system system /sys/class/qcom-battery/wireless_chip_fw
|
||||
chown system system /sys/class/qcom-battery/smart_batt
|
||||
chown system system /sys/class/qcom-battery/shipmode_count_reset
|
||||
chown system system /sys/class/qcom-battery/sport_mode
|
||||
chown system system /sys/class/qcom-battery/server_result
|
||||
chown system system /sys/class/qcom-battery/over_peak_flag
|
||||
chown system system /sys/class/qcom-battery/current_deviation
|
||||
chown system system /sys/class/qcom-battery/power_deviation
|
||||
chown system system /sys/class/qcom-battery/average_current
|
||||
chown system system /sys/class/qcom-battery/average_temp
|
||||
chown system system /sys/class/qcom-battery/start_learn
|
||||
chown system system /sys/class/qcom-battery/stop_learn
|
||||
chown system system /sys/class/qcom-battery/set_learn_power
|
||||
chown system system /sys/class/qcom-battery/get_learn_power
|
||||
chown system system /sys/class/qcom-battery/get_learn_power_dev
|
||||
chown system system /sys/class/qcom-battery/get_learn_time_dev
|
||||
chown system system /sys/class/qcom-battery/constant_power
|
||||
chown system system /sys/class/qcom-battery/remaining_time
|
||||
chown system system /sys/class/qcom-battery/referance_power
|
||||
chown system system /sys/class/qcom-battery/nvt_referance_current
|
||||
chown system system /sys/class/qcom-battery/nvt_referance_power
|
||||
chown system system /sys/class/qcom-battery/start_learn_b
|
||||
chown system system /sys/class/qcom-battery/stop_learn_b
|
||||
chown system system /sys/class/qcom-battery/set_learn_power_b
|
||||
chown system system /sys/class/qcom-battery/get_learn_power_b
|
||||
chown system system /sys/class/qcom-battery/get_learn_power_dev_b
|
||||
chown system system /sys/class/qcom-battery/fg2_over_peak_flag
|
||||
chown system system /sys/class/qcom-battery/fg2_current_deviation
|
||||
chown system system /sys/class/qcom-battery/fg2_power_deviation
|
||||
chown system system /sys/class/qcom-battery/fg2_average_current
|
||||
chown system system /sys/class/qcom-battery/fg2_average_temp
|
||||
chown system system /sys/class/qcom-battery/fg2_start_learn
|
||||
chown system system /sys/class/qcom-battery/fg2_stop_learn
|
||||
chown system system /sys/class/qcom-battery/fg2_set_learn_power
|
||||
chown system system /sys/class/qcom-battery/fg2_get_learn_power
|
||||
chown system system /sys/class/qcom-battery/fg2_get_learn_power_dev
|
||||
chown system system /sys/class/qcom-battery/fg2_get_learn_time_dev
|
||||
chown system system /sys/class/qcom-battery/fg2_constant_power
|
||||
chown system system /sys/class/qcom-battery/fg2_remaining_time
|
||||
chown system system /sys/class/qcom-battery/fg2_referance_power
|
||||
chown system system /sys/class/qcom-battery/fg2_nvt_referance_current
|
||||
chown system system /sys/class/qcom-battery/fg2_nvt_referance_power
|
||||
chown system system /sys/class/qcom-battery/fg2_start_learn_b
|
||||
chown system system /sys/class/qcom-battery/fg2_stop_learn_b
|
||||
chown system system /sys/class/qcom-battery/fg2_set_learn_power_b
|
||||
chown system system /sys/class/qcom-battery/fg2_get_learn_power_b
|
||||
chown system system /sys/class/qcom-battery/fg2_get_learn_power_dev_b
|
||||
chown system system /sys/class/qcom-battery/fg1_design_capacity
|
||||
chown system system /sys/class/qcom-battery/fg2_design_capacity
|
||||
chown system system /sys/class/qcom-battery/plate_shock
|
||||
chown system system /sys/class/qcom-battery/cc_toggle
|
||||
chmod 0660 /sys/class/power_supply/battery/input_suspend
|
||||
chmod 0660 /sys/class/power_supply/battery/smart_batt
|
||||
chmod 0660 /sys/class/power_supply/battery/shipmode_count_reset
|
||||
chmod 0660 /sys/class/power_supply/battery/cc_toggle
|
||||
chmod 0660 /sys/class/qcom-battery/reverse_chg_mode
|
||||
chmod 0660 /sys/class/qcom-battery/rx_cr
|
||||
chmod 0660 /sys/class/qcom-battery/input_suspend
|
||||
chmod 0660 /sys/class/qcom-battery/screen_unlock
|
||||
chmod 0660 /sys/class/qcom-battery/cool_mode
|
||||
chmod 0660 /sys/class/qcom-battery/night_charging
|
||||
chmod 0660 /sys/class/qcom-battery/bt_transfer_start
|
||||
chmod 0660 /sys/class/qcom-battery/wls_tx_speed
|
||||
chmod 0660 /sys/class/qcom-battery/wireless_chip_fw
|
||||
chmod 0660 /sys/class/qcom-battery/smart_batt
|
||||
chmod 0660 /sys/class/qcom-battery/shipmode_count_reset
|
||||
chmod 0660 /sys/class/qcom-battery/sport_mode
|
||||
chmod 0660 /sys/class/qcom-battery/server_result
|
||||
chmod 0440 /sys/class/qcom-battery/over_peak_flag
|
||||
chmod 0440 /sys/class/qcom-battery/current_deviation
|
||||
chmod 0440 /sys/class/qcom-battery/power_deviation
|
||||
chmod 0440 /sys/class/qcom-battery/average_current
|
||||
chmod 0440 /sys/class/qcom-battery/average_temp
|
||||
chmod 0660 /sys/class/qcom-battery/start_learn
|
||||
chmod 0660 /sys/class/qcom-battery/stop_learn
|
||||
chmod 0660 /sys/class/qcom-battery/set_learn_power
|
||||
chmod 0440 /sys/class/qcom-battery/get_learn_power
|
||||
chmod 0440 /sys/class/qcom-battery/get_learn_power_dev
|
||||
chmod 0440 /sys/class/qcom-battery/get_learn_time_dev
|
||||
chmod 0660 /sys/class/qcom-battery/constant_power
|
||||
chmod 0440 /sys/class/qcom-battery/remaining_time
|
||||
chmod 0660 /sys/class/qcom-battery/referance_power
|
||||
chmod 0440 /sys/class/qcom-battery/nvt_referance_current
|
||||
chmod 0440 /sys/class/qcom-battery/nvt_referance_power
|
||||
chmod 0660 /sys/class/qcom-battery/start_learn_b
|
||||
chmod 0660 /sys/class/qcom-battery/stop_learn_b
|
||||
chmod 0660 /sys/class/qcom-battery/set_learn_power_b
|
||||
chmod 0440 /sys/class/qcom-battery/get_learn_power_b
|
||||
chmod 0440 /sys/class/qcom-battery/get_learn_power_dev_b
|
||||
chmod 0666 /sys/class/qcom-battery/plate_shock
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_over_peak_flag
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_current_deviation
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_power_deviation
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_average_current
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_average_temp
|
||||
chmod 0660 /sys/class/qcom-battery/fg2_start_learn
|
||||
chmod 0660 /sys/class/qcom-battery/fg2_stop_learn
|
||||
chmod 0660 /sys/class/qcom-battery/fg2_set_learn_power
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_get_learn_power
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_get_learn_power_dev
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_get_learn_time_dev
|
||||
chmod 0660 /sys/class/qcom-battery/fg2_constant_power
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_remaining_time
|
||||
chmod 0660 /sys/class/qcom-battery/fg2_referance_power
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_nvt_referance_current
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_nvt_referance_power
|
||||
chmod 0660 /sys/class/qcom-battery/fg2_start_learn_b
|
||||
chmod 0660 /sys/class/qcom-battery/fg2_stop_learn_b
|
||||
chmod 0660 /sys/class/qcom-battery/fg2_set_learn_power_b
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_get_learn_power_b
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_get_learn_power_dev_b
|
||||
chmod 0440 /sys/class/qcom-battery/fg1_design_capacity
|
||||
chmod 0440 /sys/class/qcom-battery/fg2_design_capacity
|
||||
chmod 0660 /sys/class/qcom-battery/cc_toggle
|
||||
|
||||
service micharge-hal-1-0 /vendor/bin/hw/vendor.xiaomi.hardware.micharge@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
+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