WP7608 Android RIL - modem radio power on


#1

We try to install the Sierra RIL for WP7608 in android 9.

We already have installed the kernel Gobinet.ko and Sierra.ko.
(lsmod: GobiNet & sierra)

After insmod Gobi & Sierra , we can see ttyUSB2 and qcqmi0 in /dev.

I think RIL is ok, but I’m on issue about Radio power on.

03-27 09:53:47.668 1832 1832 D RILD : RIL Daemon Started
03-27 09:53:47.668 1832 1832 D RILD : RILd param count=7
03-27 09:53:47.689 1832 1832 I use-Rlog/RLOG-RIL: Entering RIL_Init…
03-27 09:53:47.692 1832 1832 I use-Rlog/RLOG-RIL: Opening tty device automatically
03-27 09:53:47.692 1832 1832 I use-Rlog/RLOG-RIL: Using network interface wwan0 as primary data channel.
03-27 09:53:47.692 1832 1832 I use-Rlog/RLOG-RIL: Client id received 0
03-27 09:53:47.692 1832 1832 I use-Rlog/RLOG-RIL: RIL_Signalinit
03-27 09:53:47.692 1832 1832 I use-Rlog/RLOG-RIL: >>> voice feature disabled
03-27 09:53:47.692 1832 1832 I use-Rlog/RLOG-RIL: >>> persist.sierra.notification NOT set: debug radio notifcation disabled
03-27 09:53:47.696 1832 1832 I use-Rlog/RLOG-RILQAPI: starting swi_osapisdkprocesscreate
03-27 09:53:47.918 1842 1842 D RILD : RIL Daemon Started
03-27 09:53:47.918 1842 1842 D RILD : RILd param count=1
03-27 09:53:48.705 1832 1832 I use-Rlog/RLOG-RILQAPI: SDK Pid set
03-27 09:53:48.706 1832 1832 I use-Rlog/RLOG-RIL:
03-27 09:53:48.706 1832 1832 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
03-27 09:53:49.706 1832 1832 I chatty : uid=1001(radio) /vendor/bin/hw/rild identical 1 line
03-27 09:53:50.707 1832 1832 I use-Rlog/RLOG-RIL:
03-27 09:53:50.707 1832 1832 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
03-27 09:53:51.707 1832 1832 I use-Rlog/RLOG-RIL:
03-27 09:53:51.707 1832 1832 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
11-26 09:20:14.913 2567 2567 E RILJ : getRadioProxy: mRadioProxy == null [SUB0]
11-26 09:20:15.028 2567 2567 D RILJ : setPhoneType=1 old value=0 [SUB0]
11-26 09:20:15.090 2567 2567 E RILJ : RadioProxy getService/setResponseFunctions: java.util.NoSuchElementException [SUB0]
11-26 09:20:15.090 2567 2567 E RILJ : getRadioProxy: mRadioProxy == null [SUB0]
11-26 09:20:15.090 2567 2567 D SST : [0] notifyDataRegStateRilRadioTechnologyChanged: drs=1 rat=0
11-26 09:20:15.135 2567 2567 D SST : [0] notifyDataRegStateRilRadioTechnologyChanged: drs=1 rat=0
11-26 09:20:15.440 1832 1832 I use-Rlog/RLOG-RIL:
11-26 09:20:15.440 1832 1832 I use-Rlog/RLOG-RIL: QCWWAN2kEnumerateDevices unable to find device… 6
11-26 09:20:15.453 2567 2567 E RILJ : RadioProxy getService/setResponseFunctions: java.util.NoSuchElementException [SUB0]
11-26 09:20:15.454 2567 2567 E RILJ : getRadioProxy: mRadioProxy == null [SUB0]
11-26 09:20:15.480 2567 2567 E RILJ : RadioProxy getService/setResponseFunctions: java.util.NoSuchElementException [SUB0]
11-26 09:20:15.480 2567 2567 E RILJ : getRadioProxy: mRadioProxy == null [SUB0]
11-26 09:20:15.485 2567 2567 D SST : [0] Poll ServiceState done: oldSS=[{mVoiceRegState=1(OUT_OF_SERVICE), mDataRegState=1(OUT_OF_SERVICE), mChannelNumber=0, duplexMode()=0, mCellBandwidths=, mVoiceRoamingType=home, mDataRoamingType=home, mVoiceOperatorAlphaLong=null, mVoiceOperatorAlphaShort=null, mDataOperatorAlphaLong=null, mDataOperatorAlphaShort=null, isManualNetworkSelection=false(automatic), mRilVoiceRadioTechnology=0(Unknown), mRilDataRadioTechnology=0(Unknown), mCssIndicator=unsupported, mNetworkId=0, mSystemId=0, mCdmaRoamingIndicator=0, mCdmaDefaultRoamingIndicator=0, mIsEmergencyOnly=false, mIsDataRoamingFromRegistration=false, mIsUsingCarrierAggregation=false, mLteEarfcnRsrpBoost=0, mNetworkRegistrationStates=}] newSS=[{mVoiceRegState=1(OUT_OF_SERVICE), mDataRegState=1(OUT_OF_SERVICE), mChannelNumber=-1, duplexMode()=0, mCellBandwidths=, mVoiceRoamingType=home, mDataRoamingType=home, mVoiceOperatorAlphaLong=null, mVoiceOperatorAlphaShort=null, mDataOperatorAlphaLong=null, mDataOperatorAlphaShort=null, isManualNetworkSelection=false(automatic), mRilVoiceRadioTechnology=0(Unknown), mRilDataRadioTechnology=0(Unknown), mCssIndicator=unsupported, mNetworkId=-1, mSystemId=-1, mCdmaRoamingIndicator=-1, mCdmaDefaultRoamingIndicator=-1, mIsEmergencyOnly=false, mIsDataRoamingFromRegistration=false, mIsUsingCarrierAggregation=false, mLteEarfcnRsrpBoost=0, mNetworkRegistrationStates=}] oldMaxDataCalls=1 mNewMaxDataCalls=1 oldReasonDataDenied=-1 mNewReasonDataDenied=-1
11-26 09:20:15.485 2567 2567 D SST : [0] pollStateDone: hasRegistered=false hasDeregistered=false hasDataAttached=false hasDataDetached=false hasDataRegStateChanged=false hasRilVoiceRadioTechnologyChanged= false hasRilDataRadioTechnologyChanged=false hasChanged=true hasVoiceRoamingOn=false hasVoiceRoamingOff=false hasDataRoamingOn=false hasDataRoamingOff=false hasLocationChanged=false has4gHandoff = false hasMultiApnSupport=false hasLostMultiApnSupport=false hasCssIndicatorChanged=false
11-26 09:20:15.509 2567 2567 D SST : [0] Broadcasting ServiceState : {mVoiceRegState=1(OUT_OF_SERVICE), mDataRegState=1(OUT_OF_SERVICE), mChannelNumber=-1, duplexMode()=0, mCellBandwidths=, mVoiceRoamingType=home, mDataRoamingType=home, mVoiceOperatorAlphaLong=null, mVoiceOperatorAlphaShort=null, mDataOperatorAlphaLong=null, mDataOperatorAlphaShort=null, isManualNetworkSelection=false(automatic), mRilVoiceRadioTechnology=0(Unknown), mRilDataRadioTechnology=0(Unknown), mCssIndicator=unsupported, mNetworkId=-1, mSystemId=-1, mCdmaRoamingIndicator=-1, mCdmaDefaultRoamingIndicator=-1, mIsEmergencyOnly=false, mIsDataRoamingFromRegistration=false, mIsUsingCarrierAggregation=false, mLteEarfcnRsrpBoost=0, mNetworkRegistrationStates=}
11-26 09:20:15.517 2567 2567 D SST : [0] Poll ServiceState done: oldSS=[{mVoiceRegState=1(OUT_OF_SERVICE), mDataRegState=1(OUT_OF_SERVICE), mChannelNumber=-1, duplexMode()=0, mCellBandwidths=, mVoiceRoamingType=home, mDataRoamingType=home, mVoiceOperatorAlphaLong=null, mVoiceOperatorAlphaShort=null, mDataOperatorAlphaLong=null, mDataOperatorAlphaShort=null, isManualNetworkSelection=false(automatic), mRilVoiceRadioTechnology=0(Unknown), mRilDataRadioTechnology=0(Unknown), mCssIndicator=unsupported, mNetworkId=-1, mSystemId=-1, mCdmaRoamingIndicator=-1, mCdmaDefaultRoamingIndicator=-1, mIsEmergencyOnly=false, mIsDataRoamingFromRegistration=false, mIsUsingCarrierAggregation=false, mLteEarfcnRsrpBoost=0, mNetworkRegistrationStates=}] newSS=[{mVoiceRegState=1(OUT_OF_SERVICE), mDataRegState=1(OUT_OF_SERVICE), mChannelNumber=-1, duplexMode()=0, mCellBandwidths=, mVoiceRoamingType=home, mDataRoamingType=home, mVoiceOperatorAlphaLong=null, mVoiceOperatorAlphaShort=null, mDataOperatorAlphaLong=null, mDataOperatorAlphaShort=null, isManualNetworkSelection=false(automatic), mRilVoiceRadioTechnology=0(Unknown), mRilDataRadioTechnology=0(Unknown), mCssIndicator=unsupported, mNetworkId=-1, mSystemId=-1, mCdmaRoamingIndicator=-1, mCdmaDefaultRoamingIndicator=-1, mIsEmergencyOnly=false, mIsDataRoamingFromRegistration=false, mIsUsingCarrierAggregation=false, mLteEarfcnRsrpBoost=0, mNetworkRegistrationStates=}] oldMaxDataCalls=1 mNewMaxDataCalls=1 oldReasonDataDenied=-1 mNewReasonDataDenied=-1
11-26 09:20:15.517 2567 2567 D SST : [0] pollStateDone: hasRegistered=false hasDeregistered=false hasDataAttached=false hasDataDetached=false hasDataRegStateChanged=false hasRilVoiceRadioTechnologyChanged= false hasRilDataRadioTechnologyChanged=false hasChanged=false hasVoiceRoamingOn=false hasVoiceRoamingOff=false hasDataRoamingOn=false hasDataRoamingOff=false hasLocationChanged=false has4gHandoff = false hasMultiApnSupport=false hasLostMultiApnSupport=false hasCssIndicatorChanged=false
11-26 09:20:15.665 2567 2567 E RILJ : RadioProxy getService/setResponseFunctions: java.util.NoSuchElementException [SUB0]
11-26 09:20:15.665 2567 2567 E RILJ : getRadioProxy: mRadioProxy == null [SUB0]
11-26 09:20:15.796 2033 2067 I GnssLocationProvider: Unable to Initialize AGnss Ril interface
11-26 09:20:15.666 2567 2567 D SST : [0] SubscriptionListener.onSubscriptionInfoChanged
11-26 09:20:15.667 2567 2567 D SST : [0] EVENT_SIM_NOT_INSERTED
11-26 09:20:17.509 2567 2751 D SST : [0] SST.getAllCellInfo(): not implemented
11-26 09:20:32.452 1832 1832 D use-Rlog/RLOG-RIL: #devices: 1
11-26 09:20:32.452 1832 1832 D use-Rlog/RLOG-RIL: deviceNode: /dev/qcqmi0
11-26 09:20:32.452 1832 1832 D use-Rlog/RLOG-RIL: deviceKey: 00000000000000
11-26 09:20:32.452 1832 1832 D use-Rlog/RLOG-RIL:
11-26 09:20:32.452 1832 1832 D use-Rlog/RLOG-RIL: QCWWAN2kConnect found device
11-26 09:20:32.738 1832 1832 D use-Rlog/RLOG-RIL: SWI Device: Info
11-26 09:20:32.739 1832 1832 D use-Rlog/RLOG-RIL: Device model identifier: WP7608
11-26 09:20:32.739 1832 1832 D use-Rlog/RLOG-RIL: Firmware boot version: SWI9X07Y_02.16.02.00
11-26 09:20:32.739 1832 1832 D use-Rlog/RLOG-RIL: Firmware application version: SWI9X07Y_02.16.02.00
11-26 09:20:32.739 1832 1832 D use-Rlog/RLOG-RIL: SKU(PRI) string: 1104156
11-26 09:20:32.739 1832 1832 D use-Rlog/RLOG-RIL: Package identifier:
11-26 09:20:32.739 1832 1832 D use-Rlog/RLOG-RIL: Carrier string: 1
11-26 09:20:32.739 1832 1832 D use-Rlog/RLOG-RIL: PRI version: 001.000
11-26 09:20:34.051 1832 1832 I RILC : SIM_COUNT: 1
11-26 09:20:34.051 1832 1832 E RILC : RIL_register: RIL version 12
11-26 09:20:34.051 1832 1832 I RILC : s_registerCalled flag set, 1
11-26 09:20:34.051 1832 1832 D RILC : registerService: starting android::hardware::radio::V1_1::IRadio slot1
11-26 09:20:34.055 1832 1832 I RILC : RILHIDL called registerService
11-26 09:20:34.055 1832 1832 D RILD : RIL_Init RIL_register completed
11-26 09:20:34.055 1832 1832 D RILD : RIL_register_socket completed
11-26 09:20:34.060 1832 3876 I use-Rlog/RLOG-RIL: queueRunner: AT port detected on /dev/ttyUSB2 and validated
11-26 09:20:34.060 1832 3876 I use-Rlog/RLOG-RILSCAN: USB write endpoint 3 is /dev/ttyUSB2
11-26 09:20:34.062 1832 3876 I use-Rlog/RLOG-RILSCAN: USB write endpoint 1 is /dev/ttyUSB0
11-26 09:20:34.062 1832 3876 I use-Rlog/RLOG-RILSCAN: USB write endpoint 2 is /dev/ttyUSB1
11-26 09:20:34.065 1832 3876 I use-Rlog/RLOG-RIL: swiril_cache_set: clearing cache for VOICE_REGISTRATION_STATE
11-26 09:20:34.065 1832 3876 I use-Rlog/RLOG-RIL: swiril_cache_set: clearing cache for DATA_REGISTRATION_STATE
11-26 09:20:34.065 1832 3876 I use-Rlog/RLOG-RIL: swiril_cache_set: clearing cache for SIGNAL_STRENGTH
11-26 09:20:34.065 1832 3876 I use-Rlog/RLOG-RIL: swiril_cache_set: clearing cache for OPERATOR
11-26 09:20:34.065 1832 3876 I use-Rlog/RLOG-RIL: swiril_cache_set: clearing cache for QUERY_NETWORK_SELECTION_MODE
11-26 09:20:34.065 1832 3876 I use-Rlog/RLOG-RIL: swiril_cache_set: clearing cache for GET_IMSI
11-26 09:20:34.065 1832 3876 I use-Rlog/RLOG-RIL: swiril_cache_set: clearing cache for DEVICE_IDENTITY
11-26 09:20:34.065 1832 3876 I use-Rlog/RLOG-RIL: swiril_cache_set: clearing cache for GET_IMEI
11-26 09:20:34.065 1832 3876 I use-Rlog/RLOG-RIL: swiril_cache_set: clearing cache for GET_IMEISV
11-26 09:20:34.065 1832 3876 I use-Rlog/RLOG-RIL: swiril_cache_set: clearing cache for BASEBAND_VERSION
11-26 09:20:34.339 1832 3876 I use-Rlog/RLOG-RIL: initializeChannelUMTS()
11-26 09:20:34.595 1832 1961 D use-Rlog/RLOG-RIL: Received SysInfo callback
11-26 09:20:34.788 1832 1961 D use-Rlog/RLOG-RIL: SLQSSetServingSystemCB Registration State: 0
11-26 09:20:34.788 1832 1961 D use-Rlog/RLOG-RIL: CS Attach State: 2
11-26 09:20:34.788 1832 1961 D use-Rlog/RLOG-RIL: PS Attach State: 2
11-26 09:20:34.788 1832 1961 D use-Rlog/RLOG-RIL: Selected Network: 0
11-26 09:20:34.788 1832 1961 D use-Rlog/RLOG-RIL: radioInterfaceList[0]: 0
11-26 09:20:35.554 1832 3876 D use-Rlog/RLOG-RIL: switchTechnologyDualMode no need to switch
11-26 09:20:35.554 1832 3876 D use-Rlog/RLOG-RIL: getRadioTechCDMA radioIface=0
11-26 09:20:35.554 1832 3876 D use-Rlog/RLOG-RIL: getRadioTechCDMA networkType=0
11-26 09:20:35.554 1832 3876 I use-Rlog/RLOG-RIL: swiril_cache_set: updating cache for VOICE_REGISTRATION_STATE
11-26 09:20:35.554 1832 3876 E RILC : networkStateChangedInd: radioService[0]->mRadioIndication == NULL
11-26 09:20:35.555 1832 3876 D use-Rlog/RLOG-RIL: getRadioTechCDMA radioIface=0
11-26 09:20:35.555 1832 3876 D use-Rlog/RLOG-RIL: getRadioTechCDMA networkType=0
11-26 09:20:35.555 1832 3876 I use-Rlog/RLOG-RIL: swiril_cache_set: updating cache for DATA_REGISTRATION_STATE
11-26 09:20:35.555 1832 3876 E RILC : networkStateChangedInd: radioService[0]->mRadioIndication == NULL
11-26 09:20:35.586 1832 3876 D use-Rlog/RLOG-RIL: requestSignalStrengthQMI_r12 RadioInterface[0]=0
11-26 09:20:35.586 1832 3876 D use-Rlog/RLOG-RIL: requestSignalStrengthQMI_r12 RadioInterface[1]=0
11-26 09:20:35.619 1832 3876 I use-Rlog/RLOG-RIL: swiril_cache_set: updating cache for SIGNAL_STRENGTH
11-26 09:20:35.619 1832 3876 E RILC : currentSignalStrengthInd: radioService[0]->mRadioIndication == NULL
11-26 09:49:51.840 2567 2567 E RILJ : RadioProxy getService/setResponseFunctions: java.util.NoSuchElementException [SUB0]: com.android.phone
11-26 09:49:51.840 2567 2567 E RILJ : getRadioProxy: mRadioProxy == null [SUB0]: com.android.phone

11-26 09:20:45.532 2567 2751 D SST : [0] SST.getAllCellInfo(): not implemented: com.android.phone
11-26 09:20:45.532 2567 2751 D SST : [0] SST.getAllCellInfo(): X size=0 list=null: com.android.phone
11-26 09:21:17.562 2567 2751 D SST : [0] SST.getAllCellInfo(): not implemented: com.android.phone
11-26 09:21:17.562 2567 2751 D SST : [0] SST.getAllCellInfo(): X size=0 list=null: com.android.phone
11-26 09:22:21.567 2567 2751 D SST : [0] SST.getAllCellInfo(): not implemented: com.android.phone
11-26 09:22:21.567 2567 2751 D SST : [0] SST.getAllCellInfo(): X size=0 list=null: com.android.phone

There is no cmd to set radio power on.
I appreciate your thoughtful reply and help.

Thanks & Regards,
JH LEE


#2

To power on, you can send AT command in legato UART port by AT+CFUN=1.
Btw, can you have a try with this command “setprop persist.sierra.sim_ready_delay 15” in the android ADB and see if this fixed the issue?