sm7250-common: rootdir: Update scripts from LA.UM.9.12.r1-13300-SMxx50.QSSI12.0
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com> Signed-off-by: aswin7469 <aswinas@pixysos.com>
This commit is contained in:
committed by
Sandeep P S
parent
0bc8972eea
commit
e8c44e34b4
@@ -255,6 +255,9 @@ case "$target" in
|
||||
# 196610 is decimal for 0x30002 to report version 3.2
|
||||
case "$soc_hwid" in
|
||||
294|295|296|297|298|313|353|354|363|364)
|
||||
# Disable adsprpcd_sensorspd daemon
|
||||
setprop vendor.fastrpc.disable.adsprpcd_sensorspd.daemon 1
|
||||
|
||||
setprop vendor.opengles.version 196610
|
||||
if [ $soc_hwid = 354 ]
|
||||
then
|
||||
@@ -262,10 +265,13 @@ case "$target" in
|
||||
log -t BOOT -p i "SDM429 early_boot prop set for: HwID '$soc_hwid'"
|
||||
fi
|
||||
;;
|
||||
303|307|308|309|320)
|
||||
303|307|308|309|320|386|436)
|
||||
# Vulkan is not supported for 8917 variants
|
||||
setprop vendor.opengles.version 196608
|
||||
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
|
||||
@@ -335,17 +341,38 @@ case "$target" in
|
||||
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)
|
||||
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 ""
|
||||
;;
|
||||
471)
|
||||
#scuba APQ
|
||||
setprop vendor.gralloc.disable_ubwc 1
|
||||
*)
|
||||
# default case is for bengal
|
||||
setprop vendor.netflix.bsp_rev "Q6115-31409-1"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
@@ -394,26 +421,27 @@ case "$target" in
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
"lahaina")
|
||||
case "$soc_hwid" in
|
||||
450)
|
||||
setprop vendor.media.target_variant "_shima_v3"
|
||||
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
|
||||
;;
|
||||
*)
|
||||
setprop vendor.media.target_variant "_lahaina"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
"holi")
|
||||
setprop vendor.media.target_variant "_holi"
|
||||
;;
|
||||
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`
|
||||
#enable atfwd daemon all targets except sda, apq, qcs
|
||||
@@ -467,6 +495,14 @@ case "$product" in
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$product" in
|
||||
"msmnile_gvmgh")
|
||||
setprop vendor.display.lcd_density 160
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
# Setup display nodes & permissions
|
||||
# HDMI can be fb1 or fb2
|
||||
# Loop through the sysfs nodes and determine
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -456,7 +456,7 @@ buildvariant=`getprop ro.build.type`
|
||||
case "$buildvariant" in
|
||||
"userdebug" | "eng")
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user