Hi Donald,
We are working on Android Pie and the Firmware version is RHL769x.2.23.172400.201706231140.x7120m_1. I believe the RIL version AndroidRIL_V9.0.3 is compatible with this firmware version. Moreover, this is the suggested package by the vendor for Android Pie.
We are able to communicate with modem as AT commands, manually. Following is the log for the same.
echo “ATI9” | atinout - /dev/ttyACM0 -
RHL769x.2.23.172400.201706231140.x7120m_1
HL7692
HL769x.2.23
x7120m
FUSED
2017-06-23 11:44:41
r9909
OK
echo “AT+CGSN” | atinout - /dev/ttyACM0 -
355465070597691
OK
echo “AT+CMEE=1” | atinout - /dev/ttyACM0 -
OK
echo “AT+CPIN?” | atinout - /dev/ttyACM0 -
+CPIN: READY
OK
echo “AT+CCID” | atinout - /dev/ttyACM0 -
+CCID: 8991000903738341400
OK
echo “AT+CGDCONT?” | atinout - /dev/ttyACM0 -
+CGDCONT: 1,“IP”,“airtelgprs.com”,“100.67.102.250”,0,0,0,0,0,0
OK
echo “AT+CGATT?” | atinout - /dev/ttyACM0 -
+CGATT: 1
OK
echo “AT+CESQ” | atinout - /dev/ttyACM0 -
+CESQ: 99,99,255,255,20,51
OK
echo “AT+COPS?” | atinout - /dev/ttyACM0 -
+COPS: 0,2,“40445”,7
OK
echo “AT+COPS?” | atinout - /dev/ttyACM0 -
+COPS: 0,2,“40445”,7
OK
echo “AT+CREG?” | atinout - /dev/ttyACM0 -
+CREG: 2,1,“FFFF”,“00F2F929”,7
OK
echo “AT+XCELLINFO?” | atinout - /dev/ttyACM0 -
+XCELLINFO:0,5,404,45,15923497,202,8371,50,18,0
+XCELLINFO: 0,6,3626,99,46,9
OK
echo “AT+KSRAT?” | atinout - /dev/ttyACM0 - <
+KSRAT: 9
OK
In Android, using logcat -b radio, we see the AT communication is happening and prints related to operator details (airtel, mmc=404/mnc=45) are displayed. However, the Subscriber Info is not updated. So the dumpsys isub log prints the following:
SubscriptionController:
mLastISubServiceRegTime=1608283462856
defaultSubId=-1
defaultDataSubId=-1
defaultVoiceSubId=-1
defaultSmsSubId=-1
defaultDataPhoneId=-1
defaultVoicePhoneId=-1
defaultSmsPhoneId=-1
++++++++++++++++++++++++++++++++
ActiveSubInfoList: is null
++++++++++++++++++++++++++++++++
AllSubInfoList: is null
++++++++++++++++++++++++++++++++
0: 12-18 14:54:22 pid=672 tid=672 [SubscriptionController] init by Context
1: 12-18 14:54:23 pid=672 tid=697 [getPhoneId]- no sims, returning default phoneId=2147483647
2: 12-18 14:54:23 pid=672 tid=672 [getPhoneId] asked for default subId=-1
3: 12-18 14:54:24 pid=672 tid=809 [getPhoneId] asked for default subId=-1
4: 12-18 14:54:24 pid=672 tid=843 [getActiveSubInfoList] Sub Controller not ready
5: 12-18 14:54:24 pid=672 tid=672 [getPhoneId] asked for default subId=-1
6: 12-18 14:54:05 pid=672 tid=843 [getActiveSubInfoList] Sub Controller not ready
7: 12-18 14:54:05 pid=672 tid=843 [getActiveSubInfoList] Sub Controller not ready
8: 12-18 14:54:05 pid=672 tid=843 [getActiveSubInfoList] Sub Controller not ready
9: 12-18 14:54:05 pid=672 tid=672 [getPhoneId]- no sims, returning default phoneId=2147483647
The Settings->Mobile Network option is visible, but disabled because the SIM info is not updated (no sim)
I have followed the instructions on AirPrime- Android RIL Integration Guide 2.0 and also enabled RIL by updating ro.radio.noril=false in the device mk file.
Is there anything else that needs to be taken care for Mobile Network to work?
Thanks and Regards,
Sabiya