Hi -

I'm trying to debug why my phone doesn't seem to like connecting to
roaming networks and I'm hoping someone can help me make a little more
sense of the radio debug logs I'm seeing.

I'm running a Nexus One with Android 2.2.2.  I have a Canadian service
provider, WIND Mobile, and when I travel to the states I roam on the T-
Mobile network.  If I drive to the states I can roam on T-Mobile for a
certain amount of time however if my phone disconnects from the
network it won't successfully be able to reconnect.  Similarly if I
fly into the states my phone won't connect at all.  It seems as if
when I'm handed off from WIND to T-Mobile the connection works and
otherwise it won't.  Otherwise it works correctly on my home network.


I'm seeing the GENERIC_FAILURE initially at [015] when I believe it
tries to automatically select the correct network.  At [0026] ->
[0033] you see some SIM_IO errors which make me wonder if there's an
issue with my SIM card that's possibly causing this.  Again you see
SIM_IO errors at [0052] and [0058].  And finally at [0059] you see
REQUEST_GET_NEIGHBORING_CELL_IDS producing failures a few times in a
row.


here's the radio log from a fresh reboot:

$ logcat -b radio &
$ E/RILC    (   57): RIL_register: upgrade RIL to version 3 current
version=2
I/PHONE   (  160): Network Mode set to 0
I/PHONE   (  160): Cdma Subscription set to 1
I/RILC    (   57): libril: new connection
I/RILC    (   57): RIL Daemon version: HTC-RIL 1.6.1062G (Apr 23
2010,17:35:06)
I/RILJ    (  160): Connected to 'rild' socket
D/RILB    (  160): Notifying: radio available
D/RILJ    (  160): [0000]> SCREEN_STATE: true
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED
RADIO_OFF
D/RILJ    (  160): [0000]< SCREEN_STATE error:
com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
D/PHONE   (  160): mDoesRilSendMultipleCallRing=true
D/PHONE   (  160): mCallRingDelay=3000
W/GSM     (  160): Can't open /system/etc/voicemail-conf.xml
W/GSM     (  160): Can't open /system/etc/spn-conf.xml
D/GSM     (  160): [DSAC DEB] registerForPsRestrictedEnabled
D/GSM     (  160): [DSAC DEB] registerForPsRestrictedDisabled
D/GSM     (  160): [GsmDataConnection-1] DataConnection constructor E
D/GSM     (  160): [GsmDataConnection-1] clearSettings
D/GSM     (  160): [GsmDataConnection-1] DataConnection constructor X
D/GSM     (  160): [GsmDataConnection-1] Made GsmDataConnection-1
D/RILJ    (  160): [0001]> RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING
D/STK     (  160): StkService: StkService: is running
D/STK     (  160): StkService: NEW sInstance
D/RILJ    (  160): [0001]< RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING
error: com.android.internal.telephony.CommandException:
REQUEST_NOT_SUPPORTED
I/PHONE   (  160): Creating GSMPhone
D/RILJ    (  160): [0002]> RADIO_POWER
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported 0 0RoamInd: 0DefRoamInd: 0EmergOnly:
false] newSS=[3 home null null null  Unknown CSS not supported -1
-1RoamInd: -1DefRoamInd: -1EmergOnly: false] oldGprs=1 newGprs=1
oldType=unknown newType=unknown
D/RILJ    (  160): [UNSL]< UNSOL_STK_PROACTIVE_COMMAND
D03B810301250082028182050457494E448F0801456E676C6973688F09024672616E636169738F1080526F616D696E672053657474696E671803000021
D/GSM     (  160): GSMDataConnTrack handleMessage { what=3 when=46203
obj=android.os.AsyncResult@44963e78 }
D/GSM     (  160): GSMDataConnTrack handleMessage { what=12 when=46203
obj=android.os.AsyncResult@44963f18 }
D/GSM     (  160): [GsmDataConnectionTracker] Radio is off and clean
up all connection
D/GSM     (  160): [GsmDataConnectionTracker] Clean up connection due
to radioTurnedOff
D/GSM     (  160): [GsmDataConnectionTracker] setState: DISCONNECTING
D/GSM     (  160): [GsmDataConnectionTracker] cleanUpConnection: !
tearDown, call conn.resetSynchronously
D/GSM     (  160): [GsmDataConnection-1] DcInactiveState:
msg.what=EVENT_RESET, ignore we're already reset
D/GSM     (  160): [GsmDataConnection-1] NotifyDisconnectCompleted
D/RILB    (  160): Notifying: Radio On
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED
SIM_NOT_READY
D/RILJ    (  160): [0002]< RADIO_POWER
D/RILB    (  160): Notifying: SIM ready
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED
SIM_READY
D/GSM     (  160): [DataConnection] Stop poll NetStat
D/GSM     (  160): [GsmDataConnectionTracker] cleanupConnection: !
notificationDeferred
D/GSM     (  160): [GsmDataConnectionTracker]
gotoIdleAndNotifyDataConnection: reason=radioTurnedOff
D/GSM     (  160): [GsmDataConnectionTracker] setState: IDLE
D/GSM     (  160): [GsmDataConnection-1] clearSettings
D/GSM     (  160): GSMDataConnTrack handleMessage { what=19 when=46203
obj=android.os.AsyncResult@44964268 }
D/GSM     (  160): [DataConnection] Stop poll NetStat
D/GSM     (  160): GSMDataConnTrack handleMessage { what=22 when=46203
obj=android.os.AsyncResult@449643b8 }
D/GSM     (  160): [GsmDataConnectionTracker] ***trySetupData due to
roamingOff
D/GSM     (  160): [DSAC DEB] trySetupData with mIsPsRestricted=false
D/GSM     (  160): [GsmDataConnectionTracker] trySetupData: Not ready
for data:  dataState=IDLE gprsState=1 sim=false UMTS=false
phoneState=IDLE isDataAllowed=true dataEnabled=true roaming=false
dataOnRoamingEnable=false ps restricted=false desiredPowerState=true
MasterDataEnabled=true
D/GSM     (  160): [IccCard] Broadcasting intent
ACTION_SIM_STATE_CHANGED NOT_READY reason null
D/RILJ    (  160): [0003]> BASEBAND_VERSION
D/RILJ    (  160): [0004]> GET_IMEI
D/RILJ    (  160): [0005]> GET_IMEISV
D/STK     (  160): StkService: ril message arrived
D/STK     (  160): CommandParamsFactory: process SelectItem
D/RILJ    (  160): [0006]> OPERATOR
D/RILJ    (  160): [0007]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0008]> REGISTRATION_STATE
D/RILJ    (  160): [0009]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0010]> GET_CURRENT_CALLS
D/RILJ    (  160): [0011]> OPERATOR
D/RILJ    (  160): [0012]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0013]> REGISTRATION_STATE
D/RILJ    (  160): [0014]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0015]> SET_NETWORK_SELECTION_AUTOMATIC
D/RILJ    (  160): [0016]> OPERATOR
D/RILJ    (  160): [0017]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0018]> REGISTRATION_STATE
D/RILJ    (  160): [0019]> QUERY_NETWORK_SELECTION_MODE
D/GSM     (  160): [IccCard] Broadcasting intent
ACTION_SIM_STATE_CHANGED READY reason null
V/GSM     (  160): SIMRecords:fetchSimRecords 0
D/RILJ    (  160): [0020]> getIMSI:RIL_REQUEST_GET_IMSI 11 GET_IMSI
D/RILJ    (  160): [0021]> iccIO: SIM_IO 0xc0 0x2fe2  path:
3F00,0,0,15
D/RILJ    (  160): [0022]> iccIO: SIM_IO 0xc0 0x6f40  path:
3F007F10,0,0,15
D/RILJ    (  160): [0023]> iccIO: SIM_IO 0xc0 0x6fc9  path:
3F007F20,0,0,15
D/RILJ    (  160): [0024]> iccIO: SIM_IO 0xc0 0x6fad  path:
3F007F20,0,0,15
D/RILJ    (  160): [0025]> iccIO: SIM_IO 0xc0 0x6fca  path:
3F007F20,0,0,15
D/RILJ    (  160): [0026]> iccIO: SIM_IO 0xc0 0x6f11  path:
3F007F20,0,0,15
D/RILJ    (  160): [0027]> iccIO: SIM_IO 0xc0 0x6fcb  path:
3F007F20,0,0,15
D/RILJ    (  160): [0028]> iccIO: SIM_IO 0xc0 0x6f13  path:
3F007F20,0,0,15
D/RILJ    (  160): [0029]> iccIO: SIM_IO 0xc0 0x6f46  path:
3F007F20,0,0,15
D/RILJ    (  160): [0030]> iccIO: SIM_IO 0xc0 0x6fcd  path:
3F007F20,0,0,15
D/RILJ    (  160): [0031]> iccIO: SIM_IO 0xc0 0x6fc5  path:
3F007F20,0,0,15
D/RILJ    (  160): [0032]> iccIO: SIM_IO 0xc0 0x6f38  path:
3F007F20,0,0,15
D/RILJ    (  160): [0033]> iccIO: SIM_IO 0xc0 0x6f16  path:
3F007F20,0,0,15
D/RILJ    (  160): [0034]> GET_SIM_STATUS
D/RILJ    (  160): [0035]> QUERY_FACILITY_LOCK
D/RILJ    (  160): [0036]> QUERY_FACILITY_LOCK
D/STK     (  160): StkService: SET_UP_MENU
D/STK     (  160): StkService: TERMINAL RESPONSE:
810301250082028281830100
D/RILJ    (  160): [0037]> REQUEST_STK_SEND_TERMINAL_RESPONSE
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0038]> OPERATOR
D/RILJ    (  160): [0039]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0040]> REGISTRATION_STATE
D/RILJ    (  160): [0041]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0034]< GET_SIM_STATUS
com.android.internal.telephony.IccCardStatus@449998c8
D/RILJ    (  160): [0020]< GET_IMSI
D/GSM     (  160): IMSI: 222013xxxxxxxxx
D/GSM     (  160): [IccCard] Broadcasting intent
ACTION_SIM_STATE_CHANGED IMSI reason null
D/RILJ    (  160): [0035]< QUERY_FACILITY_LOCK {0}
D/GSM     (  160): [IccCard] Query facility lock : false
D/RILJ    (  160): [0036]< QUERY_FACILITY_LOCK {0}
D/GSM     (  160): [IccCard] Query facility lock : false
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0042]> OPERATOR
D/RILJ    (  160): [0043]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0044]> REGISTRATION_STATE
D/RILJ    (  160): [0045]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0015]< SET_NETWORK_SELECTION_AUTOMATIC error:
com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RILJ    (  160): [0003]< BASEBAND_VERSION 32.36.00.28U_4.06.00.12_7
D/GSM     (  160): Baseband version: 32.36.00.28U_4.06.00.12_7
D/RILJ    (  160): [0004]< GET_IMEI
D/RILJ    (  160): [0005]< GET_IMEISV
D/RILJ    (  160): [0006]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0007]< GPRS_REGISTRATION_STATE {0, null, null, 0}
D/RILJ    (  160): [0008]< REGISTRATION_STATE {0, null, null, 0, null,
null, null, null, null, null, null, null, null, null}
D/RILJ    (  160): [0009]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0010]< GET_CURRENT_CALLS
D/RILJ    (  160): [0011]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0012]< GPRS_REGISTRATION_STATE {0, null, null, 0}
D/RILJ    (  160): [0013]< REGISTRATION_STATE {0, null, null, 0, null,
null, null, null, null, null, null, null, null, null}
D/RILJ    (  160): [0014]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0016]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0017]< GPRS_REGISTRATION_STATE {0, null, null, 0}
D/RILJ    (  160): [0018]< REGISTRATION_STATE {0, null, null, 0, null,
null, null, null, null, null, null, null, null, null}
D/RILJ    (  160): [0019]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): < iccIO:  0x90 0x0 0000000A2FE20400FFF0AA04020000
D/RILJ    (  160): [0021]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  160): [0046]> iccIO: SIM_IO 0xb0 0x2fe2  path:
3F00,0,0,10
D/RILJ    (  160): < iccIO:  0x90 0x0 0000003C6F40040011F0AA0402011E
D/RILJ    (  160): [0022]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  160): [0047]> iccIO: SIM_IO 0xb2 0x6f40  path:
3F007F10,1,4,30
D/RILJ    (  160): < iccIO:  0x90 0x0 000000086FC9040011F0AA04020104
D/RILJ    (  160): [0023]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  160): [0048]> iccIO: SIM_IO 0xb2 0x6fc9  path:
3F007F20,1,4,4
D/RILJ    (  160): < iccIO:  0x90 0x0 000000046FAD04000AF0AA04020000
D/RILJ    (  160): [0024]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  160): [0049]> iccIO: SIM_IO 0xb0 0x6fad  path:
3F007F20,0,0,4
D/RILJ    (  160): < iccIO:  0x90 0x0 0000000A6FCA040011F0AA04020105
D/RILJ    (  160): [0025]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  160): [0050]> iccIO: SIM_IO 0xb2 0x6fca  path:
3F007F20,1,4,5
D/RILJ    (  160): [0026]< SIM_IO error:
com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RILJ    (  160): < iccIO:  0x90 0x0 000000206FCB040011F0AA04020110
D/RILJ    (  160): [0027]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  160): [0051]> iccIO: SIM_IO 0xb2 0x6fcb  path:
3F007F20,1,4,16
D/RILJ    (  160): [0028]< SIM_IO error:
com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RILJ    (  160): [0029]< SIM_IO error:
com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RILJ    (  160): [0052]> iccIO: SIM_IO 0xc0 0x6f14  path:
3F007F20,0,0,15
D/RILJ    (  160): [0030]< SIM_IO error:
com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RILJ    (  160): < iccIO:  0x90 0x0 000001E06FC504000AF0AA04020118
D/RILJ    (  160): [0031]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  160): [0053]> iccIO: SIM_IO 0xb2 0x6fc5  path:
3F007F20,1,4,24
D/RILJ    (  160): < iccIO:  0x90 0x0 0000000C6F3804001AF0AA04020000
D/RILJ    (  160): [0032]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  160): [0054]> iccIO: SIM_IO 0xb0 0x6f38  path:
3F007F20,0,0,12
D/RILJ    (  160): [0033]< SIM_IO error:
com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RILJ    (  160): [0037]< REQUEST_STK_SEND_TERMINAL_RESPONSE
D/RILJ    (  160): [0038]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [UNSL]< UNSOL_STK_EVENT_NOTIFY
D00C810301050082028182190103
D/STK     (  160): StkService: ril message arrived
D/RILJ    (  160): [0039]< GPRS_REGISTRATION_STATE {0, null, null, 0}
D/RILJ    (  160): [0040]< REGISTRATION_STATE {0, null, null, 0, null,
null, null, null, null, null, null, null, null, null}
D/RILJ    (  160): [0041]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0042]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0043]< GPRS_REGISTRATION_STATE {0, null, null, 0}
D/RILJ    (  160): [0044]< REGISTRATION_STATE {0, null, null, 0, null,
null, null, null, null, null, null, null, null, null}
D/RILJ    (  160): [0045]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[3 home null null
null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd:
-1EmergOnly: false] newSS=[1 home null null null  Unknown CSS not
supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] oldGprs=1
newGprs=1 oldType=unknown newType=unknown
D/RILJ    (  160): < iccIO:  0x90 0x0 980342090100020847F5
D/RILJ    (  160): [0046]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/GSM     (  160): iccid: 8930249010002080745
D/RILJ    (  160): < iccIO:  0x90 0x0
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF07816140071030F5FFFFFFFFFFFF
D/RILJ    (  160): [0047]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/GSM     (  160): MSISDN: 16047001035
D/RILJ    (  160): [UNSL]< UNSOL_STK_PROACTIVE_COMMAND
D03B810301250082028182050457494E448F0801456E676C6973688F09024672616E636169738F1080526F616D696E672053657474696E671803000021
D/STK     (  160): StkService: ril message arrived
D/STK     (  160): CommandParamsFactory: process SelectItem
D/STK     (  160): StkService: SET_UP_MENU
D/STK     (  160): StkService: TERMINAL RESPONSE:
810301250082028281830100
D/RILJ    (  160): [0055]> REQUEST_STK_SEND_TERMINAL_RESPONSE
D/RILJ    (  160): < iccIO:  0x90 0x0 01000000
D/RILJ    (  160): [0048]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/GSM     (  160): EF_MBI: 01000000
D/GSM     (  160): Got valid mailbox number for MBDN
D/RILJ    (  160): [0056]> iccIO: SIM_IO 0xc0 0x6fc7  path:
3F007F20,0,0,15
D/RILJ    (  160): < iccIO:  0x90 0x0 00000002
D/RILJ    (  160): [0049]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  160): < iccIO:  0x90 0x0 0000000000
D/RILJ    (  160): [0050]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  160): < iccIO:  0x90 0x0 0100FFFFFFFFFFFFFFFFFFFFFFFFFFFF
D/RILJ    (  160): [0051]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  160): [0052]< SIM_IO error:
com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RILJ    (  160): < iccIO:  0x90 0x0
430981D7A4930842BEDB65FFFFFFFFFFFFFFFFFFFFFFFFFF
D/RILJ    (  160): [0053]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  160): < iccIO:  0x90 0x0 DEFF930DE7FE490040000000
D/RILJ    (  160): [0054]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  160): [0055]< REQUEST_STK_SEND_TERMINAL_RESPONSE
D/RILJ    (  160): [UNSL]< UNSOL_STK_SESSION_END
D/RILJ    (  160): < iccIO:  0x90 0x0 000000406FC7040011F0AA04020120
D/RILJ    (  160): [0056]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/STK     (  160): StkService: ril message arrived
D/RILJ    (  160): [0057]> iccIO: SIM_IO 0xb2 0x6fc7  path:
3F007F20,1,4,32
D/GSM     (  160): EF_AD: 00000002
D/GSM     (  160): EF_MWIS: 0000000000
D/GSM     (  160): EF_CFIS: 0100ffffffffffffffffffffffffffff
D/RILJ    (  160): [0058]> iccIO: SIM_IO 0xc0 0x6f18  path:
3F007F20,0,0,15
D/STK     (  160): StkService: SESSION END
D/RILJ    (  160): < iccIO:  0x90 0x0
566F6963656D61696CFFFFFFFFFFFFFFFFFF07916174071077F7FFFFFFFFFFFF
D/RILJ    (  160): [0057]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/GSM     (  160): VM: ADN Record 'Voicemail' '+16477001777 null'
EF[MBDN]
D/RILJ    (  160): [0058]< SIM_IO error:
com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/GSM     (  160): [SIMRecords] No SPN loaded in either CHPS or 3GPP
D/GSM     (  160): SIMRecords: record load complete
D/GSM     (  160): [IccCard] Broadcasting intent
ACTION_SIM_STATE_CHANGED LOADED reason null
D/GSM     (  160): GSMDataConnTrack handleMessage { what=4 when=49824
obj=android.os.AsyncResult@4498d5c0 }
D/GSM     (  160): Get PreferredAPN
D/GSM     (  160): GSMDataConnTrack handleMessage { what=5 when=50024
obj=simLoaded }
D/GSM     (  160): [GsmDataConnectionTracker] ***trySetupData due to
simLoaded
D/GSM     (  160): [DSAC DEB] trySetupData with mIsPsRestricted=false
D/GSM     (  160): [GsmDataConnectionTracker] trySetupData: Not ready
for data:  dataState=IDLE gprsState=1 sim=true UMTS=false
phoneState=IDLE isDataAllowed=true dataEnabled=true roaming=false
dataOnRoamingEnable=false ps restricted=false desiredPowerState=true
MasterDataEnabled=true
D/GSM     (  160): GSMDataConnTrack handleMessage { what=23 when=50255
arg2=1 }
D/GSM     (  160): [GsmDataConnectionTracker] Clean up connection due
to apnSwitched
D/GSM     (  160): [GsmDataConnectionTracker] setState: DISCONNECTING
D/GSM     (  160): [GsmDataConnectionTracker] cleanUpConnection:
teardown, call conn.disconnect
D/GSM     (  160): [GsmDataConnection-1] DcInactiveState nothandled
msg.what=6
D/GSM     (  160): [GsmDataConnection-1] DcDefaultState:
msg.what=EVENT_DISCONNECT
D/GSM     (  160): [GsmDataConnection-1] NotifyDisconnectCompleted
D/GSM     (  160): [GsmDataConnection-1] msg.what=25
msg.obj=apnSwitched
D/GSM     (  160): [GsmDataConnection-1] clearSettings
D/GSM     (  160): [DataConnection] Stop poll NetStat
D/RILJ    (  160): [0059]> REQUEST_GET_NEIGHBORING_CELL_IDS
D/GSM     (  160): GSMDataConnTrack handleMessage { what=25 when=51222
obj=android.os.AsyncResult@44956428 }
D/GSM     (  160): [GsmDataConnectionTracker] EVENT_DISCONNECT_DONE
D/GSM     (  160): [GsmDataConnectionTracker] setState: IDLE
D/GSM     (  160): [GsmDataConnectionTracker] ***trySetupData due to
apnSwitched
D/GSM     (  160): [DSAC DEB] trySetupData with mIsPsRestricted=false
D/GSM     (  160): [GsmDataConnectionTracker] trySetupData: Not ready
for data:  dataState=IDLE gprsState=1 sim=true UMTS=false
phoneState=IDLE isDataAllowed=true dataEnabled=true roaming=false
dataOnRoamingEnable=false ps restricted=false desiredPowerState=true
MasterDataEnabled=true
D/RILJ    (  160): [0059]< REQUEST_GET_NEIGHBORING_CELL_IDS error:
com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RILJ    (  160): [0060]> REQUEST_SET_LOCATION_UPDATES: true
D/RILJ    (  160): [0060]< REQUEST_SET_LOCATION_UPDATES
D/RILJ    (  160): [0061]> REGISTRATION_STATE
D/RILJ    (  160): [0061]< REGISTRATION_STATE {0, null, null, 0, null,
null, null, null, null, null, null, null, null, null}
D/RILJ    (  160): [0062]> REQUEST_SET_LOCATION_UPDATES: false
D/RILJ    (  160): [0062]< REQUEST_SET_LOCATION_UPDATES
D/RILJ    (  160): [0063]> SIGNAL_STRENGTH
D/RILJ    (  160): [0063]< SIGNAL_STRENGTH {99, 99, -1, -1, -1, -1, 0}
D/RILJ    (  160): [0064]> REQUEST_GET_NEIGHBORING_CELL_IDS
D/RILJ    (  160): [0064]< REQUEST_GET_NEIGHBORING_CELL_IDS error:
com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RILJ    (  160): [0065]> SIGNAL_STRENGTH
D/RILJ    (  160): [0065]< SIGNAL_STRENGTH {99, 99, -1, -1, -1, -1, 0}
D/RILJ    (  160): [0066]> REQUEST_SET_LOCATION_UPDATES: true
D/RILJ    (  160): [0066]< REQUEST_SET_LOCATION_UPDATES
D/RILJ    (  160): [0067]> REGISTRATION_STATE
D/RILJ    (  160): [0067]< REGISTRATION_STATE {0, null, null, 0, null,
null, null, null, null, null, null, null, null, null}
D/RILJ    (  160): [0068]> REQUEST_SET_LOCATION_UPDATES: false
D/RILJ    (  160): [0068]< REQUEST_SET_LOCATION_UPDATES
D/RILJ    (  160): [0069]> REQUEST_GET_NEIGHBORING_CELL_IDS
D/RILJ    (  160): [0069]< REQUEST_GET_NEIGHBORING_CELL_IDS error:
com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RILJ    (  160): [0070]> SIGNAL_STRENGTH
D/RILJ    (  160): [0070]< SIGNAL_STRENGTH {99, 99, -1, -1, -1, -1, 0}
D/RILJ    (  160): [0071]> SIGNAL_STRENGTH
D/RILJ    (  160): [0071]< SIGNAL_STRENGTH {99, 99, -1, -1, -1, -1, 0}
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0072]> OPERATOR
D/RILJ    (  160): [0073]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0072]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0074]> REGISTRATION_STATE
D/RILJ    (  160): [0073]< GPRS_REGISTRATION_STATE {2, null, null, 0}
D/RILJ    (  160): [0075]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0074]< REGISTRATION_STATE {2, null, null, 0, null,
null, null, null, null, null, null, null, null, null}
D/RILJ    (  160): [0075]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd:
-1EmergOnly: false] newSS=[1 home null null null  Unknown CSS not
supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] oldGprs=1
newGprs=1 oldType=unknown newType=unknown
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0076]> OPERATOR
D/RILJ    (  160): [0077]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0076]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0078]> REGISTRATION_STATE
D/RILJ    (  160): [0079]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0077]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0080]> OPERATOR
D/RILJ    (  160): [0081]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0078]< REGISTRATION_STATE {13, null, null, 0,
null, null, null, null, null, null, null, null, null, 13}
D/RILJ    (  160): [0079]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0080]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0082]> REGISTRATION_STATE
D/RILJ    (  160): [0083]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0084]> OPERATOR
D/RILJ    (  160): [0085]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0081]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0086]> REGISTRATION_STATE
D/RILJ    (  160): [0087]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0082]< REGISTRATION_STATE {13, null, null, 0,
null, null, null, null, null, null, null, null, null, 0}
D/RILJ    (  160): [0083]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0084]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0085]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0086]< REGISTRATION_STATE {13, null, null, 0,
null, null, null, null, null, null, null, null, null, 0}
D/RILJ    (  160): [0087]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd:
-1EmergOnly: false] newSS=[1 home null null null  Unknown CSS not
supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: true] oldGprs=1
newGprs=1 oldType=unknown newType=unknown
D/RILJ    (  160): [0088]> SIGNAL_STRENGTH
D/RILJ    (  160): [0088]< SIGNAL_STRENGTH {3, 99, -1, -1, -1, -1, 0}
D/RILJ    (  160): [0089]> SIGNAL_STRENGTH
D/RILJ    (  160): [0089]< SIGNAL_STRENGTH {3, 99, -1, -1, -1, -1, 0}
D/RILJ    (  160): [0090]> SIGNAL_STRENGTH
D/RILJ    (  160): [0090]< SIGNAL_STRENGTH {0, 99, -1, -1, -1, -1, 0}
D/RILJ    (  160): [0091]> SCREEN_STATE: false
D/GSM     (  160): [DataConnection] Stop poll NetStat
D/RILJ    (  160): [0091]< SCREEN_STATE
D/RILJ    (  160): [0092]> SIGNAL_STRENGTH
D/RILJ    (  160): [0092]< SIGNAL_STRENGTH {0, 99, -1, -1, -1, -1, 0}
D/RILJ    (  160): [0093]> SIGNAL_STRENGTH
D/RILJ    (  160): [0093]< SIGNAL_STRENGTH {16, 99, -1, -1, -1, -1, 0}
D/RILJ    (  160): [0094]> SIGNAL_STRENGTH
D/RILJ    (  160): [0094]< SIGNAL_STRENGTH {16, 99, -1, -1, -1, -1, 0}
D/RILJ    (  160): [0095]> SIGNAL_STRENGTH
D/RILJ    (  160): [0095]< SIGNAL_STRENGTH {11, 99, -1, -1, -1, -1, 0}
D/RILJ    (  160): [0096]> SIGNAL_STRENGTH
D/RILJ    (  160): [0096]< SIGNAL_STRENGTH {12, 99, -1, -1, -1, -1, 0}
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0097]> OPERATOR
D/RILJ    (  160): [0098]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0097]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0099]> REGISTRATION_STATE
D/RILJ    (  160): [0100]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0098]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0099]< REGISTRATION_STATE {3, null, null, 0, null,
null, null, null, null, null, null, null, null, 17}
D/RILJ    (  160): [0100]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd:
-1EmergOnly: true] newSS=[1 home null null null  Unknown CSS not
supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] oldGprs=1
newGprs=1 oldType=unknown newType=unknown
D/RILJ    (  160): [0101]> SCREEN_STATE: true
D/GSM     (  160): [DataConnection] Stop poll NetStat
D/RILJ    (  160): [0101]< SCREEN_STATE
D/RILJ    (  160): [0102]> SIGNAL_STRENGTH
D/RILJ    (  160): [0102]< SIGNAL_STRENGTH {9, 99, -1, -1, -1, -1, 0}
D/RILJ    (  160): [0103]> SCREEN_STATE: false
D/GSM     (  160): [DataConnection] Stop poll NetStat
D/RILJ    (  160): [0103]< SCREEN_STATE
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0104]> OPERATOR
D/RILJ    (  160): [0105]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0104]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0106]> REGISTRATION_STATE
D/RILJ    (  160): [0107]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0108]> OPERATOR
D/RILJ    (  160): [0109]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0105]< GPRS_REGISTRATION_STATE {2, null, null, 0}
D/RILJ    (  160): [0110]> REGISTRATION_STATE
D/RILJ    (  160): [0111]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0106]< REGISTRATION_STATE {2, null, null, 0, null,
null, null, null, null, null, null, null, null, null}
D/RILJ    (  160): [0107]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0108]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0109]< GPRS_REGISTRATION_STATE {2, null, null, 0}
D/RILJ    (  160): [0110]< REGISTRATION_STATE {2, null, null, 0, null,
null, null, null, null, null, null, null, null, null}
D/RILJ    (  160): [0111]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd:
-1EmergOnly: false] newSS=[1 home null null null  Unknown CSS not
supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] oldGprs=1
newGprs=1 oldType=unknown newType=unknown
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0112]> OPERATOR
D/RILJ    (  160): [0113]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0112]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0114]> REGISTRATION_STATE
D/RILJ    (  160): [0115]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0116]> OPERATOR
D/RILJ    (  160): [0113]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0117]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0118]> REGISTRATION_STATE
D/RILJ    (  160): [0114]< REGISTRATION_STATE {13, null, null, 0,
null, null, null, null, null, null, null, null, null, 17}
D/RILJ    (  160): [0119]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0120]> OPERATOR
D/RILJ    (  160): [0115]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0116]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0121]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0122]> REGISTRATION_STATE
D/RILJ    (  160): [0123]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0117]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0118]< REGISTRATION_STATE {13, null, null, 0,
null, null, null, null, null, null, null, null, null, 0}
D/RILJ    (  160): [0119]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0120]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0121]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0122]< REGISTRATION_STATE {13, null, null, 0,
null, null, null, null, null, null, null, null, null, 0}
D/RILJ    (  160): [0123]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd:
-1EmergOnly: false] newSS=[1 home null null null  Unknown CSS not
supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: true] oldGprs=1
newGprs=1 oldType=unknown newType=unknown
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0124]> OPERATOR
D/RILJ    (  160): [0125]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0124]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0126]> REGISTRATION_STATE
D/RILJ    (  160): [0127]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0125]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0126]< REGISTRATION_STATE {3, null, null, 0, null,
null, null, null, null, null, null, null, null, 17}
D/RILJ    (  160): [0127]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd:
-1EmergOnly: true] newSS=[1 home null null null  Unknown CSS not
supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] oldGprs=1
newGprs=1 oldType=unknown newType=unknown
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0128]> OPERATOR
D/RILJ    (  160): [0129]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0128]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0130]> REGISTRATION_STATE
D/RILJ    (  160): [0131]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0129]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0130]< REGISTRATION_STATE {13, null, null, 0,
null, null, null, null, null, null, null, null, null, 17}
D/RILJ    (  160): [0131]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd:
-1EmergOnly: false] newSS=[1 home null null null  Unknown CSS not
supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: true] oldGprs=1
newGprs=1 oldType=unknown newType=unknown
D/RILJ    (  160): [0132]> SCREEN_STATE: true
D/GSM     (  160): [DataConnection] Stop poll NetStat
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0132]< SCREEN_STATE
D/RILJ    (  160): [0133]> OPERATOR
D/RILJ    (  160): [0134]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0133]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0135]> REGISTRATION_STATE
D/RILJ    (  160): [0136]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0134]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0135]< REGISTRATION_STATE {3, null, null, 0, null,
null, null, null, null, null, null, null, null, 17}
D/RILJ    (  160): [0136]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd:
-1EmergOnly: true] newSS=[1 home null null null  Unknown CSS not
supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] oldGprs=1
newGprs=1 oldType=unknown newType=unknown
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0137]> OPERATOR
D/RILJ    (  160): [0138]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0137]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0139]> REGISTRATION_STATE
D/RILJ    (  160): [0140]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0138]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0139]< REGISTRATION_STATE {3, null, null, 0, null,
null, null, null, null, null, null, null, null, 17}
D/RILJ    (  160): [0140]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd:
-1EmergOnly: false] newSS=[1 home null null null  Unknown CSS not
supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] oldGprs=1
newGprs=1 oldType=unknown newType=unknown


Then if I go into Wireless -> Mobile Networks -> Network Operators
I'll get this output as it searches for networks:

D/RILJ    (  160): [0145]> REQUEST_GET_PREFERRED_NETWORK_TYPE
D/RILJ    (  160): [0145]< REQUEST_GET_PREFERRED_NETWORK_TYPE {0}
D/RILJ    (  160): [0146]> QUERY_AVAILABLE_NETWORKS
D/RILJ    (  160): [0146]< QUERY_AVAILABLE_NETWORKS  [NetworkInfo T-
Mobile/T-Mobile/310260/AVAILABLE, NetworkInfo AT&T/AT&T/310410/
AVAILABLE]
D/GSM     (  160): wrapping and sending message to connect
automatically

It shows that a T-Mobile network (and ATT&T) is available.  If I
choose "Select Automatically" I'll get this:

D/RILJ    (  160): [0147]> SET_NETWORK_SELECTION_AUTOMATIC
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0147]< SET_NETWORK_SELECTION_AUTOMATIC error:
com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RILJ    (  160): [0148]> OPERATOR
D/RILJ    (  160): [0148]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0149]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0150]> REGISTRATION_STATE
D/RILJ    (  160): [0151]> QUERY_NETWORK_SELECTION_MODE
D/GSM     (  160): sending original message to recipient
D/RILJ    (  160): [0149]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0150]< REGISTRATION_STATE {3, null, null, 0, null,
null, null, null, null, null, null, null, null, 17}
D/RILJ    (  160): [0151]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd:
-1EmergOnly: false] newSS=[1 home null null null  Unknown CSS not
supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] oldGprs=1
newGprs=1 oldType=unknown newType=unknown

And further if I try to select T-Mobile manually:

D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0152]> OPERATOR
D/RILJ    (  160): [0153]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0152]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0154]> REGISTRATION_STATE
D/RILJ    (  160): [0155]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0153]< GPRS_REGISTRATION_STATE {2, null, null, 0}
D/RILJ    (  160): [0154]< REGISTRATION_STATE {2, null, null, 0, null,
null, null, null, null, null, null, null, null, null}
D/RILJ    (  160): [0155]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd:
-1EmergOnly: false] newSS=[1 home null null null  Unknown CSS not
supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] oldGprs=1
newGprs=1 oldType=unknown newType=unknown
D/RILJ    (  160): [0156]> SET_NETWORK_SELECTION_MANUAL 310260
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
D/RILJ    (  160): [0157]> OPERATOR
D/RILJ    (  160): [0156]< SET_NETWORK_SELECTION_MANUAL error:
com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/RILJ    (  160): [0157]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0158]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0159]> REGISTRATION_STATE
D/RILJ    (  160): [0160]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0158]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0161]> OPERATOR
D/RILJ    (  160): [0162]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0159]< REGISTRATION_STATE {13, null, null, 0,
null, null, null, null, null, null, null, null, null, 13}
D/RILJ    (  160): [0163]> REGISTRATION_STATE
D/RILJ    (  160): [0164]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  160): [0165]> OPERATOR
D/RILJ    (  160): [0160]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0161]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0166]> GPRS_REGISTRATION_STATE
D/RILJ    (  160): [0167]> REGISTRATION_STATE
D/RILJ    (  160): [0168]> QUERY_NETWORK_SELECTION_MODE
D/GSM     (  160): sending original message to recipient
D/RILJ    (  160): [0162]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0163]< REGISTRATION_STATE {13, null, null, 0,
null, null, null, null, null, null, null, null, null, 0}
D/RILJ    (  160): [0164]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0165]< OPERATOR error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
D/RILJ    (  160): [0166]< GPRS_REGISTRATION_STATE {3, null, null, 0}
D/RILJ    (  160): [0167]< REGISTRATION_STATE {13, null, null, 0,
null, null, null, null, null, null, null, null, null, 0}
D/RILJ    (  160): [0168]< QUERY_NETWORK_SELECTION_MODE error:
com.android.internal.telephony.CommandException:
OP_NOT_ALLOWED_BEFORE_REG_NW
E/GSM     (  160): Wrong network type: 0
E/GSM     (  160): Wrong network type: 0
D/GSM     (  160): Poll ServiceState done:  oldSS=[1 home null null
null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd:
-1EmergOnly: false] newSS=[1 home null null null  Unknown CSS not
supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: true] oldGprs=1
newGprs=1 oldType=unknown newType=unknown
D/RILJ    (  160): [0169]> SCREEN_STATE: false
D/GSM     (  160): [DataConnection] Stop poll NetStat
D/RILJ    (  160): [0169]< SCREEN_STATE
D/RILJ    (  160): [0170]> SCREEN_STATE: true
D/GSM     (  160): [DataConnection] Stop poll NetStat
D/RILJ    (  160): [0170]< SCREEN_STATE
D/RILJ    (  160): [0171]> REQUEST_GET_PREFERRED_NETWORK_TYPE
D/RILJ    (  160): [0171]< REQUEST_GET_PREFERRED_NETWORK_TYPE {0}
D/RILJ    (  160): [0172]> QUERY_AVAILABLE_NETWORKS
D/RILJ    (  160): WAKE_LOCK_TIMEOUT  mReqPending=0 mRequestList=1
D/RILJ    (  160): 0: [172] QUERY_AVAILABLE_NETWORKS
D/RILJ    (  160): [0172]< QUERY_AVAILABLE_NETWORKS  [NetworkInfo T-
Mobile/T-Mobile/310260/AVAILABLE, NetworkInfo AT&T/AT&T/310410/
AVAILABLE]


Hopefully I got the copy and paste correctly for all that.

I'm happy to try any suggestions as I'm in the states now with time to
work on a fix.  Next week I'm going to get a new SIM back in Canada
and see if swapping that out fixes the issue however I've tried a
similar SIM card and the network connection results were the same.
Though I didn't grab the debug output from the other SIM card.

If this should be filed as an issue I can certainly do that.

Thanks,
~ Bryan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to