RM500Q for Android 10 cannot get sim slot

I’ve follow the setup guide to porting Android 10 RIL driver, also remove qcom telephony_injection.xml.
But still cannot set mobile network, check IMEI in settings.

01-01 02:25:43.926   706   706 D TelephonyManager: No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied)
01-01 02:25:43.926   706   706 D TelephonyManager: /proc/cmdline=
01-01 02:25:45.397  1231  1231 D RILD    : **RIL Daemon Started**
01-01 02:25:45.397  1231  1231 D RILD    : **RILd param count=6**
01-01 02:25:45.472  1231  1231 D use-Rlog/RLOG-RIL RILU: find quectel module /sys/bus/usb/devices/1-1.3 idVendor=2c7c idProduct=0800
01-01 02:25:45.472  1231  1231 D use-Rlog/RLOG-RIL RILU: find_usb_device is 1
01-01 02:25:46.473  1231  1231 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.2/ttyUSB2
01-01 02:25:46.473  1231  1231 D use-Rlog/RLOG-RIL RILU: ttyAT = ttyUSB2
01-01 02:25:46.473  1231  1231 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.3/ttyUSB3
01-01 02:25:46.473  1231  1231 D use-Rlog/RLOG-RIL RILU: ttyPPP = ttyUSB3
01-01 02:25:46.473  1231  1231 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.0/ttyUSB0
01-01 02:25:46.473  1231  1231 D use-Rlog/RLOG-RIL RILU: ttyDM = ttyUSB0
01-01 02:25:46.473  1231  1231 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.1/ttyUSB1
01-01 02:25:46.473  1231  1231 D use-Rlog/RLOG-RIL RILU: ttyGPS = ttyUSB1
01-01 02:25:46.474  1231  1231 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.4/usbmisc/cdc-wdm0
01-01 02:25:46.474  1231  1231 D use-Rlog/RLOG-RIL RILU: qmichannel = cdc-wdm0
01-01 02:25:46.484  1231  1431 I use-Rlog/RLOG-RIL RILC: mainLoop Start
01-01 02:25:46.485  1231  1431 D use-Rlog/RLOG-RIL RILU: vendor is 0x17cb
01-01 02:25:46.485  1231  1431 D use-Rlog/RLOG-RIL RILU: device is 0x1101
01-01 02:25:46.485  1231  1431 D use-Rlog/RLOG-RIL RILU: **************1********************
01-01 02:25:46.485  1231  1431 I chatty  : uid=0(root) /vendor/bin/hw/rild identical 1 line
01-01 02:25:46.485  1231  1431 D use-Rlog/RLOG-RIL RILU: **************1********************
01-01 02:25:46.485  1231  1431 D use-Rlog/RLOG-RIL RILU: vendor is 0x17cb
01-01 02:25:46.485  1231  1431 D use-Rlog/RLOG-RIL RILU: device is 0x010b
01-01 02:25:46.485  1231  1431 D use-Rlog/RLOG-RIL RILU: **************1********************
01-01 02:25:46.485  1231  1431 I chatty  : uid=0(root) /vendor/bin/hw/rild identical 1 line
01-01 02:25:46.485  1231  1431 D use-Rlog/RLOG-RIL RILU: **************1********************
01-01 02:25:46.485  1231  1431 D use-Rlog/RLOG-RIL RILU: find_pci_device is 0
01-01 02:25:46.485  1231  1431 D use-Rlog/RLOG-RIL RILU: find quectel module /sys/bus/usb/devices/1-1.3 idVendor=2c7c idProduct=0800
01-01 02:25:46.485  1231  1431 D use-Rlog/RLOG-RIL RILU: find_usb_device is 1
01-01 02:25:47.486  1231  1431 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.2/ttyUSB2
01-01 02:25:47.486  1231  1431 D use-Rlog/RLOG-RIL RILU: ttyAT = ttyUSB2
01-01 02:25:47.486  1231  1431 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.3/ttyUSB3
01-01 02:25:47.486  1231  1431 D use-Rlog/RLOG-RIL RILU: ttyPPP = ttyUSB3
01-01 02:25:47.487  1231  1431 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.0/ttyUSB0
01-01 02:25:47.487  1231  1431 D use-Rlog/RLOG-RIL RILU: ttyDM = ttyUSB0
01-01 02:25:47.487  1231  1431 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.1/ttyUSB1
01-01 02:25:47.487  1231  1431 D use-Rlog/RLOG-RIL RILU: ttyGPS = ttyUSB1
01-01 02:25:47.487  1231  1431 D use-Rlog/RLOG-RIL RILU: find /sys/bus/usb/devices/1-1.3:1.4/usbmisc/cdc-wdm0
01-01 02:25:47.487  1231  1431 D use-Rlog/RLOG-RIL RILU: qmichannel = cdc-wdm0
01-01 02:25:47.487  1231  1431 D use-Rlog/RLOG-RIL RILC: quectel at port is /dev/ttyUSB2
01-01 02:25:47.487  1231  1431 D use-Rlog/RLOG-RIL RILC: s_device_path is /dev/ttyUSB2
01-01 02:25:47.488  1231  1431 D use-Rlog/RLOG-RIL RILC: open device /dev/ttyUSB2 correctly
01-01 02:25:47.488  1231  1431 E use-Rlog/RLOG-RIL ATC: at_open s_tild_reader = 492957879632
01-01 02:25:47.488  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> ATE0Q0V1
01-01 02:25:47.505  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.006  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> ATI
01-01 02:25:48.008  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< Quectel
01-01 02:25:48.008  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< RM500Q-GL
01-01 02:25:48.008  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< Revision: RM500QGLABR11A06M4G
01-01 02:25:48.008  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.008  1231  1321 D use-Rlog/RLOG-RIL RILC: ql_product_version is RM500QGLABR11A06M4G
01-01 02:25:48.008  1231  1321 D use-Rlog/RLOG-RIL RILC: Quectel Product Revision: RM500QGLABR11A06M4G
01-01 02:25:48.008  1231  1321 D use-Rlog/RLOG-RIL RILC: Unknow Platform
01-01 02:25:48.009  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+QGPSCFG="outport","usbnmea"
01-01 02:25:48.016  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.017  1231  1542 D use-Rlog/RLOG-RIL tty2tcp: swap_sources ( s:rild-nmea <> c:11 ) fifo_size=4096
01-01 02:25:48.017  1231  1542 D use-Rlog/RLOG-RIL tty2tcp: create_socket_server( rild-nmea )
01-01 02:25:48.017  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CSUB;+CVERSION
01-01 02:25:48.017  1231  1542 D use-Rlog/RLOG-RIL tty2tcp: local server: rild-nmea sockfd = 14
01-01 02:25:48.017  1231  1542 D use-Rlog/RLOG-RIL tty2tcp: create_socket_server( serverfd=14 )
01-01 02:25:48.017  1231  1542 D use-Rlog/RLOG-RIL tty2tcp: rild_socket_add [1]=14
01-01 02:25:48.018  1231  1544 D use-Rlog/RLOG-RIL tty2tcp: open /dev/ttyUSB1 ttyfd = 15
01-01 02:25:48.018  1231  1544 D use-Rlog/RLOG-RIL GPS: ql_gps_read_nmea open gps device /dev/ttyUSB1 successfully, fd = 15
01-01 02:25:48.019  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< SubEdition: V03
01-01 02:25:48.019  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< VERSION: RM500QGLABR11A06M4G
01-01 02:25:48.019  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< Nov  2 2021 22:13:12
01-01 02:25:48.019  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< Authors: Quectel
01-01 02:25:48.019  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.019  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> ATE0Q0V1
01-01 02:25:48.021  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.021  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> ATS0=0
01-01 02:25:48.023  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.023  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+QURCCFG="URCPORT","usbat"
01-01 02:25:48.024  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.024  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT&D2
01-01 02:25:48.025  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.025  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CMEE=1
01-01 02:25:48.026  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.026  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CREG=2
01-01 02:25:48.026  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.026  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CGREG=2
01-01 02:25:48.027  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.027  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+C5GREG=2
01-01 02:25:48.028  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.028  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT^DSCI=1
01-01 02:25:48.028  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.029  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CFUN?
01-01 02:25:48.029  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< +CFUN: 1
01-01 02:25:48.029  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.029  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CPIN?
01-01 02:25:48.030  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< +CME ERROR: 13
01-01 02:25:48.030  1231  1544 D use-Rlog/RLOG-RIL ATC: AT> AT+QGPSXTRADATA?
01-01 02:25:48.033  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< +QGPSXTRADATA: 0,"1980/01/06,00:00:00"
01-01 02:25:48.033  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:48.033  1231  1544 E use-Rlog/RLOG-RIL GPS: ql_xtradata_inject_time :1980/1/6, 0:0:0
01-01 02:25:49.030  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CFUN?
01-01 02:25:49.033  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< +CFUN: 1
01-01 02:25:49.033  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:49.033  1231  1321 I use-Rlog/RLOG-RIL RILC: [setRadioState]:oldState=1, newState=2
01-01 02:25:49.033  1231  1321 W RILC    : RIL_onUnsolicitedResponse called before RIL_register
01-01 02:25:49.033  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CPIN?
01-01 02:25:49.034  1231  1231 D use-Rlog/RLOG-RIL RILC: dlopen /vendor/lib64/hw/radio.quectel.module.so failed: dlopen failed: library "/vendor/lib64/hw/radio.quectel.module.so" not found
01-01 02:25:49.034  1231  1231 D RILD    : RIL_Init rilInit completed
01-01 02:25:49.034  1231  1231 I RILC    : SIM_COUNT: 1
01-01 02:25:49.034  1231  1231 E RILC    : RIL_register: RIL version 12
01-01 02:25:49.034  1231  1231 I RILC    : s_registerCalled flag set, 1
01-01 02:25:49.034  1231  1231 D RILC    : registerService: starting android::hardware::radio::V1_1::IRadio slot1
01-01 02:25:49.035  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< +CME ERROR: 13
01-01 02:25:49.035  1231  1321 I use-Rlog/RLOG-RIL RILC: [setRadioState]:oldState=2, newState=3
01-01 02:25:49.037  1231  1231 I RILC    : RILHIDL called registerService
01-01 02:25:49.037  1231  1231 D RILD    : RIL_Init RIL_register completed
01-01 02:25:49.037  1231  1231 D RILD    : RIL_register_socket started
01-01 02:25:49.037  1231  1231 D RIL_UIM_SOCKET: Adding socket with id: 0
01-01 02:25:49.037  1231  1231 I RILC    : RIL_register_socket: calling registerService
01-01 02:25:49.037  1231  1231 D RIL_SAP : registerService: starting ISap slot1 for slotId 0
01-01 02:25:49.038  1231  1231 D RIL_SAP : registerService: started ISap slot1 status 0
01-01 02:25:49.038  1231  1231 D RILD    : RIL_register_socket completed
01-01 02:25:49.038  1231  1321 E RILC    : radioStateChangedInd: radioService[0]->mRadioIndication == NULL
01-01 02:25:49.038  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+COPS=3,2;+COPS?
01-01 02:25:49.039  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< +COPS: 2
01-01 02:25:49.039  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:49.039  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CSQ
01-01 02:25:49.040  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< +CSQ: 6,99
01-01 02:25:49.040  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:49.040  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+COPS=3,2;+COPS?
01-01 02:25:49.041  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< +COPS: 2
01-01 02:25:49.041  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
01-01 02:25:49.041  1231  1321 E RILC    : currentSignalStrengthInd: radioService[0]->mRadioIndication == NULL
01-01 02:25:49.041  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+CGREG?
01-01 02:25:49.042  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< +CGREG: 2,0
01-01 02:25:49.042  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
12-18 11:23:03.427   707   707 D TelephonyManager: No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied)
12-18 11:23:03.427   707   707 D TelephonyManager: /proc/cmdline=
12-18 11:23:04.224  1312  1312 E TelephonyManager: IMSI error: Subscriber Info is null
12-18 11:23:04.929  1312  1863 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:04.957  1312  1312 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:04.991  1312  1312 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:05.001  1312  1974 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:05.021  1312  1312 D TelephonyRegistry: systemRunning register for intents
12-18 11:23:05.491  1312  1312 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:05.896  2173  2173 D TelephonyComponentFactory: validated paths: null
12-18 11:23:05.896  2173  2173 D TelephonyComponentFactory: Total components injected: 0
12-18 11:23:05.896  2173  2173 D TDC     : updateOrInsert: inserting: Modem { uuid=modem, state=0, rilModel=0, rat={}, maxActiveVoiceCall=1, maxActiveDataCall=1, maxStandby=1 }
12-18 11:23:05.896  2173  2173 D TDC     : updateOrInsert: inserting: Sim { uuid=sim, modemUuid=modem, state=0 }
12-18 11:23:05.902  2173  2173 D CdmaSSM : subscriptionSource from settings: 0
12-18 11:23:05.903  2173  2173 I PhoneFactory: Cdma Subscription set to 0
12-18 11:23:05.903  2173  2173 I PhoneFactory: Network Mode set to 22
12-18 11:23:05.903  2173  2173 D TelephonyComponentFactory: makeRIL
12-18 11:23:05.903  2173  2173 D RILJ    : RIL: init preferredNetworkType=22 cdmaSubscription=0) [SUBnull]
12-18 11:23:06.053  1930  1930 W CarrierConfigManager: Error getting config for subId -1 ICarrierConfigLoader is null
12-18 11:23:06.101  1312  1951 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:06.185  1312  1312 D TelephonyRegistry: notifyCellLocationForSubscriber: subId=0 cellLocation=Bundle[{cid=-1, lac=-1, psc=-1}]
12-18 11:23:06.187  1312  1312 D TelephonyRegistry: notifyCellLocationForSubscriber: subId=1 cellLocation=Bundle[{cid=-1, lac=-1, psc=-1}]
12-18 11:23:07.559  1312  1883 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
12-18 11:23:09.487  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> at+qcfg="aprstlevel"
12-18 11:23:09.509  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< +QCFG: "ApRstLevel",0
12-18 11:23:09.509  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
12-18 11:23:09.509  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> at+qcfg="modemrstlevel",0
12-18 11:23:09.512  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK
12-18 11:23:09.512  1231  1321 D use-Rlog/RLOG-RIL ATC: AT> AT+QSCLK=1
12-18 11:23:09.516  1231  1514 D use-Rlog/RLOG-RIL ATC: AT< OK

The main issue is :
image

Please try to change the at+cfun=0/1 to fix it, if it still does not work, please try to fix it refer to the following link.

Dear Wang,
I’ve fix CME ERROR, but still cannot get services provider, get into mobile setting, get SIM info and check IMEI number.

OS: Android 10
Iradio verison: 1.0

kona:/ # getprop | grep ril
[gsm.version.ril-impl]: [Quectel_Android_RIL_Driver_V3.3.58_dirty]
[init.svc.ril-daemon]: [running]
[init.svc.vendor.qcrild]: [stopped]
[init.svc.vendor.ril-daemon]: [stopped]
[persist.rild.nitz_long_ons_0]: []
[persist.rild.nitz_long_ons_1]: []
[persist.rild.nitz_long_ons_2]: []
[persist.rild.nitz_long_ons_3]: []
[persist.rild.nitz_plmn]: []
[persist.rild.nitz_short_ons_0]: []
[persist.rild.nitz_short_ons_1]: []
[persist.rild.nitz_short_ons_2]: []
[persist.rild.nitz_short_ons_3]: []
[ril.subscription.types]: [NV,RUIM]
[rild.libpath]: [/vendor/lib64/hw/libreference-ril.so]
[ro.boottime.ril-daemon]: [25473785874]
[ro.radio.noril]: [no]
[ro.vendor.radio.noril]: [no]
[ro.vendor.ril.mbn_copy_completed]: [1]

logcat and radio log

It seems that the ril daemon is not running correctly. please refer to the following sreenshot to fix it.


Dear Wang,

  1. init.svc.ril-daemon is running.

  2. I’ve add service at init.target.rc and looks like ril daemon started. I think no need to duplicated at rild.rc
    PS: service is disabled but will start by another script.

kona:/ # busybox ps | grep ril
 1373 0          0:03 /vendor/bin/hw/rild -l /vendor/lib64/hw/libreference-ril.so -- -d /dev/ttyUSB2
27508 0          0:00 grep ril
kona:/ #

init.target.rc

#Quectel 5G
service ril-daemon /vendor/bin/hw/rild -l /vendor/lib64/hw/libreference-ril.so -- -d /dev/ttyUSB2
   class main
   user root
   group radio cache inet misc audio sdcard_rw log
   capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
   disabled

original rild.rc

service vendor.ril-daemon /vendor/bin/hw/rild
    class main
    user radio
    disabled
    group radio cache inet misc audio log readproc wakelock
    capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
  1. rild can access ttyUSB2 and send AT command. Selinux is disabled.

  2. gsm.version.ril-impl : Quectel_Android_RIL_Driver_V3.3.58_dirty

I’ve notice my log show need radio.quectel.module.so but it didn’t package in Quectel_Android_RIL_Driver_V3.3.58_master_beta

01-01 01:24:19.713  1348  1348 D use-Rlog/RLOG-RIL RILC: dlopen /vendor/lib64/hw/radio.quectel.module.so failed: dlopen failed: library "/vendor/lib64/hw/radio.quectel.module.so" not found

The network signal is too poor, please check.

Dear Wang,

I’ve move device to outside and check signal in AT command log. I think this is not signal problem. At least android settings should be can check IMEI and SIM status.

Do you have the same problem if you use modules from other vendors?

Hi, could you provide GobiNet driver?
Now I can receive sms and phone call on Android 10 device via RM500Q. But cannot get internet.

logcat

02-09 19:39:13.665  1452  1452 D use-Rlog/RLOG-RIL SETUP_DATA_CA: ppp0 IP Address: 0.0.0.0/0
02-09 19:39:13.665  1452  1452 D use-Rlog/RLOG-RIL SETUP_DATA_CA: [14] trying to get_local_ip ... 0.0.0.0/0
02-09 19:39:14.666  1452  1452 D use-Rlog/RLOG-RIL SETUP_DATA_CA: ppp0 IP Address: 0.0.0.0/0
02-09 19:39:14.666  1452  1452 D use-Rlog/RLOG-RIL SETUP_DATA_CA: [15] trying to get_local_ip ... 0.0.0.0/0
02-09 19:39:15.667  1452  1452 D use-Rlog/RLOG-RIL SETUP_DATA_CA: ppp0 IP Address: 0.0.0.0/0
02-09 19:39:15.667  1452  1452 D use-Rlog/RLOG-RIL SETUP_DATA_CA: [16] trying to get_local_ip ... 0.0.0.0/0

ifconfig

kona:/dev # ifconfig
rmnet_wwan0 Link encap:Ethernet  HWaddr 06:54:f2:9b:ae:eb  Driver qmi_wwan_q
          UP NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 TX bytes:0

wlan0     Link encap:Ethernet  HWaddr 00:03:7f:12:c9:a1  Driver cnss_pci
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3000
          RX bytes:0 TX bytes:0

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope: Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:136577 errors:0 dropped:0 overruns:0 frame:0
          TX packets:136577 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:99263386 TX bytes:99263386

rmnet_wwan0_1 Link encap:Ethernet  HWaddr 06:54:f2:9b:ae:eb
          UP NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 TX bytes:0

dummy0    Link encap:Ethernet  HWaddr e6:29:f1:01:10:b5
          inet6 addr: fe80::e429:f1ff:fe01:10b5/64 Scope: Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:111 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 TX bytes:22550

I’ve add quectel-CM to my android device. looks like device can get ip from rm500q

130|kona:/ # quectel-CM
[02-09_19:41:40:318] Quectel_QConnectManager_Linux_V1.6.0.26
[02-09_19:41:40:319] Find /sys/bus/usb/devices/2-1.1 idVendor=0x2c7c idProduct=0x800, bus=0x002, dev=0x003
[02-09_19:41:40:319] Auto find qmichannel = /dev/cdc-wdm0
[02-09_19:41:40:319] Auto find usbnet_adapter = rmnet_wwan0
[02-09_19:41:40:319] netcard driver = qmi_wwan_q, driver version = V1.2.0.23
[02-09_19:41:40:319] qmap_mode = 1, qmap_version = 9, qmap_size = 31744, muxid = 0x81, qmap_netcard = rmnet_wwan0_1
[02-09_19:41:40:319] Modem works in QMI mode
[02-09_19:41:40:339] cdc_wdm_fd = 7
[02-09_19:41:40:419] Get clientWDS = 15
[02-09_19:41:40:451] Get clientDMS = 1
[02-09_19:41:40:483] Get clientNAS = 4
[02-09_19:41:40:515] Get clientUIM = 2
[02-09_19:41:40:547] Get clientWDA = 1
[02-09_19:41:40:579] requestBaseBandVersion RM500QGLABR11A06M4G
[02-09_19:41:40:611] qmap_settings.rx_urb_size = 31744
[02-09_19:41:40:611] qmap_settings.ul_data_aggregation_max_datagrams  = 11
[02-09_19:41:40:611] qmap_settings.ul_data_aggregation_max_size       = 4096
[02-09_19:41:40:611] qmap_settings.dl_minimum_padding                 = 0
[02-09_19:41:40:739] requestGetSIMStatus SIMStatus: SIM_READY
[02-09_19:41:40:771] requestGetProfile[1] internet///0
[02-09_19:41:40:803] requestRegistrationState2 MCC: 466, MNC: 1, PS: Attached, DataCap: LTE
[02-09_19:41:40:835] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[02-09_19:41:40:835] ifconfig rmnet_wwan0 down
[02-09_19:41:40:875] ifconfig rmnet_wwan0_1 0.0.0.0
ifconfig: ioctl 8914: Network is down
[02-09_19:41:40:905] ifconfig rmnet_wwan0_1 down
[02-09_19:41:40:963] requestSetupDataCall WdsConnectionIPv4Handle: 0x70438490
[02-09_19:41:41:092] ifconfig rmnet_wwan0 up
[02-09_19:41:41:137] ifconfig rmnet_wwan0_1 up
[02-09_19:41:41:180] No default.script found, it should be in '/usr/share/udhcpc/' or '/etc//udhcpc' depend on your udhcpc version!
[02-09_19:41:41:180] busybox udhcpc -f -n -q -t 5 -i rmnet_wwan0_1
[02-09_19:41:41:203] udhcpc (v1.21.1) started
[02-09_19:41:41:203] Sending discover...
[02-09_19:41:41:208] Sending select for 10.210.26.109...
[02-09_19:41:41:212] Lease of 10.210.26.109 obtained, lease time 7200
[02-09_19:41:41:213] /bin/ip -4 address flush dev rmnet_wwan0_1
[02-09_19:41:41:256] /bin/ip -4 address add 10.210.26.109/30 dev rmnet_wwan0_1
[02-09_19:41:41:292] /bin/ip -4 route add default via 10.210.26.110 dev rmnet_wwan0_1
  1. [02-09_19:41:41:180] No default.script found, it should be in ‘/usr/share/udhcpc/’ or ‘/etc//udhcpc’ depend on your udhcpc version!
    --------copy default.script from quectel-CM tool directory to /usr/share/udhcpc/’ or ‘/etc//udhcpc’.
  2. please make sure to set rmnet_wwan0_1 as default route.
  3. I will send GobiNet driver to you via email.