Spacewar: Initial import

This commit is contained in:
x0x00044
2023-09-03 04:33:04 +02:00
commit 64e28f434a
1563 changed files with 198409 additions and 0 deletions

Binary file not shown.

BIN
proprietary/vendor/app/CneApp/CneApp.apk vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

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

Binary file not shown.

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/dpmQmiMgr vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/dspservice vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/feature_enabler_client vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/garden_app 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.

BIN
proprietary/vendor/bin/hw/qcrilNrd vendored Normal 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.

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.

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

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

@@ -0,0 +1,129 @@
#! /vendor/bin/sh
#==============================================================================
# init.qti.media.sh
#
# Copyright (c) 2020-2022, 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)
setprop vendor.media.target_variant "_blair"
if [ $build_codename -le "13" ]; then
setprop vendor.netflix.bsp_rev "Q4350-32962-1"
fi
;;
578)
setprop vendor.media.target_variant "_blair_lite"
;;
454|472)
setprop vendor.media.target_variant "_holi"
if [ $build_codename -le "13" ]; then
setprop vendor.netflix.bsp_rev "Q4350-32962-1"
fi
;;
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/irsc_util vendored Executable file

Binary file not shown.

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/msm_irqbalance vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/mutualex 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/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-lookup 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/slim_daemon vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/sscrpcd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/ssgqmigd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/ssgtzd vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/ssr_setup 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/vppservice vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/wfdvndservice vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/wifidisplayhalservice vendored Executable file

Binary file not shown.

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

Binary file not shown.

BIN
proprietary/vendor/bin/xtwifi-client vendored Executable file

Binary file not shown.

BIN
proprietary/vendor/bin/xtwifi-inet-agent 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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More