Categories
Android CDMA

Android CDMA 手机开发要点

Android从1.6版本开始支持CDMA,cdma-import分支由Teleca CDMA团队开发,最后合并到主干。浏览 http://android.git.kernel.org, 在heads可以查看cdma-import的代码变化,从ril层到上层的应用程序。

RIL

多了下面的请求号:

RIL_REQUEST_CDMA_SET_SUBSCRIPTION
RIL_REQUEST_CDMA_SET_ROAMING_PREFERENCE
RIL_REQUEST_CDMA_QUERY_ROAMING_PREFERENCE
RIL_REQUEST_CDMA_SET_PREFERRED_VOICE_PRIVACY_MODE
RIL_REQUEST_CDMA_QUERY_PREFERRED_VOICE_PRIVACY_MODE
RIL_REQUEST_CDMA_FLASH
RIL_REQUEST_CDMA_BURST_DTMF
RIL_REQUEST_CDMA_VALIDATE_AND_WRITE_AKEY
RIL_REQUEST_CDMA_SEND_SMS
RIL_REQUEST_CDMA_SMS_ACKNOWLEDGE
RIL_REQUEST_CDMA_GET_BROADCAST_SMS_CONFIG
RIL_REQUEST_CDMA_SET_BROADCAST_SMS_CONFIG
RIL_REQUEST_CDMA_SMS_BROADCAST_ACTIVATION
RIL_REQUEST_CDMA_SUBSCRIPTION
RIL_REQUEST_CDMA_WRITE_SMS_TO_RUIM
RIL_REQUEST_CDMA_DELETE_SMS_ON_RUIM

自动上报:

RIL_UNSOL_CDMA_RUIM_SMS_STORAGE_FULL
RIL_UNSOL_CDMA_CALL_WAITING
RIL_UNSOL_CDMA_OTA_PROVISION_STATUS
RIL_UNSOL_CDMA_INFO_REC
RIL_UNSOL_RESPONSE_CDMA_NEW_SMS

主要工作在 hardware/ril/reference-cdma-sms 实现cdma 短信的编解码,模组特殊AT处理。

Telephony Framework

在 telephony framework层,该启动 CDMAPhone 还是 GSMPhone ?

frameworks/base/telephony/java/com/android/internal/telephony/PhoneFactory.java 里的makeDefaultPhone函数:

//Get preferredNetworkMode from Settings.System
int networkMode = Settings.Secure.getInt(context.getContentResolver(),
        Settings.Secure.PREFERRED_NETWORK_MODE, preferredNetworkMode);

如果要设置成EvDo网络,则需要在init.rc配置文件里添加:
setprop ro.telephony.default_network 6
RILConstants.java有对应的值。

如果设置错了,怎么办?在类PhoneProxy中处理消息 EVENT_RADIO_TECHNOLOGY_CHANGE,进行纠正,选择是使用GSM还是CDMA,给PhoneApp发送一个Intent通知radio technology变化。

APP
应用不需要做太大的修改,其中设置应用添加与中国电信CDMA特性相关的,比如接入点名称:
中国电信互联星空设置 ctwap
中国电信互联网设置 ctnet

这些在国外手机是不需要分什么wap、net的,但中国电信CDMA的天翼视讯、天翼阅读仅支持ctwap接入。

If you enjoyed this post, make sure you subscribe to my RSS feed!

8 replies on “Android CDMA 手机开发要点”

frameworks/base/telephony/java/com/android/internal/telephony/PhoneFactory.java //选择启动GSMPhone 还是CDMAPhone?
public static void makeDefaultPhone( Context context )
{
………………..
//Get preferredNetworkMode from Settings.System
int networkMode = 4; //CDMA/EvDo
}
在init.rc 中setprop ro.telephony.default_network 4

编译,烧写后,提示“com.android.phone”进程意外停止,请重试。
logcat -b radio 后:
D/RILJ ( 1187): [0000]< SCREEN_STATE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE

D/PHONE ( 1187): mDoesRilSendMultipleCallRing=true

D/PHONE ( 1187): mCallRingDelay=3000

D/CDMA ( 1187): [CdmaDataConnection] DataConnection.clearSettings()

D/CDMA ( 1187): [CdmaDataConnection] CdmaDataConnection

疑问:为什么framework层没有切换到CDMA分支呢? 调试了好久

hi, 提示也说明了,查看一下 hardware/ril/reference-ril/reference-ril.c 搜索 RADIO_NOT_AVAILABLE, 应该是 C层ril没做好。

frameworks/base/telephony/java/com/android/internal/telephony/PhoneFactory.java 选择启动GSMPhone还是CDMAPhone?
根据:
public static int getPhoneType(int networkMode) {
switch(networkMode) {
case RILConstants.NETWORK_MODE_CDMA: //对应CDMA/EvDo , networkmode 4
case RILConstants.NETWORK_MODE_CDMA_NO_EVDO:
case RILConstants.NETWORK_MODE_EVDO_NO_CDMA:
return Phone.PHONE_TYPE_CDMA;
case RILConstants.NETWORK_MODE_WCDMA_PREF:
case RILConstants.NETWORK_MODE_GSM_ONLY:
case RILConstants.NETWORK_MODE_WCDMA_ONLY:
case RILConstants.NETWORK_MODE_GSM_UMTS:
return Phone.PHONE_TYPE_GSM;

case RILConstants.NETWORK_MODE_GLOBAL:
return Phone.PHONE_TYPE_CDMA;
default:
return Phone.PHONE_TYPE_GSM;
}
}
我们做如下设置:
public static void makeDefaultPhone( Context context )
{
………………..
//Get preferredNetworkMode from Settings.System
int networkMode = 4; //CDMA/EvDo
}
编译替换framework.jar 后,启动手机,显示“com.android.phone”进程意外停止,请重试。

今天做了进一步修改,现已经切换到CDMA,步骤是这样的:
在build.prop文件中添加:
ro.cdma.home.operator.numeric = 46003
ro.cdma.home.operator.alpha = China Telecom

lemote-ril.c中,关于SIM的变量,改为RUIM。
切换成功! 但有很多错误,网络并没注册成功。logcat 显示如下:
I/RIL ( 858): Opening tty device /dev/ttyUSB4

D/AT ( 858): AT> ATE0

D/AT ( 858): AT AT+CFUN=0

D/AT ( 858): AT ATE0

D/AT ( 858): AT ATS0=0

D/AT ( 858): AT ATQ0

D/AT ( 858): AT AT+CMEE=1

D/AT ( 858): AT AT+CMUT=0

D/AT ( 858): AT AT+CNMI=1,2

D/AT ( 858): AT AT^CVOICE=1

D/AT ( 858): AT AT+CFUN?

D/AT ( 858): AT< +CFUN: 0

D/AT ( 858): AT SCREEN_STATE: true

D/RIL ( 858): onRequest: SCREEN_STATE

D/RILJ ( 985): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_OFF

D/RILJ ( 985): [0000]< SCREEN_STATE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE

D/PHONE ( 985): mDoesRilSendMultipleCallRing=true

D/PHONE ( 985): mCallRingDelay=3000

D/CDMA ( 985): [CdmaDataConnection] DataConnection.clearSettings()

D/CDMA ( 985): [CdmaDataConnection] CdmaDataConnection

I/PHONE ( 985): Creating CDMAPhone

D/RIL ( 858): onRequest: SET_TTY_MODE

D/RILJ ( 985): [0001] RADIO_POWER

D/RIL ( 858): onRequest: RADIO_POWER

D/AT ( 858): AT> AT+CFUN=1

D/CDMA ( 985): [CdmaServiceStateTracker] Poll ServiceState done: oldSS=[1 home null null null Unknown CSS not supported 0 0RoamInd: 0DefRoamInd: 0] newSS=[3 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1]

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): [CdmaDataConnectionTracker] Radio is off and clean up all connection

D/CDMA ( 985): [CdmaDataConnectionTracker] Clean up connection due to radioTurnedOff

D/CDMA ( 985): [CdmaDataConnectionTracker] setState: DISCONNECTING

D/CDMA ( 985): [CdmaDataConnection] DataConnection.clearSettings()

D/CDMA ( 985): [DataConnection] Stop poll NetStat

D/CDMA ( 985): [CdmaDataConnectionTracker] setState: IDLE

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): [CdmaDataConnectionTracker] ***trySetupData due to cdmaDataDetached

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): needsOtaServiceProvisioning: illegal cdmaMin=’null’ assume provisioning needed.

D/CDMA ( 985): needsOtaServiceProvisioning: ret=true

D/CDMA ( 985): [CdmaDataConnectionTracker] trySetupData: Not ready for data: dataState=IDLE PS state=1 radio state=RADIO_OFF ruim=false concurrentVoice&Data=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=true desiredPowerState=true PendingRestartRadio=false MasterDataEnabled=true needsOtaServiceProvisioning=true

D/CDMA ( 985): [CdmaDataConnectionTracker] ***trySetupData due to roamingOff

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): needsOtaServiceProvisioning: illegal cdmaMin=’null’ assume provisioning needed.

D/CDMA ( 985): needsOtaServiceProvisioning: ret=true

D/CDMA ( 985): [CdmaDataConnectionTracker] trySetupData: Not ready for data: dataState=IDLE PS state=1 radio state=RADIO_OFF ruim=false concurrentVoice&Data=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=true desiredPowerState=true PendingRestartRadio=false MasterDataEnabled=true needsOtaServiceProvisioning=true

D/CDMA ( 985): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED NOT_READY reason null

D/RILJ ( 985): [0003]> BASEBAND_VERSION

D/RILJ ( 985): [0004]> RIL_REQUEST_DEVICE_IDENTITY

D/CDMA ( 985): Event EVENT_RADIO_OFF_OR_NOT_AVAILABLE Received

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/AT ( 858): AT AT+CLVL=5

D/RILJ ( 985): [0005]> OPERATOR

D/RILJ ( 985): [0006]> REGISTRATION_STATE

D/RILB ( 985): Notifying: Radio On

D/RILJ ( 985): [0007]> GET_CURRENT_CALLS

D/CDMA ( 985): Event EVENT_RADIO_ON Received

D/RILJ ( 985): [UNSL] OPERATOR

D/RILB ( 985): Notifying: RUIM ready

D/RILJ ( 985): [UNSL] REGISTRATION_STATE

D/RILJ ( 985): [0010]> RIL_REQUEST_CDMA_SUBSCRIPTION

D/CDMA ( 985): [CdmaServiceStateTracker] Receive EVENT_RUIM_READY and Send Request getCDMASubscription.

D/RILJ ( 985): [0011]> OPERATOR

D/RILJ ( 985): [0012]> REGISTRATION_STATE

D/CDMA ( 985): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED READY reason null

D/AT ( 858): AT AT^HWVER

D/AT ( 858): AT< ^HWVER: ME800

D/AT ( 858): AT AT^SYSINFO

V/CDMA ( 985): RuimRecords:fetchRuimRecords 0

D/RILJ ( 985): [0002]< RADIO_POWER

D/RILJ ( 985): [0003] iccIO: SIM_IO 0xc0 0x2fe2 path: 3F00,0,0,15

D/RILJ ( 985): [0014]> RIL_REQUEST_CDMA_SUBSCRIPTION

D/RILJ ( 985): [0004] GET_SIM_STATUS

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT AT+CLCC

D/AT ( 858): AT AT^SYSINFO

D/CDMA ( 985): ERI File not loaded

D/CDMA ( 985): ERI File not loaded

D/RILJ ( 985): [0005]< OPERATOR {China Telecom, China Telecom, 46003}

D/RILJ ( 985): [0006]< REGISTRATION_STATE {5, null, null, 8}

D/RILJ ( 985): [0007]< GET_CURRENT_CALLS

D/RILJ ( 985): [0008]< OPERATOR {China Telecom, China Telecom, 46003}

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT AT^SYSINFO

D/RILJ ( 985): [0009]< REGISTRATION_STATE {5, null, null, 8}

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT AT+CPIN?

D/AT ( 858): AT< +CPIN: READY

D/AT ( 858): AT QUERY_FACILITY_LOCK

D/RILJ ( 985): [0017]> QUERY_FACILITY_LOCK

D/CDMA ( 985): Baseband version: ME800

D/CDMA ( 985): Event EVENT_POLL_CALLS_RESULT Received

D/CDMA ( 985): [CdmaCallTracker] update phone state, old=IDLE new=IDLE

D/RIL ( 858): onRequest: QUERY_FACILITY_LOCK

D/RIL ( 858): FACILITY

D/AT ( 858): AT> AT+CLCK=”SC”,2,””,7

D/RILJ ( 985): [0010]< RIL_REQUEST_CDMA_SUBSCRIPTION error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

D/RILJ ( 985): [0011]< OPERATOR {China Telecom, China Telecom, 46003}

D/RILJ ( 985): [0012]< REGISTRATION_STATE {5, null, null, 8}

E/CDMA ( 985): Exception while polling service state. Probably malformed RIL response.

E/CDMA ( 985): java.lang.RuntimeException: Warning! Wrong number of parameters returned from RIL_REQUEST_REGISTRATION_STATE: expected 14 got 4

E/CDMA ( 985): at com.android.internal.telephony.cdma.CdmaServiceStateTracker.handlePollStateResult(CdmaServiceStateTracker.java:709)

E/CDMA ( 985): at com.android.internal.telephony.cdma.CdmaServiceStateTracker.handleMessage(CdmaServiceStateTracker.java:401)

E/CDMA ( 985): at android.os.Handler.dispatchMessage(Handler.java:99)

E/CDMA ( 985): at android.os.Looper.loop(Looper.java:123)

E/CDMA ( 985): at android.app.ActivityThread.main(ActivityThread.java:4363)

E/CDMA ( 985): at java.lang.reflect.Method.invokeNative(Native Method)

E/CDMA ( 985): at java.lang.reflect.Method.invoke(Method.java:521)

E/CDMA ( 985): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)

E/CDMA ( 985): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

E/CDMA ( 985): at dalvik.system.NativeStart.main(Native Method)

D/AT ( 858): AT< +CLCK:0

D/AT ( 858): AT AT+CLCK=”FD”,2,””,7

D/AT ( 858): AT< ERROR

E/RIL ( 858): ERROR: requestQueryFacilityLock() failed

D/RILJ ( 985): < iccIO: 0x0 0x0 null

D/RILJ ( 985): [0013]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0

D/RILJ ( 985): [0014]< RIL_REQUEST_CDMA_SUBSCRIPTION error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

D/RILJ ( 985): [0015]< GET_SIM_STATUS com.android.internal.telephony.IccCardStatus@438ad198

D/RILJ ( 985): [0016]< QUERY_FACILITY_LOCK {0}

D/RILJ ( 985): [0017]< QUERY_FACILITY_LOCK error: com.android.internal.telephony.CommandException: GENERIC_FAILURE

D/CDMA ( 985): [CdmaServiceStateTracker] Set CDMA Roaming Indicator to: 2. mCdmaRoaming = false, isPrlLoaded = false. namMatch = false , mIsInPrl = false, mRoamingIndicator = 0, mDefaultRoamingIndicator= 0

D/CDMA ( 985): [CdmaServiceStateTracker] Poll ServiceState done: oldSS=[3 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1] newSS=[1 home China Telecom China Telecom 46003 Unknown CSS not supported -1 -1RoamInd: 2DefRoamInd: 0]

D/AT ( 858): AT REQUEST_SET_PREFERRED_NETWORK_TYPE : 4

D/RILJ ( 1138): [0001]> RIL_REQUEST_CDMA_SET_SUBSCRIPTION : 1

D/RILJ ( 1138): [0002]> RADIO_POWER

D/RILJ ( 1138): [UNSL] AT^PREFMODE=4

D/AT ( 858): AT AT+CFUN=0

D/RILJ ( 1138): [0000]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE

D/RILJ ( 1138): [0001]< RIL_REQUEST_CDMA_SET_SUBSCRIPTION

D/PHONE ( 1138): mDoesRilSendMultipleCallRing=true

D/PHONE ( 1138): mCallRingDelay=3000

D/CDMA ( 1138): [CdmaDataConnection] DataConnection.clearSettings()

D/CDMA ( 1138): [CdmaDataConnection] CdmaDataConnection

I/PHONE ( 1138): Creating CDMAPhone

D/RILJ ( 1138): [0004]> GET_CURRENT_CALLS

D/CDMA ( 1138): [CdmaServiceStateTracker] Poll ServiceState done: oldSS=[1 home null null null Unknown CSS not supported 0 0RoamInd: 0DefRoamInd: 0] newSS=[1 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1]

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): [CdmaDataConnectionTracker] Radio is off and clean up all connection

D/CDMA ( 1138): [CdmaDataConnectionTracker] Clean up connection due to radioTurnedOff

D/CDMA ( 1138): [CdmaDataConnectionTracker] setState: DISCONNECTING

D/CDMA ( 1138): [CdmaDataConnection] DataConnection.clearSettings()

D/CDMA ( 1138): [DataConnection] Stop poll NetStat

D/CDMA ( 1138): [CdmaDataConnectionTracker] setState: IDLE

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): [CdmaDataConnectionTracker] ***trySetupData due to cdmaDataDetached

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): needsOtaServiceProvisioning: illegal cdmaMin=’null’ assume provisioning needed.

D/CDMA ( 1138): needsOtaServiceProvisioning: ret=true

D/CDMA ( 1138): [CdmaDataConnectionTracker] trySetupData: Not ready for data: dataState=IDLE PS state=1 radio state=RADIO_UNAVAILABLE ruim=false concurrentVoice&Data=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=true desiredPowerState=true PendingRestartRadio=false MasterDataEnabled=true needsOtaServiceProvisioning=true

D/CDMA ( 1138): [CdmaDataConnectionTracker] ***trySetupData due to roamingOff

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): needsOtaServiceProvisioning: illegal cdmaMin=’null’ assume provisioning needed.

D/CDMA ( 1138): needsOtaServiceProvisioning: ret=true

D/CDMA ( 1138): [CdmaDataConnectionTracker] trySetupData: Not ready for data: dataState=IDLE PS state=1 radio state=RADIO_UNAVAILABLE ruim=false concurrentVoice&Data=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=true desiredPowerState=true PendingRestartRadio=false MasterDataEnabled=true needsOtaServiceProvisioning=true

D/CDMA ( 1138): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED NOT_READY reason null

D/CDMA ( 1138): Event EVENT_RADIO_OFF_OR_NOT_AVAILABLE Received

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/AT ( 858): AT SCREEN_STATE: true

D/RILJ ( 1138): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_OFF

D/RILJ ( 1138): [0002]< RADIO_POWER

D/RILJ ( 1138): [0003] RADIO_POWER

D/CDMA ( 1138): [CdmaServiceStateTracker] Poll ServiceState done: oldSS=[1 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1] newSS=[3 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1]

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/RIL ( 858): onRequest: SCREEN_STATE

D/RIL ( 858): onRequest: RADIO_POWER

D/AT ( 858): AT> AT+CFUN=1

D/RILJ ( 1138): [0004]< GET_CURRENT_CALLS error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE

D/RILJ ( 1138): [0005] BASEBAND_VERSION

D/RILJ ( 1138): [0008]> RIL_REQUEST_DEVICE_IDENTITY

D/CDMA ( 1138): Event EVENT_POLL_CALLS_RESULT Received

D/CDMA ( 1138): [CdmaCallTracker] update phone state, old=IDLE new=IDLE

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/CDMA ( 1138): ERI File not loaded

D/AT ( 858): AT AT+CLVL=5

D/RILB ( 1138): Notifying: Radio On

D/RILJ ( 1138): [UNSL] OPERATOR

D/RILB ( 1138): Notifying: RUIM ready

D/RILJ ( 1138): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RUIM_READY

D/AT ( 858): AT AT^HWVER

D/AT ( 858): AT< ^HWVER: ME800

D/AT ( 858): AT REGISTRATION_STATE

D/RIL ( 858): onRequest: REGISTRATION_STATE

D/AT ( 858): AT> AT^SYSINFO

D/RILJ ( 1138): [0011]> GET_CURRENT_CALLS

D/CDMA ( 1138): Event EVENT_RADIO_ON Received

D/RILJ ( 1138): [0012]> OPERATOR

D/RILJ ( 1138): [0013]> REGISTRATION_STATE

D/RILJ ( 1138): [0014]> RIL_REQUEST_CDMA_SUBSCRIPTION

D/CDMA ( 1138): [CdmaServiceStateTracker] Receive EVENT_RUIM_READY and Send Request getCDMASubscription.

D/RILJ ( 1138): [0015]> OPERATOR

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT AT+CLCC

D/AT ( 858): AT AT^SYSINFO

D/RILJ ( 1138): [0016]> REGISTRATION_STATE

D/RILJ ( 1138): [0006]< RADIO_POWER

D/RILJ ( 1138): [0007]< BASEBAND_VERSION ME800

D/RILJ ( 1138): [0008]< RIL_REQUEST_DEVICE_IDENTITY error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

D/RILJ ( 1138): [0009]< OPERATOR {China Telecom, China Telecom, 46003}

D/RILJ ( 1138): [0010]< REGISTRATION_STATE {5, null, null, 8}

D/RILJ ( 1138): [0011]< GET_CURRENT_CALLS

D/RILJ ( 1138): [0012]< OPERATOR {China Telecom, China Telecom, 46003}

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT AT^SYSINFO

D/RILJ ( 1138): [0013]< REGISTRATION_STATE {5, null, null, 8}

D/RILJ ( 1138): [0014]< RIL_REQUEST_CDMA_SUBSCRIPTION error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

D/RILJ ( 1138): [0015]< OPERATOR {China Telecom, China Telecom, 46003}

D/CDMA ( 1138): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED READY reason null

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT< OK

D/RILJ ( 1138): [0016] iccIO: SIM_IO 0xc0 0x2fe2 path: 3F00,0,0,15

D/RIL ( 858): onRequest: SIM_IO

D/RILJ ( 1138): < iccIO: 0x0 0x0 null

D/RILJ ( 1138): [0017] RIL_REQUEST_CDMA_SUBSCRIPTION

D/RIL ( 858): onRequest: CDMA_SUBSCRIPTION

D/RILJ ( 1138): [0019]> GET_SIM_STATUS

D/RIL ( 858): onRequest: GET_SIM_STATUS

D/AT ( 858): AT> AT+CPIN?

D/RILJ ( 1138): [0020]> QUERY_FACILITY_LOCK

D/RILJ ( 1138): [0018] QUERY_FACILITY_LOCK

D/CDMA ( 1138): Baseband version: ME800

D/CDMA ( 1138): Event EVENT_POLL_CALLS_RESULT Received

D/CDMA ( 1138): [CdmaCallTracker] update phone state, old=IDLE new=IDLE

E/CDMA ( 1138): Exception while polling service state. Probably malformed RIL response.

E/CDMA ( 1138): java.lang.RuntimeException: Warning! Wrong number of parameters returned from RIL_REQUEST_REGISTRATION_STATE: expected 14 got 4

E/CDMA ( 1138): at com.android.internal.telephony.cdma.CdmaServiceStateTracker.handlePollStateResult(CdmaServiceStateTracker.java:709)

E/CDMA ( 1138): at com.android.internal.telephony.cdma.CdmaServiceStateTracker.handleMessage(CdmaServiceStateTracker.java:401)

E/CDMA ( 1138): at android.os.Handler.dispatchMessage(Handler.java:99)

E/CDMA ( 1138): at android.os.Looper.loop(Looper.java:123)

E/CDMA ( 1138): at android.app.ActivityThread.main(ActivityThread.java:4363)

E/CDMA ( 1138): at java.lang.reflect.Method.invokeNative(Native Method)

E/CDMA ( 1138): at java.lang.reflect.Method.invoke(Method.java:521)

E/CDMA ( 1138): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)

E/CDMA ( 1138): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

E/CDMA ( 1138): at dalvik.system.NativeStart.main(Native Method)

D/CDMA ( 1138): [CdmaServiceStateTracker] Set CDMA Roaming Indicator to: 2. mCdmaRoaming = false, isPrlLoaded = false. namMatch = false , mIsInPrl = false, mRoamingIndicator = 0, mDefaultRoamingIndicator= 0

D/CDMA ( 1138): [CdmaServiceStateTracker] Poll ServiceState done: oldSS=[3 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1] newSS=[1 home China Telecom China Telecom 46003 Unknown CSS not supported -1 -1RoamInd: 2DefRoamInd: 0]

D/CDMA ( 1138): RuimRecords: record load complete

D/CDMA ( 1138): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED LOADED reason null

D/AT ( 858): AT< +CPIN: READY

D/AT ( 858): AT AT+CLCK=”SC”,2,””,7

D/AT ( 858): AT< +CLCK:0

D/AT ( 858): AT AT+CLCK=”FD”,2,””,7

D/AT ( 858): AT< ERROR

E/RIL ( 858): ERROR: requestQueryFacilityLock() failed

D/RILJ ( 1138): [0019]< GET_SIM_STATUS com.android.internal.telephony.IccCardStatus@43a885f8

D/RILJ ( 1138): [0020]< QUERY_FACILITY_LOCK {0}

D/RILJ ( 1138): [0021]< QUERY_FACILITY_LOCK error: com.android.internal.telephony.CommandException: GENERIC_FAILURE

D/CDMA ( 1138): Event EVENT_RUIM_RECORDS_LOADED Received

D/AT ( 858): AT REQUEST_SET_PREFERRED_NETWORK_TYPE : 4

D/PHONE ( 1156): mDoesRilSendMultipleCallRing=true

D/PHONE ( 1156): mCallRingDelay=3000

D/RILJ ( 1156): [0001]> RIL_REQUEST_CDMA_SET_SUBSCRIPTION : 1

D/RILJ ( 1156): [0002]> RADIO_POWER

D/RILJ ( 1156): [UNSL] AT^PREFMODE=4

D/AT ( 858): AT AT+CFUN=0

D/RILJ ( 1156): [0000]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE

D/RILJ ( 1156): [0001]< RIL_REQUEST_CDMA_SET_SUBSCRIPTION

D/CDMA ( 1156): [CdmaDataConnection] DataConnection.clearSettings()

D/CDMA ( 1156): [CdmaDataConnection] CdmaDataConnection

I/PHONE ( 1156): Creating CDMAPhone

D/RILJ ( 1156): [0004]> GET_CURRENT_CALLS

D/CDMA ( 1156): [CdmaServiceStateTracker] Poll ServiceState done: oldSS=[1 home null null null Unknown CSS not supported 0 0RoamInd: 0DefRoamInd: 0] newSS=[1 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1]

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): [CdmaDataConnectionTracker] Radio is off and clean up all connection

D/CDMA ( 1156): [CdmaDataConnectionTracker] Clean up connection due to radioTurnedOff

D/CDMA ( 1156): [CdmaDataConnectionTracker] setState: DISCONNECTING

D/CDMA ( 1156): [CdmaDataConnection] DataConnection.clearSettings()

D/CDMA ( 1156): [DataConnection] Stop poll NetStat

D/CDMA ( 1156): [CdmaDataConnectionTracker] setState: IDLE

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): [CdmaDataConnectionTracker] ***trySetupData due to cdmaDataDetached

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): needsOtaServiceProvisioning: illegal cdmaMin=’null’ assume provisioning needed.

D/CDMA ( 1156): needsOtaServiceProvisioning: ret=true

D/CDMA ( 1156): [CdmaDataConnectionTracker] trySetupData: Not ready for data: dataState=IDLE PS state=1 radio state=RADIO_UNAVAILABLE ruim=false concurrentVoice&Data=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=true desiredPowerState=true PendingRestartRadio=false MasterDataEnabled=true needsOtaServiceProvisioning=true

D/CDMA ( 1156): [CdmaDataConnectionTracker] ***trySetupData due to roamingOff

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): needsOtaServiceProvisioning: illegal cdmaMin=’null’ assume provisioning needed.

D/CDMA ( 1156): needsOtaServiceProvisioning: ret=true

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): [CdmaDataConnectionTracker] trySetupData: Not ready for data: dataState=IDLE PS state=1 radio state=RADIO_UNAVAILABLE ruim=false concurrentVoice&Data=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=true desiredPowerState=true PendingRestartRadio=false MasterDataEnabled=true needsOtaServiceProvisioning=true

D/CDMA ( 1156): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED NOT_READY reason null

D/CDMA ( 1156): Event EVENT_RADIO_OFF_OR_NOT_AVAILABLE Received

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/AT ( 858): AT SCREEN_STATE: true

D/RILJ ( 1156): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_OFF

D/RILJ ( 1156): [0002] RADIO_POWER

D/CDMA ( 1156): [CdmaServiceStateTracker] Poll ServiceState done: oldSS=[1 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1] newSS=[3 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1]

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/RIL ( 858): onRequest: SCREEN_STATE

D/RIL ( 858): onRequest: RADIO_POWER

D/AT ( 858): AT> AT+CFUN=1

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/RILJ ( 1156): [0003]< RIL_REQUEST_SET_TTY_MODE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE

D/RILJ ( 1156): [0004] BASEBAND_VERSION

D/RILJ ( 1156): [0008]> RIL_REQUEST_DEVICE_IDENTITY

D/CDMA ( 1156): Event EVENT_POLL_CALLS_RESULT Received

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): [CdmaCallTracker] update phone state, old=IDLE new=IDLE

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/RILJ ( 1156): [0005]< SCREEN_STATE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/AT ( 858): AT AT+CLVL=5

D/RILJ ( 1156): [0009]> OPERATOR

D/RILB ( 1156): Notifying: Radio On

D/RILJ ( 1156): [0010]> REGISTRATION_STATE

D/RILJ ( 1156): [0011]> GET_CURRENT_CALLS

D/CDMA ( 1156): Event EVENT_RADIO_ON Received

D/RILJ ( 1156): [UNSL] OPERATOR

D/RILB ( 1156): Notifying: RUIM ready

D/RILJ ( 1156): [UNSL] REGISTRATION_STATE

D/AT ( 858): AT AT^HWVER

D/RILJ ( 1156): [0014]> RIL_REQUEST_CDMA_SUBSCRIPTION

D/AT ( 858): AT< ^HWVER: ME800

D/AT ( 858): AT AT^SYSINFO

D/CDMA ( 1156): [CdmaServiceStateTracker] Receive EVENT_RUIM_READY and Send Request getCDMASubscription.

D/RILJ ( 1156): [0015]> OPERATOR

D/RILJ ( 1156): [0016]> REGISTRATION_STATE

D/CDMA ( 1156): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED READY reason null

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT AT+CLCC

D/AT ( 858): AT AT^SYSINFO

D/CDMA ( 1156): ERI File not loaded

D/CDMA ( 1156): ERI File not loaded

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT AT^SYSINFO

V/CDMA ( 1156): RuimRecords:fetchRuimRecords 0

D/RILJ ( 1156): [0017]> iccIO: SIM_IO 0xc0 0x2fe2 path: 3F00,0,0,15

D/RILJ ( 1156): [0018]> RIL_REQUEST_CDMA_SUBSCRIPTION

D/RILJ ( 1156): [0019]> GET_SIM_STATUS

D/RILJ ( 1156): [0020]> QUERY_FACILITY_LOCK

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT AT+CPIN?

D/RILJ ( 1156): [0021]> QUERY_FACILITY_LOCK

D/RILJ ( 1156): [0006]< RADIO_POWER

D/RILJ ( 1156): [0007]< BASEBAND_VERSION ME800

D/RILJ ( 1156): [0008]< RIL_REQUEST_DEVICE_IDENTITY error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

D/RILJ ( 1156): [0009]< OPERATOR {China Telecom, China Telecom, 46003}

D/RILJ ( 1156): [0010]< REGISTRATION_STATE {5, null, null, 8}

D/RILJ ( 1156): [0011]< GET_CURRENT_CALLS

D/RILJ ( 1156): [0012]< OPERATOR {China Telecom, China Telecom, 46003}

D/RILJ ( 1156): [0013]< REGISTRATION_STATE {5, null, null, 8}

D/RILJ ( 1156): [0014]< RIL_REQUEST_CDMA_SUBSCRIPTION error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

D/RILJ ( 1156): [0015]< OPERATOR {China Telecom, China Telecom, 46003}

D/CDMA ( 1156): Baseband version: ME800

D/CDMA ( 1156): Event EVENT_POLL_CALLS_RESULT Received

D/CDMA ( 1156): [CdmaCallTracker] update phone state, old=IDLE new=IDLE

D/AT ( 858): AT< +CPIN: READY

D/AT ( 858): AT AT+CLCK=”SC”,2,””,7

D/RILJ ( 1156): [0016]< REGISTRATION_STATE {5, null, null, 8}

D/RILJ ( 1156): < iccIO: 0x0 0x0 null

D/RILJ ( 1156): [0017]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0

D/RILJ ( 1156): [0018]< RIL_REQUEST_CDMA_SUBSCRIPTION error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

D/RILJ ( 1156): [0019]< GET_SIM_STATUS com.android.internal.telephony.IccCardStatus@43a814d0

E/CDMA ( 1156): Exception while polling service state. Probably malformed RIL response.

E/CDMA ( 1156): java.lang.RuntimeException: Warning! Wrong number of parameters returned from RIL_REQUEST_REGISTRATION_STATE: expected 14 got 4

E/CDMA ( 1156): at com.android.internal.telephony.cdma.CdmaServiceStateTracker.handlePollStateResult(CdmaServiceStateTracker.java:709)

E/CDMA ( 1156): at com.android.internal.telephony.cdma.CdmaServiceStateTracker.handleMessage(CdmaServiceStateTracker.java:401)

E/CDMA ( 1156): at android.os.Handler.dispatchMessage(Handler.java:99)

E/CDMA ( 1156): at android.os.Looper.loop(Looper.java:123)

E/CDMA ( 1156): at android.app.ActivityThread.main(ActivityThread.java:4363)

E/CDMA ( 1156): at java.lang.reflect.Method.invokeNative(Native Method)

E/CDMA ( 1156): at java.lang.reflect.Method.invoke(Method.java:521)

E/CDMA ( 1156): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)

E/CDMA ( 1156): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

E/CDMA ( 1156): at dalvik.system.NativeStart.main(Native Method)

D/AT ( 858): AT< +CLCK:0

D/AT ( 858): AT AT+CLCK=”FD”,2,””,7

D/RILJ ( 1156): [0020]< QUERY_FACILITY_LOCK {0}

D/AT ( 858): AT< ERROR

E/RIL ( 858): ERROR: requestQueryFacilityLock() failed

D/RILJ ( 1156): [0021] REQUEST_SET_PREFERRED_NETWORK_TYPE : 4

D/RIL ( 858): onRequest: SET_PREFERRED_NETWORK_TYPE

D/AT ( 858): AT> AT^PREFMODE=4

D/RILJ ( 1171): [0001]> RIL_REQUEST_CDMA_SET_SUBSCRIPTION : 1

D/RILJ ( 1171): [0002]> RADIO_POWER

D/AT ( 858): AT AT+CFUN=0

D/RILJ ( 1171): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_UNAVAILABLE

D/RILJ ( 1171): [0000]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE

D/RILJ ( 1171): [0001]< RIL_REQUEST_CDMA_SET_SUBSCRIPTION

D/PHONE ( 1171): mDoesRilSendMultipleCallRing=true

D/PHONE ( 1171): mCallRingDelay=3000

D/CDMA ( 1171): [CdmaDataConnection] DataConnection.clearSettings()

D/CDMA ( 1171): [CdmaDataConnection] CdmaDataConnection

I/PHONE ( 1171): Creating CDMAPhone

D/RILJ ( 1171): [0004]> GET_CURRENT_CALLS

D/CDMA ( 1171): [CdmaServiceStateTracker] Poll ServiceState done: oldSS=[1 home null null null Unknown CSS not supported 0 0RoamInd: 0DefRoamInd: 0] newSS=[1 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1]

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): [CdmaDataConnectionTracker] Radio is off and clean up all connection

D/CDMA ( 1171): [CdmaDataConnectionTracker] Clean up connection due to radioTurnedOff

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): [CdmaDataConnectionTracker] setState: DISCONNECTING

D/CDMA ( 1171): [CdmaDataConnection] DataConnection.clearSettings()

D/CDMA ( 1171): [DataConnection] Stop poll NetStat

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): [CdmaDataConnectionTracker] setState: IDLE

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): [CdmaDataConnectionTracker] ***trySetupData due to cdmaDataDetached

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): needsOtaServiceProvisioning: illegal cdmaMin=’null’ assume provisioning needed.

D/CDMA ( 1171): needsOtaServiceProvisioning: ret=true

D/CDMA ( 1171): [CdmaDataConnectionTracker] trySetupData: Not ready for data: dataState=IDLE PS state=1 radio state=RADIO_UNAVAILABLE ruim=false concurrentVoice&Data=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=true desiredPowerState=true PendingRestartRadio=false MasterDataEnabled=true needsOtaServiceProvisioning=true

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): [CdmaDataConnectionTracker] ***trySetupData due to roamingOff

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): needsOtaServiceProvisioning: illegal cdmaMin=’null’ assume provisioning needed.

D/CDMA ( 1171): needsOtaServiceProvisioning: ret=true

D/CDMA ( 1171): [CdmaDataConnectionTracker] trySetupData: Not ready for data: dataState=IDLE PS state=1 radio state=RADIO_UNAVAILABLE ruim=false concurrentVoice&Data=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=true desiredPowerState=true PendingRestartRadio=false MasterDataEnabled=true needsOtaServiceProvisioning=true

D/CDMA ( 1171): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED NOT_READY reason null

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): Event EVENT_RADIO_OFF_OR_NOT_AVAILABLE Received

D/AT ( 858): AT SCREEN_STATE: true

D/RILJ ( 1171): [0006]> RADIO_POWER

D/CDMA ( 1171): [CdmaServiceStateTracker] Poll ServiceState done: oldSS=[1 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1] newSS=[3 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1]

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/RIL ( 858): onRequest: SCREEN_STATE

D/RIL ( 858): onRequest: RADIO_POWER

D/AT ( 858): AT> AT+CFUN=1

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/RILJ ( 1171): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_OFF

D/RILJ ( 1171): [0002]< RADIO_POWER

D/RILJ ( 1171): [0003]< RIL_REQUEST_SET_TTY_MODE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/RILJ ( 1171): [0004] BASEBAND_VERSION

D/RILJ ( 1171): [0008]> RIL_REQUEST_DEVICE_IDENTITY

D/RILJ ( 1171): [0005]< SCREEN_STATE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): Event EVENT_POLL_CALLS_RESULT Received

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): [CdmaCallTracker] update phone state, old=IDLE new=IDLE

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

D/AT ( 858): AT AT+CLVL=5

D/RILJ ( 1171): [0009]> OPERATOR

D/RILJ ( 1171): [0010]> REGISTRATION_STATE

D/RILB ( 1171): Notifying: Radio On

D/RILJ ( 1171): [0011]> GET_CURRENT_CALLS

D/CDMA ( 1171): Event EVENT_RADIO_ON Received

D/RILJ ( 1171): [UNSL] OPERATOR

D/RILJ ( 1171): [0013]> REGISTRATION_STATE

D/RILB ( 1171): Notifying: RUIM ready

D/RILJ ( 1171): [0014]> RIL_REQUEST_CDMA_SUBSCRIPTION

D/RILJ ( 1171): [UNSL] OPERATOR

D/RILJ ( 1171): [0016]> REGISTRATION_STATE

D/AT ( 858): AT AT^HWVER

D/AT ( 858): AT< ^HWVER: ME800

D/AT ( 858): AT AT^SYSINFO

D/CDMA ( 1171): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED READY reason null

D/RILJ ( 1171): [0006]< RADIO_POWER

D/RILJ ( 1171): [0007]< BASEBAND_VERSION ME800

D/RILJ ( 1171): [0008]< RIL_REQUEST_DEVICE_IDENTITY error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

D/RILJ ( 1171): [0009]< OPERATOR {China Telecom, China Telecom, 46003}

D/CDMA ( 1171): ERI File not loaded

D/CDMA ( 1171): ERI File not loaded

V/CDMA ( 1171): RuimRecords:fetchRuimRecords 0

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT AT+CLCC

D/RILJ ( 1171): [0017]> iccIO: SIM_IO 0xc0 0x2fe2 path: 3F00,0,0,15

D/AT ( 858): AT AT^SYSINFO

D/RILJ ( 1171): [0018]> RIL_REQUEST_CDMA_SUBSCRIPTION

D/RILJ ( 1171): [0019]> GET_SIM_STATUS

D/RILJ ( 1171): [0010]< REGISTRATION_STATE {5, null, null, 8}

D/RILJ ( 1171): [0011]< GET_CURRENT_CALLS

D/RILJ ( 1171): [0012] QUERY_FACILITY_LOCK

D/RILJ ( 1171): [0021]> QUERY_FACILITY_LOCK

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT AT^SYSINFO

D/RILJ ( 1171): [0013]< REGISTRATION_STATE {5, null, null, 8}

D/RILJ ( 1171): [0014]< RIL_REQUEST_CDMA_SUBSCRIPTION error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

D/RILJ ( 1171): [0015]< OPERATOR {China Telecom, China Telecom, 46003}

D/CDMA ( 1171): Baseband version: ME800

D/CDMA ( 1171): Event EVENT_POLL_CALLS_RESULT Received

D/CDMA ( 1171): [CdmaCallTracker] update phone state, old=IDLE new=IDLE

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT AT+CPIN?

D/RILJ ( 1171): [0016]< REGISTRATION_STATE {5, null, null, 8}

D/RILJ ( 1171): < iccIO: 0x0 0x0 null

D/RILJ ( 1171): [0017]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0

D/RILJ ( 1171): [0018]< RIL_REQUEST_CDMA_SUBSCRIPTION error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

E/CDMA ( 1171): Exception while polling service state. Probably malformed RIL response.

E/CDMA ( 1171): java.lang.RuntimeException: Warning! Wrong number of parameters returned from RIL_REQUEST_REGISTRATION_STATE: expected 14 got 4

E/CDMA ( 1171): at com.android.internal.telephony.cdma.CdmaServiceStateTracker.handlePollStateResult(CdmaServiceStateTracker.java:709)

E/CDMA ( 1171): at com.android.internal.telephony.cdma.CdmaServiceStateTracker.handleMessage(CdmaServiceStateTracker.java:401)

E/CDMA ( 1171): at android.os.Handler.dispatchMessage(Handler.java:99)

E/CDMA ( 1171): at android.os.Looper.loop(Looper.java:123)

E/CDMA ( 1171): at android.app.ActivityThread.main(ActivityThread.java:4363)

E/CDMA ( 1171): at java.lang.reflect.Method.invokeNative(Native Method)

E/CDMA ( 1171): at java.lang.reflect.Method.invoke(Method.java:521)

E/CDMA ( 1171): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)

E/CDMA ( 1171): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

E/CDMA ( 1171): at dalvik.system.NativeStart.main(Native Method)

D/CDMA ( 1171): [CdmaServiceStateTracker] Set CDMA Roaming Indicator to: 2. mCdmaRoaming = false, isPrlLoaded = false. namMatch = false , mIsInPrl = false, mRoamingIndicator = 0, mDefaultRoamingIndicator= 0

D/CDMA ( 1171): [CdmaServiceStateTracker] Poll ServiceState done: oldSS=[3 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1] newSS=[1 home China Telecom China Telecom 46003 Unknown CSS not supported -1 -1RoamInd: 2DefRoamInd: 0]

D/AT ( 858): AT< +CPIN: READY

D/AT ( 858): AT AT+CLCK=”SC”,2,””,7

D/CDMA ( 1171): RuimRecords: record load complete

D/RILJ ( 1171): [0019]< GET_SIM_STATUS com.android.internal.telephony.IccCardStatus@43a74918

D/CDMA ( 1171): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED LOADED reason null

D/AT ( 858): AT< +CLCK:0

D/AT ( 858): AT AT+CLCK=”FD”,2,””,7

D/AT ( 858): AT< ERROR

E/RIL ( 858): ERROR: requestQueryFacilityLock() failed

D/RILJ ( 1171): [0020]< QUERY_FACILITY_LOCK {0}

D/RILJ ( 1171): [0021] REQUEST_SET_PREFERRED_NETWORK_TYPE : 4

D/RILJ ( 1187): [0001]> RIL_REQUEST_CDMA_SET_SUBSCRIPTION : 1

D/RILJ ( 1187): [0002]> RADIO_POWER

D/RILJ ( 1187): [UNSL] AT^PREFMODE=4

D/AT ( 858): AT AT+CFUN=0

D/RILJ ( 1187): [0000]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE

D/RILJ ( 1187): [0001]< RIL_REQUEST_CDMA_SET_SUBSCRIPTION

D/PHONE ( 1187): mDoesRilSendMultipleCallRing=true

D/PHONE ( 1187): mCallRingDelay=3000

D/CDMA ( 1187): [CdmaDataConnection] DataConnection.clearSettings()

D/CDMA ( 1187): [CdmaDataConnection] CdmaDataConnection

I/PHONE ( 1187): Creating CDMAPhone

D/RILJ ( 1187): [0004]> GET_CURRENT_CALLS

D/CDMA ( 1187): [CdmaServiceStateTracker] Poll ServiceState done: oldSS=[1 home null null null Unknown CSS not supported 0 0RoamInd: 0DefRoamInd: 0] newSS=[1 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1]

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): [CdmaDataConnectionTracker] Radio is off and clean up all connection

D/CDMA ( 1187): [CdmaDataConnectionTracker] Clean up connection due to radioTurnedOff

D/CDMA ( 1187): [CdmaDataConnectionTracker] setState: DISCONNECTING

D/CDMA ( 1187): [CdmaDataConnection] DataConnection.clearSettings()

D/CDMA ( 1187): [DataConnection] Stop poll NetStat

D/CDMA ( 1187): [CdmaDataConnectionTracker] setState: IDLE

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): [CdmaDataConnectionTracker] ***trySetupData due to cdmaDataDetached

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): needsOtaServiceProvisioning: illegal cdmaMin=’null’ assume provisioning needed.

D/CDMA ( 1187): needsOtaServiceProvisioning: ret=true

D/CDMA ( 1187): [CdmaDataConnectionTracker] trySetupData: Not ready for data: dataState=IDLE PS state=1 radio state=RADIO_UNAVAILABLE ruim=false concurrentVoice&Data=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=true desiredPowerState=true PendingRestartRadio=false MasterDataEnabled=true needsOtaServiceProvisioning=true

D/CDMA ( 1187): [CdmaDataConnectionTracker] ***trySetupData due to roamingOff

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): needsOtaServiceProvisioning: illegal cdmaMin=’null’ assume provisioning needed.

D/CDMA ( 1187): needsOtaServiceProvisioning: ret=true

D/CDMA ( 1187): [CdmaDataConnectionTracker] trySetupData: Not ready for data: dataState=IDLE PS state=1 radio state=RADIO_UNAVAILABLE ruim=false concurrentVoice&Data=false phoneState=IDLE dataEnabled=true roaming=false dataOnRoamingEnable=true desiredPowerState=true PendingRestartRadio=false MasterDataEnabled=true needsOtaServiceProvisioning=true

D/CDMA ( 1187): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED NOT_READY reason null

D/CDMA ( 1187): Event EVENT_RADIO_OFF_OR_NOT_AVAILABLE Received

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/AT ( 858): AT SCREEN_STATE: true

D/RILJ ( 1187): [UNSL] RADIO_POWER

D/RIL ( 858): onRequest: SCREEN_STATE

D/RIL ( 858): onRequest: RADIO_POWER

D/AT ( 858): AT> AT+CFUN=1

D/RILJ ( 1187): [0002]< RADIO_POWER

D/CDMA ( 1187): [CdmaServiceStateTracker] Poll ServiceState done: oldSS=[1 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1] newSS=[3 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1]

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/RILJ ( 1187): [0003]< RIL_REQUEST_SET_TTY_MODE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE

D/RILJ ( 1187): [0004]< GET_CURRENT_CALLS error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE

D/RILJ ( 1187): [0005] BASEBAND_VERSION

D/RILJ ( 1187): [0008]> RIL_REQUEST_DEVICE_IDENTITY

D/CDMA ( 1187): Event EVENT_POLL_CALLS_RESULT Received

D/CDMA ( 1187): [CdmaCallTracker] update phone state, old=IDLE new=IDLE

D/AT ( 858): AT AT+CLVL=5

D/RILB ( 1187): Notifying: Radio On

D/RILJ ( 1187): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RUIM_NOT_READY

D/RILB ( 1187): Notifying: RUIM ready

D/RILJ ( 1187): [UNSL] OPERATOR

D/RILJ ( 1187): [0010]> REGISTRATION_STATE

D/RILJ ( 1187): [0011]> GET_CURRENT_CALLS

D/CDMA ( 1187): Event EVENT_RADIO_ON Received

D/RILJ ( 1187): [0012]> OPERATOR

D/RILJ ( 1187): [0013]> REGISTRATION_STATE

D/RILJ ( 1187): [0014]> RIL_REQUEST_CDMA_SUBSCRIPTION

D/AT ( 858): AT AT^HWVER

D/RILJ ( 1187): [0006]< RADIO_POWER

D/AT ( 858): AT< ^HWVER: ME800

D/AT ( 858): AT AT^SYSINFO

D/RILJ ( 1187): [0007] OPERATOR

D/RILJ ( 1187): [0016]> REGISTRATION_STATE

D/CDMA ( 1187): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED READY reason null

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT AT+CLCC

D/AT ( 858): AT AT^SYSINFO

V/CDMA ( 1187): RuimRecords:fetchRuimRecords 0

D/RILJ ( 1187): [0017]> iccIO: SIM_IO 0xc0 0x2fe2 path: 3F00,0,0,15

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT AT^SYSINFO

D/CDMA ( 1187): ERI File not loaded

D/CDMA ( 1187): ERI File not loaded

D/RILJ ( 1187): [0008]< RIL_REQUEST_DEVICE_IDENTITY error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

D/RILJ ( 1187): [0009]< OPERATOR {China Telecom, China Telecom, 46003}

D/RILJ ( 1187): [0010]< REGISTRATION_STATE {5, null, null, 8}

D/RILJ ( 1187): [0011] RIL_REQUEST_CDMA_SUBSCRIPTION

D/AT ( 858): AT< ^SYSINFO:2,2,0,4,1

D/AT ( 858): AT< OK

D/RIL ( 858): onRequest: SIM_IO

D/RILJ ( 1187): [0012]< OPERATOR {China Telecom, China Telecom, 46003}

D/RILJ ( 1187): [0013] GET_SIM_STATUS

D/RIL ( 858): onRequest: GET_SIM_STATUS

D/AT ( 858): AT> AT+CPIN?

D/RILJ ( 1187): [0020]> QUERY_FACILITY_LOCK

D/RILJ ( 1187): [0021]> QUERY_FACILITY_LOCK

D/CDMA ( 1187): Baseband version: ME800

D/CDMA ( 1187): Event EVENT_POLL_CALLS_RESULT Received

D/RILJ ( 1187): [0014]< RIL_REQUEST_CDMA_SUBSCRIPTION error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

D/RILJ ( 1187): [0015]< OPERATOR {China Telecom, China Telecom, 46003}

D/RILJ ( 1187): [0016]< REGISTRATION_STATE {5, null, null, 8}

D/CDMA ( 1187): [CdmaCallTracker] update phone state, old=IDLE new=IDLE

D/RILJ ( 1187): < iccIO: 0x0 0x0 null

D/RILJ ( 1187): [0017]< SIM_IO IccIoResponse sw1:0x0 sw2:0x0

D/RILJ ( 1187): [0018]< RIL_REQUEST_CDMA_SUBSCRIPTION error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

D/AT ( 858): AT< +CPIN: READY

D/AT ( 858): AT AT+CLCK=”SC”,2,””,7

E/CDMA ( 1187): Exception while polling service state. Probably malformed RIL response.

E/CDMA ( 1187): java.lang.RuntimeException: Warning! Wrong number of parameters returned from RIL_REQUEST_REGISTRATION_STATE: expected 14 got 4

E/CDMA ( 1187): at com.android.internal.telephony.cdma.CdmaServiceStateTracker.handlePollStateResult(CdmaServiceStateTracker.java:709)

E/CDMA ( 1187): at com.android.internal.telephony.cdma.CdmaServiceStateTracker.handleMessage(CdmaServiceStateTracker.java:401)

E/CDMA ( 1187): at android.os.Handler.dispatchMessage(Handler.java:99)

E/CDMA ( 1187): at android.os.Looper.loop(Looper.java:123)

E/CDMA ( 1187): at android.app.ActivityThread.main(ActivityThread.java:4363)

E/CDMA ( 1187): at java.lang.reflect.Method.invokeNative(Native Method)

E/CDMA ( 1187): at java.lang.reflect.Method.invoke(Method.java:521)

E/CDMA ( 1187): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)

E/CDMA ( 1187): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

E/CDMA ( 1187): at dalvik.system.NativeStart.main(Native Method)

D/RILJ ( 1187): [0019]< GET_SIM_STATUS com.android.internal.telephony.IccCardStatus@43a72690

D/CDMA ( 1187): [CdmaServiceStateTracker] Set CDMA Roaming Indicator to: 2. mCdmaRoaming = false, isPrlLoaded = false. namMatch = false , mIsInPrl = false, mRoamingIndicator = 0, mDefaultRoamingIndicator= 0

D/CDMA ( 1187): [CdmaServiceStateTracker] Poll ServiceState done: oldSS=[3 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1] newSS=[1 home China Telecom China Telecom 46003 Unknown CSS not supported -1 -1RoamInd: 2DefRoamInd: 0]

D/AT ( 858): AT< +CLCK:0

D/AT ( 858): AT AT+CLCK=”FD”,2,””,7

D/RILJ ( 1187): [0020]< QUERY_FACILITY_LOCK {0}

D/AT ( 858): AT< ERROR

E/RIL ( 858): ERROR: requestQueryFacilityLock() failed

D/RILJ ( 1187): [0021]< QUERY_FACILITY_LOCK error: com.android.internal.telephony.CommandException: GENERIC_FAILURE

when call, it will turn on the radio.
But some time, it make some error.
That the radio can not on and have the error info like following:
“RilRequest( 1460): [3721]< RADIO_POWER error: com.android.internal.telephony.CommandException: GENERIC_FAILURE ret="

Could you explain why occur this issue?

Leave a Reply

Your email address will not be published. Required fields are marked *