Android RIL 移植 SIM900

移植步骤

1.RIL串口接口

fd = open (s_device_path, O_RDWR);
               /*if ( fd >= 0 && !memcmp( s_device_path, "/dev/ttyS", 9 ) ) {
                   //* disable echo on serial ports
                   struct termios  ios;
                   tcgetattr( fd, &ios );
                   ios.c_lflag = 0;  
                   tcsetattr( fd, TCSANOW, &ios );
               }*/
       if ( fd >= 0 && !memcmp( s_device_path, "/dev/", 5 ) ) {
                   /* disable echo on serial ports */
                   struct termios  ios;
                   bzero(&ios, sizeof(ios));
                   tcgetattr( fd, &ios );
                   ios.c_iflag |=
                   ios.c_cflag |= CLOCAL | CREAD | CS8;   // 用于本地连接和接收使能数据位长度
                   ios.c_iflag |= IGNPAR;
                   cfsetispeed(&ios, B115200);           //设置波特率
                    cfsetospeed(&ios, B115200);
                   ios.c_lflag = 0;  /* disable ECHO, ICANON, etc... */
                   tcflush(fd, TCIFLUSH);
                   tcsetattr( fd, TCSANOW, &ios );

2.脚本配置 system.prop

rild.libpath=/system/lib/libreference-ril.so
rild.libargs=-d /dev/ttySAC1
keyguard.no_require_sim=1

3.关机开机模块修改

这里可能是模块的BUG
在发送休眠指令"AT+CFUN=0"后,模块貌似死机一般,不能正常收发指令了。
这个主要是调试华为MC323模块出现的Bug,调试SIM900A没有此BUG,暂时不适配,只提供思想

** static void requestRadioPower(void *data, size_t datalen, RIL_Token t) **

if (onOff == 0 && sState != RADIO_STATE_OFF) {
        //err = at_send_command("AT+CFUN=0", &p_response);
       //if (err < 0 || p_response->success == 0) goto error;
        setRadioState(RADIO_STATE_OFF);
    } else if (onOff > 0 && sState == RADIO_STATE_OFF) {
        err = at_send_command("AT+CFUN=1", &p_response);
        if (err < 0|| p_response->success == 0) {
            // Some stacks return an error when there is no SIM,
            // but they really turn the RF portion on
            // So, if we get an error, let's check to see if it
            // turned on anyway

            if (isRadioOn() != 1) {
                goto error;
            }
        }
        setRadioState(RADIO_STATE_SIM_NOT_READY);
    }

4.信号强度上报

修改函数 ** static void requestSignalStrength(void *data, size_t datalen, RIL_Token t) **

err = at_tok_nextint(&line, &(signal[0]));
    if (err < 0) goto error;

    err = at_tok_nextint(&line, &(signal[1]));
    if (err < 0) goto error;

	response.GW_SignalStrength.signalStrength = signal[0];
    response.GW_SignalStrength.bitErrorRate = signal[1];

    LOGE("zgkxzx response.GW_SignalStrength.signalStrength %d",signal[0]);
	LOGE("zgkxzx response.GW_SignalStrength.bitErrorRate %d",signal[1]);

    response.CDMA_SignalStrength.dbm = 0;
    response.CDMA_SignalStrength.ecio = 0;
    response.EVDO_SignalStrength.dbm = 0;
    response.EVDO_SignalStrength.ecio = 0;
    response.EVDO_SignalStrength.signalNoiseRatio = 0;
    response.LTE_SignalStrength.signalStrength = 0;
    response.LTE_SignalStrength.rsrp = 0;
    response.LTE_SignalStrength.rsrq = 0;
    response.LTE_SignalStrength.rssnr = 0;
    response.LTE_SignalStrength.cqi = 0;

	RIL_onRequestComplete(t, RIL_E_SUCCESS, &response, sizeof(RIL_SignalStrength_v6));

调试正常打印LOG

输入命令:

adb logcat -b radio > ***.txt

RIL日志信息

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
I/RIL     ( 1464): Opening tty device /dev/ttySAC1
E/RILC    ( 1464): RIL_register: RIL version 6
D/RILC    ( 1464): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED  {RADIO_OFF}
D/AT      ( 1464): AT> ATE0Q0V1
D/AT      ( 1464): AT< ATE0Q0V1
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> ATE0Q0V1
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> ATS0=0
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> AT+CMEE=1
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> AT+CREG=2
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> AT+CGREG=1
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> AT+CCWA=1
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> AT+CMOD=0
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> AT+CMUT=0
D/AT      ( 1464): AT< +CME ERROR: 3
D/AT      ( 1464): AT> AT+CSSN=0,1
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> AT+COLP=0
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> AT+CSCS="HEX"
D/AT      ( 1464): AT< +CME ERROR: 3
D/AT      ( 1464): AT> AT+CUSD=1
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> AT+CGEREP=1,0
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> AT+CMGF=0
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> AT+CFUN?
D/AT      ( 1464): AT< +CFUN: 1
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED  {RADIO_SIM_NOT_READY}
D/AT      ( 1464): AT> AT+CPIN?
D/AT      ( 1464): AT< +CPIN: READY
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED  {RADIO_SIM_READY}
D/AT      ( 1464): AT> AT+CSMS=1
D/AT      ( 1464): AT< +CSMS: 1,1,1
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> AT+CNMI=1,2,2,1,1
D/AT      ( 1464): AT< OK
D/RILB    ( 1965): /proc/cmdline=console=ttySAC3,115200n8 androidboot.console=ttySAC3 lcd=vs070cxn tp=ft5x06-1024x600 cam=ov2655 mac=00:09:de:e6:d6:68
D/RILB    ( 1965): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): /proc/cmdline=console=ttySAC3,115200n8 androidboot.console=ttySAC3 lcd=vs070cxn tp=ft5x06-1024x600 cam=ov2655 mac=00:09:de:e6:d6:68
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
I/PHONE   ( 2166): Network Mode set to 0
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
I/PHONE   ( 2166): lteOnCdma is 0 use SUBSCRIPTION_FROM_NV
I/PHONE   ( 2166): Cdma Subscription set to 1
D/RILJ    ( 2166): RIL(context, preferredNetworkType=0 cdmaSubscription=1)
D/RILJ    ( 2166): Starting RILReceiver
I/RILC    ( 1464): libril: new connection
D/RILC    ( 1464): [UNSL]< UNSOL_RIL_CONNECTED {6}
D/RILC    ( 1464): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED  {RADIO_SIM_READY}
I/RILC    ( 1464): RIL Daemon version: android reference-ril 1.0
I/RILJ    ( 2166): Connected to 'rild' socket
D/RILJ    ( 2166): [UNSL]< UNSOL_RIL_CONNECTED {6}
D/RILJ    ( 2166): [0000]> RADIO_POWER off
D/RILC    ( 1464): [0000]> RADIO_POWER (0)
D/RIL     ( 1464): onRequest: RADIO_POWER
D/RILC    ( 1464): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED  {RADIO_OFF}
D/RILC    ( 1464): [0000]< RADIO_POWER
D/RILJ    ( 2166): [0001]> REQUEST_SET_PREFERRED_NETWORK_TYPE : 0
D/RILC    ( 1464): [0001]> SET_PREFERRED_NETWORK_TYPE (0)
D/RIL     ( 1464): onRequest: SET_PREFERRED_NETWORK_TYPE
D/RILC    ( 1464): [0001]< SET_PREFERRED_NETWORK_TYPE fails by E_RAIDO_NOT_AVAILABLE
D/RILJ    ( 2166): [0002]> RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE : 1
D/RILC    ( 1464): [0002]> CDMA_SET_SUBSCRIPTION_SOURCE (1)
D/RIL     ( 1464): onRequest: CDMA_SET_SUBSCRIPTION_SOURCE
D/RILC    ( 1464): [0002]< CDMA_SET_SUBSCRIPTION_SOURCE fails by E_RAIDO_NOT_AVAILABLE
I/PHONE   ( 2166): Creating GSMPhone
D/RILJ    ( 2166): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED SIM_READY
D/RILB    ( 2166): Notifying: radio available
D/RILJ    ( 2166): [0003]> SCREEN_STATE: true
D/RILC    ( 1464): [0003]> SCREEN_STATE (1)
D/RIL     ( 1464): onRequest: SCREEN_STATE
D/RILC    ( 1464): [0003]< SCREEN_STATE fails by E_RAIDO_NOT_AVAILABLE
D/RILB    ( 2166): Notifying: SIM ready
D/RILB    ( 2166): Notifying: Radio On
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILJ    ( 2166): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_OFF
D/RILB    ( 2166): Notifying: radio off or not available
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILJ    ( 2166): [0000]< RADIO_POWER
D/RILJ    ( 2166): [0001]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
D/RILJ    ( 2166): [0002]< RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
D/RILJ    ( 2166): [0003]< SCREEN_STATE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
D/PHONE   ( 2166): mDoesRilSendMultipleCallRing=true
D/PHONE   ( 2166): mCallRingDelay=3000
D/RILJ    ( 2166): setPhoneType=1 old value=0
D/SMS     ( 2166): SMSDispatcher: ctor mSmsCapable=true format=3gpp mSmsReceiveDisabled=false mSmsSendDisabled=false
W/GSM     ( 2166): Can't open /system/etc/voicemail-conf.xml
W/GSM     ( 2166): Can't open /system/etc/spn-conf.xml
D/GSM     ( 2166): [ApnContext] set mDependencyMet as false, for type default, current state is true
D/GSM     ( 2166): [ApnContext] set enabled as true, for type default, current state is false
D/GSM     ( 2166): [GsmDCT] applyNewState(default, true(true), true(false))
D/GSM     ( 2166): [ApnContext] set reason as dependencyMet, for type default,current state IDLE
D/GSM     ( 2166): [ApnContext] set enabled as true, for type default, current state is true
D/GSM     ( 2166): [ApnContext] set mDependencyMet as true, for type default, current state is false
D/GSM     ( 2166): [GsmDCT] trySetupData for type:default due to dependencyMet
D/GSM     ( 2166): [GsmDCT] trySetupData with mIsPsRestricted=false
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] notifyOffApnsOfAvailability skipped apn due to isReady==false: state=IDLE apnType=default
D/GSM     ( 2166): [ApnContext] set mDependencyMet as false, for type mms, current state is true
D/GSM     ( 2166): [GsmDCT] applyNewState(mms, false(false), true(false))
D/GSM     ( 2166): [ApnContext] set enabled as false, for type mms, current state is false
D/GSM     ( 2166): [ApnContext] set mDependencyMet as true, for type mms, current state is false
D/GSM     ( 2166): [ApnContext] set mDependencyMet as false, for type supl, current state is true
D/GSM     ( 2166): [GsmDCT] applyNewState(supl, false(false), true(false))
D/GSM     ( 2166): [ApnContext] set enabled as false, for type supl, current state is false
D/GSM     ( 2166): [ApnContext] set mDependencyMet as true, for type supl, current state is false
D/GSM     ( 2166): [ApnContext] set mDependencyMet as false, for type hipri, current state is true
D/GSM     ( 2166): [GsmDCT] applyNewState(hipri, false(false), true(false))
D/GSM     ( 2166): [ApnContext] set enabled as false, for type hipri, current state is false
D/GSM     ( 2166): [ApnContext] set mDependencyMet as true, for type hipri, current state is false
D/GSM     ( 2166): [ApnContext] set mDependencyMet as false, for type fota, current state is true
D/GSM     ( 2166): [GsmDCT] applyNewState(fota, false(false), true(false))
D/GSM     ( 2166): [ApnContext] set enabled as false, for type fota, current state is false
D/GSM     ( 2166): [ApnContext] set mDependencyMet as true, for type fota, current state is false
D/GSM     ( 2166): [ApnContext] set mDependencyMet as false, for type ims, current state is true
D/GSM     ( 2166): [GsmDCT] applyNewState(ims, false(false), true(false))
D/GSM     ( 2166): [ApnContext] set enabled as false, for type ims, current state is false
D/GSM     ( 2166): [ApnContext] set mDependencyMet as true, for type ims, current state is false
D/GSM     ( 2166): [ApnContext] set mDependencyMet as false, for type cbs, current state is true
D/GSM     ( 2166): [GsmDCT] applyNewState(cbs, false(false), true(false))
D/GSM     ( 2166): [ApnContext] set enabled as false, for type cbs, current state is false
D/GSM     ( 2166): [ApnContext] set mDependencyMet as true, for type cbs, current state is false
D/RILJ    ( 2166): [0004]> RADIO_POWER on
D/RILC    ( 1464): [0004]> RADIO_POWER (1)
D/RIL     ( 1464): onRequest: RADIO_POWER
D/AT      ( 1464): AT> AT+CFUN=1
D/GSM     ( 2166): [GsmSST] Poll ServiceState done:  oldSS=[1 home null null null  Unknown:0 CSS not supported 0 0 RoamInd=0 DefRoamInd=0 EmergOnly=false] newSS=[3 home null null null  Unknown:0 CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] oldGprs=1 newData=1 oldMaxDataCalls=1 mNewMaxDataCalls=1 oldReasonDataDenied=-1 mNewReasonDataDenied=-1 oldType=Unknown:0 newType=Unknown:0
D/GSM     ( 2166): [GsmSST] updateSpnDisplay: changed sending intent rule=2 showPlmn='false' plmn='null' showSpn='false' spn='null'
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED  {RADIO_SIM_NOT_READY}
D/AT      ( 1464): AT> AT+CPIN?
D/RILJ    ( 2166): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED SIM_NOT_READY
D/RILB    ( 2166): Notifying: Radio On
D/GSM     ( 2166): [GsmDCT] handleMessage msg={ what=270337 when=-702ms obj=android.os.AsyncResult@4110e878 }
D/GSM     ( 2166): [GsmDCT] onRadioAvailable
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/GSM     ( 2166): [GsmDCT] overall state is IDLE
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/GSM     ( 2166): [GsmDCT] handleMessage msg={ what=270342 when=-705ms obj=android.os.AsyncResult@4110e920 }
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/GSM     ( 2166): [GsmDCT] onRadioOffOrNotAvailable: is off and clean up all connections
D/GSM     ( 2166): [GsmDCT] cleanUpAllConnections: tearDown=false reason=radioTurnedOff
D/GSM     ( 2166): [ApnContext] set reason as radioTurnedOff, for type fota,current state IDLE
D/GSM     ( 2166): [GsmDCT] cleanUpConnection: tearDown=false reason=radioTurnedOff
D/GSM     ( 2166): [ApnContext] setState: IDLE for type fota, previous state:IDLE
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(fota): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:fota
D/GSM     ( 2166): [ApnContext] set reason as radioTurnedOff, for type supl,current state IDLE
D/GSM     ( 2166): [GsmDCT] cleanUpConnection: tearDown=false reason=radioTurnedOff
D/GSM     ( 2166): [ApnContext] setState: IDLE for type supl, previous state:IDLE
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(supl): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:supl
D/GSM     ( 2166): [ApnContext] set reason as radioTurnedOff, for type hipri,current state IDLE
D/GSM     ( 2166): [GsmDCT] cleanUpConnection: tearDown=false reason=radioTurnedOff
D/GSM     ( 2166): [ApnContext] setState: IDLE for type hipri, previous state:IDLE
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(hipri): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:hipri
D/GSM     ( 2166): [ApnContext] set reason as radioTurnedOff, for type ims,current state IDLE
D/GSM     ( 2166): [GsmDCT] cleanUpConnection: tearDown=false reason=radioTurnedOff
D/GSM     ( 2166): [ApnContext] setState: IDLE for type ims, previous state:IDLE
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(ims): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:ims
D/GSM     ( 2166): [ApnContext] set reason as radioTurnedOff, for type default,current state IDLE
D/GSM     ( 2166): [GsmDCT] cleanUpConnection: tearDown=false reason=radioTurnedOff
D/GSM     ( 2166): [ApnContext] setState: IDLE for type default, previous state:IDLE
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(default): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=true apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:default
D/GSM     ( 2166): [ApnContext] set reason as radioTurnedOff, for type mms,current state IDLE
D/GSM     ( 2166): [GsmDCT] cleanUpConnection: tearDown=false reason=radioTurnedOff
D/GSM     ( 2166): [ApnContext] setState: IDLE for type mms, previous state:IDLE
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(mms): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:mms
D/GSM     ( 2166): [ApnContext] set reason as radioTurnedOff, for type cbs,current state IDLE
D/GSM     ( 2166): [GsmDCT] cleanUpConnection: tearDown=false reason=radioTurnedOff
D/GSM     ( 2166): [ApnContext] setState: IDLE for type cbs, previous state:IDLE
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(cbs): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:cbs
D/GSM     ( 2166): [GsmDCT] stopNetStatPoll
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:fota
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(fota): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:fota
D/AT      ( 1464): AT< +CPIN: READY
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:supl
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(supl): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:supl
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED  {RADIO_SIM_READY}
D/AT      ( 1464): AT> AT+CSMS=1
D/RILJ    ( 2166): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED SIM_READY
D/RILB    ( 2166): Notifying: SIM ready
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:hipri
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(hipri): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:hipri
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:ims
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(ims): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:ims
D/GSM     ( 2166): [GsmDCT] notifyOffApnsOfAvailability skipped apn due to isReady==false: state=IDLE apnType=default
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:mms
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(mms): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:mms
D/AT      ( 1464): AT< +CSMS: 1,1,1
D/AT      ( 1464): AT< OK
D/AT      ( 1464): AT> AT+CNMI=1,2,2,1,1
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:cbs
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(cbs): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:cbs
D/GSM     ( 2166): [GsmDCT] handleMessage msg={ what=270345 when=-755ms obj=android.os.AsyncResult@4110ec78 }
D/GSM     ( 2166): [GsmDCT] onDataConnectionDetached: stop polling and notify detached
D/GSM     ( 2166): [GsmDCT] stopNetStatPoll
D/GSM     ( 2166): [GsmDCT] notifyDataConnection: reason=dataDetached
D/GSM     ( 2166): [GsmDCT] notifyDataConnection: type:default
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(default): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=true apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:default
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:fota
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(fota): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:fota
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0004]< RADIO_POWER
D/RILJ    ( 2166): [0004]< RADIO_POWER
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:supl
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(supl): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:supl
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:hipri
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(hipri): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:hipri
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:ims
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(ims): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:ims
D/GSM     ( 2166): [GsmDCT] notifyOffApnsOfAvailability skipped apn due to isReady==false: state=IDLE apnType=default
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:mms
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(mms): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:mms
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:cbs
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(cbs): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:cbs
D/GSM     ( 2166): [GsmDCT] handleMessage msg={ what=270348 when=-776ms obj=android.os.AsyncResult@4110edd0 }
D/GSM     ( 2166): [GsmDCT] onRoamingOff
D/GSM     ( 2166): [GsmDCT] notifyDataConnection: reason=roamingOff
D/GSM     ( 2166): [GsmDCT] notifyDataConnection: type:default
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(default): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=true apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:default
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:fota
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(fota): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:fota
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:supl
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(supl): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:supl
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:hipri
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(hipri): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:hipri
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:ims
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(ims): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:ims
D/GSM     ( 2166): [GsmDCT] notifyOffApnsOfAvailability skipped apn due to isReady==false: state=IDLE apnType=default
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:mms
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(mms): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:mms
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:cbs
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
D/GSM     ( 2166): [GsmDCT] isDataPossible(cbs): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:cbs
D/GSM     ( 2166): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED NOT_READY reason null
D/RILJ    ( 2166): [0005]> BASEBAND_VERSION
D/RILC    ( 1464): [0005]> BASEBAND_VERSION
D/RIL     ( 1464): onRequest: BASEBAND_VERSION
D/RILC    ( 1464): [0005]< BASEBAND_VERSION fails by E_REQUEST_NOT_SUPPORTED
D/RILJ    ( 2166): [0006]> GET_IMEI
D/RILJ    ( 2166): [0005]< BASEBAND_VERSION error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
D/RILC    ( 1464): [0006]> GET_IMEI
D/RIL     ( 1464): onRequest: GET_IMEI
D/AT      ( 1464): AT> AT+CGSN
D/RILJ    ( 2166): [0007]> GET_IMEISV
D/AT      ( 1464): AT< 862505027495071
D/AT      ( 1464): AT< OK
D/RILJ    ( 2166): [0008]> OPERATOR
D/RILC    ( 1464): [0006]< GET_IMEI {862505027495071}
D/RILJ    ( 2166): [0009]> DATA_REGISTRATION_STATE
D/RILC    ( 1464): [0007]> GET_IMEISV
D/RIL     ( 1464): onRequest: GET_IMEISV
D/RILC    ( 1464): [0007]< GET_IMEISV fails by E_REQUEST_NOT_SUPPORTED
D/RILC    ( 1464): [0008]> OPERATOR
D/RIL     ( 1464): onRequest: OPERATOR
D/AT      ( 1464): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/RILJ    ( 2166): [0006]< GET_IMEI
D/RILJ    ( 2166): [0007]< GET_IMEISV error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
D/RILJ    ( 2166): [0010]> VOICE_REGISTRATION_STATE
D/RILJ    ( 2166): [0011]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    ( 2166): [0012]> GET_CURRENT_CALLS
D/RILJ    ( 2166): [0013]> OPERATOR
D/RILJ    ( 2166): [0014]> DATA_REGISTRATION_STATE
D/RILJ    ( 2166): [0015]> VOICE_REGISTRATION_STATE
D/RILJ    ( 2166): [0016]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    ( 2166): setCurrentPreferredNetworkType: 0
D/RILJ    ( 2166): [0017]> REQUEST_SET_PREFERRED_NETWORK_TYPE : 0
D/RILJ    ( 2166): [0018]> SET_NETWORK_SELECTION_AUTOMATIC
D/RILJ    ( 2166): [0019]> OPERATOR
D/RILJ    ( 2166): [0020]> DATA_REGISTRATION_STATE
D/RILJ    ( 2166): [0021]> VOICE_REGISTRATION_STATE
D/RILJ    ( 2166): [0022]> QUERY_NETWORK_SELECTION_MODE
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/GSM     ( 2166): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED READY reason null
V/GSM     ( 2166): SIMRecords:fetchSimRecords 0
D/RILJ    ( 2166): [0023]> GET_IMSI
D/RILJ    ( 2166): [0024]> iccIO: SIM_IO 0xc0 0x2fe2  path: 3F00,0,0,15
D/RILJ    ( 2166): [0025]> iccIO: SIM_IO 0xc0 0x6f40  path: 3F007F10,0,0,15
D/RILJ    ( 2166): [0026]> iccIO: SIM_IO 0xc0 0x6fc9  path: 3F007F20,0,0,15
D/RILJ    ( 2166): [0027]> iccIO: SIM_IO 0xc0 0x6fad  path: 3F007F20,0,0,15
D/RILJ    ( 2166): [0028]> iccIO: SIM_IO 0xc0 0x6fca  path: 3F007F20,0,0,15
D/RILJ    ( 2166): [0029]> iccIO: SIM_IO 0xc0 0x6f11  path: 3F007F20,0,0,15
D/RILJ    ( 2166): [0030]> iccIO: SIM_IO 0xc0 0x6fcb  path: 3F007F20,0,0,15
D/AT      ( 1464): AT< +COPS: 0,0,"CHN-CUGSM"
D/AT      ( 1464): AT< +CME ERROR: 4
E/RIL     ( 1464): requestOperator must not return error when radio is on
D/RILC    ( 1464): [0008]< OPERATOR fails by E_GENERIC_FAILURE
D/RILC    ( 1464): [0009]> DATA_REGISTRATION_STATE
D/RIL     ( 1464): onRequest: DATA_REGISTRATION_STATE
D/AT      ( 1464): AT> AT+CGREG?
D/RILJ    ( 2166): [0008]< OPERATOR error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RILJ    ( 2166): [0031]> iccIO: SIM_IO 0xc0 0x6f13  path: 3F007F20,0,0,15
D/RILJ    ( 2166): [0032]> iccIO: SIM_IO 0xc0 0x6f46  path: 3F007F20,0,0,15
D/RILJ    ( 2166): [0033]> iccIO: SIM_IO 0xc0 0x6fcd  path: 3F007F20,0,0,15
D/RILJ    ( 2166): [0034]> iccIO: SIM_IO 0xc0 0x6fc5  path: 3F007F20,0,0,15
D/RILJ    ( 2166): [0035]> iccIO: SIM_IO 0xc0 0x6f38  path: 3F007F20,0,0,15
D/RILJ    ( 2166): [0036]> iccIO: SIM_IO 0xc0 0x6f16  path: 3F007F20,0,0,15
D/RILJ    ( 2166): [0037]> iccIO: SIM_IO 0xc0 0x6f15  path: 3F007F20,0,0,15
D/RILJ    ( 2166): [0038]> GET_SIM_STATUS
D/RILJ    ( 2166): [0039]> QUERY_FACILITY_LOCK
D/RILJ    ( 2166): [0040]> QUERY_FACILITY_LOCK
D/RILJ    ( 2166): [0041]> RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING
D/AT      ( 1464): AT< +CGREG: 1,0
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0009]< DATA_REGISTRATION_STATE {0,ffffffff,ffffffff}
D/RILC    ( 1464): [0010]> VOICE_REGISTRATION_STATE
D/RIL     ( 1464): onRequest: VOICE_REGISTRATION_STATE
D/AT      ( 1464): AT> AT+CREG?
D/RILJ    ( 2166): [0009]< DATA_REGISTRATION_STATE {0, ffffffff, ffffffff}
D/AT      ( 1464): AT< +CREG: 2,1,"1BE2","9940"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0010]< VOICE_REGISTRATION_STATE {1,1be2,9940}
D/RILC    ( 1464): [0011]> QUERY_NETWORK_SELECTION_MODE
D/RIL     ( 1464): onRequest: QUERY_NETWORK_SELECTION_MODE
D/AT      ( 1464): AT> AT+COPS?
D/RILJ    ( 2166): [0010]< VOICE_REGISTRATION_STATE {1, 1be2, 9940}
D/AT      ( 1464): AT< +COPS: 0,0,"CHN-CUGSM"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0011]< QUERY_NETWORK_SELECTION_MODE {0}
D/RILC    ( 1464): [0012]> GET_CURRENT_CALLS
D/RIL     ( 1464): onRequest: GET_CURRENT_CALLS
D/AT      ( 1464): AT> AT+CLCC
D/RILJ    ( 2166): [0011]< QUERY_NETWORK_SELECTION_MODE {0}
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0012]< GET_CURRENT_CALLS }
D/RILC    ( 1464): [0013]> OPERATOR
D/RIL     ( 1464): onRequest: OPERATOR
D/AT      ( 1464): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/RILJ    ( 2166): [0012]< GET_CURRENT_CALLS  
D/AT      ( 1464): AT< +COPS: 0,0,"CHN-CUGSM"
D/AT      ( 1464): AT< +CME ERROR: 4
E/RIL     ( 1464): requestOperator must not return error when radio is on
D/RILC    ( 1464): [0013]< OPERATOR fails by E_GENERIC_FAILURE
D/RILC    ( 1464): [0014]> DATA_REGISTRATION_STATE
D/RIL     ( 1464): onRequest: DATA_REGISTRATION_STATE
D/AT      ( 1464): AT> AT+CGREG?
D/RILJ    ( 2166): [0013]< OPERATOR error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/AT      ( 1464): AT< +CGREG: 1,0
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0014]< DATA_REGISTRATION_STATE {0,ffffffff,ffffffff}
D/RILC    ( 1464): [0015]> VOICE_REGISTRATION_STATE
D/RIL     ( 1464): onRequest: VOICE_REGISTRATION_STATE
D/AT      ( 1464): AT> AT+CREG?
D/RILJ    ( 2166): [0014]< DATA_REGISTRATION_STATE {0, ffffffff, ffffffff}
D/AT      ( 1464): AT< +CREG: 2,1,"1BE2","9940"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0015]< VOICE_REGISTRATION_STATE {1,1be2,9940}
D/RILC    ( 1464): [0016]> QUERY_NETWORK_SELECTION_MODE
D/RIL     ( 1464): onRequest: QUERY_NETWORK_SELECTION_MODE
D/AT      ( 1464): AT> AT+COPS?
D/RILJ    ( 2166): [0015]< VOICE_REGISTRATION_STATE {1, 1be2, 9940}
D/AT      ( 1464): AT< +COPS: 0,0,"CHN-CUGSM"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0016]< QUERY_NETWORK_SELECTION_MODE {0}
D/RILC    ( 1464): [0017]> SET_PREFERRED_NETWORK_TYPE (0)
D/RIL     ( 1464): onRequest: SET_PREFERRED_NETWORK_TYPE
D/RILC    ( 1464): [0017]< SET_PREFERRED_NETWORK_TYPE fails by E_REQUEST_NOT_SUPPORTED
D/RILC    ( 1464): [0018]> SET_NETWORK_SELECTION_AUTOMATIC
D/RIL     ( 1464): onRequest: SET_NETWORK_SELECTION_AUTOMATIC
D/AT      ( 1464): AT> AT+COPS=0
D/RILJ    ( 2166): [0016]< QUERY_NETWORK_SELECTION_MODE {0}
D/RILJ    ( 2166): [0017]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0019]> OPERATOR
D/RIL     ( 1464): onRequest: OPERATOR
D/AT      ( 1464): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/AT      ( 1464): AT< +COPS: 0,0,"CHN-CUGSM"
D/AT      ( 1464): AT< +CME ERROR: 4
E/RIL     ( 1464): requestOperator must not return error when radio is on
D/RILC    ( 1464): [0019]< OPERATOR fails by E_GENERIC_FAILURE
D/RILC    ( 1464): [0020]> DATA_REGISTRATION_STATE
D/RIL     ( 1464): onRequest: DATA_REGISTRATION_STATE
D/AT      ( 1464): AT> AT+CGREG?
D/RILJ    ( 2166): [0019]< OPERATOR error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
E/GSM     ( 2166): [GsmSST] RIL implementation has returned an error where it must succeedcom.android.internal.telephony.CommandException: GENERIC_FAILURE
D/AT      ( 1464): AT< +CGREG: 1,0
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0020]< DATA_REGISTRATION_STATE {0,ffffffff,ffffffff}
D/RILC    ( 1464): [0021]> VOICE_REGISTRATION_STATE
D/RIL     ( 1464): onRequest: VOICE_REGISTRATION_STATE
D/AT      ( 1464): AT> AT+CREG?
D/RILJ    ( 2166): [0020]< DATA_REGISTRATION_STATE {0, ffffffff, ffffffff}
D/AT      ( 1464): AT< +CREG: 2,1,"1BE2","9940"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0021]< VOICE_REGISTRATION_STATE {1,1be2,9940}
D/RILC    ( 1464): [0022]> QUERY_NETWORK_SELECTION_MODE
D/RIL     ( 1464): onRequest: QUERY_NETWORK_SELECTION_MODE
D/AT      ( 1464): AT> AT+COPS?
D/RILJ    ( 2166): [0021]< VOICE_REGISTRATION_STATE {1, 1be2, 9940}
D/AT      ( 1464): AT< +COPS: 0,0,"CHN-CUGSM"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0022]< QUERY_NETWORK_SELECTION_MODE {0}
D/RILC    ( 1464): [0023]> GET_IMSI
D/RIL     ( 1464): onRequest: GET_IMSI
D/AT      ( 1464): AT> AT+CIMI
D/RILJ    ( 2166): [0022]< QUERY_NETWORK_SELECTION_MODE {0}
D/GSM     ( 2166): [GsmSST] Poll ServiceState done:  oldSS=[3 home null null null  Unknown:0 CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] newSS=[0 home null null null  Unknown:0 CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] oldGprs=1 newData=1 oldMaxDataCalls=1 mNewMaxDataCalls=1 oldReasonDataDenied=-1 mNewReasonDataDenied=-1 oldType=Unknown:0 newType=Unknown:0
D/AT      ( 1464): AT< 460012747058821
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0023]< GET_IMSI {460012747058821}
D/RILC    ( 1464): [0024]> SIM_IO (cmd=0xC0,efid=0x2FE2,path=3F00,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,12258,0,0,15
D/RILJ    ( 2166): [0023]< GET_IMSI
D/AT      ( 1464): AT< +CRSM: 144,0,"0000000A2FE204000AFFAA01020000"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0024]< SIM_IO {sw1=0x90,sw2=0x0,0000000A2FE204000AFFAA01020000}
D/RILC    ( 1464): [0025]> SIM_IO (cmd=0xC0,efid=0x6F40,path=3F007F10,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28480,0,0,15
D/RILJ    ( 2166): [0024]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/AT      ( 1464): AT< +CRSM: 144,0,"000000386F40040011FFAA0102011C"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0025]< SIM_IO {sw1=0x90,sw2=0x0,000000386F40040011FFAA0102011C}
D/RILC    ( 1464): [0026]> SIM_IO (cmd=0xC0,efid=0x6FC9,path=3F007F20,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28617,0,0,15
D/RILJ    ( 2166): [0025]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/AT      ( 1464): AT< +CME ERROR: 3
D/RILC    ( 1464): [0026]< SIM_IO fails by E_GENERIC_FAILURE
D/RILC    ( 1464): [0027]> SIM_IO (cmd=0xC0,efid=0x6FAD,path=3F007F20,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28589,0,0,15
D/RILJ    ( 2166): [0026]< SIM_IO error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/GSM     ( 2166): IMSI: xxxxxxx
D/GSM     ( 2166): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED IMSI reason null
D/RILJ    ( 2166): [0042]> iccIO: SIM_IO 0xb0 0x2fe2  path: 3F00,0,0,10
D/RILJ    ( 2166): [0043]> iccIO: SIM_IO 0xb2 0x6f40  path: 3F007F10,1,4,28
D/RILJ    ( 2166): [0044]> iccIO: SIM_IO 0xc0 0x6f17  path: 3F007F20,0,0,15
D/AT      ( 1464): AT< +CRSM: 144,0,"000000036FAD04000AFFAA01020000"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0027]< SIM_IO {sw1=0x90,sw2=0x0,000000036FAD04000AFFAA01020000}
D/RILC    ( 1464): [0028]> SIM_IO (cmd=0xC0,efid=0x6FCA,path=3F007F20,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28618,0,0,15
D/RILJ    ( 2166): [0027]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    ( 2166): [0045]> iccIO: SIM_IO 0xb0 0x6fad  path: 3F007F20,0,0,3
D/AT      ( 1464): AT< +CME ERROR: 3
D/RILC    ( 1464): [0028]< SIM_IO fails by E_GENERIC_FAILURE
D/RILC    ( 1464): [0029]> SIM_IO (cmd=0xC0,efid=0x6F11,path=3F007F20,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28433,0,0,15
D/RILJ    ( 2166): [0028]< SIM_IO error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/AT      ( 1464): AT< +CRSM: 148,4
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0029]< SIM_IO {sw1=0x94,sw2=0x4,(null)}
D/RILC    ( 1464): [0030]> SIM_IO (cmd=0xC0,efid=0x6FCB,path=3F007F20,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28619,0,0,15
D/RILJ    ( 2166): [0029]< SIM_IO IccIoResponse sw1:0x94 sw2:0x4
D/AT      ( 1464): AT< +CME ERROR: 3
D/RILC    ( 1464): [0030]< SIM_IO fails by E_GENERIC_FAILURE
D/RILC    ( 1464): [0031]> SIM_IO (cmd=0xC0,efid=0x6F13,path=3F007F20,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28435,0,0,15
D/RILJ    ( 2166): [0030]< SIM_IO error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/AT      ( 1464): AT< +CRSM: 148,4
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0031]< SIM_IO {sw1=0x94,sw2=0x4,(null)}
D/RILC    ( 1464): [0032]> SIM_IO (cmd=0xC0,efid=0x6F46,path=3F007F20,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28486,0,0,15
D/RILJ    ( 2166): [0031]< SIM_IO IccIoResponse sw1:0x94 sw2:0x4
D/AT      ( 1464): AT< +CRSM: 144,0,"000000116F4604000AFFAA01020000"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0032]< SIM_IO {sw1=0x90,sw2=0x0,000000116F4604000AFFAA01020000}
D/RILC    ( 1464): [0033]> SIM_IO (cmd=0xC0,efid=0x6FCD,path=3F007F20,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28621,0,0,15
D/RILJ    ( 2166): [0032]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    ( 2166): [0046]> iccIO: SIM_IO 0xb0 0x6f46  path: 3F007F20,0,0,17
D/AT      ( 1464): AT< +CME ERROR: 3
D/RILC    ( 1464): [0033]< SIM_IO fails by E_GENERIC_FAILURE
D/RILC    ( 1464): [0034]> SIM_IO (cmd=0xC0,efid=0x6FC5,path=3F007F20,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28613,0,0,15
D/RILJ    ( 2166): [0033]< SIM_IO error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/AT      ( 1464): AT< +CRSM: 148,4
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0034]< SIM_IO {sw1=0x94,sw2=0x4,(null)}
D/RILC    ( 1464): [0035]> SIM_IO (cmd=0xC0,efid=0x6F38,path=3F007F20,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28472,0,0,15
D/RILJ    ( 2166): [0034]< SIM_IO IccIoResponse sw1:0x94 sw2:0x4
D/AT      ( 1464): AT< +CRSM: 144,0,"0000000A6F3804001AFFAA01020000"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0035]< SIM_IO {sw1=0x90,sw2=0x0,0000000A6F3804001AFFAA01020000}
D/RILC    ( 1464): [0036]> SIM_IO (cmd=0xC0,efid=0x6F16,path=3F007F20,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28438,0,0,15
D/RILJ    ( 2166): [0035]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    ( 2166): [0047]> iccIO: SIM_IO 0xb0 0x6f38  path: 3F007F20,0,0,10
D/AT      ( 1464): AT< +CRSM: 148,4
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0036]< SIM_IO {sw1=0x94,sw2=0x4,(null)}
D/RILC    ( 1464): [0037]> SIM_IO (cmd=0xC0,efid=0x6F15,path=3F007F20,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28437,0,0,15
D/RILJ    ( 2166): [0036]< SIM_IO IccIoResponse sw1:0x94 sw2:0x4
D/AT      ( 1464): AT< +CRSM: 148,4
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0037]< SIM_IO {sw1=0x94,sw2=0x4,(null)}
D/RILC    ( 1464): [0038]> GET_SIM_STATUS
D/RIL     ( 1464): onRequest: GET_SIM_STATUS
D/AT      ( 1464): AT> AT+CPIN?
D/RILJ    ( 2166): [0037]< SIM_IO IccIoResponse sw1:0x94 sw2:0x4
E/GSM     ( 2166): Exception in fetching EF_CSP data com.android.internal.telephony.IccFileNotFound
D/AT      ( 1464): AT< +CPIN: READY
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0038]< GET_SIM_STATUS {[app_type=1,app_state=5,perso_substate=2,                    aid_ptr=(null),app_label_ptr=(null),pin1_replaced=0,pin1=0,pin2=0],}
D/RILC    ( 1464): [0039]> QUERY_FACILITY_LOCK (SC,,7,(null))
D/RIL     ( 1464): onRequest: QUERY_FACILITY_LOCK
D/RILC    ( 1464): [0039]< QUERY_FACILITY_LOCK fails by E_REQUEST_NOT_SUPPORTED
D/RILC    ( 1464): [0040]> QUERY_FACILITY_LOCK (FD,,7,(null))
D/RIL     ( 1464): onRequest: QUERY_FACILITY_LOCK
D/RILC    ( 1464): [0040]< QUERY_FACILITY_LOCK fails by E_REQUEST_NOT_SUPPORTED
D/RILC    ( 1464): [0041]> REPORT_STK_SERVICE_IS_RUNNING
D/RIL     ( 1464): onRequest: REPORT_STK_SERVICE_IS_RUNNING
D/RILC    ( 1464): [0041]< REPORT_STK_SERVICE_IS_RUNNING fails by E_REQUEST_NOT_SUPPORTED
D/RILC    ( 1464): [0042]> SIM_IO (cmd=0xB0,efid=0x2FE2,path=3F00,0,0,10,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=176,12258,0,0,10
D/RILJ    ( 2166): [0038]< GET_SIM_STATUS IccCardState {CARDSTATE_PRESENT,PINSTATE_UNKNOWN,num_apps=1,gsm_id=0{APPTYPE_SIM,APPSTATE_READY},cmda_id=8,ism_id=8}
D/RILJ    ( 2166): [0039]< QUERY_FACILITY_LOCK error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
D/RILJ    ( 2166): [0040]< QUERY_FACILITY_LOCK error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
E/GSM     ( 2166): [IccCard] Invalid Subscription Application index:8
D/GSM     ( 2166): [IccCard] USIM=READY CSIM=ABSENT
D/RILJ    ( 2166): [0041]< RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/GSM     ( 2166): [IccCard] Error in querying facility lock:com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
D/GSM     ( 2166): [IccCard] Error in querying facility lock:com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
D/AT      ( 1464): AT< +CRSM: 144,0,"98681041701720242857"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0042]< SIM_IO {sw1=0x90,sw2=0x0,98681041701720242857}
D/RILC    ( 1464): [0043]> SIM_IO (cmd=0xB2,efid=0x6F40,path=3F007F10,1,4,28,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=178,28480,1,4,28
D/RILJ    ( 2166): [0042]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/GSM     ( 2166): iccid: 89860114077102428275
D/AT      ( 1464): AT< +CRSM: 144,0,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0043]< SIM_IO {sw1=0x90,sw2=0x0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
D/RILC    ( 1464): [0044]> SIM_IO (cmd=0xC0,efid=0x6F17,path=3F007F20,0,0,15,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=192,28439,0,0,15
D/RILJ    ( 2166): [0043]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/GSM     ( 2166): MSISDN: xxxxxxx
D/AT      ( 1464): AT< +CRSM: 148,4
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0044]< SIM_IO {sw1=0x94,sw2=0x4,(null)}
D/RILC    ( 1464): [0045]> SIM_IO (cmd=0xB0,efid=0x6FAD,path=3F007F20,0,0,3,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=176,28589,0,0,3
D/RILJ    ( 2166): [0044]< SIM_IO IccIoResponse sw1:0x94 sw2:0x4
D/GSM     ( 2166): Invalid or missing EF[MAILBOX]
D/AT      ( 1464): AT< +CRSM: 144,0,"000000"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0045]< SIM_IO {sw1=0x90,sw2=0x0,000000}
D/RILC    ( 1464): [0046]> SIM_IO (cmd=0xB0,efid=0x6F46,path=3F007F20,0,0,17,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=176,28486,0,0,17
D/RILJ    ( 2166): [0045]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/GSM     ( 2166): EF_AD: 000000
D/GSM     ( 2166): SIMRecords: MNC length not present in EF_AD
D/AT      ( 1464): AT< +CRSM: 144,0,"00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0046]< SIM_IO {sw1=0x90,sw2=0x0,00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
D/RILC    ( 1464): [0047]> SIM_IO (cmd=0xB0,efid=0x6F38,path=3F007F20,0,0,10,(null),pin2=(null),aid=(null))
D/RIL     ( 1464): onRequest: SIM_IO
D/AT      ( 1464): AT> AT+CRSM=176,28472,0,0,10
D/RILJ    ( 2166): [0046]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/AT      ( 1464): AT< +CRSM: 144,0,"FF33FFFF3F003F03303C"
D/AT      ( 1464): AT< OK
D/RILC    ( 1464): [0047]< SIM_IO {sw1=0x90,sw2=0x0,FF33FFFF3F003F03303C}
D/RILJ    ( 2166): [0047]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/GSM     ( 2166): [SIMRecords] Load EF_SPN:  spnDisplayCondition: 0
D/GSM     ( 2166): [SIMRecords] SST: UsimServiceTable[80]={ PHONEBOOK, FDN, FDN_EXTENSION, SDN, SDN_EXTENSION, BDN, BDN_EXTENSION, OUTGOING_CALL_INFO, INCOMING_CALL_INFO, SM_STORAGE, ADVICE_OF_CHARGE, CAP_CONFIG_PARAMS_2, GROUP_ID_LEVEL_1, GROUP_ID_LEVEL_2, SPN, USER_PLMN_SELECT, MSISDN, IMAGE, LOCALISED_SERVICE_AREAS, EMLPP, EMLPP_AUTO_ANSWER, RFU, GSM_ACCESS, DATA_DL_VIA_SMS_PP, DATA_DL_VIA_SMS_CB, CALL_CONTROL_BY_USIM, MO_SMS_CONTROL_BY_USIM, RUN_AT_COMMAND, IGNORED_1, ENABLED_SERVICES_TABLE, APN_CONTROL_LIST, DEPERSONALISATION_CONTROL_KEYS, COOPERATIVE_NETWORK_LIST, GSM_SECURITY_CONTEXT, CFI_STATUS, IGNORED_2, SERVICE_PROVIDER_DISPLAY_INFO, MMS_NOTIFICATION, MMS_NOTIFICATION_EXTENSION, GPRS_CALL_CONTROL_BY_USIM, VGCS_GROUP_ID_LIST, VBS_GROUP_ID_LIST, MBMS_SECURITY, DATA_DL_VIA_USSD, OMA_BCAST_PROFILE, GBA_LOCAL_KEY_ESTABLISHMENT, TERMINAL_APPLICATIONS, SPN_ICON }
D/GSM     ( 2166): SIMRecords: record load complete
D/GSM     ( 2166): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED LOADED reason null
D/GSM     ( 2166): [GsmDCT] handleMessage msg={ what=270338 when=-5ms obj=android.os.AsyncResult@4111c4b8 }
D/GSM     ( 2166): [GsmDCT] onRecordsLoaded: createAllApnList
D/GSM     ( 2166): [GsmDCT] createAllApnList: selection=numeric = '46001' and carrier_enabled = 1
D/GSM     ( 2166): [GsmDCT] createApnList: X result=[[ApnSettingV2] China Unicom 3G, 1136, 46001, 3gnet, null, null, null, null, 80, -1, default | supl, IP, IP, true, 0, [ApnSettingV2] 中国联辿3g 彩信 (China Unicom), 1137, 46001, 3gwap, null, http://mmsc.myuni.com.cn, 10.0.0.172, 80, null, -1, mms, IP, IP, true, 0, [ApnSettingV2] China Unicom MMS, 1138, 46001, uniwap, null, http://mmsc.myuni.com.cn, 10.0.0.172, 80, null, -1, mms, IP, IP, true, 0]
D/GSM     ( 2166): [GsmDCT] getPreferredApn: X not found
D/GSM     ( 2166): [GsmDCT] createAllApnList: mPreferredApn=null
D/GSM     ( 2166): [GsmDCT] createAllApnList: X mAllApns=[[ApnSettingV2] China Unicom 3G, 1136, 46001, 3gnet, null, null, null, null, 80, -1, default | supl, IP, IP, true, 0, [ApnSettingV2] 中国联辿3g 彩信 (China Unicom), 1137, 46001, 3gwap, null, http://mmsc.myuni.com.cn, 10.0.0.172, 80, null, -1, mms, IP, IP, true, 0, [ApnSettingV2] China Unicom MMS, 1138, 46001, uniwap, null, http://mmsc.myuni.com.cn, 10.0.0.172, 80, null, -1, mms, IP, IP, true, 0]
D/GSM     ( 2166): [GsmDCT] onRecordsLoaded: notifying data availability
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:fota
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1
D/GSM     ( 2166): [GsmDCT] isDataPossible(fota): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:fota
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:supl
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1
D/GSM     ( 2166): [GsmDCT] isDataPossible(supl): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:supl
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:hipri
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1
D/GSM     ( 2166): [GsmDCT] isDataPossible(hipri): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:hipri
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:ims
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1
D/GSM     ( 2166): [GsmDCT] isDataPossible(ims): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:ims
D/GSM     ( 2166): [GsmDCT] notifyOffApnsOfAvailability skipped apn due to isReady==false: state=IDLE apnType=default
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:mms
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1
D/GSM     ( 2166): [GsmDCT] isDataPossible(mms): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:mms
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:cbs
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1
D/GSM     ( 2166): [GsmDCT] isDataPossible(cbs): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:cbs
D/GSM     ( 2166): [ApnContext] set reason as simLoaded, for type default,current state IDLE
D/GSM     ( 2166): [GsmDCT] trySetupData for type:default due to simLoaded
D/GSM     ( 2166): [GsmDCT] trySetupData with mIsPsRestricted=false
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:fota
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1
D/GSM     ( 2166): [GsmDCT] isDataPossible(fota): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:fota
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:supl
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1
D/GSM     ( 2166): [GsmDCT] isDataPossible(supl): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:supl
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:hipri
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1
D/GSM     ( 2166): [GsmDCT] isDataPossible(hipri): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:hipri
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:ims
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1
D/GSM     ( 2166): [GsmDCT] isDataPossible(ims): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:ims
D/GSM     ( 2166): [GsmDCT] notifyOffApnsOfAvailability skipped apn due to isReady==false: state=IDLE apnType=default
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:mms
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1
D/GSM     ( 2166): [GsmDCT] isDataPossible(mms): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:mms
D/GSM     ( 2166): [GsmDCT] notifyOffApnOfAvailability type:cbs
D/GSM     ( 2166): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1
D/GSM     ( 2166): [GsmDCT] isDataPossible(cbs): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
D/GSM     ( 2166): [GsmDCT] get active apn string for type:cbs
D/GSM     ( 2166): [GsmSST] updateSpnDisplay: changed sending intent rule=3 showPlmn='false' plmn='null' showSpn='false' spn=''
D/RILJ    ( 2166): [0048]> SIGNAL_STRENGTH
D/RILC    ( 1464): [0048]> SIGNAL_STRENGTH
D/RIL     ( 1464): onRequest: SIGNAL_STRENGTH
D/AT      ( 1464): AT> AT+CSQ
D/AT      ( 1464): AT< +CSQ: 20,99
D/AT      ( 1464): AT< OK
E/RILC    ( 1464): invalid response length
D/RILC    ( 1464): [0048]< SIGNAL_STRENGTH
D/RILJ    ( 2166): [0048]< SIGNAL_STRENGTH error: com.android.internal.telephony.CommandException: INVALID_RESPONSE
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILJ    ( 2166): [0049]> SIGNAL_STRENGTH
D/RILC    ( 1464): [0049]> SIGNAL_STRENGTH
D/RIL     ( 1464): onRequest: SIGNAL_STRENGTH
D/AT      ( 1464): AT> AT+CSQ
D/AT      ( 1464): AT< +CSQ: 20,99
D/AT      ( 1464): AT< OK
E/RILC    ( 1464): invalid response length
D/RILC    ( 1464): [0049]< SIGNAL_STRENGTH
D/RILJ    ( 2166): [0049]< SIGNAL_STRENGTH error: com.android.internal.telephony.CommandException: INVALID_RESPONSE
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILJ    ( 2166): [0050]> SIGNAL_STRENGTH
D/RILC    ( 1464): [0050]> SIGNAL_STRENGTH
D/RIL     ( 1464): onRequest: SIGNAL_STRENGTH
D/AT      ( 1464): AT> AT+CSQ
D/AT      ( 1464): AT< +CSQ: 19,99
D/AT      ( 1464): AT< OK
E/RILC    ( 1464): invalid response length
D/RILC    ( 1464): [0050]< SIGNAL_STRENGTH
D/RILJ    ( 2166): [0050]< SIGNAL_STRENGTH error: com.android.internal.telephony.CommandException: INVALID_RESPONSE
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILJ    ( 2166): [0051]> SIGNAL_STRENGTH
D/RILC    ( 1464): [0051]> SIGNAL_STRENGTH
D/RIL     ( 1464): onRequest: SIGNAL_STRENGTH
D/AT      ( 1464): AT> AT+CSQ
D/AT      ( 1464): AT< +CSQ: 20,99
D/AT      ( 1464): AT< OK
E/RILC    ( 1464): invalid response length
D/RILC    ( 1464): [0051]< SIGNAL_STRENGTH
D/RILJ    ( 2166): [0051]< SIGNAL_STRENGTH error: com.android.internal.telephony.CommandException: INVALID_RESPONSE
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILJ    ( 2166): [0052]> SIGNAL_STRENGTH
D/RILC    ( 1464): [0052]> SIGNAL_STRENGTH
D/RIL     ( 1464): onRequest: SIGNAL_STRENGTH
D/AT      ( 1464): AT> AT+CSQ
D/AT      ( 1464): AT< +CSQ: 18,99
D/AT      ( 1464): AT< OK
E/RILC    ( 1464): invalid response length
D/RILC    ( 1464): [0052]< SIGNAL_STRENGTH
D/RILJ    ( 2166): [0052]< SIGNAL_STRENGTH error: com.android.internal.telephony.CommandException: INVALID_RESPONSE
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/RILB    ( 2166): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''

在这里插入图片描述
在这里插入图片描述在这里插入图片描述在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值