sm7250-common: Update init scripts from OnePlusNordCE OxygenOS 11.0.4.4

This commit is contained in:
KakatkarAkshay
2021-07-18 20:36:09 +05:30
parent 70e9d3f059
commit 981ad16ac0
19 changed files with 1281 additions and 570 deletions

View File

@@ -33,12 +33,12 @@
baseband=`getprop ro.baseband`
sgltecsfb=`getprop persist.vendor.radio.sglte_csfb`
datamode=`getprop persist.vendor.data.mode`
low_ram=`getprop ro.config.low_ram`
qcrild_status=true
case "$baseband" in
"apq" | "sda" | "qcs" )
setprop ro.vendor.radio.noril yes
stop ril-daemon
stop vendor.ril-daemon
stop vendor.qcrild
esac
@@ -86,12 +86,10 @@ case "$baseband" in
if [ "$qcrild_status" = "true" ]; then
# Make sure both rild, qcrild are not running at same time.
# This is possible with vanilla aosp system image.
stop ril-daemon
stop vendor.ril-daemon
start vendor.qcrild
else
start ril-daemon
start vendor.ril-daemon
fi
@@ -129,11 +127,15 @@ case "$baseband" in
case "$datamode" in
"tethered")
start vendor.dataqti
start vendor.dataadpl
if [ "$low_ram" != "true" ]; then
start vendor.dataadpl
fi
;;
"concurrent")
start vendor.dataqti
start vendor.dataadpl
if [ "$low_ram" != "true" ]; then
start vendor.dataadpl
fi
;;
*)
;;