Hi guys,
as some of you migh be aware, CM12 doesn't have radio on z3 dual's (d6633) - that is, after patching the .zip with [[ || getprop("ro.product.device") == "leo" ]]
I have attempted to copy over all the ril things I could find in /system from the stock 23.0.1.F.0.96 ROM - to no effect.
The I looked in the initrd and found the following:
init.rc
init.qcom.rc
init.class_main.sh
Could somebody (a dev) evaluate the difficulty of getting CM12 in line with this?
as some of you migh be aware, CM12 doesn't have radio on z3 dual's (d6633) - that is, after patching the .zip with [[ || getprop("ro.product.device") == "leo" ]]
I have attempted to copy over all the ril things I could find in /system from the stock 23.0.1.F.0.96 ROM - to no effect.
The I looked in the initrd and found the following:
init.rc
Code:
service ril-daemon /system/bin/rild
class main
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
user root
group radio cache inet misc audio log qcom_diag
Code:
service ril-daemon1 /system/bin/rild -c 1
class main
socket rild1 stream 660 root radio
socket rild-debug1 stream 660 radio system
user root
disabled
group radio cache inet misc audio sdcard_r sdcard_rw diag qcom_diag log
service ril-daemon2 /system/bin/rild -c 2
class main
socket rild2 stream 660 root radio
socket rild-debug2 stream 660 radio system
user root
disabled
group radio cache inet misc audio sdcard_r sdcard_rw diag qcom_diag log
Code:
#
# start ril-daemon only for targets on which radio is present
#
baseband=`getprop ro.baseband`
netmgr=`getprop ro.use_data_netmgrd`
sgltecsfb=`getprop persist.radio.sglte_csfb`
case "$baseband" in
"apq")
setprop ro.radio.noril yes
stop ril-daemon
esac
case "$baseband" in
"msm" | "csfb" | "svlte2a" | "mdm" | "sglte" | "sglte2" | "dsda2" | "unknown")
start qmuxd
case "$baseband" in
"svlte2a" | "csfb")
start qmiproxy
;;
"sglte" | "sglte2" )
if [ "x$sgltecsfb" != "xtrue" ]; then
start qmiproxy
else
setprop persist.radio.voice.modem.index 0
fi
;;
"dsda2")
setprop persist.radio.multisim.config dsda
esac
multisim=`getprop persist.radio.multisim.config`
if [ "$multisim" = "dsds" ] || [ "$multisim" = "dsda" ]; then
stop ril-daemon
start ril-daemon
start ril-daemon1
elif [ "$multisim" = "tsts" ]; then
stop ril-daemon
start ril-daemon
start ril-daemon1
start ril-daemon2
fi
case "$netmgr" in
"true")
start netmgrd
esac
esac
Aucun commentaire:
Enregistrer un commentaire