diff --git a/rootdir/bin/init.class_main.sh b/rootdir/bin/init.class_main.sh index 5db1031e..e87b7bbf 100755 --- a/rootdir/bin/init.class_main.sh +++ b/rootdir/bin/init.class_main.sh @@ -39,10 +39,14 @@ vendor_rild_status=`getprop init.svc.vendor.ril-daemon` case "$baseband" in "apq" | "sda" | "qcs" ) setprop ro.vendor.radio.noril yes + setprop ro.radio.noril yes + setprop hw.nophone yes + start vendor.ipacm if [ -n "$rild_status" ] || [ -n "$vendor_rild_status" ]; then - stop ril-daemon - stop vendor.ril-daemon - start vendor.ipacm + stop ril-daemon + stop vendor.ril-daemon + stop vendor.qcrild + stop vendor.qcrild2 fi esac @@ -58,7 +62,7 @@ case "$baseband" in modem=`cat /vendor/firmware_mnt/verinfo/ver_info.txt | sed -n 's/^[^:]*modem[^:]*:[[:blank:]]*//p' | sed 's/.*MPSS.\(.*\)/\1/g' | cut -d \. -f 1` - # Check if this is AT 3.0 or below. If so, start ril-daemon + # Check if this is AT 3.0 or below. If so, start ril-daemon if [ "$modem" = "AT" ]; then version=`cat /vendor/firmware_mnt/verinfo/ver_info.txt | sed -n 's/^[^:]*modem[^:]*:[[:blank:]]*//p' |