解决方案 »

  1.   

    log接上:
    D/GSM     ( 1716): [GsmDCT] handleMessage msg={ what=270337 when=-354ms obj=android.os.AsyncResult@4139c5b8 }
    D/GSM     ( 1716): [GsmDCT] onRadioAvailable
    D/GSM     ( 1716): [GsmDCT] overall state is IDLE
    D/GSM     ( 1716): [GsmDCT] handleMessage msg={ what=270345 when=-354ms obj=android.os.AsyncResult@4139c948 }
    D/GSM     ( 1716): [GsmDCT] onDataConnectionDetached: stop polling and notify detached
    D/GSM     ( 1716): [GsmDCT] stopNetStatPoll
    D/GSM     ( 1716): [GsmDCT] notifyDataConnection: reason=dataDetached
    D/GSM     ( 1716): [GsmDCT] notifyDataConnection: type:default
    D/GSM     ( 1716): [GsmDCT] oywt add in GSMDCT!!!
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/AT      ( 1445): AT< OK
    D/AT      ( 1445): AT> AT+COPS?D/GSM     ( 1716): [GsmDCT] isDataPossible(default): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=true apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:default
    D/GSM     ( 1716): [GsmDCT] notifyOffApnOfAvailability type:fota
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/GSM     ( 1716): [GsmDCT] isDataPossible(fota): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:fota
    D/GSM     ( 1716): [GsmDCT] notifyOffApnOfAvailability type:supl
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/GSM     ( 1716): [GsmDCT] isDataPossible(supl): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:supl
    D/GSM     ( 1716): [GsmDCT] notifyOffApnOfAvailability type:hipri
    D/GSM     ( 1716): [GsmDCT] oywt add in GSMDCT!!!
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/GSM     ( 1716): [GsmDCT] isDataPossible(hipri): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:hipri
    D/GSM     ( 1716): [GsmDCT] notifyOffApnOfAvailability type:ims
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/GSM     ( 1716): [GsmDCT] isDataPossible(ims): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:ims
    D/GSM     ( 1716): [GsmDCT] notifyOffApnsOfAvailability skipped apn due to isReady==false: state=IDLE apnType=default
    D/GSM     ( 1716): [GsmDCT] notifyOffApnOfAvailability type:mms
    D/GSM     ( 1716): [GsmDCT] oywt add in GSMDCT!!!
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/GSM     ( 1716): [GsmDCT] isDataPossible(mms): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:mms
    D/GSM     ( 1716): [GsmDCT] notifyOffApnOfAvailability type:cbs
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/GSM     ( 1716): [GsmDCT] isDataPossible(cbs): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:cbs
    D/AT      ( 1445): AT< +COPS: 0
    D/AT      ( 1445): AT< OK
    D/AT      ( 1445): AT> AT+COPS=3,2D/GSM     ( 1716): [GsmDCT] handleMessage msg={ what=270348 when=-409ms obj=android.os.AsyncResult@4139caa0 }
    D/GSM     ( 1716): [GsmDCT] onRoamingOff
    D/GSM     ( 1716): [GsmDCT] notifyDataConnection: reason=roamingOff
    D/GSM     ( 1716): [GsmDCT] notifyDataConnection: type:default
    D/GSM     ( 1716): [GsmDCT] oywt add in GSMDCT!!!
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/GSM     ( 1716): [GsmDCT] isDataPossible(default): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=true apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:default
    D/GSM     ( 1716): [GsmDCT] notifyOffApnOfAvailability type:fota
    D/GSM     ( 1716): [GsmDCT] oywt add in GSMDCT!!!
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/GSM     ( 1716): [GsmDCT] isDataPossible(fota): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:fota
    D/GSM     ( 1716): [GsmDCT] notifyOffApnOfAvailability type:supl
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/GSM     ( 1716): [GsmDCT] isDataPossible(supl): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:supl
    D/GSM     ( 1716): [GsmDCT] notifyOffApnOfAvailability type:hipri
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/GSM     ( 1716): [GsmDCT] isDataPossible(hipri): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:hipri
    D/GSM     ( 1716): [GsmDCT] notifyOffApnOfAvailability type:ims
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/GSM     ( 1716): [GsmDCT] isDataPossible(ims): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:ims
    D/GSM     ( 1716): [GsmDCT] notifyOffApnsOfAvailability skipped apn due to isReady==false: state=IDLE apnType=default
    D/GSM     ( 1716): [GsmDCT] notifyOffApnOfAvailability type:mms
    D/GSM     ( 1716): [GsmDCT] oywt add in GSMDCT!!!
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/GSM     ( 1716): [GsmDCT] isDataPossible(mms): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:mms
    D/GSM     ( 1716): [GsmDCT] notifyOffApnOfAvailability type:cbs
    D/GSM     ( 1716): [GsmDCT] oywt add in GSMDCT!!!
    D/GSM     ( 1716): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded
    D/GSM     ( 1716): [GsmDCT] isDataPossible(cbs): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE
    D/GSM     ( 1716): [GsmDCT] get active apn string for type:cbs
    D/RILJ    ( 1716): [0034]> GET_SIM_STATUS
    D/RILJ    ( 1716): [0035]> QUERY_FACILITY_LOCK
    D/RILJ    ( 1716): [0036]> QUERY_FACILITY_LOCK
    D/RILJ    ( 1716): [0037]> RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING
    D/RILJ    ( 1716): [0038]> BASEBAND_VERSION
    D/RILJ    ( 1716): [0039]> GET_IMEI
    D/RILJ    ( 1716): [0040]> GET_IMEISV
    D/AT      ( 1445): AT< OK
    D/AT      ( 1445): AT> AT+COPS?D/AT      ( 1445): AT< +COPS: 0
    D/AT      ( 1445): AT< OK
    D/RIL_INNO( 1445): onRequest: DATA_REGISTRATION_STATE
    D/AT      ( 1445): AT> AT+SYSINFOD/AT      ( 1445): AT< +SYSINFO:0,2,0,0,1,,0
    D/AT      ( 1445): AT< OK
    D/RILJ    ( 1716): [0005]< OPERATOR {null, null, null}
    E/RIL_INNO( 1445): requestRegistrationState must never return an error when radio is on
    D/RIL_INNO( 1445): onRequest: VOICE_REGISTRATION_STATE
    D/AT      ( 1445): AT> AT+SYSINFOD/RILJ    ( 1716): [0006]< DATA_REGISTRATION_STATE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
    D/AT      ( 1445): AT< +SYSINFO:0,2,0,0,1,,0
    D/AT      ( 1445): AT< OK
    E/RIL_INNO( 1445): requestRegistrationState must never return an error when radio is on
    D/RIL_INNO( 1445): onRequest: QUERY_NETWORK_SELECTION_MODE
    D/AT      ( 1445): AT> AT+COPS?D/RILJ    ( 1716): [0007]< VOICE_REGISTRATION_STATE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
    D/AT      ( 1445): AT< +COPS: 0
    D/AT      ( 1445): AT< OK
    D/RIL_INNO( 1445): onRequest: OPERATOR
    D/AT      ( 1445): AT> AT+COPS=3,0D/RILJ    ( 1716): [0008]< QUERY_NETWORK_SELECTION_MODE {0}
    D/AT      ( 1445): AT< OK
    D/AT      ( 1445): AT> AT+COPS?D/AT      ( 1445): AT< +COPS: 0
    D/AT      ( 1445): AT< OK
    D/AT      ( 1445): AT> AT+COPS=3,2D/AT      ( 1445): AT< OK
    D/AT      ( 1445): AT> AT+COPS?D/AT      ( 1445): AT< +COPS: 0
    D/AT      ( 1445): AT< OK
    D/RILJ    ( 1716): [0009]< OPERATOR {null, null, null}
      

  2.   

    继续接log:
    D/RIL_INNO( 1445): onRequest: DATA_REGISTRATION_STATE
    D/AT      ( 1445): AT> AT+SYSINFOD/AT      ( 1445): AT< +SYSINFO:0,2,0,0,1,,0
    D/AT      ( 1445): AT< OK
    E/RIL_INNO( 1445): requestRegistrationState must never return an error when radio is on
    D/RILJ    ( 1716): [0010]< DATA_REGISTRATION_STATE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
    D/RIL_INNO( 1445): onRequest: VOICE_REGISTRATION_STATE
    D/AT      ( 1445): AT> AT+SYSINFOD/AT      ( 1445): AT< +SYSINFO:0,2,0,0,1,,0
    D/AT      ( 1445): AT< OK
    E/RIL_INNO( 1445): requestRegistrationState must never return an error when radio is on
    D/RILJ    ( 1716): [0011]< VOICE_REGISTRATION_STATE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
    D/RIL_INNO( 1445): onRequest: QUERY_NETWORK_SELECTION_MODE
    D/AT      ( 1445): AT> AT+COPS?D/AT      ( 1445): AT< +COPS: 0
    D/AT      ( 1445): AT< OK
    D/RIL_INNO( 1445): onRequest: SET_PREFERRED_NETWORK_TYPE
    D/RIL_INNO( 1445): onRequest: SET_NETWORK_SELECTION_AUTOMATIC
    D/RIL_INNO( 1445): onRequest: OPERATOR
    D/AT      ( 1445): AT> AT+COPS=3,0D/RILJ    ( 1716): [0012]< QUERY_NETWORK_SELECTION_MODE {0}
    D/RILJ    ( 1716): [0013]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
    D/RILJ    ( 1716): [0014]< SET_NETWORK_SELECTION_AUTOMATIC 
    D/AT      ( 1445): AT< OK
    D/AT      ( 1445): AT> AT+COPS?D/AT      ( 1445): AT< +COPS: 0
    D/AT      ( 1445): AT< OK
    D/AT      ( 1445): AT> AT+COPS=3,2D/AT      ( 1445): AT< OK
    D/AT      ( 1445): AT> AT+COPS?D/AT      ( 1445): AT< +COPS: 0
    D/AT      ( 1445): AT< OK
    D/RIL_INNO( 1445): onRequest: DATA_REGISTRATION_STATE
    D/AT      ( 1445): AT> AT+SYSINFOD/RILJ    ( 1716): [0015]< OPERATOR {null, null, null}
    D/AT      ( 1445): AT< +SYSINFO:0,2,0,0,1,,0
    D/AT      ( 1445): AT< OK
    E/RIL_INNO( 1445): requestRegistrationState must never return an error when radio is on
    D/RILJ    ( 1716): [0016]< DATA_REGISTRATION_STATE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
    E/GSM     ( 1716): [GsmSST] RIL implementation has returned an error where it must succeedcom.android.internal.telephony.CommandException: GENERIC_FAILURE
    D/RIL_INNO( 1445): onRequest: VOICE_REGISTRATION_STATE
    D/AT      ( 1445): AT> AT+SYSINFOD/AT      ( 1445): AT< +SYSINFO:0,2,0,0,1,,0
    D/AT      ( 1445): AT< OK
    E/RIL_INNO( 1445): requestRegistrationState must never return an error when radio is on
    D/RILJ    ( 1716): [0017]< VOICE_REGISTRATION_STATE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
    D/RIL_INNO( 1445): onRequest: QUERY_NETWORK_SELECTION_MODE
    D/AT      ( 1445): AT> AT+COPS?E/GSM     ( 1716): [GsmSST] RIL implementation has returned an error where it must succeedcom.android.internal.telephony.CommandException: GENERIC_FAILURE
    D/AT      ( 1445): AT< +COPS: 0
    D/AT      ( 1445): AT< OK
    D/RIL_INNO( 1445): onRequest: GET_IMSI
    D/AT      ( 1445): AT> AT+CIMID/RILJ    ( 1716): [0018]< QUERY_NETWORK_SELECTION_MODE {0}
    D/GSM     ( 1716): [GsmSST] Poll ServiceState done:  oldSS=[1 home null null null  Unknown:0 CSS not supported 0 0 RoamInd=0 DefRoamInd=0 EmergOnly=false] newSS=[1 home null null null  Unknown:0 CSS not supported 0 0 RoamInd=0 DefRoamInd=0 EmergOnly=false] oldGprs=1 newData=1 oldMaxDataCalls=1 mNewMaxDataCalls=1 oldReasonDataDenied=-1 mNewReasonDataDenied=-1 oldType=Unknown:0 newType=Unknown:0
    D/AT      ( 1445): AT< +CIMI: 460007101279604 
    D/AT      ( 1445): AT< OK
    I/RIL_INNO( 1445): imsi:460007101279604 test
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RIL_INNO( 1445): onRequest: GET_SIM_STATUS
    D/AT      ( 1445): AT> AT+CPIN?D/RILJ    ( 1716): [0019]< GET_IMSI 
    D/GSM     ( 1716): IMSI: xxxxxxx
    D/GSM     ( 1716): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED IMSI reason null
    D/RILJ    ( 1716): [0020]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0021]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0022]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0023]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0024]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0025]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0026]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0027]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0028]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0041]> iccIO: SIM_IO 0xc0 0x6f17  path: 3F007F20,0,0,15
    D/RILJ    ( 1716): [0029]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0030]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0031]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0032]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0033]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/AT      ( 1445): AT< +CPIN:READY
    D/AT      ( 1445): AT< OK
    D/RIL_INNO( 1445): onRequest: QUERY_FACILITY_LOCK
    D/RIL_INNO( 1445): onRequest: QUERY_FACILITY_LOCK
    D/RIL_INNO( 1445): onRequest: REPORT_STK_SERVICE_IS_RUNNING
    D/RIL_INNO( 1445): onRequest: BASEBAND_VERSION
    D/RIL_INNO( 1445): onRequest: GET_IMEI
    D/RIL_INNO( 1445): onRequest: GET_IMEISV
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RILJ    ( 1716): [0034]< 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    ( 1716): [0035]< QUERY_FACILITY_LOCK error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
    D/RILJ    ( 1716): [0036]< QUERY_FACILITY_LOCK error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
    D/RILJ    ( 1716): [0037]< RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
    D/RILJ    ( 1716): [0038]< BASEBAND_VERSION error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
    D/RILJ    ( 1716): [0039]< GET_IMEI error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
    D/RILJ    ( 1716): [0040]< GET_IMEISV error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
    D/RILJ    ( 1716): [0041]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/RILJ    ( 1716): [0042]> iccIO: SIM_IO 0xc0 0x6f14  path: 3F007F20,0,0,15
    D/GSM     ( 1716): Invalid or missing EF[MSISDN]
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RILJ    ( 1716): [0042]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    E/GSM     ( 1716): [IccCard] Invalid Subscription Application index:8
    D/GSM     ( 1716): [IccCard] USIM=READY CSIM=ABSENT
    D/RILB    ( 1716): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
    D/GSM     ( 1716): [IccCard] Error in querying facility lock:com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
    D/GSM     ( 1716): [IccCard] Error in querying facility lock:com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
    E/GSM     ( 1716): Exception in fetching EF_CSP data com.android.internal.telephony.IccException: sw1:0 sw2:0
    D/RILJ    ( 1716): [0043]> iccIO: SIM_IO 0xc0 0x6f18  path: 3F007F20,0,0,15
    D/GSM     ( 1716): Invalid or missing EF[MAILBOX]
    D/RIL_INNO( 1445): onRequest: SIM_IO
    D/RILJ    ( 1716): [0043]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0
    D/GSM     ( 1716): [SIMRecords] No SPN loaded in either CHPS or 3GPP
      

  3.   

    上面是打印的log信息,现在这边是有4G的信号,但是我就是接收不到小区信息,请帮忙下啊!谢谢啊!