sm6225-common: Update blobs to sapphire V816.0.2.0.UNGMIXM

Change-Id: Ica163d9707dcf28215cf78ee7d6a0e00d5f2dc77
This commit is contained in:
boedhack99
2024-03-22 05:51:15 +00:00
parent 95afdd443a
commit 46977b36d7
754 changed files with 4613 additions and 1235 deletions

Binary file not shown.

View File

@@ -5,5 +5,8 @@ service vendor.mtdservice-1-3 /odm/bin/mtd@1.3
class hal
group system drmrpc
on property:ro.boot.serialno=*
on init && property:ro.boot.serialno=*
setprop ro.vendor.oem.serialno ${ro.boot.serialno}
on property:sys.boot_completed=1
setprop ro.vendor.oem.boot_completed ${sys.boot_completed}

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

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.

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.

View File

@@ -100,10 +100,13 @@ if [ "$(getprop persist.vendor.usb.config)" == "" -a "$(getprop ro.build.type)"
"msm8998" | "sdm660" | "apq8098_latv")
setprop persist.vendor.usb.config diag,serial_cdev,rmnet,adb
;;
"monaco")
setprop persist.vendor.usb.config diag,qdss,rmnet,adb
;;
"sdm845" | "sdm710")
setprop persist.vendor.usb.config diag,serial_cdev,rmnet,dpl,adb
;;
"msmnile" | "sm6150" | "trinket" | "lito" | "atoll" | "bengal" | "lahaina" | "holi" | "taro" | "kalama")
"msmnile" | "sm6150" | "trinket" | "lito" | "atoll" | "bengal" | "lahaina" | "holi" | "taro" | "kalama" | "crow")
case "$debuggable" in
"1")
setprop persist.vendor.usb.config adb
@@ -201,54 +204,5 @@ esac
# Initialize UVC conifguration.
#
if [ -d /config/usb_gadget/g1/functions/uvc.0 ]; then
cd /config/usb_gadget/g1/functions/uvc.0
echo 3072 > streaming_maxpacket
echo 1 > streaming_maxburst
mkdir control/header/h
ln -s control/header/h control/class/fs/
ln -s control/header/h control/class/ss
mkdir -p streaming/uncompressed/u/360p
echo "666666\n1000000\n5000000\n" > streaming/uncompressed/u/360p/dwFrameInterval
mkdir -p streaming/uncompressed/u/720p
echo 1280 > streaming/uncompressed/u/720p/wWidth
echo 720 > streaming/uncompressed/u/720p/wWidth
echo 29491200 > streaming/uncompressed/u/720p/dwMinBitRate
echo 29491200 > streaming/uncompressed/u/720p/dwMaxBitRate
echo 1843200 > streaming/uncompressed/u/720p/dwMaxVideoFrameBufferSize
echo 5000000 > streaming/uncompressed/u/720p/dwDefaultFrameInterval
echo "5000000\n" > streaming/uncompressed/u/720p/dwFrameInterval
mkdir -p streaming/mjpeg/m/360p
echo "666666\n1000000\n5000000\n" > streaming/mjpeg/m/360p/dwFrameInterval
mkdir -p streaming/mjpeg/m/720p
echo 1280 > streaming/mjpeg/m/720p/wWidth
echo 720 > streaming/mjpeg/m/720p/wWidth
echo 29491200 > streaming/mjpeg/m/720p/dwMinBitRate
echo 29491200 > streaming/mjpeg/m/720p/dwMaxBitRate
echo 1843200 > streaming/mjpeg/m/720p/dwMaxVideoFrameBufferSize
echo 5000000 > streaming/mjpeg/m/720p/dwDefaultFrameInterval
echo "5000000\n" > streaming/mjpeg/m/720p/dwFrameInterval
echo 0x04 > /config/usb_gadget/g1/functions/uvc.0/streaming/mjpeg/m/bmaControls
mkdir -p streaming/h264/h/960p
echo 1920 > streaming/h264/h/960p/wWidth
echo 960 > streaming/h264/h/960p/wWidth
echo 40 > streaming/h264/h/960p/bLevelIDC
echo "333667\n" > streaming/h264/h/960p/dwFrameInterval
mkdir -p streaming/h264/h/1920p
echo "333667\n" > streaming/h264/h/1920p/dwFrameInterval
mkdir streaming/header/h
ln -s streaming/uncompressed/u streaming/header/h
ln -s streaming/mjpeg/m streaming/header/h
ln -s streaming/h264/h streaming/header/h
ln -s streaming/header/h streaming/class/fs/
ln -s streaming/header/h streaming/class/hs/
ln -s streaming/header/h streaming/class/ss/
setprop vendor.usb.uvc.function.init 1
fi

View File

@@ -1,7 +1,7 @@
#! /vendor/bin/sh
#
# Copyright (c) 2019-2021 Qualcomm Technologies, Inc.
# Copyright (c) 2019-2021, 2023, Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
@@ -11,8 +11,7 @@
export PATH=/vendor/bin
soc_id=`getprop ro.vendor.qti.soc_id`
if [ "$soc_id" -eq 518 ] || [ "$soc_id" -eq 415 ] || [ "$soc_id" -eq 439 ] || [ "$soc_id" -eq 450 ] || [ "$soc_id" -eq 475 ] || [ "$soc_id" -eq 515 ]; then
echo "ro.vendor.qti.soc_id = 518 is here"
if [ "$soc_id" -eq 415 ] || [ "$soc_id" -eq 439 ] || [ "$soc_id" -eq 450 ] || [ "$soc_id" -eq 475 ] || [ "$soc_id" -eq 515 ]; then
setprop persist.vendor.hvdcp_opti.start 2
exit 0
fi
@@ -36,6 +35,7 @@ else
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
find /sys/class/qbg/qbg_context -type f -maxdepth 1 | xargs chown system.system
for i in 0 1 2 3 4 5 6 7 8 9
do
@@ -46,4 +46,10 @@ else
done
fi
aon_present=`getprop ro.vendor.qc_aon_presence`
if [ "$aon_present" -eq 1 ]; then
setprop persist.vendor.hvdcp_opti.start 2
exit 0
fi
setprop persist.vendor.hvdcp_opti.start 1

View File

@@ -2,7 +2,7 @@
#==============================================================================
# init.qti.media.sh
#
# Copyright (c) 2020-2022, Qualcomm Technologies, Inc.
# Copyright (c) 2020-2023, Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
@@ -59,8 +59,11 @@ case "$target" in
"parrot")
setprop vendor.mm.target.enable.qcom_parser 1040463
case "$soc_hwid" in
568|602)
568|602|581|582)
setprop vendor.media.target_variant "_ravelin"
if [ $build_codename -le "13" ]; then
setprop vendor.netflix.bsp_rev "Q4450-37037-1"
fi
;;
*)
setprop vendor.media.target_variant "_parrot_v2"
@@ -133,9 +136,12 @@ case "$target" in
esac
;;
"bengal")
setprop vendor.mm.target.enable.qcom_parser 16711663
setprop vendor.mm.target.enable.qcom_parser 16711407
case "$soc_hwid" in
518|561|585|586)
586)
setprop vendor.media.target_variant "_khaje_iot"
;;
518|561|585)
setprop vendor.media.target_variant "_khaje_v0"
if [ $build_codename -le "13" ]; then
setprop vendor.netflix.bsp_rev "Q6115-31409-1"

View File

@@ -12,13 +12,27 @@ 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 557 ]; then
if [ "$soc_id" -eq 608 ]; then
setprop ro.vendor.qti.soc_name crow
setprop ro.vendor.qti.soc_model SM7550
elif [ "$soc_id" -eq 557 ]; then
setprop ro.vendor.qti.soc_name pineapple
setprop ro.vendor.qti.soc_model SM8650
elif [ "$soc_id" -eq 519 ] || [ "$soc_id" -eq 536 ] || [ "$soc_id" -eq 600 ] || [ "$soc_id" -eq 601 ]; then
elif [ "$soc_id" -eq 519 ] || [ "$soc_id" -eq 536 ]; then
setprop ro.vendor.qti.soc_name kalama
setprop ro.vendor.qti.soc_model SM8550
setprop ro.vendor.media_performance_class 33
elif [ "$soc_id" -eq 600 ] || [ "$soc_id" -eq 601 ]; then
setprop ro.vendor.qti.soc_name kalama
setprop ro.vendor.qti.soc_model SG8275
setprop ro.vendor.media_performance_class 33
elif [ "$soc_id" -eq 603 ]; then
setprop ro.vendor.qti.soc_name kalama
setprop ro.vendor.qti.soc_model QCS8550
elif [ "$soc_id" -eq 604 ]; then
setprop ro.vendor.qti.soc_name kalama
setprop ro.vendor.qti.soc_model QCM8550
elif [ "$soc_id" -eq 457 ] || [ "$soc_id" -eq 482 ]; then
setprop ro.vendor.qti.soc_name taro
setprop ro.vendor.qti.soc_model SM8450

Binary file not shown.

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