sm8350-common: Update init scripts from OOS 11.2.5.5
Change-Id: Ia4e798ae3c5cbdb7246669b833c75e7058efa523
This commit is contained in:
parent
7c98da93ba
commit
b2e66f9cc7
27 changed files with 2040 additions and 665 deletions
|
|
@ -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
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue