Closed ngoquang2708 closed 8 years ago
Actually was both SIM RILs The mobile data only work with single-SIM mode
single sim
OK, Success for turn on mobile on SIM2, still no SIM1. Here radio logcat when enable mobile data on SIM1 cm-12.1-vivalto3gvn.sim1+mobiledata.radio.txt
Seem rild
crashes on this D/use-Rlog/RLOG-RIL( 184): [RIL::FD] Load Default Policy
Maybe
Here radio logcat when success enable mobile data on SIM2 cm-12.1-vivalto3gvn.sim2+mobiledata.radio.txt
You can see the MediaTek RIL for some good information https://github.com/Al3XKOoL/android_device_wiko_rainbow/blob/cm-12.1/ril/telephony/java/com/android/internal/telephony/MediaTekRIL.java#L1172
This prop gsm.operator.numeric
is killing our rild1
, set it to empty string before start rild1
, and rild will success make data connection. Can you try this on CM-11.0.
It's already empty on CM-11.0
Haha, that why rild crash on cm-12.1.
Btw, we're going to have Linux 3.10.40 kernel soon
Good news!
I'm on the first stage of upgrading it. This might takes a lot of time, so be wait I'll make it with OC Kernel
Or maybe stock kernel
It seems android 5.1 use ,
to concat multiple prop value for multi-sim instead of use separated name for a prop. Ex:
gsm.operator.numeric = [123,234]
instead of
gsm.operator.numeric = 123
gsm.operator.numeric2 = 234
Did you apply this patch in cm-11.0. I can see that in your screenshot. Don't do that, our rild doesn't use that prop naming scheme.
Yes, i've applied
But that patch is useless in CM12.1, since MSIM has been integrated to telephony-common framework
No, I haven't applied it. I am trying to patch cm12.1's frameworks/base/telephony using the prop naming scheme that stock use, hope that rild1 will not crash.
Interesting, rild of @TeamButter's mint have the same naming scheme in @pawitp's patch, but why their rild crash when change rild socket name in RIL.java http://forum.xda-developers.com/showpost.php?p=65811052&postcount=129? RIL's socket name supposed to be [rild, rild1, rild2], and their init.*.rc. have the same socket names.
What do you mean "the same"?
quang@ubuntu:~/Downloads$ strings libreference-ril.so | grep gsm
gsm.operator.numeric_1
gsm.operator.numeric
gsm.sim.operator.numeric_1
gsm.sim.operator.numeric
But our RIL uses this naming scheme
gsm.operator.numeric
gsm.operator.numeric2
It was in the shared library source, so why you modify it in framework?
Here is the exactly file that I've modified to change the naming scheme: frameworks/base/telephony/java/android/telephony/TelephonyManager.java, look at getTelephonyProperty() and setTelephonyProperty() method.
help : *.Switching to other fonts will get bootloops after restart
@thanhthuy89 That's common issue, no persistent solution for now
Just like in cm-11.0.