LegacyXperia / local_manifests

Local manifest for building CyanogenMod for Xperia 2011 devices
legacyxperia.github.io
122 stars 78 forks source link

[Radio] Flight mode causes trouble in mobile network #59

Closed djey47 closed 11 years ago

djey47 commented 11 years ago

Device : Haida Version : CM10.2, build 20130828

It occurs when flight mode is switched ON for many hours then OFF (for example to go to sleep). I could not reproduce it every night, though.

Switching flight mode OFF, prompts sim code to be entered, and if it's valid, mobile network is not restored :

A reboot fixes the issue, till next time.

mikeNG commented 11 years ago

get some radio logs

drakellion commented 11 years ago

i can confirm this issue , if it happen again i will take logs

amishmm commented 11 years ago

I have noticed this too. But did not happen the last two time. Am waiting again for it to happen.

djey47 commented 11 years ago

Just reproduced it this morning :) Here are radio logs. Hope it helps.

======================= RADIO LOG =================== 09-11 07:46:06.314 D/UiccCardApplication( 729): APPTYPE_USIM changed state: APPSTATE_SUBSCRIPTION_PERSO -> APPSTATE_READY 09-11 07:46:06.314 D/RILJ ( 729): [0031]> QUERY_FACILITY_LOCK 09-11 07:46:06.324 D/RILJ ( 729): [0032]> QUERY_FACILITY_LOCK 09-11 07:46:06.324 E/use-Rlog/RLOG-RILC( 224): dispatchQueryFacilityLock countStrings = 4 09-11 07:46:06.324 E/use-Rlog/RLOG-RILC( 224): out dispatchQueryFacilityLock status = 0 09-11 07:46:06.324 E/use-Rlog/RLOG-RILC( 224): dispatchQueryFacilityLock countStrings = 4 09-11 07:46:06.324 D/UiccCardApplication( 729): Notifying registrants: READY 09-11 07:46:06.324 D/UiccCardApplication( 729): APPTYPE_UNKNOWN update. New {APPTYPE_UNKNOWN,APPSTATE_DETECTED} 09-11 07:46:06.324 D/CAT ( 729): CatService: Return current sInstance 09-11 07:46:06.324 E/UiccCard( 729): App index 0 is invalid since it's not APPTYPE_RUIM and not APPTYPE_CSIM 09-11 07:46:06.324 E/use-Rlog/RLOG-RILC( 224): out dispatchQueryFacilityLock status = 0 09-11 07:46:06.334 D/RILJ ( 729): [0032]< QUERY_FACILITY_LOCK {1} 09-11 07:46:06.334 E/UiccCard( 729): App index 0 is invalid since it's not APPTYPE_ISIM and not null 09-11 07:46:06.334 D/UiccCard( 729): update: radioState=RADIO_OFF mLastRadioState=RADIO_OFF 09-11 07:46:06.334 D/UiccController( 729): Notifying IccChangedRegistrants 09-11 07:46:06.334 D/SIMRecords( 729): [SIMRecords] fetchSimRecords 0 09-11 07:46:06.334 D/RILJ ( 729): [0033]> getIMSI: GET_IMSI aid: a0000000871002ff33ff018900000100 09-11 07:46:06.334 E/use-Rlog/RLOG-RILC( 224): >> RIL_requestIMSI slot=0, aid=a0000000871002ff33ff018900000100 09-11 07:46:06.344 D/RILJ ( 729): [0034]> iccIO: SIM_IO 0xc0 0x2fe2 path: 3F00,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.354 D/RILJ ( 729): [0035]> iccIO: SIM_IO 0xc0 0x6f40 path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.354 D/RILJ ( 729): [0036]> iccIO: SIM_IO 0xc0 0x6fc9 path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.354 D/RILJ ( 729): [0037]> iccIO: SIM_IO 0xc0 0x6fad path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.364 D/RILJ ( 729): [0038]> iccIO: SIM_IO 0xc0 0x6fca path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.364 D/RILJ ( 729): [0039]> iccIO: SIM_IO 0xc0 0x6f11 path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.364 D/RILJ ( 729): [0040]> iccIO: SIM_IO 0xc0 0x6fcb path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.374 D/RILJ ( 729): [0041]> iccIO: SIM_IO 0xc0 0x6f13 path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.374 D/RILJ ( 729): [0042]> iccIO: SIM_IO 0xc0 0x6f46 path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.374 D/RILJ ( 729): [0043]> iccIO: SIM_IO 0xc0 0x6fcd path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.374 D/RILJ ( 729): [0044]> iccIO: SIM_IO 0xc0 0x6fc5 path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.384 D/RILJ ( 729): [0045]> iccIO: SIM_IO 0xc0 0x6f38 path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.384 D/RILJ ( 729): [0046]> iccIO: SIM_IO 0xc0 0x6f16 path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.394 D/RILJ ( 729): [0047]> iccIO: SIM_IO 0xc0 0x6f15 path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.394 D/RILJ ( 729): [0048]> iccIO: SIM_IO 0xc0 0x6f3e path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:06.394 D/SIMRecords( 729): [SIMRecords] fetchSimRecords 16 requested: true 09-11 07:46:06.394 D/CAT ( 729): CatService: SIM ready. Reporting STK service running now... 09-11 07:46:06.394 D/RILJ ( 729): [0049]> RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING 09-11 07:46:06.404 D/RILJ ( 729): [0049]< RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING 09-11 07:46:06.404 D/RILJ ( 729): setCurrentPreferredNetworkType: 0 09-11 07:46:06.404 D/RILJ ( 729): [0050]> REQUEST_SET_PREFERRED_NETWORK_TYPE : 0 09-11 07:46:06.404 D/RilRequest( 729): [0050]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE 09-11 07:46:06.414 D/PHONE ( 729): [ServiceState] setNullState=3 09-11 07:46:06.414 D/GsmSST ( 729): [GsmSST] Poll ServiceState done: oldSS=[3 3 home null null null Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] newSS=[3 3 home null null null Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] oldMaxDataCalls=20 mNewMaxDataCalls=20 oldReasonDataDenied=-1 mNewReasonDataDenied=-1 09-11 07:46:06.414 D/PHONE ( 729): [ServiceState] setNullState=1 09-11 07:46:06.414 D/PHONE ( 729): [ServiceState] setNullState=1 09-11 07:46:06.414 D/RilRequest( 729): [0051]< SET_NETWORK_SELECTION_AUTOMATIC error: com.android.internal.telephony.CommandException: GENERIC_FAILURE 09-11 07:46:06.414 D/IccCardProxy( 729): Broadcasting intent ACTION_SIM_STATE_CHANGED READY reason null 09-11 07:46:06.424 D/UiccCardApplication( 729): Query facility lock : 1 09-11 07:46:06.424 D/UiccCardApplication( 729): Ignoring: pin1state=PINSTATE_ENABLED_VERIFIED 09-11 07:46:06.424 D/DCT ( 729): handleMessage msg={ what=270369 when=-90ms obj=android.os.AsyncResult@41a7cd80 } 09-11 07:46:07.225 D/RILJ ( 729): [0033]< GET_IMSI 09-11 07:46:07.225 D/SIMRecords( 729): [SIMRecords] IMSI: xxxxxxx 09-11 07:46:07.225 D/MccTable( 729): updateMccMncConfiguration: mcc=208, mnc=1 09-11 07:46:07.225 D/TelephonyManager( 729): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType='' 09-11 07:46:07.225 D/MccTable( 729): locale set to fr_fr 09-11 07:46:07.225 D/MccTable( 729): WIFI_COUNTRY_CODE set to fr 09-11 07:46:07.235 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 15 requested: true 09-11 07:46:07.235 D/IccCardProxy( 729): Broadcasting intent ACTION_SIM_STATE_CHANGED IMSI reason null 09-11 07:46:07.405 D/RILJ ( 729): [0034]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:07.405 D/RILJ ( 729): [0052]> iccIO: SIM_IO 0xb0 0x2fe2 path: 3F00,0,0,10 aid: a0000000871002ff33ff018900000100 09-11 07:46:07.515 D/RILJ ( 729): [0035]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:07.515 D/RILJ ( 729): [0053]> iccIO: SIM_IO 0xb2 0x6f40 path: 3F007FFF,1,4,28 aid: a0000000871002ff33ff018900000100 09-11 07:46:07.625 D/RILJ ( 729): [0036]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:07.625 D/RILJ ( 729): [0054]> iccIO: SIM_IO 0xb2 0x6fc9 path: 3F007FFF,1,4,4 aid: a0000000871002ff33ff018900000100 09-11 07:46:07.715 D/RILJ ( 729): [0037]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:07.715 D/RILJ ( 729): [0055]> iccIO: SIM_IO 0xb0 0x6fad path: 3F007FFF,0,0,4 aid: a0000000871002ff33ff018900000100 09-11 07:46:07.826 D/RILJ ( 729): [0038]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:07.826 D/RILJ ( 729): [0056]> iccIO: SIM_IO 0xb2 0x6fca path: 3F007FFF,1,4,5 aid: a0000000871002ff33ff018900000100 09-11 07:46:07.966 D/RilRequest( 729): [0039]< SIM_IO error: com.android.internal.telephony.CommandException: GENERIC_FAILURE 09-11 07:46:07.966 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 14 requested: true 09-11 07:46:08.016 D/RilRequest( 729): [0040]< SIM_IO error: com.android.internal.telephony.CommandException: GENERIC_FAILURE 09-11 07:46:08.016 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 13 requested: true 09-11 07:46:08.136 D/RilRequest( 729): [0041]< SIM_IO error: com.android.internal.telephony.CommandException: GENERIC_FAILURE 09-11 07:46:08.136 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 12 requested: true 09-11 07:46:08.777 D/RILJ ( 729): [0031]< QUERY_FACILITY_LOCK {0} 09-11 07:46:08.777 D/UiccCardApplication( 729): Query facility lock : false 09-11 07:46:08.847 D/RILJ ( 729): [0042]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:08.847 D/RILJ ( 729): [0057]> iccIO: SIM_IO 0xb0 0x6f46 path: 3F007FFF,0,0,17 aid: a0000000871002ff33ff018900000100 09-11 07:46:08.957 D/RILJ ( 729): [0043]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:08.957 D/RILJ ( 729): [0058]> iccIO: SIM_IO 0xb0 0x6fcd path: 3F007FFF,0,0,31 aid: a0000000871002ff33ff018900000100 09-11 07:46:09.037 D/RILJ ( 729): [0044]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:09.037 D/RILJ ( 729): [0059]> iccIO: SIM_IO 0xb2 0x6fc5 path: 3F007FFF,1,4,40 aid: a0000000871002ff33ff018900000100 09-11 07:46:09.127 D/RILJ ( 729): [0045]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:09.127 D/RILJ ( 729): [0060]> iccIO: SIM_IO 0xb0 0x6f38 path: 3F007FFF,0,0,9 aid: a0000000871002ff33ff018900000100 09-11 07:46:09.247 D/RilRequest( 729): [0046]< SIM_IO error: com.android.internal.telephony.CommandException: GENERIC_FAILURE 09-11 07:46:09.247 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 11 requested: true 09-11 07:46:09.317 D/RilRequest( 729): [0047]< SIM_IO error: com.android.internal.telephony.CommandException: GENERIC_FAILURE 09-11 07:46:09.317 E/SIMRecords( 729): [SIMRecords] Exception in fetching EF_CSP data com.android.internal.telephony.CommandException: GENERIC_FAILURE 09-11 07:46:09.317 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 10 requested: true 09-11 07:46:09.357 D/RILJ ( 729): [0048]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:09.367 D/RILJ ( 729): [0061]> iccIO: SIM_IO 0xb0 0x6f3e path: 3F007FFF,0,0,4 aid: a0000000871002ff33ff018900000100 09-11 07:46:09.407 D/RILJ ( 729): [0052]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:09.407 D/SIMRecords( 729): [SIMRecords] iccid: 89330112333683313260 09-11 07:46:09.407 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 9 requested: true 09-11 07:46:09.467 D/RILJ ( 729): [0053]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:09.467 D/SIMRecords( 729): [SIMRecords] MSISDN: xxxxxxx 09-11 07:46:09.467 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 8 requested: true 09-11 07:46:09.788 D/RILJ ( 729): [0054]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:09.788 D/RILJ ( 729): [0055]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:09.788 D/SIMRecords( 729): [SIMRecords] EF_MBI: 00000000 09-11 07:46:09.788 D/RILJ ( 729): [0062]> iccIO: SIM_IO 0xc0 0x6f17 path: 3F007FFF,0,0,15 aid: a0000000871002ff33ff018900000100 09-11 07:46:09.788 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 8 requested: true 09-11 07:46:09.788 D/SIMRecords( 729): [SIMRecords] EF_AD: 01000102 09-11 07:46:09.798 D/MccTable( 729): updateMccMncConfiguration: mcc=208, mnc=1 09-11 07:46:09.798 D/TelephonyManager( 729): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType='' 09-11 07:46:09.798 D/MccTable( 729): locale set to fr_fr 09-11 07:46:09.798 D/MccTable( 729): WIFI_COUNTRY_CODE set to fr 09-11 07:46:09.808 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 7 requested: true 09-11 07:46:09.848 D/RILJ ( 729): [0056]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:09.848 D/RILJ ( 729): [0057]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:09.848 D/SIMRecords( 729): [SIMRecords] EF_MWIS: 0000000000 09-11 07:46:09.848 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 6 requested: true 09-11 07:46:09.858 D/SIMRecords( 729): [SIMRecords] Load EF_SPN: Orange F spnDisplayCondition: 2 09-11 07:46:09.858 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 5 requested: true 09-11 07:46:09.908 D/RILJ ( 729): [0058]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:09.908 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 4 requested: true 09-11 07:46:09.968 D/RILJ ( 729): [0059]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:09.968 D/RILJ ( 729): [0060]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:09.968 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 3 requested: true 09-11 07:46:09.978 D/SIMRecords( 729): [SIMRecords] SST: UsimServiceTable[72]={ FDN, FDN_EXTENSION, SDN, OUTGOING_CALL_INFO, INCOMING_CALL_INFO, SM_STORAGE, SM_STATUS_REPORTS, SM_SERVICE_PARAMS, CAP_CONFIG_PARAMS_2, CB_MESSAGE_ID, CB_MESSAGE_ID_RANGES, GROUP_ID_LEVEL_1, GROUP_ID_LEVEL_2, SPN, MSISDN, GSM_ACCESS, DATA_DL_VIA_SMS_PP, RUN_AT_COMMAND, IGNORED_1, ENABLED_SERVICES_TABLE, APN_CONTROL_LIST, GSM_SECURITY_CONTEXT, CPBCCH_INFO, INVESTIGATION_SCAN, OPERATOR_PLMN_SELECT, PLMN_NETWORK_NAME, OPERATOR_PLMN_LIST, SERVICE_PROVIDER_DISPLAY_INFO } 09-11 07:46:09.978 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 2 requested: true 09-11 07:46:10.018 D/RILJ ( 729): [0061]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0 09-11 07:46:10.018 D/SIMRecords( 729): [SIMRecords] GID1: ffffffff 09-11 07:46:10.028 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 1 requested: true 09-11 07:46:10.328 D/RilRequest( 729): [0062]< SIM_IO error: com.android.internal.telephony.CommandException: GENERIC_FAILURE 09-11 07:46:10.328 D/SIMRecords( 729): [SIMRecords] Invalid or missing EF[MAILBOX] 09-11 07:46:10.328 D/SIMRecords( 729): [SIMRecords] onRecordLoaded 0 requested: true 09-11 07:46:10.328 D/SIMRecords( 729): [SIMRecords] record load complete 09-11 07:46:10.328 D/SIMRecords( 729): [SIMRecords] onAllRecordsLoaded set 'gsm.sim.operator.numeric' to operator='20801' 09-11 07:46:10.338 D/SIMRecords( 729): [SIMRecords] onAllRecordsLoaded set mcc imsi=208014002666062 09-11 07:46:10.378 D/GsmSST ( 729): [GsmSST] updateSpnDisplay: radio is off w/ showPlmn=false plmn=null 09-11 07:46:10.378 D/DCT ( 729): handleMessage msg={ what=270338 when=-41ms obj=android.os.AsyncResult@41a348d0 } 09-11 07:46:10.378 D/DCT ( 729): onRecordsLoaded: createAllApnList 09-11 07:46:10.378 D/DCT ( 729): createAllApnList: selection=numeric = '20801' and carrier_enabled = 1 09-11 07:46:10.398 D/DCT ( 729): createApnList: X result=[[ApnSettingV2] Virgin, 40, 20801, ofnew.fr, null, null, null, null, null, -1, default | supl, IP, IP, true, 0, [ApnSettingV2] Orange Internet, 41, 20801, orange.fr, null, null, null, null, null, 0, dun, IP, IP, true, 0, [ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0, [ApnSettingV2] Orange MMS, 43, 20801, orange.acte, null, http://mms.orange.fr/, 192.168.10.200, 8080, null, 2, mms, IP, IP, true, 0, [ApnSettingV2] Orange Entreprise, 44, 20801, orange-mib, 172.16.2.8, null, null, null, 8000, 2, default, IP, IP, true, 0] 09-11 07:46:10.408 D/DCT ( 729): getPreferredApn: mRequestedApnType=default cursor=android.content.ContentResolver$CursorWrapperInner@419bc758 cursor.count=1 09-11 07:46:10.408 D/DCT ( 729): getPreferredApn: apnSetting=[ApnSettingV2] Virgin, 40, 20801, ofnew.fr, null, null, null, null, null, -1, default | supl, IP, IP, true, 0 09-11 07:46:10.408 D/DCT ( 729): getPreferredApn: apnSetting=[ApnSettingV2] Orange Internet, 41, 20801, orange.fr, null, null, null, null, null, 0, dun, IP, IP, true, 0 09-11 07:46:10.408 D/DCT ( 729): getPreferredApn: apnSetting=[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0 09-11 07:46:10.408 D/DCT ( 729): getPreferredApn: X found apnSetting[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0 09-11 07:46:10.408 D/DCT ( 729): createAllApnList: mPreferredApn=[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0 09-11 07:46:10.408 D/DCT ( 729): createAllApnList: X mAllApnSettings=[[ApnSettingV2] Virgin, 40, 20801, ofnew.fr, null, null, null, null, null, -1, default | supl, IP, IP, true, 0, [ApnSettingV2] Orange Internet, 41, 20801, orange.fr, null, null, null, null, null, 0, dun, IP, IP, true, 0, [ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0, [ApnSettingV2] Orange MMS, 43, 20801, orange.acte, null, http://mms.orange.fr/, 192.168.10.200, 8080, null, 2, mms, IP, IP, true, 0, [ApnSettingV2] Orange Entreprise, 44, 20801, orange-mib, 172.16.2.8, null, null, null, 8000, 2, default, IP, IP, true, 0] 09-11 07:46:10.408 D/DCT ( 729): setupDataOnConnectableApns: isConnectable() call trySetupData 09-11 07:46:10.408 D/DCT ( 729): trySetupData for type:default due to simLoaded apnContext={mApnType=default mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=simLoaded mDataEnabled=true mDependencyMet=true} 09-11 07:46:10.408 D/DCT ( 729): trySetupData with mIsPsRestricted=false 09-11 07:46:10.408 D/DCT ( 729): [ApnContext:dun] getApnSetting: apnSetting=null 09-11 07:46:10.418 D/DCT ( 729): [ApnContext:supl] getApnSetting: apnSetting=null 09-11 07:46:10.428 D/DCT ( 729): [ApnContext:hipri] getApnSetting: apnSetting=null 09-11 07:46:10.438 D/DCT ( 729): [ApnContext:mms] getApnSetting: apnSetting=null 09-11 07:46:10.448 D/DCT ( 729): trySetupData: X apnContext not 'ready' retValue=false 09-11 07:46:10.448 D/IccCardProxy( 729): Broadcasting intent ACTION_SIM_STATE_CHANGED LOADED reason null

mikeNG commented 11 years ago

Can you try removing

ro.telephony.default_network=0

from build.prop?

djey47 commented 11 years ago

I've commented the line, and will report whether any trouble subsists or not. Thanks.

djey47 commented 11 years ago

After 4 days, issue reappared, sadly.

Here are logs: ======================= RADIO LOG =================== 09-18 08:06:07.431 E/PHONE ( 777): ServiceState.getNetworkType() DEPRECATED will be removed *** 09-18 08:06:07.431 D/DC-1 ( 777): configureRetry: forDefault=true mRetryManager=RetryManager: { forever=false maxRetry=10 curMaxRetry=10 retry=0 config={default_randomization=2000,5000,10000,20000,40000,80000:5000,160000:5000,320000:5000,640000:5000,1280000:5000,1800000:5000} retryArray={5000:2000 10000:2000 20000:2000 40000:2000 80000:5000 160000:5000 320000:5000 640000:5000 1280000:5000 1800000:5000 }} 09-18 08:06:07.431 D/DC-1 ( 777): initConnection: RefCount=1 mApnList=[{mApnType=default mState=CONNECTING mWaitingApns={[[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0]} mWaitingApnsPermanentFailureCountDown=1 mApnSetting={[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0} mReason=dataDisabled mDataEnabled=true mDependencyMet=true}] mConnectionParams={mTag=15 mApnContext={mApnType=default mState=CONNECTING mWaitingApns={[[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0]} mWaitingApnsPermanentFailureCountDown=1 mApnSetting={[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0} mReason=dataDisabled mDataEnabled=true mDependencyMet=true} mInitialMaxRetry=1 mProfileId=0 mOnCompletedMsg={what=0x42000 when=-12h19m9s554ms obj={mApnType=default mState=CONNECTING mWaitingApns={[[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0]} mWaitingApnsPermanentFailureCountDown=1 mApnSetting={[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0} mReason=dataDisabled mDataEnabled=true mDependencyMet=true} target=Handler (com.android.internal.telephony.dataconnection.DcTracker) {41ad2330} replyTo=null}} 09-18 08:06:07.431 D/DC-1 ( 777): onConnect: carrier='Orange World' APN='orange' proxy='null' port='null' 09-18 08:06:07.431 D/RILJ ( 777): [0071]> SETUP_DATA_CALL 2 0 orange orange orange 2 IP 09-18 08:06:07.431 D/DCT ( 777): setupData: initing! 09-18 08:06:07.431 D/DCT ( 777): [ApnContext:dun] getApnSetting: apnSetting=null 09-18 08:06:07.441 D/DCT ( 777): [ApnContext:supl] getApnSetting: apnSetting=null 09-18 08:06:07.451 D/DCT ( 777): [ApnContext:hipri] getApnSetting: apnSetting=null 09-18 08:06:07.461 D/DCT ( 777): [ApnContext:mms] getApnSetting: apnSetting=null 09-18 08:06:07.471 D/DCT ( 777): trySetupData: X retValue=true 09-18 08:06:07.481 D/RilRequest( 777): [0071]< SETUP_DATA_CALL error: com.android.internal.telephony.CommandException: GENERIC_FAILURE 09-18 08:06:07.491 D/DC-1 ( 777): DcActivatingState: msg={what=EVENT_SETUP_DATA_CONNECTION_DONE when=-2ms obj=android.os.AsyncResult@41c97a40 target=Handler (com.android.internal.util.StateMachine$SmHandler) {41b966b0} replyTo=null} 09-18 08:06:07.491 D/DC-1 ( 777): onSetupConnectionCompleted failed, ar.exception=com.android.internal.telephony.CommandException: GENERIC_FAILURE response=null 09-18 08:06:07.491 D/DC-1 ( 777): DcActivatingState onSetupConnectionCompleted result=ERR_GetLastErrorFromRil SetupResult.mFailCause=NONE dc={DC-1: State=DcActivatingState mApnSetting=[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0 RefCount=1 mCid=-1 mCreateTime=-1 mLastastFailTime=-1 mLastFailCause=NONE mTag=15 mRetryManager=RetryManager: { forever=false maxRetry=10 curMaxRetry=1 retry=0 config={default_randomization=2000,5000,10000,20000,40000,80000:5000,160000:5000,320000:5000,640000:5000,1280000:5000,1800000:5000} retryArray={5000:2000 10000:2000 20000:2000 40000:2000 80000:5000 160000:5000 320000:5000 640000:5000 1280000:5000 1800000:5000 }} mLinkProperties={LinkAddresses: [] Routes: [] DnsAddresses: [] Domains: null} mLinkCapabilities={} mApnContexts=[{mApnType=default mState=CONNECTING mWaitingApns={[[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0]} mWaitingApnsPermanentFailureCountDown=1 mApnSetting={[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0} mReason=dataDisabled mDataEnabled=true mDependencyMet=true}]} 09-18 08:06:07.491 D/RILJ ( 777): [0072]> LAST_DATA_CALL_FAIL_CAUSE 09-18 08:06:07.491 D/RILJ ( 777): [0072]< LAST_DATA_CALL_FAIL_CAUSE {65535} 09-18 08:06:07.491 D/DC-1 ( 777): DcActivatingState: msg={what=EVENT_GET_LAST_FAIL_DONE when=-1ms obj=android.os.AsyncResult@41b43bf0 target=Handler (com.android.internal.util.StateMachine$SmHandler) {41b966b0} replyTo=null} 09-18 08:06:07.491 D/DC-1 ( 777): DcActivatingState msg.what=EVENT_GET_LAST_FAIL_DONE cause=ERROR_UNSPECIFIED retryDelay=6390 isRetryNeeded=true dc={DC-1: State=DcActivatingState mApnSetting=[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0 RefCount=1 mCid=-1 mCreateTime=-1 mLastastFailTime=-1 mLastFailCause=NONE mTag=15 mRetryManager=RetryManager: { forever=false maxRetry=10 curMaxRetry=1 retry=0 config={default_randomization=2000,5000,10000,20000,40000,80000:5000,160000:5000,320000:5000,640000:5000,1280000:5000,1800000:5000} retryArray={5000:2000 10000:2000 20000:2000 40000:2000 80000:5000 160000:5000 320000:5000 640000:5000 1280000:5000 1800000:5000 }} mLinkProperties={LinkAddresses: [] Routes: [] DnsAddresses: [] Domains: null} mLinkCapabilities={} mApnContexts=[{mApnType=default mState=CONNECTING mWaitingApns={[[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0]} mWaitingApnsPermanentFailureCountDown=1 mApnSetting={[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0} mReason=dataDisabled mDataEnabled=true mDependencyMet=true}]} 09-18 08:06:07.491 D/DC-1 ( 777): [dcRac] startRetryAlarm: next attempt in 6s what=262154 tag=15 09-18 08:06:07.501 D/DC-1 ( 777): DcRetryingState: enter() mTag=15, call notifyAllOfDisconnectDcRetrying lostConnection 09-18 08:06:07.501 D/DCT ( 777): handleMessage msg={ what=270370 when=0 obj=android.os.AsyncResult@41cdcfc0 } 09-18 08:06:07.501 D/DCT ( 777): DataConnectionTracker.handleMessage: EVENT_DISCONNECT_DC_RETRYING msg={ what=270370 when=0 obj=android.os.AsyncResult@41cdcfc0 } 09-18 08:06:07.501 D/DCT ( 777): onDisconnectDcRetrying: apnContext={mApnType=default mState=RETRYING mWaitingApns={[[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0]} mWaitingApnsPermanentFailureCountDown=1 mApnSetting={[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0} mReason=lostDataConnection mDataEnabled=true mDependencyMet=true} 09-18 08:06:07.501 D/DCT ( 777): [ApnContext:default] getApnSetting: apnSetting=[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0 09-18 08:06:07.511 D/Dcc ( 777): removeActiveDcByCid removedDc=null dc={DC-1: State=DcRetryingState mApnSetting=[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0 RefCount=1 mCid=-1 mCreateTime=-1 mLastastFailTime=-1 mLastFailCause=NONE mTag=15 mRetryManager=RetryManager: { forever=false maxRetry=10 curMaxRetry=1 retry=0 config={default_randomization=2000,5000,10000,20000,40000,80000:5000,160000:5000,320000:5000,640000:5000,1280000:5000,1800000:5000} retryArray={5000:2000 10000:2000 20000:2000 40000:2000 80000:5000 160000:5000 320000:5000 640000:5000 1280000:5000 1800000:5000 }} mLinkProperties={LinkAddresses: [] Routes: [] DnsAddresses: [] Domains: null} mLinkCapabilities={} mApnContexts=[{mApnType=default mState=RETRYING mWaitingApns={[[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0]} mWaitingApnsPermanentFailureCountDown=1 mApnSetting={[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0} mReason=lostDataConnection mDataEnabled=true mDependencyMet=true}]} 09-18 08:06:13.907 D/DC-1 ( 777): [dcRac] onReceive: action=com.android.internal.telephony.dataconnection.DataConnection.DC-1.action_retry sendMessage(what:EVENT_RETRY_CONNECTION, tag:15) 09-18 08:06:13.907 D/DC-1 ( 777): DcRetryingState EVENT_RETRY_CONNECTION RetryCount=1 mConnectionParams={mTag=15 mApnContext={mApnType=default mState=RETRYING mWaitingApns={[[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0]} mWaitingApnsPermanentFailureCountDown=1 mApnSetting={[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0} mReason=lostDataConnection mDataEnabled=true mDependencyMet=true} mInitialMaxRetry=1 mProfileId=0 mOnCompletedMsg={what=0x42000 when=-12h19m16s33ms obj={mApnType=default mState=RETRYING mWaitingApns={[[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0]} mWaitingApnsPermanentFailureCountDown=1 mApnSetting={[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0} mReason=lostDataConnection mDataEnabled=true mDependencyMet=true} target=Handler (com.android.internal.telephony.dataconnection.DcTracker) {41ad2330} replyTo=null}} 09-18 08:06:13.907 D/DC-1 ( 777): onConnect: carrier='Orange World' APN='orange' proxy='null' port='null' 09-18 08:06:13.907 D/RILJ ( 777): [0073]> SETUP_DATA_CALL 2 0 orange orange orange 2 IP 09-18 08:06:13.957 D/RilRequest( 777): [0073]< SETUP_DATA_CALL error: com.android.internal.telephony.CommandException: GENERIC_FAILURE 09-18 08:06:13.957 D/DC-1 ( 777): DcActivatingState: msg={what=EVENT_SETUP_DATA_CONNECTION_DONE when=0 obj=android.os.AsyncResult@41d71ee0 target=Handler (com.android.internal.util.StateMachine$SmHandler) {41b966b0} replyTo=null} 09-18 08:06:13.957 D/DC-1 ( 777): onSetupConnectionCompleted failed, ar.exception=com.android.internal.telephony.CommandException: GENERIC_FAILURE response=null 09-18 08:06:13.967 D/DC-1 ( 777): DcActivatingState onSetupConnectionCompleted result=ERR_GetLastErrorFromRil SetupResult.mFailCause=NONE dc={DC-1: State=DcActivatingState mApnSetting=[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0 RefCount=1 mCid=-1 mCreateTime=-1 mLastastFailTime=-1 mLastFailCause=NONE mTag=15 mRetryManager=RetryManager: { forever=false maxRetry=10 curMaxRetry=1 retry=1 config={default_randomization=2000,5000,10000,20000,40000,80000:5000,160000:5000,320000:5000,640000:5000,1280000:5000,1800000:5000} retryArray={5000:2000 10000:2000 20000:2000 40000:2000 80000:5000 160000:5000 320000:5000 640000:5000 1280000:5000 1800000:5000 }} mLinkProperties={LinkAddresses: [] Routes: [] DnsAddresses: [] Domains: null} mLinkCapabilities={} mApnContexts=[{mApnType=default mState=RETRYING mWaitingApns={[[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0]} mWaitingApnsPermanentFailureCountDown=1 mApnSetting={[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0} mReason=lostDataConnection mDataEnabled=true mDependencyMet=true}]} 09-18 08:06:13.967 D/RILJ ( 777): [0074]> LAST_DATA_CALL_FAIL_CAUSE 09-18 08:06:13.977 D/RILJ ( 777): [0074]< LAST_DATA_CALL_FAIL_CAUSE {65535} 09-18 08:06:13.977 D/DC-1 ( 777): DcActivatingState: msg={what=EVENT_GET_LAST_FAIL_DONE when=-3ms obj=android.os.AsyncResult@41dcb378 target=Handler (com.android.internal.util.StateMachine$SmHandler) {41b966b0} replyTo=null} 09-18 08:06:13.977 D/DC-1 ( 777): DcActivatingState msg.what=EVENT_GET_LAST_FAIL_DONE cause=ERROR_UNSPECIFIED retryDelay=10982 isRetryNeeded=false dc={DC-1: State=DcActivatingState mApnSetting=[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0 RefCount=1 mCid=-1 mCreateTime=-1 mLastastFailTime=-1 mLastFailCause=NONE mTag=15 mRetryManager=RetryManager: { forever=false maxRetry=10 curMaxRetry=1 retry=1 config={default_randomization=2000,5000,10000,20000,40000,80000:5000,160000:5000,320000:5000,640000:5000,1280000:5000,1800000:5000} retryArray={5000:2000 10000:2000 20000:2000 40000:2000 80000:5000 160000:5000 320000:5000 640000:5000 1280000:5000 1800000:5000 }} mLinkProperties={LinkAddresses: [] Routes: [] DnsAddresses: [] Domains: null} mLinkCapabilities={} mApnContexts=[{mApnType=default mState=RETRYING mWaitingApns={[[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0]} mWaitingApnsPermanentFailureCountDown=1 mApnSetting={[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0} mReason=lostDataConnection mDataEnabled=true mDependencyMet=true}]} 09-18 08:06:13.977 D/DC-1 ( 777): DcInactiveState: setEnterNoticationParams cp,cause 09-18 08:06:13.977 D/DC-1 ( 777): DcInactiveState: enter() mTag=16 09-18 08:06:13.977 D/DC-1 ( 777): DcInactiveState: enter notifyConnectCompleted +ALL failCause=ERROR_UNSPECIFIED 09-18 08:06:13.987 D/DC-1 ( 777): notifyConnectCompleted at 1379484373994 cause=ERROR_UNSPECIFIED connectionCompletedMsg={what=0x42000 when=-12h19m16s111ms arg1=-1 obj=android.os.AsyncResult@41e30b58 target=Handler (com.android.internal.telephony.dataconnection.DcTracker) {41ad2330} replyTo=null} 09-18 08:06:13.987 D/DCT ( 777): handleMessage msg={ what=270336 when=0 arg1=-1 obj=android.os.AsyncResult@41e30b58 } 09-18 08:06:13.987 D/DCT ( 777): [ApnContext:default] getApnSetting: apnSetting=[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0 09-18 08:06:13.987 D/DCT ( 777): onDataSetupComplete: error apn=orange cause=ERROR_UNSPECIFIED 09-18 08:06:13.987 D/DCT ( 777): [ApnContext:default] getApnSetting: apnSetting=[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0 09-18 08:06:13.987 D/DCT ( 777): onDataSetupComplete: WaitingApns.size=0 WaitingApnsPermFailureCountDown=1 09-18 08:06:13.987 D/DCT ( 777): [ApnContext:default] getApnSetting: apnSetting=[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0 09-18 08:06:13.998 D/DCT ( 777): onDataSetupComplete: Not all APN's had permanent failures, short delay 09-18 08:06:13.998 D/DCT ( 777): startAlarmForRestartTrySetup: delay=20000 action=com.android.internal.telephony.data-restart-trysetup.default apn={mApnType=default mState=FAILED mWaitingApns={[]} mWaitingApnsPermanentFailureCountDown=1 mApnSetting={[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0} mReason=lostDataConnection mDataEnabled=true mDependencyMet=true} 09-18 08:06:14.028 D/Dcc ( 777): removeActiveDcByCid removedDc=null dc={DC-1: State=DcInactiveState mApnSetting=[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0 RefCount=1 mCid=-1 mCreateTime=-1 mLastastFailTime=1379484373994 mLastFailCause=ERROR_UNSPECIFIED mTag=16 mRetryManager=RetryManager: { forever=false maxRetry=10 curMaxRetry=1 retry=1 config={default_randomization=2000,5000,10000,20000,40000,80000:5000,160000:5000,320000:5000,640000:5000,1280000:5000,1800000:5000} retryArray={5000:2000 10000:2000 20000:2000 40000:2000 80000:5000 160000:5000 320000:5000 640000:5000 1280000:5000 1800000:5000 }} mLinkProperties={LinkAddresses: [] Routes: [] DnsAddresses: [] Domains: null} mLinkCapabilities={} mApnContexts=[{mApnType=default mState=FAILED mWaitingApns={[]} mWaitingApnsPermanentFailureCountDown=1 mApnSetting={[ApnSettingV2] Orange World, 42, 20801, orange, null, null, null, null, null, 2, default | supl, IP, IP, true, 0} mReason=lostDataConnection mDataEnabled=true mDependencyMet=true}]} 09-18 08:06:14.028 D/DC-1 ( 777): clearSettings

amishmm commented 11 years ago

I am also noticing another issue, I do not know if its related to this same thing.

Sometimes when you switch from 2G to 3G and then when u switch from 3G to 2G it does not show any signal till I restart the phone.

Unfortunately whenever this happened, I was out and expecting important call so I had to restart in emergency, so could not get logs.

djey47 commented 11 years ago

I've got latest CM10.2 build yesterday, so it's a bit early to make conclusions on my side. All is ok for now. Will tell here if radio issues happen in coming days.

amishmm commented 11 years ago

I was already on CM10.2 when i reported the bug.

But I updated to latest nightly 2 days back and have not seen the bug yet.

djey47 commented 11 years ago

Latest 10.2 build (20130918) seems fine.

I don't switch off phone at night, only put flight mode on. When disabling flight mode a few hours later, I get mobile network back.

To me, issue can be closed now.

@drakellion @amishxda, what about you ?

amishmm commented 11 years ago

I dont much put phone in flight mode now because of earlier bug but just for testing I put it on flight mode for abt 6-7 hours.

It returned back to original state after I disabled flight mode.

So looks like the bug is fixed.