[Motorola Photon Q 4G LTE] kabaldan:
It finally happened again, around the time when I went to sleep. (It means that the phone was more or less stationary and idle, maybe it was the moment when I've put it on the table besides bed, not sure.)

Nothing much has been happening in the radio layer - there was just series of successful REQUEST_GET_NEIGHBORING_CELL_IDS over the last 5 minutes before the failure.

Then out of nowhere came UNSOL_RESPONSE_SIM_STATUS_CHANGED and the SIM status changed to CARDSTATE_ERROR...

08-13 00:35:30.368 1098 1098 D RILJ : [0325]> REQUEST_GET_NEIGHBORING_CELL_IDS
08-13 00:35:30.378 1098 1180 D RILJ : [0325]< REQUEST_GET_NEIGHBORING_CELL_IDS [23f13a36@3]
08-13 00:36:30.362 1098 1098 D RILJ : [0326]> REQUEST_GET_NEIGHBORING_CELL_IDS
08-13 00:36:30.382 1098 1180 D RILJ : [0326]< REQUEST_GET_NEIGHBORING_CELL_IDS [23f03a19@6] [23f12f00@3] [0ffff@12] [0ffff@2]
08-13 00:37:30.386 1098 1098 D RILJ : [0327]> REQUEST_GET_NEIGHBORING_CELL_IDS
08-13 00:37:30.396 1098 1180 D RILJ : [0327]< REQUEST_GET_NEIGHBORING_CELL_IDS [23f03a19@6] [23f12f00@4] [0ffff@12]
08-13 00:38:30.420 1098 1098 D RILJ : [0328]> REQUEST_GET_NEIGHBORING_CELL_IDS
08-13 00:38:30.440 1098 1180 D RILJ : [0328]< REQUEST_GET_NEIGHBORING_CELL_IDS [23f03a19@7] [23f12f00@4] [23f13a36@4] [0ffff@12]
08-13 00:39:30.414 1098 1098 D RILJ : [0329]> REQUEST_GET_NEIGHBORING_CELL_IDS
08-13 00:39:30.434 1098 1180 D RILJ : [0329]< REQUEST_GET_NEIGHBORING_CELL_IDS [23f03a19@7] [23f13a36@3] [0ffff@11]
[B]08-13 00:40:24.872 1098 1180 D RILJ : [UNSL]< UNSOL_RESPONSE_SIM_STATUS_CHANGED
08-13 00:40:24.872 1098 1098 D RIL_UiccController: Received EVENT_ICC_STATUS_CHANGED, calling getIccCardStatus
08-13 00:40:24.872 1098 1098 D RILJ : [0330]> GET_SIM_STATUS
08-13 00:40:24.882 1098 1180 D RILJ : [0330]< GET_SIM_STATUS IccCardState {CARDSTATE_ERROR,PINSTATE_UNKNOWN,num_apps=0,gsm_id=-1,cdma_id=-1,ims_id=-1}[/B]
08-13 00:40:24.882 1098 1098 D RIL_UiccController: Received EVENT_GET_ICC_STATUS_DONE
08-13 00:40:24.882 1098 1098 D RIL_UiccCard: 0 applications
08-13 00:40:24.882 1098 1098 D RIL_UiccCardApplication: APPTYPE_USIM being Disposed
08-13 00:40:24.882 1098 1098 D GSM : [SIMRecords] Disposing SIMRecords Handler (com.android.internal.telephony.gsm.SIMRecords) {4133ad30}
08-13 00:40:24.882 1098 1098 D GSM : [SIMRecords] SIMRecords: onRadioOffOrNotAvailable set 'gsm.sim.operator.numeric' to operator=null
08-13 00:40:24.882 1098 1098 D RIL_UiccCard: update: radioState=RADIO_ON mLastRadioState=RADIO_ON
08-13 00:40:24.882 1098 1098 D RIL_UiccController: Notifying IccChangedRegistrants
08-13 00:40:24.892 1098 1098 D GSM : [GSMPhone] Removing stale icc objects.
08-13 00:40:24.892 1098 1098 D GSM : [GsmSST] Removing stale icc objects.
08-13 00:40:24.892 1098 1098 D GSM : [GsmDCT] handleMessage msg={ what=270369 when=-2ms obj=android.os.AsyncResult@412a5d80 }
08-13 00:40:24.892 1098 1098 D GSM : [GsmDCT] Removing stale icc objects.
08-13 00:40:24.892 1098 1098 D RIL_IccCardProxy: Icc changed. Reregestering.
08-13 00:40:24.892 1098 1098 D RIL_IccCardProxy: Broadcasting intent ACTION_SIM_STATE_CHANGED UNKNOWN reason null
08-13 00:40:26.154 1098 1180 D RILJ : [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
08-13 00:40:26.154 1098 1098 D RILJ : [0331]> OPERATOR
08-13 00:40:26.154 1098 1098 D RILJ : [0332]> DATA_REGISTRATION_STATE
08-13 00:40:26.164 1098 1098 D RILJ : [0333]> VOICE_REGISTRATION_STATE
08-13 00:40:26.164 1098 1098 D RILJ : [0334]> QUERY_NETWORK_SELECTION_MODE
08-13 00:40:26.164 1098 1180 D RILJ : [0331]< OPERATOR {Vodafone CZ, Vodafone, 23003}
08-13 00:40:26.174 1098 1180 D RILJ : [0332]< DATA_REGISTRATION_STATE {1, 23f0, 0000292d, 2, null, 20}
08-13 00:40:26.184 1098 1180 D RILJ : [0333]< VOICE_REGISTRATION_STATE {1, 23f0, 0000292d, 16, null, null, null, 0, null, null, 1, null, null, 0, 0}
08-13 00:40:26.184 1098 1180 D RILJ : [0334]< QUERY_NETWORK_SELECTION_MODE {1}
08-13 00:40:26.184 1098 1098 D GSM : [GsmSST] Poll ServiceState done: oldSS=[0 home Vodafone CZ Vodafone 23003 (manual) EDGE CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] newSS=[0 home Vodafone CZ Vodafone 23003 (manual) EDGE CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] oldGprs=0 newData=0 oldMaxDataCalls=20 mNewMaxDataCalls=20 oldReasonDataDenied=-1 mNewReasonDataDenied=-1 oldType=EDGE newType=EDGE
08-13 00:40:29.788 1098 1180 V RILJ : [UNSL]< UNSOL_OEM_HOOK_RAW 5155414c434f4d4d4c0408000b00000002000d0001040000000000
08-13 00:40:29.788 1098 1180 D RILJ : [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
08-13 00:40:29.788 1098 1098 D RILJ : [0335]> OPERATOR
08-13 00:40:29.798 1098 1098 D RILJ : [0336]> DATA_REGISTRATION_STATE
08-13 00:40:29.798 1098 1180 D RILJ : [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
08-13 00:40:29.798 1098 1098 D RILJ : [0337]> VOICE_REGISTRATION_STATE
08-13 00:40:29.808 1098 1180 D RILJ : [0335]< OPERATOR {null, null, null}
08-13 00:40:29.808 1098 1098 D RILJ : [0338]> QUERY_NETWORK_SELECTION_MODE
08-13 00:40:29.808 1098 1098 D RILJ : [0339]> OPERATOR
08-13 00:40:29.828 1098 1180 D RILJ : [0336]< DATA_REGISTRATION_STATE {2, null, null, null, 0, 20}
08-13 00:40:29.828 1098 1180 D RILJ : [0337]< VOICE_REGISTRATION_STATE {2, null, null, 0, null, null, null, 0, null, null, null, null, null, 0, 0}
08-13 00:40:29.828 1098 1180 D RILJ : [0338]< QUERY_NETWORK_SELECTION_MODE {1}
08-13 00:40:29.828 1098 1098 D RILJ : [0340]> DATA_REGISTRATION_STATE
08-13 00:40:29.838 1098 1180 D RILJ : [0339]< OPERATOR {null, null, null}
08-13 00:40:29.838 1098 1098 D RILJ : [0341]> VOICE_REGISTRATION_STATE
08-13 00:40:29.848 1098 1180 D RILJ : [0340]< DATA_REGISTRATION_STATE {2, null, null, null, 0, 20}
08-13 00:40:29.848 1098 1098 D RILJ : [0342]> QUERY_NETWORK_SELECTION_MODE
08-13 00:40:29.858 1098 1180 D RILJ : [0341]< VOICE_REGISTRATION_STATE {2, null, null, 0, null, null, null, 0, null, null, null, null, null, 0, 0}
08-13 00:40:29.858 1098 1180 D RILJ : [0342]< QUERY_NETWORK_SELECTION_MODE {1}
08-13 00:40:29.858 1098 1098 D GSM : [GsmSST] Poll ServiceState done: oldSS=[0 home Vodafone CZ Vodafone 23003 (manual) EDGE CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] newSS=[1 home null null null (manual) Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] oldGprs=0 newData=1 oldMaxDataCalls=20 mNewMaxDataCalls=20 oldReasonDataDenied=-1 mNewReasonDataDenied=-1 oldType=EDGE newType=Unknown
08-13 00:40:29.868 1098 1098 D GSM : [GsmSST] RAT switched EDGE -> Unknown at cell -1
08-13 00:40:29.868 1098 1098 D GSM : [GsmSST] updateSpnDisplay: radio is on but out of service, set plmn='No service.'
08-13 00:40:29.868 1098 1098 D GSM : [GsmSST] updateSpnDisplay: changed sending intent rule=0 showPlmn='true' plmn='No service.' showSpn='false' spn=''
08-13 00:40:29.908 1098 1098 D GSM : [GsmSST] operatorNumeric is null
08-13 00:40:29.948 1098 1098 D GSM : [GsmDCT] get all active apn types
08-13 00:40:29.958 1098 1098 D GSM : [GsmDCT] handleMessage msg={ what=270345 when=-6ms obj=android.os.AsyncResult@41331830 }
08-13 00:40:29.958 1098 1098 D GSM : [GsmDCT] onDataConnectionDetached: stop polling and notify detached
08-13 00:40:29.958 1098 1098 D GSM : [GsmDCT] stopNetStatPoll
08-13 00:40:29.968 1098 1098 D GSM : [GsmDCT] notifyDataConnection: reason=dataDetached
08-13 00:40:29.968 1098 1098 D GSM : [GsmDCT] notifyOffApnOfAvailability type:fota
08-13 00:40:29.968 1098 1098 D GSM : [GsmDCT] isDataAllowed: not allowed due to - SIM not loaded
08-13 00:40:29.968 1098 1098 D GSM : [GsmDCT] isDataPossible(fota): possible=false isDataAllowed=false apnTypePossible=true apnContextisEnabled=false apnContextState()=IDLE

So in my case, it indeed looks like a problem of the hardware connection somewhere between the SIM, SIM reader and the board.