Android RIL driver for Android 15 Issue

Only one rild should be running.
I cannot see any log about RILJ.
Can you see
logcat -b all | grep RILJ


Have you added the networkAttributes?

I have already added the network attributes in my device layer.
Also im not seeing any RILJ logs.
You have any hints about this issue ?

Please check

find / -name "*.xml" 2>/dev/null | xargs grep -i "radio"

ls
/system/priv-app/TeleService/TeleService.apk 
/system/priv-app/TelephonyProvider/TelephonyProvider.apk 
/system/framework/telephony-common.jar 

Please find the output below

find / -name “*.xml” 2>/dev/null | xargs grep -i “radio”

Binary file /data/system/users/0/settings_global.xml matches
Binary file /data/system/users/0/settings_global.xml matches
Binary file /data/system/users/0/settings_global.xml matches
Binary file /data/system/packages.xml matches
Binary file /data/system/packages.xml matches
Binary file /data/system/packages.xml matches
Binary file /data/system/packages.xml matches
/system/etc/compatconfig/services-platform-compat-config.xml:<config><compat-change id="245692487" name="LOG_MBA_INFO" /><compat-change enableAfterTargetSdk="34" id="296060945" name="ENFORC>
/system/etc/permissions/platform.xml:    <permission name="android.permission.LOOP_RADIO" >
/system/etc/permissions/platform.xml:        <group gid="loop_radio" />
/system/etc/permissions/platform.xml:    <permission name="android.permission.ACCESS_BROADCAST_RADIO" >
/system/etc/permissions/privapp-permissions-platform.xml:        <!-- Permission required for CTS test - CtsBroadcastRadioTestCases -->
/system/etc/permissions/privapp-permissions-platform.xml:        <permission name="android.permission.ACCESS_BROADCAST_RADIO"/>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.broadcastradio</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IBroadcastRadio</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadio</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.config</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioConfig</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.config</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioConfig</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.config</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioConfig</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.data</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioData</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.data</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioData</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.ims</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioIms</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.ims.media</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.messaging</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioMessaging</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.messaging</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioMessaging</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.modem</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioModem</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.modem</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioModem</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.network</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioNetwork</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.network</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioNetwork</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.sap</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.sim</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioSim</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.sim</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioSim</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.voice</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioVoice</name>
/system/etc/vintf/compatibility_matrix.202404.xml:        <name>android.hardware.radio.voice</name>
/system/etc/vintf/compatibility_matrix.202404.xml:            <name>IRadioVoice</name>
/system/etc/vintf/compatibility_matrix.202504.xml:        <name>android.hardware.broadcastradio</name>
/system/etc/vintf/compatibility_matrix.202504.xml:            <name>IBroadcastRadio</name>
/system/etc/vintf/compatibility_matrix.202504.xml:        <name>android.hardware.radio.config</name>
/system/etc/vintf/compatibility_matrix.202504.xml:            <name>IRadioConfig</name>
/system/etc/vintf/compatibility_matrix.202504.xml:        <name>android.hardware.radio.data</name>
/system/etc/vintf/compatibility_matrix.202504.xml:            <name>IRadioData</name>
/system/etc/vintf/compatibility_matrix.202504.xml:        <name>android.hardware.radio.ims</name>
/system/etc/vintf/compatibility_matrix.202504.xml:            <name>IRadioIms</name>
/system/etc/vintf/compatibility_matrix.202504.xml:        <name>android.hardware.radio.ims.media</name>
/system/etc/vintf/compatibility_matrix.202504.xml:        <name>android.hardware.radio.messaging</name>
/system/etc/vintf/compatibility_matrix.202504.xml:            <name>IRadioMessaging</name>
/system/etc/vintf/compatibility_matrix.202504.xml:        <name>android.hardware.radio.modem</name>
/system/etc/vintf/compatibility_matrix.202504.xml:            <name>IRadioModem</name>
/system/etc/vintf/compatibility_matrix.202504.xml:        <name>android.hardware.radio.network</name>
/system/etc/vintf/compatibility_matrix.202504.xml:            <name>IRadioNetwork</name>
/system/etc/vintf/compatibility_matrix.202504.xml:        <name>android.hardware.radio.sap</name>
/system/etc/vintf/compatibility_matrix.202504.xml:        <name>android.hardware.radio.sim</name>
/system/etc/vintf/compatibility_matrix.202504.xml:            <name>IRadioSim</name>
/system/etc/vintf/compatibility_matrix.202504.xml:        <name>android.hardware.radio.voice</name>
/system/etc/vintf/compatibility_matrix.202504.xml:            <name>IRadioVoice</name>
/system/etc/vintf/compatibility_matrix.5.xml:        <name>android.hardware.broadcastradio</name>
/system/etc/vintf/compatibility_matrix.5.xml:            <name>IBroadcastRadioFactory</name>
/system/etc/vintf/compatibility_matrix.5.xml:        <name>android.hardware.broadcastradio</name>
/system/etc/vintf/compatibility_matrix.5.xml:            <name>IBroadcastRadio</name>
/system/etc/vintf/compatibility_matrix.5.xml:        <name>android.hardware.radio</name>
/system/etc/vintf/compatibility_matrix.5.xml:            <name>IRadio</name>
/system/etc/vintf/compatibility_matrix.5.xml:        <name>android.hardware.radio</name>
/system/etc/vintf/compatibility_matrix.5.xml:        <name>android.hardware.radio.config</name>
/system/etc/vintf/compatibility_matrix.5.xml:            <name>IRadioConfig</name>
/system/etc/vintf/compatibility_matrix.6.xml:        <name>android.hardware.broadcastradio</name>
/system/etc/vintf/compatibility_matrix.6.xml:            <name>IBroadcastRadioFactory</name>
/system/etc/vintf/compatibility_matrix.6.xml:        <name>android.hardware.broadcastradio</name>
/system/etc/vintf/compatibility_matrix.6.xml:            <name>IBroadcastRadio</name>
/system/etc/vintf/compatibility_matrix.6.xml:        <name>android.hardware.radio</name>
/system/etc/vintf/compatibility_matrix.6.xml:            <name>IRadio</name>
/system/etc/vintf/compatibility_matrix.6.xml:        <name>android.hardware.radio</name>
/system/etc/vintf/compatibility_matrix.6.xml:        <name>android.hardware.radio.config</name>
/system/etc/vintf/compatibility_matrix.6.xml:            <name>IRadioConfig</name>
/system/etc/vintf/compatibility_matrix.6.xml:        <name>android.hardware.radio.config</name>
/system/etc/vintf/compatibility_matrix.6.xml:            <name>IRadioConfig</name>
/system/etc/vintf/compatibility_matrix.7.xml:        <name>android.hardware.broadcastradio</name>
/system/etc/vintf/compatibility_matrix.7.xml:            <name>IBroadcastRadioFactory</name>
/system/etc/vintf/compatibility_matrix.7.xml:        <name>android.hardware.broadcastradio</name>
/system/etc/vintf/compatibility_matrix.7.xml:            <name>IBroadcastRadio</name>
/system/etc/vintf/compatibility_matrix.7.xml:        <name>android.hardware.radio</name>
/system/etc/vintf/compatibility_matrix.7.xml:        <name>android.hardware.radio.config</name>
/system/etc/vintf/compatibility_matrix.7.xml:            <name>IRadioConfig</name>
/system/etc/vintf/compatibility_matrix.7.xml:        <name>android.hardware.radio.data</name>
/system/etc/vintf/compatibility_matrix.7.xml:            <name>IRadioData</name>
/system/etc/vintf/compatibility_matrix.7.xml:        <name>android.hardware.radio.messaging</name>
/system/etc/vintf/compatibility_matrix.7.xml:            <name>IRadioMessaging</name>
/system/etc/vintf/compatibility_matrix.7.xml:        <name>android.hardware.radio.modem</name>
/system/etc/vintf/compatibility_matrix.7.xml:            <name>IRadioModem</name>
/system/etc/vintf/compatibility_matrix.7.xml:        <name>android.hardware.radio.network</name>
/system/etc/vintf/compatibility_matrix.7.xml:            <name>IRadioNetwork</name>
/system/etc/vintf/compatibility_matrix.7.xml:        <name>android.hardware.radio.sim</name>
/system/etc/vintf/compatibility_matrix.7.xml:            <name>IRadioSim</name>
/system/etc/vintf/compatibility_matrix.7.xml:        <name>android.hardware.radio.voice</name>
/system/etc/vintf/compatibility_matrix.7.xml:            <name>IRadioVoice</name>
/system/etc/vintf/compatibility_matrix.8.xml:        <name>android.hardware.broadcastradio</name>
/system/etc/vintf/compatibility_matrix.8.xml:            <name>IBroadcastRadio</name>
/system/etc/vintf/compatibility_matrix.8.xml:        <name>android.hardware.radio.config</name>
/system/etc/vintf/compatibility_matrix.8.xml:            <name>IRadioConfig</name>
/system/etc/vintf/compatibility_matrix.8.xml:        <name>android.hardware.radio.data</name>
/system/etc/vintf/compatibility_matrix.8.xml:            <name>IRadioData</name>
/system/etc/vintf/compatibility_matrix.8.xml:        <name>android.hardware.radio.ims</name>
/system/etc/vintf/compatibility_matrix.8.xml:            <name>IRadioIms</name>
/system/etc/vintf/compatibility_matrix.8.xml:        <name>android.hardware.radio.ims.media</name>
/system/etc/vintf/compatibility_matrix.8.xml:        <name>android.hardware.radio.messaging</name>
/system/etc/vintf/compatibility_matrix.8.xml:            <name>IRadioMessaging</name>
/system/etc/vintf/compatibility_matrix.8.xml:        <name>android.hardware.radio.modem</name>
/system/etc/vintf/compatibility_matrix.8.xml:            <name>IRadioModem</name>
/system/etc/vintf/compatibility_matrix.8.xml:        <name>android.hardware.radio.network</name>
/system/etc/vintf/compatibility_matrix.8.xml:            <name>IRadioNetwork</name>
/system/etc/vintf/compatibility_matrix.8.xml:        <name>android.hardware.radio.sap</name>
/system/etc/vintf/compatibility_matrix.8.xml:        <name>android.hardware.radio.sim</name>
/system/etc/vintf/compatibility_matrix.8.xml:            <name>IRadioSim</name>
/system/etc/vintf/compatibility_matrix.8.xml:        <name>android.hardware.radio.voice</name>
/system/etc/vintf/compatibility_matrix.8.xml:            <name>IRadioVoice</name>
/vendor/etc/vintf/manifest.xml:        device/nxp/imx9/ig61m_95/manifest-radio.xml
/vendor/etc/vintf/manifest.xml:        <name>android.hardware.radio.config</name>
/vendor/etc/vintf/manifest.xml:        <fqname>IRadioConfig/default</fqname>
/vendor/etc/vintf/manifest.xml:        <name>android.hardware.radio.data</name>
/vendor/etc/vintf/manifest.xml:        <fqname>IRadioData/slot1</fqname>
/vendor/etc/vintf/manifest.xml:        <name>android.hardware.radio.messaging</name>
/vendor/etc/vintf/manifest.xml:        <fqname>IRadioMessaging/slot1</fqname>
/vendor/etc/vintf/manifest.xml:        <name>android.hardware.radio.modem</name>
/vendor/etc/vintf/manifest.xml:        <fqname>IRadioModem/slot1</fqname>
/vendor/etc/vintf/manifest.xml:        <name>android.hardware.radio.network</name>
/vendor/etc/vintf/manifest.xml:        <fqname>IRadioNetwork/slot1</fqname>
/vendor/etc/vintf/manifest.xml:        <name>android.hardware.radio.sim</name>
/vendor/etc/vintf/manifest.xml:        <fqname>IRadioSim/slot1</fqname>
/vendor/etc/vintf/manifest.xml:        <name>android.hardware.radio.voice</name>
/vendor/etc/vintf/manifest.xml:        <fqname>IRadioVoice/slot1</fqname>
130|ig61m_95:/ # ls /system/priv-app/TeleService/TeleService.apk 
/system/priv-app/TeleService/TeleService.apk
ig61m_95:/ # ls /system/priv-app/TelephonyProvider/TelephonyProvider.apk 
/system/priv-app/TelephonyProvider/TelephonyProvider.apk
ig61m_95:/ # ls /system/framework/telephony-common.jar 
/system/framework/telephony-common.jar
ig61m_95:/ #

ig61m_95:/ #

Where did you added the networkAttributes?
From the log, I didn’t find anything helpful.

I have added it in
device/nxp/imx9/ig61m_95/overlay/frameworks/base/core/res/res/values/config.xml

   <string-array translatable="false" name="networkAttributes">
        <item>"wifi,1,1,1,-1,true"</item>
        <item>"bluetooth,7,7,2,-1,true"</item>
        <item>"ethernet,9,9,2,-1,true"</item>
+        <item>"mobile,0,0,0,-1,true"</item>
+        <item>"mobile_mms,2,0,2,60000,true"</item>
+        <item>"mobile_supl,3,0,2,60000,true"</item>
+        <item>"mobile_dun,4,0,2,60000,true"</item>
    </string-array>

Dear @Bean.Wang-Q Any update on this ?

I even cannot see any log with the tag DCM or NRM or SST.
Did the Android image boot up successfully?
Maybe you can add some logs in the opt/telephony/src/java/com/android/internal/telephony/

RadioConfig.java
RIL.java
RILUtils.java

Before this, I also tested with Quectel_Android_RIL_Driver_radio1.5_V3.7.
The behavior is almost the same as with Quectel_Android_RIL_Driver_aidl2_V4.3.

I have attached the complete log.
LTE-full-log5.txt (2.0 MB)

Could you please review it and let me know if you notice any issues?

@Bean.Wang-Q Any update on this issue ?
Or could you please share any master RIL version for Android 15 integration.

Could you please share the Quectel_Android_RIL_Driver_V3.6.24_Release_1.5 package for our Android 15 integration?

You can use IRadio 1.5. But I still can’t tell the reason from the logs you sent. It is recommended to consult NXP.

Thanks for your support.
Do you think I am missing any driver configuration on the kernel side?”

There is nothing to do with the Linux driver. It seems that something in the Android side is missing.
Is the Ethernet/WiFi working on it?

Ethernet and Wi-Fi are working without any issues.
I also disabled both interfaces while testing the LTE module, but the same issue still occurs.

Hii @Bean.Wang-Q
I’m able to get voice calls and mobile data working correctly using the Quectel_Android_RIL_Driver_aidl2_V4.3 package. However, SMS cannot be sent — only receiving works.
Any suggestions for this?

Any logs? Not sure, maybe it is bug of the libs.

full log is attached for your reference.
em06-lte-log.txt (3.0 MB)

while sending sms im getting below prints on logcat

11-26 15:22:36.892 E/SmsApplication( 1794): com.android.messaging lost android:receive_wap_push:  (no permission to fix)
11-26 15:22:36.897 E/SmsApplication( 1794): com.android.messaging lost android:receive_wap_push:  (no permission to fix)
11-26 15:22:36.903 W/MessagingApp( 1794): Unsatisfied action condition: isSmsCapable=true, hasPreferredSmsSim=true, isDefaultSmsApp=false
11-26 15:22:37.060 I/MessagingApp( 1794): UI initiated message sending in conversation 1
11-26 15:22:37.068 E/SmsApplication( 1794): com.android.messaging lost android:receive_wap_push:  (no permission to fix)
11-26 15:22:37.074 E/SmsApplication( 1794): com.android.messaging lost android:receive_wap_push:  (no permission to fix)
11-26 15:22:37.079 W/MessagingApp( 1794): Unsatisfied action condition: isSmsCapable=true, hasPreferredSmsSim=true, isDefaultSmsApp=false
11-26 15:22:37.235 I/MessagingApp( 1794): UI initiated message sending in conversation 1
11-26 15:22:37.244 E/SmsApplication( 1794): com.android.messaging lost android:receive_wap_push:  (no permission to fix)
11-26 15:22:37.254 E/SmsApplication( 1794): com.android.messaging lost android:receive_wap_push:  (no permission to fix)
11-26 15:22:37.258 W/MessagingApp( 1794): Unsatisfied action condition: isSmsCapable=true, hasPreferredSmsSim=true, isDefaultSmsApp=false
11-26 15:22:37.259 W/WindowOnBackDispatcher( 1794): sendCancelIfRunning: isInProgress=false callback=android.view.ViewRootImpl$$ExternalSyntheticLambda13@bda950
11-26 15:22:37.444 I/MessagingApp( 1794): UI initiated message sending in conversation 1
11-26 15:22:37.456 E/SmsApplication( 1794): com.android.messaging lost android:receive_wap_push:  (no permission to fix)
11-26 15:22:37.463 E/SmsApplication( 1794): com.android.messaging lost android:receive_wap_push:  (no permission to fix)
11-26 15:22:37.470 W/MessagingApp( 1794): Unsatisfied action condition: isSmsCapable=true, hasPreferredSmsSim=true, isDefaultSmsApp=false
11-26 15:22:37.794 W/WindowOnBackDispatcher( 1794): sendCancelIfRunning: isInProgress=false callback=android.view.ViewRootImpl$$ExternalSyntheticLambda13@83bf4b9
11-26 15:22:43.145 W/WindowOnBackDispatcher( 1794): sendCancelIfRunnin

g: isInProgress=false callback=android.view.ViewRootImpl$$ExternalSyntheticLambda13@7ca65ae

Hii @Bean.Wang-Q
Thank you for your support.
It looks like the issue might be related to the application’s target SDK version.
I tested sending and receiving SMS using the Google Messages application, and it worked properly.

@Bean.Wang-Q
Could you please share the documentation or libraries required for integrating GPS with the EM06 module on Android 15?