sdm660-common: rootdir: Update init.rc and init.sh
from LA.UM.9.2.1.r1-08000-sdm660.0 Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
parent
34304e39c2
commit
efae553016
11 changed files with 2316 additions and 883 deletions
|
@ -19,6 +19,22 @@ LOCAL_SRC_FILES := bin/init.qcom.early_boot.sh
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
|
||||||
include $(BUILD_PREBUILT)
|
include $(BUILD_PREBUILT)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE := init.qcom.sensors.sh
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := ETC
|
||||||
|
LOCAL_SRC_FILES := bin/init.qcom.sensors.sh
|
||||||
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
|
||||||
|
include $(BUILD_PREBUILT)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE := init.qti.dcvs.sh
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_CLASS := ETC
|
||||||
|
LOCAL_SRC_FILES := bin/init.qti.dcvs.sh
|
||||||
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
|
||||||
|
include $(BUILD_PREBUILT)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_MODULE := init.qcom.rc
|
LOCAL_MODULE := init.qcom.rc
|
||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/vendor/bin/sh
|
#!/vendor/bin/sh
|
||||||
|
|
||||||
# Copyright (c) 2012-2013,2016,2018,2019 The Linux Foundation. All rights reserved.
|
# Copyright (c) 2012-2013,2016,2018-2020 The Linux Foundation. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -121,6 +121,9 @@ case "$target" in
|
||||||
setprop vendor.media.target.version 2
|
setprop vendor.media.target.version 2
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
355|369|377|384)
|
||||||
|
setprop vendor.chre.enabled 0
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
@ -259,10 +262,13 @@ case "$target" in
|
||||||
log -t BOOT -p i "SDM429 early_boot prop set for: HwID '$soc_hwid'"
|
log -t BOOT -p i "SDM429 early_boot prop set for: HwID '$soc_hwid'"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
303|307|308|309|320)
|
303|307|308|309|320|386|436)
|
||||||
# Vulkan is not supported for 8917 variants
|
# Vulkan is not supported for 8917 variants
|
||||||
setprop vendor.opengles.version 196608
|
setprop vendor.opengles.version 196608
|
||||||
setprop persist.graphics.vulkan.disable true
|
setprop persist.graphics.vulkan.disable true
|
||||||
|
setprop vendor.gralloc.disable_ahardware_buffer 1
|
||||||
|
# Disable adsprpcd_sensorspd daemon
|
||||||
|
setprop vendor.fastrpc.disable.adsprpcd_sensorspd.daemon 1
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
setprop vendor.opengles.version 196608
|
setprop vendor.opengles.version 196608
|
||||||
|
@ -308,6 +314,7 @@ case "$target" in
|
||||||
"kona")
|
"kona")
|
||||||
case "$soc_hwplatform" in
|
case "$soc_hwplatform" in
|
||||||
*)
|
*)
|
||||||
|
setprop vendor.media.target_variant "_kona"
|
||||||
if [ $fb_width -le 1600 ]; then
|
if [ $fb_width -le 1600 ]; then
|
||||||
setprop vendor.display.lcd_density 560
|
setprop vendor.display.lcd_density 560
|
||||||
else
|
else
|
||||||
|
@ -317,18 +324,64 @@ case "$target" in
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
"lito")
|
"lito")
|
||||||
case "$soc_hwplatform" in
|
case "$soc_hwid" in
|
||||||
*)
|
400|440)
|
||||||
sku_ver=`cat /sys/devices/platform/soc/aa00000.qcom,vidc1/sku_version` 2> /dev/null
|
sku_ver=`cat /sys/devices/platform/soc/aa00000.qcom,vidc1/sku_version` 2> /dev/null
|
||||||
if [ $sku_ver -eq 1 ]; then
|
if [ $sku_ver -eq 1 ]; then
|
||||||
setprop vendor.media.target.version 1
|
setprop vendor.media.target.version 1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
434|459)
|
||||||
|
sku_ver=`cat /sys/devices/platform/soc/aa00000.qcom,vidc1/sku_version` 2> /dev/null
|
||||||
|
setprop vendor.media.target.version 2
|
||||||
|
if [ $sku_ver -eq 1 ]; then
|
||||||
|
setprop vendor.media.target.version 3
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
476)
|
||||||
|
# Fraser soc_id 476
|
||||||
|
setprop vendor.display.enable_qsync_idle 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
"bengal")
|
||||||
|
case "$soc_hwid" in
|
||||||
|
441|473)
|
||||||
|
# 441 is for scuba and 473 for scuba iot qcm
|
||||||
|
setprop vendor.fastrpc.disable.cdsprpcd.daemon 1
|
||||||
|
setprop vendor.media.target.version 2
|
||||||
|
setprop vendor.gralloc.disable_ubwc 1
|
||||||
|
setprop vendor.display.enhance_idle_time 1
|
||||||
|
setprop vendor.netflix.bsp_rev ""
|
||||||
|
# 196609 is decimal for 0x30001 to report version 3.1
|
||||||
|
setprop vendor.opengles.version 196609
|
||||||
|
sku_ver=`cat /sys/devices/platform/soc/5a00000.qcom,vidc1/sku_version` 2> /dev/null
|
||||||
|
if [ $sku_ver -eq 1 ]; then
|
||||||
|
setprop vendor.media.target.version 3
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
471|474)
|
||||||
|
# 471 is for scuba APQ and 474 for scuba iot qcs
|
||||||
|
setprop vendor.fastrpc.disable.cdsprpcd.daemon 1
|
||||||
|
setprop vendor.gralloc.disable_ubwc 1
|
||||||
|
setprop vendor.display.enhance_idle_time 1
|
||||||
|
setprop vendor.netflix.bsp_rev ""
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
# default case is for bengal
|
||||||
|
setprop vendor.netflix.bsp_rev "Q6115-31409-1"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
"sdm710" | "msmpeafowl")
|
"sdm710" | "msmpeafowl")
|
||||||
case "$soc_hwplatform" in
|
case "$soc_hwplatform" in
|
||||||
*)
|
*)
|
||||||
|
if [ $fb_width -le 1600 ]; then
|
||||||
|
setprop vendor.display.lcd_density 560
|
||||||
|
else
|
||||||
|
setprop vendor.display.lcd_density 640
|
||||||
|
fi
|
||||||
|
|
||||||
sku_ver=`cat /sys/devices/platform/soc/aa00000.qcom,vidc1/sku_version` 2> /dev/null
|
sku_ver=`cat /sys/devices/platform/soc/aa00000.qcom,vidc1/sku_version` 2> /dev/null
|
||||||
if [ $sku_ver -eq 1 ]; then
|
if [ $sku_ver -eq 1 ]; then
|
||||||
setprop vendor.media.target.version 1
|
setprop vendor.media.target.version 1
|
||||||
|
@ -351,12 +404,41 @@ case "$target" in
|
||||||
#Set property to differentiate SDM660, sdm636 & SDM455
|
#Set property to differentiate SDM660, sdm636 & SDM455
|
||||||
#SOC ID for SDM455 is 385
|
#SOC ID for SDM455 is 385
|
||||||
"sdm660" | "sdm636")
|
"sdm660" | "sdm636")
|
||||||
case "$soc_hwid" in
|
case "$soc_hwplatform" in
|
||||||
385)
|
*)
|
||||||
|
if [ $fb_width -le 1600 ]; then
|
||||||
|
setprop vendor.display.lcd_density 560
|
||||||
|
else
|
||||||
|
setprop vendor.display.lcd_density 640
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $soc_hwid -eq 385 ]; then
|
||||||
setprop vendor.media.target.version 1
|
setprop vendor.media.target.version 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
"holi")
|
||||||
|
setprop vendor.media.target_variant "_holi"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
case "$target" in
|
||||||
|
"msm8937")
|
||||||
|
case "$soc_hwid" in
|
||||||
|
386|354|353|303)
|
||||||
|
# enable qrtr-ns service for kernel 4.14 or above
|
||||||
|
KernelVersionStr=`cat /proc/sys/kernel/osrelease`
|
||||||
|
KernelVersionS=${KernelVersionStr:2:2}
|
||||||
|
KernelVersionA=${KernelVersionStr:0:1}
|
||||||
|
KernelVersionB=${KernelVersionS%.*}
|
||||||
|
|
||||||
|
if [ $KernelVersionA -ge 4 ] && [ $KernelVersionB -ge 14 ]; then
|
||||||
|
setprop init.svc.vendor.qrtrns.enable 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
baseband=`getprop ro.baseband`
|
baseband=`getprop ro.baseband`
|
||||||
#enable atfwd daemon all targets except sda, apq, qcs
|
#enable atfwd daemon all targets except sda, apq, qcs
|
||||||
|
@ -398,8 +480,6 @@ esac
|
||||||
case "$product" in
|
case "$product" in
|
||||||
"sdmshrike_au")
|
"sdmshrike_au")
|
||||||
setprop vendor.display.lcd_density 160
|
setprop vendor.display.lcd_density 160
|
||||||
echo 940800000 > /sys/class/devfreq/soc:qcom,cpu0-cpu-l3-lat/min_freq
|
|
||||||
echo 940800000 > /sys/class/devfreq/soc:qcom,cpu4-cpu-l3-lat/min_freq
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
|
|
File diff suppressed because it is too large
Load diff
40
rootdir/bin/init.qcom.sensors.sh
Normal file
40
rootdir/bin/init.qcom.sensors.sh
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
#!/vendor/bin/sh
|
||||||
|
# Copyright (c) 2015,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 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Function to start sensors for SSC enabled platforms
|
||||||
|
#
|
||||||
|
start_sensors()
|
||||||
|
{
|
||||||
|
|
||||||
|
chmod -h 664 /persist/sensors/sensors_settings
|
||||||
|
chown -h -R system.system /persist/sensors
|
||||||
|
start vendor.sensors.qti
|
||||||
|
}
|
||||||
|
|
||||||
|
start_sensors
|
|
@ -35,12 +35,59 @@ else
|
||||||
platformid=`cat /sys/devices/system/soc/soc0/id`
|
platformid=`cat /sys/devices/system/soc/soc0/id`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
start_battery_monitor()
|
||||||
|
{
|
||||||
|
if ls /sys/bus/spmi/devices/qpnp-bms-*/fcc_data ; then
|
||||||
|
chown -h root.system /sys/module/pm8921_bms/parameters/*
|
||||||
|
chown -h root.system /sys/module/qpnp_bms/parameters/*
|
||||||
|
chown -h root.system /sys/bus/spmi/devices/qpnp-bms-*/fcc_data
|
||||||
|
chown -h root.system /sys/bus/spmi/devices/qpnp-bms-*/fcc_temp
|
||||||
|
chown -h root.system /sys/bus/spmi/devices/qpnp-bms-*/fcc_chgcyl
|
||||||
|
chmod 0660 /sys/module/qpnp_bms/parameters/*
|
||||||
|
chmod 0660 /sys/module/pm8921_bms/parameters/*
|
||||||
|
mkdir -p /data/bms
|
||||||
|
chown -h root.system /data/bms
|
||||||
|
chmod 0770 /data/bms
|
||||||
|
start battery_monitor
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
start_charger_monitor()
|
||||||
|
{
|
||||||
|
if ls /sys/module/qpnp_charger/parameters/charger_monitor; then
|
||||||
|
chown -h root.system /sys/module/qpnp_charger/parameters/*
|
||||||
|
chown -h root.system /sys/class/power_supply/battery/input_current_max
|
||||||
|
chown -h root.system /sys/class/power_supply/battery/input_current_trim
|
||||||
|
chown -h root.system /sys/class/power_supply/battery/input_current_settled
|
||||||
|
chown -h root.system /sys/class/power_supply/battery/voltage_min
|
||||||
|
chmod 0664 /sys/class/power_supply/battery/input_current_max
|
||||||
|
chmod 0664 /sys/class/power_supply/battery/input_current_trim
|
||||||
|
chmod 0664 /sys/class/power_supply/battery/input_current_settled
|
||||||
|
chmod 0664 /sys/class/power_supply/battery/voltage_min
|
||||||
|
chmod 0664 /sys/module/qpnp_charger/parameters/charger_monitor
|
||||||
|
start charger_monitor
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
start_vm_bms()
|
||||||
|
{
|
||||||
|
if [ -e /dev/vm_bms ]; then
|
||||||
|
chown -h root.system /sys/class/power_supply/bms/current_now
|
||||||
|
chown -h root.system /sys/class/power_supply/bms/voltage_ocv
|
||||||
|
chmod 0664 /sys/class/power_supply/bms/current_now
|
||||||
|
chmod 0664 /sys/class/power_supply/bms/voltage_ocv
|
||||||
|
start vm_bms
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
start_msm_irqbalance_8939()
|
start_msm_irqbalance_8939()
|
||||||
{
|
{
|
||||||
if [ -f /vendor/bin/msm_irqbalance ]; then
|
if [ -f /vendor/bin/msm_irqbalance ]; then
|
||||||
case "$platformid" in
|
case "$platformid" in
|
||||||
"239" | "293" | "294" | "295" | "304" | "338" | "313" | "353" | "354")
|
"239" | "293" | "294" | "295" | "304" | "338" | "313" | "353" | "354")
|
||||||
start vendor.msm_irqbalance;;
|
start vendor.msm_irqbalance;;
|
||||||
|
"349" | "350" )
|
||||||
|
start vendor.msm_irqbal_lb;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -102,6 +149,61 @@ case "$baseband" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$target" in
|
case "$target" in
|
||||||
|
"msm7630_surf" | "msm7630_1x" | "msm7630_fusion")
|
||||||
|
if [ -f /sys/devices/soc0/hw_platform ]; then
|
||||||
|
value=`cat /sys/devices/soc0/hw_platform`
|
||||||
|
else
|
||||||
|
value=`cat /sys/devices/system/soc/soc0/hw_platform`
|
||||||
|
fi
|
||||||
|
case "$value" in
|
||||||
|
"Fluid")
|
||||||
|
start profiler_daemon;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
"msm8660" )
|
||||||
|
if [ -f /sys/devices/soc0/hw_platform ]; then
|
||||||
|
platformvalue=`cat /sys/devices/soc0/hw_platform`
|
||||||
|
else
|
||||||
|
platformvalue=`cat /sys/devices/system/soc/soc0/hw_platform`
|
||||||
|
fi
|
||||||
|
case "$platformvalue" in
|
||||||
|
"Fluid")
|
||||||
|
start profiler_daemon;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
"msm8960")
|
||||||
|
case "$baseband" in
|
||||||
|
"msm")
|
||||||
|
start_battery_monitor;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -f /sys/devices/soc0/hw_platform ]; then
|
||||||
|
platformvalue=`cat /sys/devices/soc0/hw_platform`
|
||||||
|
else
|
||||||
|
platformvalue=`cat /sys/devices/system/soc/soc0/hw_platform`
|
||||||
|
fi
|
||||||
|
case "$platformvalue" in
|
||||||
|
"Fluid")
|
||||||
|
start profiler_daemon;;
|
||||||
|
"Liquid")
|
||||||
|
start profiler_daemon;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
"msm8974")
|
||||||
|
platformvalue=`cat /sys/devices/soc0/hw_platform`
|
||||||
|
case "$platformvalue" in
|
||||||
|
"Fluid")
|
||||||
|
start profiler_daemon;;
|
||||||
|
"Liquid")
|
||||||
|
start profiler_daemon;;
|
||||||
|
esac
|
||||||
|
case "$baseband" in
|
||||||
|
"msm")
|
||||||
|
start_battery_monitor
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
start_charger_monitor
|
||||||
|
;;
|
||||||
"sdm660" | "sdm636")
|
"sdm660" | "sdm636")
|
||||||
if [ -f /sys/devices/soc0/soc_id ]; then
|
if [ -f /sys/devices/soc0/soc_id ]; then
|
||||||
soc_id=`cat /sys/devices/soc0/soc_id`
|
soc_id=`cat /sys/devices/soc0/soc_id`
|
||||||
|
@ -114,9 +216,44 @@ case "$target" in
|
||||||
else
|
else
|
||||||
hw_platform=`cat /sys/devices/system/soc/soc0/hw_platform`
|
hw_platform=`cat /sys/devices/system/soc/soc0/hw_platform`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
case "$soc_id" in
|
||||||
|
"317" | "324" | "325" | "326" | "318" | "327" )
|
||||||
|
case "$hw_platform" in
|
||||||
|
"Surf")
|
||||||
|
setprop qemu.hw.mainkeys 0
|
||||||
|
;;
|
||||||
|
"MTP")
|
||||||
|
setprop qemu.hw.mainkeys 0
|
||||||
|
;;
|
||||||
|
"RCM")
|
||||||
|
setprop qemu.hw.mainkeys 0
|
||||||
|
;;
|
||||||
|
"QRD")
|
||||||
|
setprop qemu.hw.mainkeys 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
start_msm_irqbalance660
|
start_msm_irqbalance660
|
||||||
;;
|
;;
|
||||||
|
"apq8084")
|
||||||
|
platformvalue=`cat /sys/devices/soc0/hw_platform`
|
||||||
|
case "$platformvalue" in
|
||||||
|
"Fluid")
|
||||||
|
start profiler_daemon;;
|
||||||
|
"Liquid")
|
||||||
|
start profiler_daemon;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
"msm8226")
|
||||||
|
start_charger_monitor
|
||||||
|
;;
|
||||||
|
"msm8610")
|
||||||
|
start_charger_monitor
|
||||||
|
;;
|
||||||
"msm8916")
|
"msm8916")
|
||||||
|
start_vm_bms
|
||||||
start_msm_irqbalance_8939
|
start_msm_irqbalance_8939
|
||||||
if [ -f /sys/devices/soc0/soc_id ]; then
|
if [ -f /sys/devices/soc0/soc_id ]; then
|
||||||
soc_id=`cat /sys/devices/soc0/soc_id`
|
soc_id=`cat /sys/devices/soc0/soc_id`
|
||||||
|
@ -175,6 +312,9 @@ case "$target" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
"msm8909")
|
||||||
|
start_vm_bms
|
||||||
|
;;
|
||||||
"msmnile")
|
"msmnile")
|
||||||
start_msm_irqbalance_msmnile
|
start_msm_irqbalance_msmnile
|
||||||
;;
|
;;
|
||||||
|
@ -316,7 +456,7 @@ buildvariant=`getprop ro.build.type`
|
||||||
case "$buildvariant" in
|
case "$buildvariant" in
|
||||||
"userdebug" | "eng")
|
"userdebug" | "eng")
|
||||||
#set default loglevel to KERN_INFO
|
#set default loglevel to KERN_INFO
|
||||||
echo "6 6 1 7" > /proc/sys/kernel/printk
|
echo "4 6 1 7" > /proc/sys/kernel/printk
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
#set default loglevel to KERN_WARNING
|
#set default loglevel to KERN_WARNING
|
||||||
|
|
44
rootdir/bin/init.qti.dcvs.sh
Normal file
44
rootdir/bin/init.qti.dcvs.sh
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
#! /vendor/bin/sh
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
for device in /sys/devices/platform/soc
|
||||||
|
do
|
||||||
|
for memlat in $device/*cpu*-lat/devfreq/*cpu*-lat
|
||||||
|
do
|
||||||
|
echo "mem_latency" > $memlat/governor
|
||||||
|
echo 10 > $memlat/polling_interval
|
||||||
|
echo 400 > $memlat/mem_latency/ratio_ceil
|
||||||
|
done
|
||||||
|
|
||||||
|
for latfloor in $device/*cpu*-ddr-latfloor*/devfreq/*cpu-ddr-latfloor*
|
||||||
|
do
|
||||||
|
echo "compute" > $latfloor/governor
|
||||||
|
echo 10 > $latfloor/polling_interval
|
||||||
|
done
|
||||||
|
done
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2009-2012, 2014-2020, The Linux Foundation. All rights reserved.
|
# Copyright (c) 2009-2012, 2014-2021, The Linux Foundation. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -28,18 +28,22 @@
|
||||||
import /vendor/etc/init/hw/init.qcom.usb.rc
|
import /vendor/etc/init/hw/init.qcom.usb.rc
|
||||||
import /vendor/etc/init/hw/init.msm.usb.configfs.rc
|
import /vendor/etc/init/hw/init.msm.usb.configfs.rc
|
||||||
import /vendor/etc/init/hw/init.target.rc
|
import /vendor/etc/init/hw/init.target.rc
|
||||||
import /vendor/etc/init/hw/init.qcom.factory.rc
|
|
||||||
import /vendor/etc/init/hw/init.qcom.test.rc
|
|
||||||
import /vendor/etc/init/hw/init.device.rc
|
import /vendor/etc/init/hw/init.device.rc
|
||||||
import /vendor/etc/init/hw/init.xiaomi_parts.rc
|
import /vendor/etc/init/hw/init.xiaomi_parts.rc
|
||||||
|
|
||||||
on early-init
|
on early-init
|
||||||
|
mount tracefs tracefs /sys/kernel/tracing
|
||||||
|
chmod 0755 /sys/kernel/tracing
|
||||||
|
|
||||||
# Change ownership of hw_recovery related nodes
|
# Change ownership of hw_recovery related nodes
|
||||||
chown system graphics /sys/kernel/debug/dri/0/debug/dump
|
chown system graphics /sys/kernel/debug/dri/0/debug/dump
|
||||||
chown system graphics /sys/kernel/debug/dri/0/debug/recovery_reg
|
chown system graphics /sys/kernel/debug/dri/0/debug/recovery_reg
|
||||||
chown system graphics /sys/kernel/debug/dri/0/debug/recovery_dbgbus
|
chown system graphics /sys/kernel/debug/dri/0/debug/recovery_dbgbus
|
||||||
chown system graphics /sys/kernel/debug/dri/0/debug/recovery_vbif_dbgbus
|
chown system graphics /sys/kernel/debug/dri/0/debug/recovery_vbif_dbgbus
|
||||||
|
chown system graphics /sys/kernel/debug/dri/0/debug/recovery_dsi_dbgbus
|
||||||
|
|
||||||
|
# Change ownership of sysfs power control node
|
||||||
|
chown system graphics /sys/class/drm/card0/device/power/control
|
||||||
|
|
||||||
# Change ownership of sw_sync node
|
# Change ownership of sw_sync node
|
||||||
chown system graphics /sys/kernel/debug/sync/sw_sync
|
chown system graphics /sys/kernel/debug/sync/sw_sync
|
||||||
|
@ -49,11 +53,17 @@ on early-init
|
||||||
chmod 0620 /dev/kmsg
|
chmod 0620 /dev/kmsg
|
||||||
|
|
||||||
on init
|
on init
|
||||||
|
|
||||||
|
# Support legacy paths
|
||||||
|
symlink /sdcard /mnt/sdcard
|
||||||
|
symlink /sdcard /storage/sdcard0
|
||||||
|
|
||||||
# Create cgroup mount point for memory
|
# Create cgroup mount point for memory
|
||||||
mkdir /sys/fs/cgroup/memory/bg 0750 root system
|
mkdir /sys/fs/cgroup/memory/bg 0750 root system
|
||||||
write /sys/fs/cgroup/memory/bg/memory.swappiness 140
|
write /sys/fs/cgroup/memory/bg/memory.swappiness 140
|
||||||
write /sys/fs/cgroup/memory/bg/memory.move_charge_at_immigrate 1
|
write /sys/fs/cgroup/memory/bg/memory.move_charge_at_immigrate 1
|
||||||
chown root system /sys/fs/cgroup/memory/bg/tasks
|
chown root system /sys/fs/cgroup/memory/bg/tasks
|
||||||
|
write /sys/kernel/icnss/wpss_boot 1
|
||||||
chmod 0660 /sys/fs/cgroup/memory/bg/tasks
|
chmod 0660 /sys/fs/cgroup/memory/bg/tasks
|
||||||
|
|
||||||
# ZRAM setup
|
# ZRAM setup
|
||||||
|
@ -72,13 +82,13 @@ on early-boot
|
||||||
# set RLIMIT_MEMLOCK to 64MB
|
# set RLIMIT_MEMLOCK to 64MB
|
||||||
setrlimit 8 67108864 67108864
|
setrlimit 8 67108864 67108864
|
||||||
# Allow subsystem (modem etc) debugging
|
# Allow subsystem (modem etc) debugging
|
||||||
write /sys/kernel/debug/bootkpi/kpi_values "M - Start adsp"
|
|
||||||
write /sys/kernel/boot_adsp/boot 1
|
write /sys/kernel/boot_adsp/boot 1
|
||||||
write /sys/kernel/boot_cdsp/boot 1
|
write /sys/kernel/boot_cdsp/boot 1
|
||||||
write /sys/devices/virtual/npu/msm_npu/boot 1
|
write /sys/devices/virtual/npu/msm_npu/boot 1
|
||||||
write /sys/kernel/boot_slpi/boot 1
|
|
||||||
write /sys/devices/virtual/cvp/cvp/boot 1
|
write /sys/devices/virtual/cvp/cvp/boot 1
|
||||||
exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qcom.early_boot.sh
|
exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qcom.early_boot.sh
|
||||||
|
exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qti.can.sh
|
||||||
|
setprop ro.sf.lcd_density ${vendor.display.lcd_density}
|
||||||
|
|
||||||
# for backward compatibility
|
# for backward compatibility
|
||||||
chown system system /persist/sensors
|
chown system system /persist/sensors
|
||||||
|
@ -103,6 +113,16 @@ on early-boot
|
||||||
|
|
||||||
chown system system /mnt/vendor/persist/data/pfm/licenses
|
chown system system /mnt/vendor/persist/data/pfm/licenses
|
||||||
chmod 0775 /mnt/vendor/persist/data/pfm/licenses
|
chmod 0775 /mnt/vendor/persist/data/pfm/licenses
|
||||||
|
chown system system /mnt/vendor/persist/data/pfm/licenses/store_0
|
||||||
|
chmod 0664 /mnt/vendor/persist/data/pfm/licenses/store_0
|
||||||
|
chown system system /mnt/vendor/persist/data/pfm/licenses/store_1
|
||||||
|
chmod 0664 /mnt/vendor/persist/data/pfm/licenses/store_1
|
||||||
|
chown system system /mnt/vendor/persist/data/pfm/licenses/store_2
|
||||||
|
chmod 0664 /mnt/vendor/persist/data/pfm/licenses/store_2
|
||||||
|
chown system system /mnt/vendor/persist/data/pfm/licenses/store_3
|
||||||
|
chmod 0664 /mnt/vendor/persist/data/pfm/licenses/store_3
|
||||||
|
chown system system /mnt/vendor/persist/data/pfm/licenses/store_4
|
||||||
|
chmod 0664 /mnt/vendor/persist/data/pfm/licenses/store_4
|
||||||
|
|
||||||
on boot
|
on boot
|
||||||
chown bluetooth net_bt /sys/class/rfkill/rfkill0/type
|
chown bluetooth net_bt /sys/class/rfkill/rfkill0/type
|
||||||
|
@ -138,9 +158,9 @@ on boot
|
||||||
chmod 2770 /dev/socket/qmux_radio
|
chmod 2770 /dev/socket/qmux_radio
|
||||||
|
|
||||||
mkdir /persist/drm 0770 system system
|
mkdir /persist/drm 0770 system system
|
||||||
mkdir /mnt/vendor/persist/bluetooth 0770 bluetooth bluetooth
|
mkdir /persist/bluetooth 0770 bluetooth bluetooth
|
||||||
mkdir /persist/misc 0770 system system
|
mkdir /persist/misc 0770 system system
|
||||||
mkdir /mnt/vendor/persist/alarm 0770 system system
|
mkdir /persist/alarm 0770 system system
|
||||||
mkdir /mnt/vendor/persist/time 0770 system system
|
mkdir /mnt/vendor/persist/time 0770 system system
|
||||||
mkdir /mnt/vendor/persist/secnvm 0770 system system
|
mkdir /mnt/vendor/persist/secnvm 0770 system system
|
||||||
mkdir /mnt/vendor/persist/iar_db 0770 system system
|
mkdir /mnt/vendor/persist/iar_db 0770 system system
|
||||||
|
@ -169,22 +189,25 @@ on boot
|
||||||
# an ack packet comes out of order
|
# an ack packet comes out of order
|
||||||
write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1
|
write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1
|
||||||
|
|
||||||
# Set the console loglevel to < KERN_INFO
|
# Set the console loglevel to < KERN_WARN
|
||||||
# Set the default message loglevel to KERN_INFO
|
# Set the default message loglevel to KERN_INFO
|
||||||
write /proc/sys/kernel/printk "6 6 1 7"
|
write /proc/sys/kernel/printk "4 6 1 7"
|
||||||
|
|
||||||
# Allow access for CCID command/response timeout configuration
|
# Allow access for CCID command/response timeout configuration
|
||||||
chown system system /sys/module/ccid_bridge/parameters/bulk_msg_timeout
|
chown system system /sys/module/ccid_bridge/parameters/bulk_msg_timeout
|
||||||
|
|
||||||
|
# bond0 used by FST Manager
|
||||||
|
chown wifi wifi /sys/class/net/bond0/bonding/queue_id
|
||||||
|
|
||||||
# Allow access to emmc rawdump block partition and dload sysfs node
|
# Allow access to emmc rawdump block partition and dload sysfs node
|
||||||
#chown root system /dev/block/bootdevice/by-name/rawdump
|
chown root system /dev/block/bootdevice/by-name/rawdump
|
||||||
#chmod 0660 /dev/block/bootdevice/by-name/rawdump
|
chmod 0660 /dev/block/bootdevice/by-name/rawdump
|
||||||
#chown root system /sys/kernel/dload/emmc_dload
|
chown root system /sys/kernel/dload/emmc_dload
|
||||||
#chmod 0660 /sys/kernel/dload/emmc_dload
|
chmod 0660 /sys/kernel/dload/emmc_dload
|
||||||
#chown root system /dev/block/bootdevice/by-name/ramdump
|
chown root system /dev/block/bootdevice/by-name/ramdump
|
||||||
#chmod 0660 /dev/block/bootdevice/by-name/ramdump
|
chmod 0660 /dev/block/bootdevice/by-name/ramdump
|
||||||
#chown root system /sys/kernel/dload/dload_mode
|
chown root system /sys/kernel/dload/dload_mode
|
||||||
#chmod 0660 /sys/kernel/dload/dload_mode
|
chmod 0660 /sys/kernel/dload/dload_mode
|
||||||
|
|
||||||
chown system system /sys/class/backlight/panel0-backlight/brightness
|
chown system system /sys/class/backlight/panel0-backlight/brightness
|
||||||
chown system system /sys/class/backlight/panel0-backlight/max_brightness
|
chown system system /sys/class/backlight/panel0-backlight/max_brightness
|
||||||
|
@ -229,6 +252,9 @@ on boot
|
||||||
chown system system /sys/devices/platform/HardwareInfo/sar_sensor_1
|
chown system system /sys/devices/platform/HardwareInfo/sar_sensor_1
|
||||||
chown system system /sys/devices/platform/HardwareInfo/sar_sensor_2
|
chown system system /sys/devices/platform/HardwareInfo/sar_sensor_2
|
||||||
|
|
||||||
|
# limit discard size to 128MB in order to avoid long IO latency
|
||||||
|
write /sys/block/sda/queue/discard_max_bytes 134217728
|
||||||
|
|
||||||
# msm specific files that need to be created on /data
|
# msm specific files that need to be created on /data
|
||||||
on post-fs-data
|
on post-fs-data
|
||||||
mkdir /data/vendor/misc 01771 system system
|
mkdir /data/vendor/misc 01771 system system
|
||||||
|
@ -242,6 +268,9 @@ on post-fs-data
|
||||||
# Change lm related dirs
|
# Change lm related dirs
|
||||||
mkdir /data/vendor/lm 0700 root root
|
mkdir /data/vendor/lm 0700 root root
|
||||||
|
|
||||||
|
# Create directory used by powermodule
|
||||||
|
mkdir /data/vendor/pwr 0700 root root
|
||||||
|
|
||||||
# Create directory used by media clients
|
# Create directory used by media clients
|
||||||
mkdir /data/vendor/media 0770 mediacodec media
|
mkdir /data/vendor/media 0770 mediacodec media
|
||||||
|
|
||||||
|
@ -317,6 +346,7 @@ on post-fs-data
|
||||||
mkdir /dev/socket/location 0770 gps gps
|
mkdir /dev/socket/location 0770 gps gps
|
||||||
mkdir /dev/socket/location/mq 0770 gps gps
|
mkdir /dev/socket/location/mq 0770 gps gps
|
||||||
mkdir /dev/socket/location/xtra 0770 gps gps
|
mkdir /dev/socket/location/xtra 0770 gps gps
|
||||||
|
mkdir /dev/socket/location/dgnss 0770 gps gps
|
||||||
|
|
||||||
#Create directories for wifihal services
|
#Create directories for wifihal services
|
||||||
mkdir /dev/socket/wifihal 0770 wifi wifi
|
mkdir /dev/socket/wifihal 0770 wifi wifi
|
||||||
|
@ -327,6 +357,9 @@ on post-fs-data
|
||||||
|
|
||||||
setprop vold.post_fs_data_done 1
|
setprop vold.post_fs_data_done 1
|
||||||
|
|
||||||
|
#Create a folder for SRS to be able to create a usercfg file
|
||||||
|
#mkdir /data/data/media 0770 media media
|
||||||
|
|
||||||
#Create FM dir for patchdownloader
|
#Create FM dir for patchdownloader
|
||||||
mkdir /data/vendor/fm 0770 system system
|
mkdir /data/vendor/fm 0770 system system
|
||||||
chmod 0770 /data/vendor/fm
|
chmod 0770 /data/vendor/fm
|
||||||
|
@ -342,6 +375,11 @@ on post-fs-data
|
||||||
copy /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril_prebuilt.db
|
copy /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril_prebuilt.db
|
||||||
chown radio radio /data/vendor/radio/qcril_prebuilt.db
|
chown radio radio /data/vendor/radio/qcril_prebuilt.db
|
||||||
chmod 0660 /data/vendor/radio/qcril_prebuilt.db
|
chmod 0660 /data/vendor/radio/qcril_prebuilt.db
|
||||||
|
copy /vendor/radio/qcril_database/qcrilNr.db /data/vendor/radio/qcrilNr_prebuilt.db
|
||||||
|
copy /vendor/etc/qcril_database/qcrilNr.db /data/vendor/radio/qcrilNr_prebuilt.db
|
||||||
|
chown radio radio /data/vendor/radio/qcrilNr_prebuilt.db
|
||||||
|
chmod 0660 /data/vendor/radio/qcrilNr_prebuilt.db
|
||||||
|
|
||||||
# File flags for prebuilt ril db file
|
# File flags for prebuilt ril db file
|
||||||
write /data/vendor/radio/prebuilt_db_support 1
|
write /data/vendor/radio/prebuilt_db_support 1
|
||||||
chown radio radio /data/vendor/radio/prebuilt_db_support
|
chown radio radio /data/vendor/radio/prebuilt_db_support
|
||||||
|
@ -379,6 +417,29 @@ service nqnfcinfo /system/vendor/bin/nqnfcinfo
|
||||||
user system
|
user system
|
||||||
oneshot
|
oneshot
|
||||||
|
|
||||||
|
service qcomsysd /system/vendor/bin/qcom-system-daemon
|
||||||
|
class main
|
||||||
|
user root
|
||||||
|
group root diag oem_2901
|
||||||
|
disabled
|
||||||
|
|
||||||
|
on property:persist.vendor.qcomsysd.enabled=1
|
||||||
|
enable qcomsysd
|
||||||
|
|
||||||
|
on property:persist.vendor.qcomsysd.enabled=0
|
||||||
|
stop qcomsysd
|
||||||
|
|
||||||
|
service vendor.ssr_setup /system/vendor/bin/ssr_setup
|
||||||
|
oneshot
|
||||||
|
disabled
|
||||||
|
|
||||||
|
service vendor.ss_ramdump /system/vendor/bin/subsystem_ramdump
|
||||||
|
class main
|
||||||
|
user system
|
||||||
|
group system
|
||||||
|
ioprio rt 4
|
||||||
|
disabled
|
||||||
|
|
||||||
on property:ro.vendor.iocgrp.config=1
|
on property:ro.vendor.iocgrp.config=1
|
||||||
mkdir /dev/blkio
|
mkdir /dev/blkio
|
||||||
mount cgroup none /dev/blkio blkio
|
mount cgroup none /dev/blkio blkio
|
||||||
|
@ -403,28 +464,33 @@ on property:persist.sys.modem_auth_timeout=*
|
||||||
on property:persist.sys.pil_proxy_timeout=*
|
on property:persist.sys.pil_proxy_timeout=*
|
||||||
write /sys/module/peripheral_loader/parameters/proxy_timeout_ms ${persist.sys.pil_proxy_timeout}
|
write /sys/module/peripheral_loader/parameters/proxy_timeout_ms ${persist.sys.pil_proxy_timeout}
|
||||||
|
|
||||||
|
on property:persist.vendor.ssr.restart_level=*
|
||||||
|
start vendor.ssr_setup
|
||||||
|
|
||||||
on property:persist.vendor.ssr.enable_ramdumps=1
|
on property:persist.vendor.ssr.enable_ramdumps=1
|
||||||
write /sys/module/subsystem_restart/parameters/enable_ramdumps 1
|
write /sys/module/subsystem_restart/parameters/enable_ramdumps 1
|
||||||
mkdir /data/vendor/ramdump_ssr 770 system system
|
mkdir /data/vendor/ramdump_ssr 770 system system
|
||||||
|
start vendor.ss_ramdump
|
||||||
|
|
||||||
on property:persist.vendor.ssr.enable_ramdumps=0
|
on property:persist.vendor.ssr.enable_ramdumps=0
|
||||||
write /sys/module/subsystem_restart/parameters/enable_ramdumps 0
|
write /sys/module/subsystem_restart/parameters/enable_ramdumps 0
|
||||||
|
|
||||||
#on property:persist.vendor.sys.rawdump_copy=1
|
on property:persist.vendor.sys.rawdump_copy=1
|
||||||
# write /sys/kernel/dload/emmc_dload 1
|
write /sys/kernel/dload/emmc_dload 1
|
||||||
|
|
||||||
#on property:persist.vendor.sys.rawdump_copy=0
|
on property:persist.vendor.sys.rawdump_copy=0
|
||||||
# write /sys/kernel/dload/emmc_dload 0
|
write /sys/kernel/dload/emmc_dload 0
|
||||||
|
|
||||||
on property:sys.boot_completed=1
|
on property:sys.boot_completed=1
|
||||||
write /dev/kmsg "Boot completed "
|
write /dev/kmsg "Boot completed "
|
||||||
#Reset read ahead for dm-0, dm-1 and dm-2 to 128kb
|
#Reset read ahead for dm-0 and dm-1 to 128kb
|
||||||
write /sys/block/dm-0/queue/read_ahead_kb 128
|
write /sys/block/dm-0/queue/read_ahead_kb 128
|
||||||
write /sys/block/dm-1/queue/read_ahead_kb 128
|
write /sys/block/dm-1/queue/read_ahead_kb 128
|
||||||
write /sys/block/dm-2/queue/read_ahead_kb 128
|
|
||||||
#WDSP FW boot sysfs node used by STHAL
|
#WDSP FW boot sysfs node used by STHAL
|
||||||
chown media audio /sys/kernel/wdsp0/boot
|
chown media audio /sys/kernel/wdsp0/boot
|
||||||
chown media audio /sys/kernel/wcd_cpe0/fw_name
|
chown media audio /sys/kernel/wcd_cpe0/fw_name
|
||||||
|
#Reinit lmkd to reconfigure lmkd properties
|
||||||
|
setprop lmkd.reinit 1
|
||||||
|
|
||||||
on property:persist.vendor.radio.atfwd.start=false
|
on property:persist.vendor.radio.atfwd.start=false
|
||||||
stop vendor.atfwd
|
stop vendor.atfwd
|
||||||
|
@ -433,13 +499,20 @@ on property:vendor.radio.atfwd.start=false
|
||||||
stop vendor.atfwd
|
stop vendor.atfwd
|
||||||
|
|
||||||
# corefile limit
|
# corefile limit
|
||||||
#on property:persist.debug.trace=1
|
on property:persist.debug.trace=1
|
||||||
# mkdir /data/core 0777 root root
|
mkdir /data/core 0777 root root
|
||||||
# write /proc/sys/kernel/core_pattern "/data/core/%E.%p.%e"
|
write /proc/sys/kernel/core_pattern "/data/core/%E.%p.%e"
|
||||||
|
|
||||||
on property:vendor.media.target.version=*
|
on property:vendor.media.target.version=*
|
||||||
setprop vendor.sys.media.target.version ${vendor.media.target.version}
|
setprop vendor.sys.media.target.version ${vendor.media.target.version}
|
||||||
|
|
||||||
|
on property:vendor.netflix.bsp_rev=*
|
||||||
|
setprop ro.netflix.bsp_rev ${vendor.netflix.bsp_rev}
|
||||||
|
|
||||||
|
on property:vendor.media.target_variant=*
|
||||||
|
setprop ro.media.xml_variant.codecs ${vendor.media.target_variant}
|
||||||
|
setprop ro.media.xml_variant.codecs_performance ${vendor.media.target_variant}
|
||||||
|
|
||||||
service qcom-c_main-sh /vendor/bin/init.class_main.sh
|
service qcom-c_main-sh /vendor/bin/init.class_main.sh
|
||||||
class main
|
class main
|
||||||
user root
|
user root
|
||||||
|
@ -486,6 +559,43 @@ service vendor.sensors.qti /vendor/bin/sensors.qti
|
||||||
on property:sys.sysctl.tcp_adv_win_scale=*
|
on property:sys.sysctl.tcp_adv_win_scale=*
|
||||||
write /proc/sys/net/ipv4/tcp_adv_win_scale ${sys.sysctl.tcp_adv_win_scale}
|
write /proc/sys/net/ipv4/tcp_adv_win_scale ${sys.sysctl.tcp_adv_win_scale}
|
||||||
|
|
||||||
|
service qmiproxy /system/bin/qmiproxy
|
||||||
|
class main
|
||||||
|
user radio
|
||||||
|
group radio diag
|
||||||
|
disabled
|
||||||
|
|
||||||
|
# Data Migration
|
||||||
|
service vendor.move_wifi_data /system/bin/move_wifi_data.sh
|
||||||
|
class main
|
||||||
|
user wifi
|
||||||
|
group wifi
|
||||||
|
disabled
|
||||||
|
oneshot
|
||||||
|
|
||||||
|
service ptt_socket_app /system/vendor/bin/ptt_socket_app -d
|
||||||
|
class main
|
||||||
|
user wifi
|
||||||
|
group wifi system inet net_admin
|
||||||
|
capabilities NET_ADMIN
|
||||||
|
oneshot
|
||||||
|
|
||||||
|
service ptt_ffbm /system/vendor/bin/ptt_socket_app -f -d
|
||||||
|
user root
|
||||||
|
group root
|
||||||
|
disabled
|
||||||
|
oneshot
|
||||||
|
|
||||||
|
service wifi_ftmd /system/vendor/bin/wifi_ftmd
|
||||||
|
user system
|
||||||
|
group system inet net_admin
|
||||||
|
socket wififtmd_server dgram 0660 system system
|
||||||
|
disabled
|
||||||
|
oneshot
|
||||||
|
|
||||||
|
on property:vendor.wifi.ftmd.load=true
|
||||||
|
insmod /system/lib/modules/pronto/pronto_wlan.ko con_mode=5
|
||||||
|
|
||||||
service cnss-daemon /system/vendor/bin/cnss-daemon -n -l
|
service cnss-daemon /system/vendor/bin/cnss-daemon -n -l
|
||||||
class late_start
|
class late_start
|
||||||
user system
|
user system
|
||||||
|
@ -496,20 +606,33 @@ on property:sys.shutdown.requested=*
|
||||||
write /sys/kernel/shutdown_wlan/shutdown 1
|
write /sys/kernel/shutdown_wlan/shutdown 1
|
||||||
stop cnss-daemon
|
stop cnss-daemon
|
||||||
|
|
||||||
|
service ssgqmigd /vendor/bin/ssgqmigd
|
||||||
|
class late_start
|
||||||
|
user radio
|
||||||
|
group radio gps system
|
||||||
|
socket ssgqmig seqpacket 0660 radio inet
|
||||||
|
|
||||||
|
service mlid /vendor/bin/mlid
|
||||||
|
class late_start
|
||||||
|
user gps
|
||||||
|
group gps
|
||||||
|
socket mlid stream 0666 gps gps
|
||||||
|
|
||||||
service loc_launcher /system/vendor/bin/loc_launcher
|
service loc_launcher /system/vendor/bin/loc_launcher
|
||||||
class late_start
|
class late_start
|
||||||
user gps
|
user gps
|
||||||
group gps
|
group gps
|
||||||
|
|
||||||
#on property:crypto.driver.load=1
|
|
||||||
# insmod /system/lib/modules/qce.ko
|
|
||||||
# insmod /system/lib/modules/qcedev.ko
|
|
||||||
|
|
||||||
service qcom-sh /vendor/bin/init.qcom.sh
|
service qcom-sh /vendor/bin/init.qcom.sh
|
||||||
class late_start
|
class late_start
|
||||||
user root
|
user root
|
||||||
group root system radio
|
group root system radio
|
||||||
oneshot
|
oneshot
|
||||||
|
# Remove since is deprecated but throws AVC denial.
|
||||||
|
# service crashdata-sh /vendor/bin/init.qcom.crashdata.sh
|
||||||
|
# class late_start
|
||||||
|
# user root
|
||||||
|
# oneshot
|
||||||
|
|
||||||
service qcom-post-boot /vendor/bin/init.qcom.post_boot.sh
|
service qcom-post-boot /vendor/bin/init.qcom.post_boot.sh
|
||||||
class late_start
|
class late_start
|
||||||
|
@ -518,12 +641,37 @@ service qcom-post-boot /vendor/bin/init.qcom.post_boot.sh
|
||||||
disabled
|
disabled
|
||||||
oneshot
|
oneshot
|
||||||
|
|
||||||
|
service qti-testscripts /system/bin/sh /product/etc/init.qcom.testscripts.sh
|
||||||
|
class late_start
|
||||||
|
user root
|
||||||
|
disabled
|
||||||
|
oneshot
|
||||||
|
seclabel u:r:qti-testscripts:s0
|
||||||
|
|
||||||
|
service wifi-sdio-on /vendor/bin/init.qcom.sdio.sh
|
||||||
|
class late_start
|
||||||
|
group wifi inet
|
||||||
|
disabled
|
||||||
|
oneshot
|
||||||
|
|
||||||
|
service wifi-crda /vendor/bin/init.crda.sh
|
||||||
|
class late_start
|
||||||
|
user root
|
||||||
|
disabled
|
||||||
|
oneshot
|
||||||
|
|
||||||
on property:sys.boot_completed=1
|
on property:sys.boot_completed=1
|
||||||
start qcom-post-boot
|
start qcom-post-boot
|
||||||
|
start qti-testscripts
|
||||||
|
|
||||||
on property:ro.vendor.ril.mbn_copy_completed=1
|
on property:ro.vendor.ril.mbn_copy_completed=1
|
||||||
write /data/vendor/radio/copy_complete 1
|
write /data/vendor/radio/copy_complete 1
|
||||||
|
|
||||||
|
service qvop-daemon /vendor/bin/qvop-daemon
|
||||||
|
class late_start
|
||||||
|
user system
|
||||||
|
group system drmrpc
|
||||||
|
|
||||||
service vendor.atfwd /vendor/bin/ATFWD-daemon
|
service vendor.atfwd /vendor/bin/ATFWD-daemon
|
||||||
class late_start
|
class late_start
|
||||||
user system
|
user system
|
||||||
|
@ -533,6 +681,19 @@ service vendor.atfwd /vendor/bin/ATFWD-daemon
|
||||||
# # Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB)
|
# # Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB)
|
||||||
# write /proc/sys/net/ipv4/tcp_adv_win_scale 2
|
# write /proc/sys/net/ipv4/tcp_adv_win_scale 2
|
||||||
|
|
||||||
|
service hostapd_fst /vendor/bin/hw/hostapd -dd -g /data/vendor/wifi/hostapd/global
|
||||||
|
class main
|
||||||
|
capabilities NET_ADMIN NET_RAW
|
||||||
|
user wifi
|
||||||
|
group wifi
|
||||||
|
disabled
|
||||||
|
oneshot
|
||||||
|
|
||||||
|
service battery_monitor /system/bin/battery_monitor
|
||||||
|
user system
|
||||||
|
group system
|
||||||
|
disabled
|
||||||
|
|
||||||
service vendor.ril-daemon2 /vendor/bin/hw/rild -c 2
|
service vendor.ril-daemon2 /vendor/bin/hw/rild -c 2
|
||||||
class main
|
class main
|
||||||
user radio
|
user radio
|
||||||
|
@ -547,6 +708,12 @@ service vendor.ril-daemon3 /vendor/bin/hw/rild -c 3
|
||||||
group radio cache inet misc audio sdcard_r sdcard_rw diag oem_2901 log
|
group radio cache inet misc audio sdcard_r sdcard_rw diag oem_2901 log
|
||||||
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
|
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
|
||||||
|
|
||||||
|
service profiler_daemon /system/bin/profiler_daemon
|
||||||
|
class late_start
|
||||||
|
user root
|
||||||
|
group root
|
||||||
|
disabled
|
||||||
|
|
||||||
service vendor.charger /system/bin/chargeonlymode
|
service vendor.charger /system/bin/chargeonlymode
|
||||||
class charger
|
class charger
|
||||||
user system
|
user system
|
||||||
|
@ -554,18 +721,84 @@ service vendor.charger /system/bin/chargeonlymode
|
||||||
capabilities SYS_BOOT
|
capabilities SYS_BOOT
|
||||||
seclabel u:r:charger:s0
|
seclabel u:r:charger:s0
|
||||||
|
|
||||||
|
service vendor.ssr_diag /system/vendor/bin/ssr_diag
|
||||||
|
class late_start
|
||||||
|
user system
|
||||||
|
group system
|
||||||
|
disabled
|
||||||
|
|
||||||
|
service diag_mdlog_start /system/vendor/bin/diag_mdlog
|
||||||
|
class late_start
|
||||||
|
user shell
|
||||||
|
group system oem_2901 sdcard_rw sdcard_r media_rw
|
||||||
|
disabled
|
||||||
|
oneshot
|
||||||
|
|
||||||
|
service diag_mdlog_stop /system/vendor/bin/diag_mdlog -k
|
||||||
|
class late_start
|
||||||
|
user shell
|
||||||
|
group system oem_2901 sdcard_rw sdcard_r media_rw
|
||||||
|
disabled
|
||||||
|
oneshot
|
||||||
|
|
||||||
|
service qlogd /system/xbin/qlogd
|
||||||
|
socket qlogd stream 0662 system system
|
||||||
|
class main
|
||||||
|
disabled
|
||||||
|
on property:persist.sys.qlogd=1
|
||||||
|
start qlogd
|
||||||
|
on property:persist.sys.qlogd=0
|
||||||
|
stop qlogd
|
||||||
|
|
||||||
|
service vm_bms /vendor/bin/vm_bms
|
||||||
|
class main
|
||||||
|
user root
|
||||||
|
group system wakelock
|
||||||
|
|
||||||
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance.conf
|
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance.conf
|
||||||
class core
|
class core
|
||||||
user root
|
user root
|
||||||
group root
|
group root
|
||||||
disabled
|
disabled
|
||||||
|
|
||||||
|
service vendor.msm_irqbal_lb /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance_little_big.conf
|
||||||
|
class core
|
||||||
|
user root
|
||||||
|
group root
|
||||||
|
disabled
|
||||||
|
|
||||||
service vendor.msm_irqbl_sdm630 /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance_sdm630.conf
|
service vendor.msm_irqbl_sdm630 /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance_sdm630.conf
|
||||||
class core
|
class core
|
||||||
user root
|
user root
|
||||||
group root
|
group root
|
||||||
disabled
|
disabled
|
||||||
|
|
||||||
|
# service for USERDEBUG
|
||||||
|
service vendor.LKCore-dbg /vendor/bin/LKCore
|
||||||
|
class late_start
|
||||||
|
oneshot
|
||||||
|
disabled
|
||||||
|
user root
|
||||||
|
group root system log diag net_raw
|
||||||
|
|
||||||
|
# service for USER
|
||||||
|
service vendor.LKCore-rel /vendor/bin/LKCore
|
||||||
|
class late_start
|
||||||
|
oneshot
|
||||||
|
disabled
|
||||||
|
user system
|
||||||
|
group system log diag
|
||||||
|
|
||||||
|
service qseeproxydaemon /system/vendor/bin/qseeproxydaemon
|
||||||
|
class late_start
|
||||||
|
user system
|
||||||
|
group system
|
||||||
|
|
||||||
|
service esepmdaemon /system/vendor/bin/esepmdaemon
|
||||||
|
class core
|
||||||
|
user system
|
||||||
|
group nfc
|
||||||
|
|
||||||
on charger
|
on charger
|
||||||
setprop persist.sys.usb.config mass_storage
|
setprop persist.sys.usb.config mass_storage
|
||||||
|
|
||||||
|
@ -575,8 +808,19 @@ on charger
|
||||||
|
|
||||||
start qcom-post-boot
|
start qcom-post-boot
|
||||||
|
|
||||||
on property:vendor.display.lcd_density=*
|
#add poweroffhandler
|
||||||
setprop ro.sf.lcd_density ${vendor.display.lcd_density}
|
service poweroffhandler /system/vendor/bin/poweroffhandler
|
||||||
|
class core
|
||||||
|
user media
|
||||||
|
group graphics audio
|
||||||
|
disabled
|
||||||
|
oneshot
|
||||||
|
|
||||||
|
service time_daemon /vendor/bin/time_daemon
|
||||||
|
class main
|
||||||
|
user system
|
||||||
|
group system
|
||||||
|
capabilities SYS_TIME
|
||||||
|
|
||||||
# Set vendor-ril lib path based on Meta version
|
# Set vendor-ril lib path based on Meta version
|
||||||
on property:vendor.rild.libpath=*
|
on property:vendor.rild.libpath=*
|
||||||
|
@ -591,6 +835,16 @@ service vendor.power_off_alarm /vendor/bin/power_off_alarm
|
||||||
disabled
|
disabled
|
||||||
oneshot
|
oneshot
|
||||||
|
|
||||||
|
service chre /vendor/bin/chre
|
||||||
|
class late_start
|
||||||
|
user system
|
||||||
|
group system
|
||||||
|
socket chre seqpacket 0660 root system
|
||||||
|
shutdown critical
|
||||||
|
|
||||||
|
on property:vendor.chre.enabled=0
|
||||||
|
stop chre
|
||||||
|
|
||||||
service bugreport /system/bin/dumpstate -d -p -B -z -o /data/user_de/0/com.android.shell/files/bugreports/bugreport
|
service bugreport /system/bin/dumpstate -d -p -B -z -o /data/user_de/0/com.android.shell/files/bugreports/bugreport
|
||||||
class main
|
class main
|
||||||
disabled
|
disabled
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
|
# Copyright (c) 2017-2018,2020 The Linux Foundation. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -40,10 +40,12 @@ on init
|
||||||
write /config/usb_gadget/g1/os_desc/use 1
|
write /config/usb_gadget/g1/os_desc/use 1
|
||||||
write /config/usb_gadget/g1/os_desc/b_vendor_code 0x1
|
write /config/usb_gadget/g1/os_desc/b_vendor_code 0x1
|
||||||
write /config/usb_gadget/g1/os_desc/qw_sign "MSFT100"
|
write /config/usb_gadget/g1/os_desc/qw_sign "MSFT100"
|
||||||
|
write /sys/class/backlight/panel0-backlight/brightness 200
|
||||||
setprop sys.usb.configfs 1
|
setprop sys.usb.configfs 1
|
||||||
|
|
||||||
on property:ro.boot.usbcontroller=*
|
on property:ro.boot.usbcontroller=*
|
||||||
setprop sys.usb.controller ${ro.boot.usbcontroller}
|
setprop sys.usb.controller ${ro.boot.usbcontroller}
|
||||||
|
write /sys/class/udc/${ro.boot.usbcontroller}/device/../mode peripheral
|
||||||
|
|
||||||
on property:sys.usb.ffs.ready=1
|
on property:sys.usb.ffs.ready=1
|
||||||
mkdir /config/usb_gadget/g1/configs/b.1 0777 shell shell
|
mkdir /config/usb_gadget/g1/configs/b.1 0777 shell shell
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
|
# Copyright (c) 2013-2018, 2020, 2021 The Linux Foundation. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are
|
# modification, are permitted provided that the following conditions are
|
||||||
|
@ -166,10 +166,11 @@ on init
|
||||||
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
|
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
|
||||||
|
|
||||||
on post-fs-data
|
on post-fs-data
|
||||||
mkdir /data/tombstones/modem 0771 system system
|
mkdir /data/vendor/tombstones/modem 0771 system system
|
||||||
mkdir /data/tombstones/lpass 0771 system system
|
mkdir /data/vendor/tombstones/lpass 0771 system system
|
||||||
mkdir /data/tombstones/wcnss 0771 system system
|
mkdir /data/vendor/tombstones/wcnss 0771 system system
|
||||||
mkdir /data/tombstones/dsps 0771 system system
|
mkdir /data/vendor/tombstones/dsps 0771 system system
|
||||||
|
mkdir /data/vendor/misc/seemp 0700 system system
|
||||||
|
|
||||||
on early-boot
|
on early-boot
|
||||||
write /dev/ipa 1
|
write /dev/ipa 1
|
||||||
|
@ -190,8 +191,8 @@ on boot
|
||||||
write /dev/cpuset/top-app/cpus 0-7
|
write /dev/cpuset/top-app/cpus 0-7
|
||||||
write /dev/cpuset/foreground/cpus 0-7
|
write /dev/cpuset/foreground/cpus 0-7
|
||||||
write /dev/cpuset/foreground/boost/cpus 0-7
|
write /dev/cpuset/foreground/boost/cpus 0-7
|
||||||
write /dev/cpuset/background/cpus 0-1
|
write /dev/cpuset/background/cpus 0-7
|
||||||
write /dev/cpuset/system-background/cpus 0-2
|
write /dev/cpuset/system-background/cpus 0-7
|
||||||
####Regionalization config and prop files####
|
####Regionalization config and prop files####
|
||||||
chmod 0644 /persist/speccfg/spec
|
chmod 0644 /persist/speccfg/spec
|
||||||
chmod 0644 /persist/speccfg/devicetype
|
chmod 0644 /persist/speccfg/devicetype
|
||||||
|
@ -231,6 +232,7 @@ on boot && property:persist.vendor.usb.controller.default=*
|
||||||
|
|
||||||
on property:vendor.usb.controller=*
|
on property:vendor.usb.controller=*
|
||||||
setprop sys.usb.controller ${vendor.usb.controller}
|
setprop sys.usb.controller ${vendor.usb.controller}
|
||||||
|
write /sys/module/usb_f_qcrndis/parameters/rndis_dl_max_xfer_size 15916
|
||||||
|
|
||||||
# Touchpanel
|
# Touchpanel
|
||||||
chown system system /sys/touchpanel/double_tap
|
chown system system /sys/touchpanel/double_tap
|
||||||
|
@ -259,6 +261,12 @@ on property:init.svc.vendor.per_mgr=running
|
||||||
on property:sys.shutdown.requested=*
|
on property:sys.shutdown.requested=*
|
||||||
stop vendor.per_proxy
|
stop vendor.per_proxy
|
||||||
|
|
||||||
|
#start camera server as daemon
|
||||||
|
#service qcamerasvr /system/bin/mm-qcamera-daemon
|
||||||
|
# class late_start
|
||||||
|
# user camera
|
||||||
|
# group camera system inet input graphics
|
||||||
|
|
||||||
## import cne init file
|
## import cne init file
|
||||||
#on post-fs
|
#on post-fs
|
||||||
# export LD_PRELOAD /vendor/lib/libNimsWrap.so
|
# export LD_PRELOAD /vendor/lib/libNimsWrap.so
|
||||||
|
@ -270,11 +278,89 @@ on property:sys.shutdown.requested=*
|
||||||
#on property:persist.usb.chgdisabled=0
|
#on property:persist.usb.chgdisabled=0
|
||||||
# write /sys/class/power_supply/battery/charging_enabled 1
|
# write /sys/class/power_supply/battery/charging_enabled 1
|
||||||
#
|
#
|
||||||
|
#service qrngd /system/bin/qrngd -f
|
||||||
|
# class main
|
||||||
|
# user root
|
||||||
|
# group root
|
||||||
|
#
|
||||||
|
#service qrngp /system/bin/qrngp
|
||||||
|
# class main
|
||||||
|
# user root
|
||||||
|
# group root
|
||||||
|
# oneshot
|
||||||
|
# disabled
|
||||||
|
#
|
||||||
|
#on property:sys.boot_completed=1
|
||||||
|
# start qrngp
|
||||||
|
#
|
||||||
service vendor.qseecomd /vendor/bin/qseecomd
|
service vendor.qseecomd /vendor/bin/qseecomd
|
||||||
class core
|
class core
|
||||||
user root
|
user root
|
||||||
group root
|
group root
|
||||||
|
|
||||||
|
#service qosmgrd /system/bin/qosmgr /system/etc/qosmgr_rules.xml
|
||||||
|
# user system
|
||||||
|
# group system
|
||||||
|
# disabled
|
||||||
|
#
|
||||||
|
|
||||||
|
#service security-check1 /sbin/security_boot_check system
|
||||||
|
# class core
|
||||||
|
# oneshot
|
||||||
|
#
|
||||||
|
#service security-check2 /sbin/security_boot_check recovery
|
||||||
|
# class core
|
||||||
|
# oneshot
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
#service usf_tester /system/vendor/bin/usf_tester
|
||||||
|
# user system
|
||||||
|
# group system inet
|
||||||
|
# disabled
|
||||||
|
#
|
||||||
|
#service usf_epos /system/vendor/bin/usf_epos
|
||||||
|
# user system
|
||||||
|
# group system inet
|
||||||
|
# disabled
|
||||||
|
#
|
||||||
|
#service usf_gesture /system/vendor/bin/usf_gesture
|
||||||
|
# user system
|
||||||
|
# group system inet
|
||||||
|
# disabled
|
||||||
|
#
|
||||||
|
|
||||||
|
#service usf_sync_gesture /system/vendor/bin/usf_sync_gesture
|
||||||
|
# user system
|
||||||
|
# group system inet
|
||||||
|
# disabled
|
||||||
|
#
|
||||||
|
|
||||||
|
#service usf_p2p /system/vendor/bin/usf_p2p
|
||||||
|
# user system
|
||||||
|
# group system inet
|
||||||
|
# disabled
|
||||||
|
#
|
||||||
|
#service usf_hovering /system/vendor/bin/usf_hovering
|
||||||
|
# user system
|
||||||
|
# group system inet
|
||||||
|
# disabled
|
||||||
|
#
|
||||||
|
#service usf_proximity /system/vendor/bin/usf_proximity
|
||||||
|
# user system
|
||||||
|
# group system inet
|
||||||
|
# disabled
|
||||||
|
#
|
||||||
|
#service usf-post-boot /system/vendor/bin/sh /system/etc/usf_post_boot.sh
|
||||||
|
# class late_start
|
||||||
|
# user root
|
||||||
|
# disabled
|
||||||
|
# oneshot
|
||||||
|
#
|
||||||
|
#on property:init.svc.bootanim=stopped
|
||||||
|
# start usf-post-boot
|
||||||
|
#
|
||||||
|
#
|
||||||
#on boot
|
#on boot
|
||||||
# insmod /system/lib/modules/adsprpc.ko
|
# insmod /system/lib/modules/adsprpc.ko
|
||||||
# insmod /system/lib/modules/mhi.ko
|
# insmod /system/lib/modules/mhi.ko
|
||||||
|
@ -288,10 +374,94 @@ service vendor.qseecomd /vendor/bin/qseecomd
|
||||||
# chown system drmrpc /sys/devices/f9966000.i2c/i2c-1/1-0020/secure_touch_enable
|
# chown system drmrpc /sys/devices/f9966000.i2c/i2c-1/1-0020/secure_touch_enable
|
||||||
# chown system drmrpc /sys/devices/f9966000.i2c/i2c-1/1-0020/secure_touch
|
# chown system drmrpc /sys/devices/f9966000.i2c/i2c-1/1-0020/secure_touch
|
||||||
#
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
service vendor-sensor-sh /vendor/bin/init.qcom.sensors.sh
|
||||||
|
class core
|
||||||
|
user root
|
||||||
|
oneshot
|
||||||
|
#
|
||||||
|
#service mdm_helper /system/bin/mdm_helper
|
||||||
|
# class core
|
||||||
|
# onrestart setprop ro.service.mdm_helper_restarted "true"
|
||||||
|
# disabled
|
||||||
|
#
|
||||||
|
#service mdm_helper_proxy /system/bin/mdm_helper_proxy
|
||||||
|
# class core
|
||||||
|
# disabled
|
||||||
|
#
|
||||||
|
#service mdm_launcher /system/bin/sh /init.mdm.sh
|
||||||
|
# class main
|
||||||
|
# oneshot
|
||||||
|
#
|
||||||
|
#service qcamerasvr /system/bin/mm-qcamera-daemon
|
||||||
|
# class late_start
|
||||||
|
# user camera
|
||||||
|
# group camera system inet input graphics
|
||||||
|
#
|
||||||
|
# Stop mdm_helper_proxy in case of shutdown
|
||||||
|
#on property:sys.shutdown.requested=*
|
||||||
|
# stop mdm_helper_proxy
|
||||||
|
#
|
||||||
|
# Stop mdm_helper_proxy on APQ target
|
||||||
|
#on property:ro.radio.noril=yes
|
||||||
|
# stop mdm_helper_proxy
|
||||||
|
#
|
||||||
|
#on property:persist.airplane.mode.pwr.svg=enabled
|
||||||
|
# setprop ro.mdm_helper_proxy_req false
|
||||||
|
#
|
||||||
|
#on property:init.svc.ril-daemon=running
|
||||||
|
# setprop ro.mdm_helper_proxy_req true
|
||||||
|
#
|
||||||
|
## Start mdm_helper_proxy
|
||||||
|
#on property:ro.mdm_helper_proxy_req=true
|
||||||
|
# start mdm_helper_proxy
|
||||||
|
#
|
||||||
|
## QCA1530 SoC core detect
|
||||||
|
#service gnss-detect /system/vendor/bin/gnss.qca1530.sh detect
|
||||||
|
# class core
|
||||||
|
# oneshot
|
||||||
|
|
||||||
|
service mdtpd /system/vendor/bin/mdtpd
|
||||||
|
class late_start
|
||||||
|
user root
|
||||||
|
group system radio drmrpc
|
||||||
|
|
||||||
service vendor.pd_mapper /system/vendor/bin/pd-mapper
|
service vendor.pd_mapper /system/vendor/bin/pd-mapper
|
||||||
class core
|
class core
|
||||||
|
|
||||||
|
#
|
||||||
|
## QCA1530 SoC late_start group trigger
|
||||||
|
#service gnss-init /system/vendor/bin/gnss.qca1530.sh init
|
||||||
|
# class late_start
|
||||||
|
# oneshot
|
||||||
|
#
|
||||||
|
## QCA1530 SoC Service Daemon
|
||||||
|
#service gnss-svcd /system/vendor/bin/gnss.qca1530.sh start
|
||||||
|
# class late_start
|
||||||
|
# user root
|
||||||
|
# group gps system qcom_diag diag log inet net_raw
|
||||||
|
# disabled
|
||||||
|
|
||||||
|
on property:vold.decrypt=trigger_restart_framework
|
||||||
|
start cnss_diag
|
||||||
|
|
||||||
|
service cnss_diag /system/vendor/bin/cnss_diag -q -f -t HELIUM
|
||||||
|
class main
|
||||||
|
user system
|
||||||
|
group system wifi inet sdcard_rw media_rw diag
|
||||||
|
oneshot
|
||||||
|
|
||||||
|
service dcvs-sh /vendor/bin/init.qti.dcvs.sh
|
||||||
|
class late_start
|
||||||
|
user root
|
||||||
|
group root system
|
||||||
|
disabled
|
||||||
|
oneshot
|
||||||
|
|
||||||
|
on property:vendor.dcvs.prop=1
|
||||||
|
start dcvs-sh
|
||||||
|
|
||||||
service ppd /system/vendor/bin/mm-pp-dpps
|
service ppd /system/vendor/bin/mm-pp-dpps
|
||||||
class late_start
|
class late_start
|
||||||
user system
|
user system
|
||||||
|
@ -324,10 +494,36 @@ on charger
|
||||||
setprop sys.usb.configfs 1
|
setprop sys.usb.configfs 1
|
||||||
start vendor.power_off_alarm
|
start vendor.power_off_alarm
|
||||||
|
|
||||||
service vendor.hvdcp_opti /system/vendor/bin/hvdcp_opti
|
service vendor.hvdcp_opti /vendor/bin/hvdcp_opti
|
||||||
class main
|
class main
|
||||||
user root
|
user system
|
||||||
group system wakelock
|
group system wakelock
|
||||||
|
capabilities BLOCK_SUSPEND WAKE_ALARM
|
||||||
|
|
||||||
|
#
|
||||||
|
#service nqs /system/bin/nqs
|
||||||
|
# class late_start
|
||||||
|
# socket nqs_qsb_comm stream 660 system system
|
||||||
|
# user system
|
||||||
|
# group drmrpc
|
||||||
|
#
|
||||||
|
#service adsprpcd /system/vendor/bin/adsprpcd
|
||||||
|
# class main
|
||||||
|
# user media
|
||||||
|
# group media
|
||||||
|
#
|
||||||
|
##Start picture quality tuning service
|
||||||
|
#service vqttoolservice /system/bin/vqttoolservice
|
||||||
|
# class late_start
|
||||||
|
# socket vqtss stream 0660 system system
|
||||||
|
# user system
|
||||||
|
# group system
|
||||||
|
|
||||||
|
service seempd /system/bin/seempd
|
||||||
|
class late_start
|
||||||
|
user system
|
||||||
|
group system sdcard_rw
|
||||||
|
socket seempdw dgram 0666 system system
|
||||||
|
|
||||||
on property:sys.boot_completed=1
|
on property:sys.boot_completed=1
|
||||||
# Enable EAS
|
# Enable EAS
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2012-2015, 2017-2019, The Linux Foundation. All rights reserved.
|
# Copyright (c) 2012-2015, 2017-2020, The Linux Foundation. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -59,16 +59,21 @@ firmware_directories /vendor/firmware_mnt/image/
|
||||||
/dev/ipa_adpl 0660 system oem_2905
|
/dev/ipa_adpl 0660 system oem_2905
|
||||||
/dev/synx_device 0660 root camera
|
/dev/synx_device 0660 root camera
|
||||||
/dev/hab 0666 system system
|
/dev/hab 0666 system system
|
||||||
|
/dev/hgsl 0666 system system
|
||||||
|
/dev/iio:device* 0664 system system
|
||||||
|
|
||||||
# permissions for CSVT
|
#permissions for UFS RPMB BSG device node
|
||||||
|
/dev/0:0:0:49476 0600 system system
|
||||||
|
|
||||||
|
#permissions for CSVT
|
||||||
/dev/smd11 0660 radio radio
|
/dev/smd11 0660 radio radio
|
||||||
|
|
||||||
# permsissions for BT/FM
|
#permsissions for BT/FM
|
||||||
/dev/smd2 0660 bluetooth bluetooth
|
/dev/smd2 0660 bluetooth bluetooth
|
||||||
/dev/smd3 0660 bluetooth bluetooth
|
/dev/smd3 0660 bluetooth bluetooth
|
||||||
/dev/btpower 0660 bluetooth system
|
/dev/btpower 0660 bluetooth system
|
||||||
|
|
||||||
# permissions for pta
|
#permissions for pta
|
||||||
/dev/pta 0660 system system
|
/dev/pta 0660 system system
|
||||||
|
|
||||||
/dev/radio0 0640 system system
|
/dev/radio0 0640 system system
|
||||||
|
@ -145,9 +150,8 @@ firmware_directories /vendor/firmware_mnt/image/
|
||||||
/dev/sec_nvm_* 0660 system system
|
/dev/sec_nvm_* 0660 system system
|
||||||
/dev/cryptoapp 0660 system system
|
/dev/cryptoapp 0660 system system
|
||||||
/dev/spdaemon_ssr 0660 system system
|
/dev/spdaemon_ssr 0660 system system
|
||||||
/dev/iuicc 0660 system system
|
/dev/spu_hal_ssr 0660 system system
|
||||||
/dev/iuicc0 0660 system system
|
/dev/iuicc* 0660 system system
|
||||||
/dev/iuicc1 0660 system system
|
|
||||||
/dev/gemini0 0660 system camera
|
/dev/gemini0 0660 system camera
|
||||||
/dev/jpeg0 0660 system camera
|
/dev/jpeg0 0660 system camera
|
||||||
/dev/jpeg1 0660 system camera
|
/dev/jpeg1 0660 system camera
|
||||||
|
@ -175,18 +179,42 @@ firmware_directories /vendor/firmware_mnt/image/
|
||||||
/dev/qg 0660 system system
|
/dev/qg 0660 system system
|
||||||
/dev/qg_battery 0660 system system
|
/dev/qg_battery 0660 system system
|
||||||
|
|
||||||
# qvr
|
#qvr
|
||||||
/dev/qvr_external_sensor_ioctl 0660 system system
|
/dev/qvr_external_sensor_ioctl 0660 system system
|
||||||
/sys/kernel/qvr_external_sensor/fd 0660 system system
|
/sys/kernel/qvr_external_sensor/fd 0660 system system
|
||||||
|
/dev/bus/usb/001/002 0660 system system
|
||||||
|
/dev/bus/usb/001/003 0660 system system
|
||||||
|
/dev/bus/usb/001/004 0660 system system
|
||||||
|
/dev/bus/usb/001/005 0660 system system
|
||||||
|
/dev/bus/usb/002/002 0660 system system
|
||||||
|
/dev/bus/usb/002/003 0660 system system
|
||||||
|
/dev/bus/usb/002/004 0660 system system
|
||||||
|
/dev/bus/usb/002/005 0660 system system
|
||||||
|
/dev/bus/usb/003/002 0660 system system
|
||||||
|
/dev/bus/usb/003/003 0660 system system
|
||||||
|
/dev/bus/usb/003/004 0660 system system
|
||||||
|
/dev/bus/usb/003/005 0660 system system
|
||||||
|
/dev/hidraw0 0660 system system
|
||||||
|
/dev/hidraw1 0660 system system
|
||||||
|
/dev/hidraw2 0660 system system
|
||||||
|
/dev/hidraw3 0660 system system
|
||||||
|
/dev/hidraw4 0660 system system
|
||||||
|
/dev/hidraw5 0660 system system
|
||||||
|
/dev/hidraw6 0660 system system
|
||||||
|
/dev/hidraw7 0660 system system
|
||||||
|
/dev/hidraw8 0660 system system
|
||||||
|
/dev/hidraw9 0660 system system
|
||||||
|
|
||||||
# wlan
|
# wlan
|
||||||
/dev/wcnss_wlan 0660 system system
|
/dev/wcnss_wlan 0660 system system
|
||||||
/dev/wcnss_ctrl 0660 system system
|
/dev/wcnss_ctrl 0660 system system
|
||||||
/sys/devices/platform/soc/a000000.qcom,wcnss-wlan/net/wlan0/queues/rx-* rps_cpus 0660 system system
|
/sys/devices/platform/soc/a000000.qcom,wcnss-wlan/net/wlan0/queues/rx-* rps_cpus 0660 system system
|
||||||
/sys/devices/platform/soc/a000000.qcom,wcnss-wlan/net/p2p0/queues/rx-* rps_cpus 0660 system system
|
/sys/devices/platform/soc/a000000.qcom,wcnss-wlan/net/p2p0/queues/rx-* rps_cpus 0660 system system
|
||||||
/sys/devices/platform/soc/18800000.qcom,icnss/net/wlan*/queues/rx-* rps_cpus 0660 system system
|
/sys/devices/platform/soc/*.qcom,icnss/net/wlan*/queues/rx-* rps_cpus 0660 system system
|
||||||
/sys/devices/platform/soc/1c00000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan*/queues/rx-* rps_cpus 0660 system system
|
/sys/devices/platform/soc/1c00000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan*/queues/rx-* rps_cpus 0660 system system
|
||||||
|
/sys/devices/platform/soc/17a10040.qcom,wcn6750/net/wlan*/queues/rx-* rps_cpus 0660 system system
|
||||||
/dev/spidev0.0 0660 system audio
|
/dev/spidev0.0 0660 system audio
|
||||||
|
/dev/i2c-7 0660 system audio
|
||||||
/dev/msm_camera/* 0660 system camera
|
/dev/msm_camera/* 0660 system camera
|
||||||
/dev/gemini/ 0660 system camera
|
/dev/gemini/ 0660 system camera
|
||||||
/dev/mercury0 0660 system camera
|
/dev/mercury0 0660 system camera
|
||||||
|
@ -195,9 +223,10 @@ firmware_directories /vendor/firmware_mnt/image/
|
||||||
/dev/msm_vidc_dec_sec 0660 system audio
|
/dev/msm_vidc_dec_sec 0660 system audio
|
||||||
/dev/msm_vidc_enc 0660 system audio
|
/dev/msm_vidc_enc 0660 system audio
|
||||||
/dev/msm_rotator 0660 system system
|
/dev/msm_rotator 0660 system system
|
||||||
|
/dev/hw_random 0600 root root
|
||||||
/dev/sdsprpc-smd 0660 system system
|
/dev/sdsprpc-smd 0660 system system
|
||||||
|
|
||||||
# permissions for audio
|
#permissions for audio
|
||||||
/dev/wcd_dsp0_control 0660 system audio
|
/dev/wcd_dsp0_control 0660 system audio
|
||||||
/dev/wcd-dsp-glink 0660 system audio
|
/dev/wcd-dsp-glink 0660 system audio
|
||||||
/dev/audio_slimslave 0660 system audio
|
/dev/audio_slimslave 0660 system audio
|
||||||
|
@ -239,7 +268,8 @@ firmware_directories /vendor/firmware_mnt/image/
|
||||||
/dev/avtimer 0660 system audio
|
/dev/avtimer 0660 system audio
|
||||||
/dev/spidev2.0 0660 system audio
|
/dev/spidev2.0 0660 system audio
|
||||||
/dev/spidev7.1 0660 system system
|
/dev/spidev7.1 0660 system system
|
||||||
/dev/aud_pasthru_adsp 0660 system audio
|
/dev/spidev22.0 0660 system audio
|
||||||
|
|
||||||
# DVB devices
|
# DVB devices
|
||||||
/dev/dvb/adapter0/demux* 0440 media media
|
/dev/dvb/adapter0/demux* 0440 media media
|
||||||
/dev/dvb/adapter0/dvr* 0660 media media
|
/dev/dvb/adapter0/dvr* 0660 media media
|
||||||
|
@ -348,12 +378,16 @@ firmware_directories /vendor/firmware_mnt/image/
|
||||||
/sys/class/leds/red delay_on 0640 system system
|
/sys/class/leds/red delay_on 0640 system system
|
||||||
/sys/class/leds/red delay_off 0640 system system
|
/sys/class/leds/red delay_off 0640 system system
|
||||||
/sys/class/leds/red breath 0640 system system
|
/sys/class/leds/red breath 0640 system system
|
||||||
|
/sys/class/leds/red trigger 0640 system system
|
||||||
|
/sys/class/leds/red max_brightness 0640 system system
|
||||||
/sys/class/leds/green delay_on 0640 system system
|
/sys/class/leds/green delay_on 0640 system system
|
||||||
/sys/class/leds/green delay_off 0640 system system
|
/sys/class/leds/green delay_off 0640 system system
|
||||||
/sys/class/leds/green breath 0640 system system
|
/sys/class/leds/green breath 0640 system system
|
||||||
|
/sys/class/leds/green trigger 0640 system system
|
||||||
/sys/class/leds/blue delay_on 0640 system system
|
/sys/class/leds/blue delay_on 0640 system system
|
||||||
/sys/class/leds/blue delay_off 0640 system system
|
/sys/class/leds/blue delay_off 0640 system system
|
||||||
/sys/class/leds/blue breath 0640 system system
|
/sys/class/leds/blue breath 0640 system system
|
||||||
|
/sys/class/leds/blue trigger 0640 system system
|
||||||
|
|
||||||
# NPU device
|
# NPU device
|
||||||
/dev/msm_npu 0644 system system
|
/dev/msm_npu 0644 system system
|
||||||
|
@ -363,7 +397,7 @@ firmware_directories /vendor/firmware_mnt/image/
|
||||||
/sys/class/dual_role_usb/* power_role 0660 system system
|
/sys/class/dual_role_usb/* power_role 0660 system system
|
||||||
/sys/class/dual_role_usb/* mode 0660 system system
|
/sys/class/dual_role_usb/* mode 0660 system system
|
||||||
|
|
||||||
# Memory Offline
|
#Memory Offline
|
||||||
/sys/devices/system/memory/memory* state 0660 system system
|
/sys/devices/system/memory/memory* state 0660 system system
|
||||||
|
|
||||||
/sys/devices/virtual/hdcp/msm_hdcp min_level_change 0664 system graphics
|
/sys/devices/virtual/hdcp/msm_hdcp min_level_change 0664 system graphics
|
||||||
|
@ -397,3 +431,67 @@ firmware_directories /vendor/firmware_mnt/image/
|
||||||
/sys/class/graphics/fb0 modes 0664 system graphics
|
/sys/class/graphics/fb0 modes 0664 system graphics
|
||||||
/sys/class/graphics/fb0 mode 0664 system graphics
|
/sys/class/graphics/fb0 mode 0664 system graphics
|
||||||
/sys/class/graphics/fb0 msm_cmd_autorefresh_en 0664 system graphics
|
/sys/class/graphics/fb0 msm_cmd_autorefresh_en 0664 system graphics
|
||||||
|
*/
|
||||||
|
|
||||||
|
/sys/devices/platform/soc/ae00000.qcom,mdss_mdp power/control 0664 system graphics
|
||||||
|
|
||||||
|
#asm330 sensor
|
||||||
|
#common sensors files
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* buffer/enable 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* buffer/length 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* buffer/watermark 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* discharded_samples 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* current_timestamp_clock 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* hwfifo_flush 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* hwfifo_watermark 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* hwfifo_watermark_max 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* mount_matrix 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* name 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* sampling_frequency 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* sampling_frequency_available 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_timestamp_en 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_timestamp_index 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_timestamp_type 0664 system system
|
||||||
|
|
||||||
|
# standard iio accel attributes
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_scale_available 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_x_raw 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_x_scale 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_y_raw 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_y_scale 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_z_raw 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_accel_z_scale 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_x_en 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_x_index 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_x_type 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_y_en 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_y_index 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_y_type 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_z_en 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_z_index 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_accel_z_type 0664 system system
|
||||||
|
|
||||||
|
# standard iio gyro attributes
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_scale_available 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_x_raw 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_x_scale 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_y_raw 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_y_scale 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_z_raw 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_anglvel_z_scale 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_x_en 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_x_index 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_x_type 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_y_en 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_y_index 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_y_type 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_z_en 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_z_index 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* scan_elements/in_anglvel_z_type 0664 system system
|
||||||
|
|
||||||
|
|
||||||
|
# standard iio temp attributes
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_temp_offset 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_temp_raw 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_temp_scale 0664 system system
|
||||||
|
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device* in_temp_scale_available 0664 system system
|
||||||
|
|
|
@ -287,6 +287,8 @@ PRODUCT_PACKAGES += \
|
||||||
init.msm.usb.configfs.rc \
|
init.msm.usb.configfs.rc \
|
||||||
init.qcom.post_boot.sh \
|
init.qcom.post_boot.sh \
|
||||||
init.qcom.early_boot.sh \
|
init.qcom.early_boot.sh \
|
||||||
|
init.qcom.sensors.sh \
|
||||||
|
init.qti.dcvs.sh \
|
||||||
init.qcom.rc \
|
init.qcom.rc \
|
||||||
init.qcom.sh \
|
init.qcom.sh \
|
||||||
init.qcom.usb.rc \
|
init.qcom.usb.rc \
|
||||||
|
|
Loading…
Reference in a new issue