# logcat -b radio &
行数 log记录
1 I/RIL ( 56): Opening tty device /dev/ttyS2
2 I/RIL ( 56): Opening mux device /dev/mux1
3 D/RIL ( 56): Waiting module to power on
4 D/AT ( 56): ++++++++++++++++++++ readerLoop 41864 starts
5 D/AT ( 56): AT> AT
6 D/AT ( 56): AT< OK
7 D/AT ( 56): AT< ^DEEI: 1
8 D/AT ( 56): AT< OK
9 D/AT ( 56): AT> AT+CMUX=1
10 D/AT ( 56): AT< OK
11 I/RIL ( 56): AT channel closed
12 D/RIL ( 56): -------------------- readerLoop 41864 terminated
13 D/AT ( 56): ++++++++++++++++++++ readerLoop 41864 starts
14 D/AT ( 56): AT> AT^DACTI=1
15 D/AT ( 56): AT< OK
16 D/AT ( 56): AT> AT^DUSIMR=0
17 D/AT ( 56): AT< OK
18 D/AT ( 56): AT> AT^DCTA=1
19 D/AT ( 56): AT< OK
20 D/AT ( 56): AT> AT+CMER=2,0,0,0,0
21 D/AT ( 56): AT< OK
22 D/AT ( 56): AT> AT+CMEE=1
23 D/AT ( 56): AT< OK
24 D/AT ( 56): AT> AT+CREG=2
25 D/AT ( 56): AT< OK
26 D/AT ( 56): AT> AT+CGREG=1
27 D/AT ( 56): AT< OK
28 D/AT ( 56): AT> AT+CLIP=0
29 D/AT ( 56): AT< OK
30 D/AT ( 56): AT> AT+CFUN=5
31 D/AT ( 56): AT< ^DPROFI: 0
32 D/AT ( 56): AT< OK
33 D/AT ( 56): AT> AT+CFUN?
34 D/AT ( 56): AT< +CFUN: 5
35 D/AT ( 56): AT< OK
36 D/AT ( 56): AT< ^DCALLPI
37 I/RILJ ( 110): Connected to 'rild' socket
38 I/RILC ( 56): libril: new connection
39 D/GSM ( 110): Notifying: radio available
40 D/RILJ ( 110): [0000]> SCREEN_STATE: true
41 I/RILC ( 56): RIL Daemon version: Android reference-ril 1.0
42 D/RILJ ( 110): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_OFF
43 D/RIL ( 56): onRequest: SCREEN_STATE
44 D/RILJ ( 110): [0000]< SCREEN_STATE error: com.android.internal.telephony.gsm.CommandException: RADIO_NOT_AVAILABLE
45 W/GSM ( 110): Can't open /system/etc/voicemail-conf.xml
46 W/GSM ( 110): Can't open /system/etc/spn-conf.xml
47 D/GSM ( 110): [DSAC DEB] registerForPsRestrictedEnabled
48 D/GSM ( 110): [DSAC DEB] registerForPsRestrictedDisabled
49 D/RILJ ( 110): [0001]> RADIO_POWER
50 D/GSM ( 110): Poll ServiceState done: oldSS=[1 home null null null ] newSS=[3 home null null null ] oldGprs=1 newGprs=1 oldType=unknown newType=unknown
51 D/RIL ( 56): onRequest: RADIO_POWER
52 D/AT ( 56): AT> AT+CFUN=1
53 D/GSM ( 110): [DataConnectionTracker] Radio is off and clean up all connection
54 D/GSM ( 110): [DataConnectionTracker] Clean up connection due to radioTurnedOff
55 D/GSM ( 110): [DataConnection] Stop poll NetStat
56 D/GSM ( 110): [DataConnectionTracker] setState: IDLE
57 D/GSM ( 110): [DataConnection] Stop poll NetStat
58 D/GSM ( 110): [DataConnectionTracker] ***trySetupData due to roamingOff
59 D/GSM ( 110): [DSAC DEB] trySetupData with mIsPsRestricted=false
60 D/GSM ( 110): [DataConnectionTracker] trySetupData: Not ready for data: dataState=IDLE gprsState=1 sim=false UMTS=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=false ps restricted=false
61 D/GSM ( 110): [GsmSimCard] Broadcasting intent SIM_STATE_CHANGED_ACTION NOT_READY reason null
62 D/RILJ ( 110): [0002]> BASEBAND_VERSION
63 D/RILJ ( 110): [0003]> GET_IMEI
64 D/RILJ ( 110): [0004]> GET_IMEISV
65 D/RILJ ( 110): [0005]> REQUEST_GET_ACCESS_MODE
66 D/AT ( 56): AT< OK
67 D/AT ( 56): AT> AT+CPIN?
68 D/AT ( 56): AT< +CREG: 2
69 D/AT ( 56): AT< ^DACTI: 2
70 D/AT ( 56): AT< +CPIN: READY
71 D/AT ( 56): AT< OK
72 D/RIL ( 56): onRequest: BASEBAND_VERSION
73 D/RIL ( 56): onRequest: GET_IMEI
74 D/AT ( 56): AT> AT+CGSN
75 D/GSM ( 110): Notifying: Radio On
76 D/RILJ ( 110): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED SIM_NOT_READY
77 D/RILJ ( 110): [UNSL]< UNSOL_RESPONSE_NETWORK_STATE_CHANGED
78 V/RILJ ( 110): [UNSL]< RIL_UNSOL_ACCESS_MODE_CHANGED {2}
79 D/GSM ( 110): Notifying: SIM ready
80 D/RILJ ( 110): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED SIM_READY
81 D/RILJ ( 110): [0001]< RADIO_POWER
82 D/RILJ ( 110): [0002]< BASEBAND_VERSION error: com.android.internal.telephony.gsm.CommandException: REQUEST_NOT_SUPPORTED
83 D/RILJ ( 110): [0006]> OPERATOR
84 D/RILJ ( 110): [0007]> GPRS_REGISTRATION_STATE
85 D/RILJ ( 110): [0008]> REGISTRATION_STATE
86 D/RILJ ( 110): [0009]> QUERY_NETWORK_SELECTION_MODE
87 D/RILJ ( 110): [0010]> GET_CURRENT_CALLS
88 D/RILJ ( 110): [0011]> OPERATOR
89 D/AT ( 56): AT< +CGSN: 860132000081224
90 D/AT ( 56): AT< OK
91 D/RILJ ( 110): [0012]> GPRS_REGISTRATION_STATE
92 D/RILJ ( 110): [0003]< GET_IMEI
93 D/RIL ( 56): onRequest: GET_IMEISV
94 D/RIL ( 56): onRequest: GET_ACCESS_MODE
95 D/AT ( 56): AT> AT^DSTM?
96 D/RILJ ( 110): [0013]> REGISTRATION_STATE
97 D/RILJ ( 110): [0014]> QUERY_NETWORK_SELECTION_MODE
98 D/GSM ( 110): [DSAC DEB] EVENT_ACCESS_MODE_CHANGED
99 D/RILJ ( 110): [0004]< GET_IMEISV error: com.android.internal.telephony.gsm.CommandException: REQUEST_NOT_SUPPORTED
100 D/RILJ ( 110): [0015]> OPERATOR
101 D/RILJ ( 110): [0016]> GPRS_REGISTRATION_STATE
102 D/RILJ ( 110): [0017]> REGISTRATION_STATE
103 D/RILJ ( 110): [0018]> QUERY_NETWORK_SELECTION_MODE
104 D/RILJ ( 110): [0019]> SET_NETWORK_SELECTION_AUTOMATIC
105 D/RILJ ( 110): [0020]> OPERATOR
106 D/RILJ ( 110): [0021]> GPRS_REGISTRATION_STATE
107 D/RILJ ( 110): [0022]> REGISTRATION_STATE
108 D/RILJ ( 110): [0023]> QUERY_NETWORK_SELECTION_MODE
109 D/AT ( 56): AT< ^DSTM: 0,0,2
110 D/AT ( 56): AT< OK
111 D/RILJ ( 110): [0005]< REQUEST_GET_ACCESS_MODE {0, 2}
112 D/RIL ( 56): onRequest: OPERATOR
113 D/AT ( 56): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
114 D/GSM ( 110): [GsmSimCard] Broadcasting intent SIM_STATE_CHANGED_ACTION READY reason null
115 V/GSM ( 110): SIMRecords:fetchSimRecords 0
116 D/RILJ ( 110): [0024]> getIMSI:RIL_REQUEST_GET_IMSI 11 GET_IMSI
117 D/RILJ ( 110): [0025]> GET_SIM_STATUS
118 D/RILJ ( 110): [0026]> QUERY_FACILITY_LOCK
119 D/RILJ ( 110): [0027]> QUERY_FACILITY_LOCK
120 D/AT ( 56): AT< +COPS: 0
121 D/AT ( 56): AT< +COPS: 0
122 D/AT ( 56): AT< +COPS: 0
123 D/AT ( 56): AT< OK
124 D/RILJ ( 110): [0006]< OPERATOR {null, null, null}
125 D/RIL ( 56): onRequest: GPRS_REGISTRATION_STATE
126 D/AT ( 56): AT> AT+CGREG?
127 D/AT ( 56): AT< +CGREG: 1,0
128 D/AT ( 56): AT< OK
129 D/RILJ ( 110): [0007]< GPRS_REGISTRATION_STATE {0, -1, -1}
130 D/RIL ( 56): onRequest: REGISTRATION_STATE
131 D/AT ( 56): AT> AT+CREG?
132 D/AT ( 56): AT< +CREG: 2,2
133 D/AT ( 56): AT< OK
134 D/RILJ ( 110): [0008]< REGISTRATION_STATE {2, -1, -1}
135 D/RIL ( 56): onRequest: QUERY_NETWORK_SELECTION_MODE
136 D/AT ( 56): AT> AT+COPS?
137 D/AT ( 56): AT< +COPS: 0
138 D/AT ( 56): AT< OK
139 D/RILJ ( 110): [0009]< QUERY_NETWORK_SELECTION_MODE {0}
140 D/RIL ( 56): onRequest: GET_CURRENT_CALLS
141 D/AT ( 56): AT> AT+CLCC
142 D/AT ( 56): AT< OK
143 D/RILJ ( 110): [0010]< GET_CURRENT_CALLS
144 D/RIL ( 56): onRequest: OPERATOR
145 D/AT ( 56): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
146 D/AT ( 56): AT< +COPS: 0
147 D/AT ( 56): AT< +COPS: 0
148 D/AT ( 56): AT< +COPS: 0
149 D/AT ( 56): AT< OK
150 D/RILJ ( 110): [0011]< OPERATOR {null, null, null}