knoir: Generate blobs tree:

Signed-off-by: HeroBuxx <me@herobuxx.me>
This commit is contained in:
HeroBuxx
2026-03-12 23:21:10 +00:00
commit 708cdb8c40
696 changed files with 30979 additions and 0 deletions

BIN
proprietary/vendor/bin/adpl vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/adsprpcd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/cdsprpcd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/cnd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/cnss-daemon vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/diag-router vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/dpmQmiMgr vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/dspservice vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/hvdcp_opti vendored Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/bin/hw/qcrilNrd vendored Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/bin/ims_rtp_daemon vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/imsdaemon vendored Executable file

Binary file not shown.

View File

@@ -0,0 +1,49 @@
#=============================================================================
# Copyright (c) 2020-2021 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Copyright (c) 2012-2013, 2016-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.
#=============================================================================
if [ -f /sys/devices/soc0/chip_family ]; then
chipfamily=`cat /sys/devices/soc0/chip_family`
fi
case "$chipfamily" in
"0x73")
/vendor/bin/sh /vendor/bin/init.kernel.post_boot-holi.sh
;;
"0x7c")
/vendor/bin/sh /vendor/bin/init.kernel.post_boot-blair.sh
;;
*)
echo "***WARNING***: Invalid chip family\n\t No postboot settings applied!!\n"
;;
esac

33
proprietary/vendor/bin/init.qcom.sensors.sh vendored Executable file
View File

@@ -0,0 +1,33 @@
#!/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 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
#
cp /vendor/etc/sensors/scripts/* /data/vendor/sensors/scripts/
chmod a+rw /data/vendor/sensors/scripts/*

48
proprietary/vendor/bin/init.qti.chg_policy.sh vendored Executable file
View File

@@ -0,0 +1,48 @@
#! /vendor/bin/sh
#
# Copyright (c) 2019-2021 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Copyright (c) 2019 The Linux Foundation. All rights reserved.
#
export PATH=/vendor/bin
soc_id=`getprop ro.vendor.qti.soc_id`
if [ "$soc_id" -eq 415 ] || [ "$soc_id" -eq 439 ] || [ "$soc_id" -eq 450 ] || [ "$soc_id" -eq 475 ] || [ "$soc_id" -eq 497 ] || [ "$soc_id" -eq 498 ] || [ "$soc_id" -eq 499 ] || [ "$soc_id" -eq 515 ]; then
setprop persist.vendor.hvdcp_opti.start 2
exit 0
fi
if [ "$soc_id" -eq 441 ] || [ "$soc_id" -eq 471 ]; then
#Scuba does not support usb-pd or charge pumps
find /sys/class/power_supply/battery/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/power_supply/bms/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/power_supply/main/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/power_supply/usb/ -type f -maxdepth 1 | xargs chown system.system
else
find /sys/class/power_supply/battery/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/power_supply/bms/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/power_supply/main/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/power_supply/usb/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/power_supply/charge_pump_master/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/power_supply/pc_port/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/power_supply/dc/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/power_supply/parallel/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/usbpd/usbpd0/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/qc-vdm/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/charge_pump/ -type f -maxdepth 1 | xargs chown system.system
find /sys/class/qcom-battery/ -type f -maxdepth 1 | xargs chown system.system
for i in 0 1 2 3 4 5 6 7 8 9
do
devname=`cat /sys/bus/iio/devices/iio:device$i/name`
if [[ "$devname" == *smb* ]] || [[ "$devname" == *qg* ]] || [[ "$devname" == *div2_cp* ]] || [[ "$devname" == *div2-cp* ]]; then
find /sys/bus/iio/devices/iio:device$i/ -type f -maxdepth 1 | xargs chown system.system
fi
done
fi
setprop persist.vendor.hvdcp_opti.start 1

56
proprietary/vendor/bin/init.qti.kernel.sh vendored Executable file
View File

@@ -0,0 +1,56 @@
#! /vendor/bin/sh
#=============================================================================
# Copyright (c) 2019-2020 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.
#=============================================================================
verify_pasr_support()
{
ddr_type=`od -An -tx /proc/device-tree/memory/ddr_device_type`
ddr_type5="08"
if [ -d /sys/kernel/mem-offline ]; then
#only LPDDR5 supports PAAR
if [ ${ddr_type:4:2} != $ddr_type5 ]; then
setprop vendor.pasr.activemode.enabled false
fi
setprop vendor.pasr.enabled true
fi
}
start_msm_irqbalance()
{
if [ -f /vendor/bin/msm_irqbalance ]; then
start vendor.msm_irqbalance
fi
}
start_msm_irqbalance
verify_pasr_support

126
proprietary/vendor/bin/init.qti.media.sh vendored Executable file
View File

@@ -0,0 +1,126 @@
#! /vendor/bin/sh
#==============================================================================
# init.qti.media.sh
#
# Copyright (c) 2020-2023, 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.
#===============================================================================
if [ -f /sys/devices/soc0/soc_id ]; then
soc_hwid=`cat /sys/devices/soc0/soc_id` 2> /dev/null
else
soc_hwid=`cat /sys/devices/system/soc/soc0/id` 2> /dev/null
fi
target_qssi=`getprop vendor.media.target.qssi`
target=`getprop ro.board.platform`
build_codename=`getprop vendor.media.system.build_codename`
product=`getprop ro.build.product`
case "$target" in
"lahaina")
case "$soc_hwid" in
475|515)
setprop vendor.media.target_variant "_yupik_v0"
if [ $build_codename -le "13" ]; then
setprop vendor.netflix.bsp_rev "Q7325-SPY-33758-1"
fi
sku_ver=`cat /sys/devices/platform/soc/aa00000.qcom,vidc/sku_version` 2> /dev/null
if [ $sku_ver -eq 1 ]; then
setprop vendor.media.target_variant "_yupik_v1"
fi
;;
450)
setprop vendor.media.target_variant "_shima_v3"
if [ $build_codename -le "13" ]; then
setprop vendor.netflix.bsp_rev "Q875-32774-1"
fi
sku_ver=`cat /sys/devices/platform/soc/aa00000.qcom,vidc/sku_version` 2> /dev/null
if [ $sku_ver -eq 1 ]; then
setprop vendor.media.target_variant "_shima_v1"
elif [ $sku_ver -eq 2 ]; then
setprop vendor.media.target_variant "_shima_v2"
fi
;;
497|498|575|576)
setprop vendor.media.target_variant "_yupik_iot"
;;
*)
if [ $target_qssi == "true" ]; then
setprop vendor.media.target_variant "_lahaina_vendor"
else
setprop vendor.media.target_variant "_lahaina"
fi
if [ $build_codename -le "13" ]; then
setprop vendor.netflix.bsp_rev "Q875-32408-1"
fi
;;
esac
;;
"holi")
case "$soc_hwid" in
507|565|628)
setprop vendor.media.target_variant "_blair"
setprop vendor.netflix.bsp_rev "Q4350-32962-1"
;;
578)
setprop vendor.media.target_variant "_blair_lite"
setprop vendor.netflix.bsp_rev "Q4350-32962-1"
;;
454|472)
setprop vendor.media.target_variant "_holi"
setprop vendor.netflix.bsp_rev "Q4350-32962-1"
;;
esac
;;
"msmnile")
setprop vendor.media.target_variant "_msmnile"
if [ $product == "msmnile_gvmq" ] || [ $product == "msmnile_gvmgh" ]; then
case "$soc_hwid" in
460)
setprop vendor.media.target_variant "_direwolf"
;;
377)
setprop vendor.media.target_variant "_sm6150"
;;
362|405)
setprop vendor.media.target_variant "_msmnile"
;;
esac
fi
;;
"sm6150")
setprop vendor.media.target_variant "_sm6150"
;;
"direwolf")
setprop vendor.media.target_variant "_direwolf"
;;
esac

33
proprietary/vendor/bin/init.qti.qcv.sh vendored Executable file
View File

@@ -0,0 +1,33 @@
#! /vendor/bin/sh
#=============================================================================
# Copyright (c) 2020-21 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#=============================================================================
soc_id=`cat /sys/devices/soc0/soc_id` 2> /dev/null
# Store soc_id in ro.vendor.qti.soc_id
setprop ro.vendor.qti.soc_id $soc_id
# For chipsets in QCV family, convert soc_id to soc_name
# and store it in ro.vendor.qti.soc_name.
if [ "$soc_id" -eq 415 ] || [ "$soc_id" -eq 439 ] || [ "$soc_id" -eq 456 ] ||
[ "$soc_id" -eq 501 ] || [ "$soc_id" -eq 502 ]; then
setprop ro.vendor.qti.soc_name lahaina
setprop ro.vendor.qti.soc_model SM8350
elif [ "$soc_id" -eq 450 ]; then
setprop ro.vendor.qti.soc_name shima
setprop ro.vendor.qti.soc_model SM7350
elif [ "$soc_id" -eq 475 ] || [ "$soc_id" -eq 499 ] ||
[ "$soc_id" -eq 497 ] || [ "$soc_id" -eq 498 ] ||
[ "$soc_id" -eq 515 ]; then
setprop ro.vendor.qti.soc_name yupik
setprop ro.vendor.qti.soc_model SM7325
elif [ "$soc_id" -eq 575 ]; then
setprop ro.vendor.qti.soc_name yupik
setprop ro.vendor.qti.soc_model QCS5430
elif [ "$soc_id" -eq 576 ]; then
setprop ro.vendor.qti.soc_name yupik
setprop ro.vendor.qti.soc_model QCM5430
fi

BIN
proprietary/vendor/bin/ks vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/loc_launcher vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/lowi-server vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/mlid vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/motobox vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/msm_irqbalance vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/netmgrd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/pd-mapper vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/pm-proxy vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/pm-service vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/port-bridge vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/power_off_alarm vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/ppd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/qdcmss vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/qmi_motext_hook vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/qmipriod vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/qrtr-cfg vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/qrtr-ns vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/qseecomd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/qti vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/rmt_storage vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/sensors.qti vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/shsusrd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/sscrpcd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/tftp_server vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/thermal-engine vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/time_daemon vendored Executable file

Binary file not shown.

38
proprietary/vendor/bin/vendor_modprobe.sh vendored Executable file
View File

@@ -0,0 +1,38 @@
#! /vendor/bin/sh
#=============================================================================
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#=============================================================================
#default to /vendor/lib/modules
MODULES_PATH="/vendor/lib/modules/"
GKI_MOD_PATH="/vendor/lib/modules/5.4-gki"
MODPROBE="/vendor/bin/modprobe"
MODULES=`${MODPROBE} -d ${MODULES_PATH} -l`
# Find the first non-blacklisted module and try
# inserting it. If insertion fails the module is not
# compatible with the current kernel. Change the modules
# directory to gki.
for MODULE in ${MODULES}; do
cat ${MODULES_PATH}/modules.blocklist | grep $MODULE
if [ $? -ne 0 ]; then
break
fi
done
${MODPROBE} -a -b -d ${MODULES_PATH} ${MODULE}
if [ $? -ne 0 ];then
MODULES_PATH=$GKI_MOD_PATH
MODULES=`${MODPROBE} -d ${MODULES_PATH} -l`
fi
# Iterate over module list and modprobe them in background.
for MODULE in ${MODULES}; do
${MODPROBE} -a -b -d ${MODULES_PATH} ${MODULE} &
done
# Wait until all the modprobes are finished
wait

BIN
proprietary/vendor/bin/xtra-daemon vendored Executable file

Binary file not shown.