WP7608 Android RIL Intergration Issue(QMI interface with sierra driver)


#1

we try to install the RIL for the WP7608 in our Android 7.1 (AndroidRIL_V7.1.6_ARM64_7.1_V1.0_bin).

We have installed the kernel files and the RIL Driver so far. We have integrate the Android modifications also.

After Integration The device is able to emulate as a USB interface and I am able to run the AT commands over UART(minicom interface) and device is responding. But I am facing issues with Android rild.

ttyUSB0
ttyUSB1
ttyUSB2
qcqmi0

For RIL integration I followed steps mentioned in below document
(AirPrime - Android RIL Integration Guide - 4117325 - Rev1.4)

Please help us resolving this critical issue and for your reference please catch the logs as below.

In logcat -b radio we see:

msm8953_64:/ # logcat -b radio
01-01 02:37:37.606 640 640 D RILD : RIL Daemon Started
01-01 02:37:37.607 640 640 D RILD : RILd param count=7
01-01 02:37:37.631 640 640 W RILD : RIL_SAP_Init not defined or exported in /system/lib64/libsierra-ril.so: undefined symbol: RIL_SAP_Init
01-01 02:37:37.631 640 640 D RILD : RIL_Init argc = 6 clientId = 0
01-01 02:37:37.631 640 640 I use-Rlog/RLOG-RIL: Entering RIL_Init…
01-01 02:37:37.635 640 640 I use-Rlog/RLOG-RIL: Opening tty device automatically
01-01 02:37:37.636 640 640 I use-Rlog/RLOG-RIL: Using network interface wwan0 as primary data channel.
01-01 02:37:37.636 640 640 I use-Rlog/RLOG-RIL: Client id received 0
01-01 02:37:37.636 640 640 I use-Rlog/RLOG-RIL: RIL_Signalinit
01-01 02:37:37.636 640 640 I use-Rlog/RLOG-RIL: >>> voice feature disabled
01-01 02:37:37.636 640 640 I use-Rlog/RLOG-RIL: >>> persist.sierra.notification NOT set: debug radio notifcation disabled
01-01 02:37:37.636 640 640 I use-Rlog/RLOG-RILQAPI: starting swi_osapisdkprocesscreate
01-01 02:37:38.641 640 640 I use-Rlog/RLOG-RILQAPI: SDK Pid set
01-01 02:37:38.643 640 640 I use-Rlog/RLOG-RIL:
01-01 02:37:38.643 640 640 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
01-01 02:37:39.644 640 640 I use-Rlog/RLOG-RIL:
01-01 02:37:39.644 640 640 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
01-01 02:37:39.849 640 640 I use-Rlog/RLOG-RIL:
01-01 02:37:39.849 640 640 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
01-01 02:37:40.851 640 640 I use-Rlog/RLOG-RIL:
01-01 02:37:40.851 640 640 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
01-01 02:37:41.739 747 747 D TelephonyManager: No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline (Permission denied)
01-01 02:37:41.740 747 747 D TelephonyManager: /proc/cmdline=
01-01 02:37:41.741 745 745 D TelephonyManager: No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline (Permission denied)
01-01 02:37:41.741 745 745 D TelephonyManager: /proc/cmdline=
01-01 02:37:41.859 640 640 I use-Rlog/RLOG-RIL:
01-01 02:37:41.859 640 640 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
01-01 02:37:42.861 640 640 I use-Rlog/RLOG-RIL:
01-01 02:37:42.861 640 640 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
01-01 02:37:43.862 640 640 I use-Rlog/RLOG-RIL:
01-01 02:37:43.862 640 640 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
01-01 02:37:44.863 640 640 I use-Rlog/RLOG-RIL:
01-01 02:37:44.863 640 640 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
01-01 02:37:45.864 640 640 I use-Rlog/RLOG-RIL:
01-01 02:37:45.864 640 640 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
01-01 02:37:46.865 640 640 I use-Rlog/RLOG-RIL:
01-01 02:37:46.865 640 640 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
01-01 02:37:47.790 1104 1141 D TelephonyRegistry: listen oscl: hasNotifySubscriptionInfoChangedOccurred==false no callback
01-01 02:37:47.867 640 640 I use-Rlog/RLOG-RIL:
01-01 02:37:47.867 640 640 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
01-01 02:37:48.321 1104 1104 D TelephonyRegistry: listen oscl: hasNotifySubscriptionInfoChangedOccurred==false no callback
01-01 02:37:48.348 1104 1167 D TelephonyRegistry: listen oscl: hasNotifySubscriptionInfoChangedOccurred==false no callback
01-01 02:37:48.397 1104 1104 D TelephonyRegistry: systemRunning register for intents
01-01 02:37:48.736 1104 1141 D TelephonyRegistry: listen oscl: hasNotifySubscriptionInfoChangedOccurred==false no callback
01-01 02:37:48.828 1573 1573 D TDC : updateOrInsert: inserting: Modem { uuid=modem, state=0, rilModel=0, rat={}, maxActiveVoiceCall=1, maxActiveDataCall=1, maxStandby=1 }
01-01 02:37:48.828 1573 1573 D TDC : updateOrInsert: inserting: Sim { uuid=sim, modemUuid=modem, state=0 }
01-01 02:37:48.846 1573 1573 D TelephonyComponentFactory: classLoader = dalvik.system.PathClassLoader[DexPathList[[zip file “/system/framework/qti-telephony-common.jar”],nativeLibraryDirectories=[/syst]
01-01 02:37:48.847 1573 1573 D TelephonyComponentFactory: cls = class com.qualcomm.qti.internal.telephony.QtiTelephonyComponentFactory
01-01 02:37:48.847 1573 1573 D TelephonyComponentFactory: constructor method = public com.qualcomm.qti.internal.telephony.QtiTelephonyComponentFactory()
01-01 02:37:48.870 640 640 I use-Rlog/RLOG-RIL:
01-01 02:37:48.870 640 640 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
01-01 02:37:48.877 1573 1573 D CdmaSSM : subscriptionSource from settings: 0
01-01 02:37:48.877 1573 1573 I PhoneFactory: Cdma Subscription set to 0
01-01 02:37:48.883 1573 1573 I PhoneFactory: Network Mode set to 22
01-01 02:37:48.885 1573 1573 D RILJ : RIL(context, preferredNetworkType=22 cdmaSubscription=0)
01-01 02:37:48.893 1573 1573 D RILJ : Starting RILReceiver0 [SUB0]
01-01 02:37:48.895 1573 1667 I RILJ : Couldn’t find ‘rild’ socket; retrying after timeout
01-01 02:37:48.903 1573 1573 D RILJ : [3648]> GET_HARDWARE_CONFIG [SUB0]
01-01 02:37:48.903 1573 1573 D RilRequest: [3648]< GET_HARDWARE_CONFIG error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE ret=
01-01 02:37:48.904 1573 1573 I PhoneFactory: Network Mode set to 22
01-01 02:37:48.905 1573 1573 D RILJ : RIL(context, preferredNetworkType=22 cdmaSubscription=0)
01-01 02:37:48.906 1573 1573 D RILJ : Starting RILReceiver1 [SUB1]
01-01 02:37:48.908 1573 1671 I RILJ : Couldn’t find ‘rild2’ socket; retrying after timeout
01-01 02:37:48.911 1573 1573 D RILJ : [3649]> GET_HARDWARE_CONFIG [SUB1]
01-01 02:37:48.911 1573 1573 D RilRequest: [3649]< GET_HARDWARE_CONFIG error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE ret=