When SIM PIN is blocked, the ril can not function well.

by luodaliang » Thu, 12 Mar 2009 10:25:39 GMT


Sponsored Links
 I/RIL     (  808): Opening tty device /dev/dpmdtty2
D/RILC    (  808): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED
{RADIO_OFF}
D/AT      (  808): AT> ATE0Q0V1
D/AT      (  808): AT< OK
D/AT      (  808): AT> ATE0Q0V1
D/AT      (  808): AT< OK
D/AT      (  808): AT> ATS0=0
D/AT      (  808): AT< OK
D/AT      (  808): AT> AT+CMEE=1
D/AT      (  808): AT< OK
D/AT      (  808): AT> AT+CREG=2
D/AT      (  808): AT< +CME ERROR: 11
D/AT      (  808): AT> AT+CREG=1
D/AT      (  808): AT< +CME ERROR: 11
D/AT      (  808): AT> AT+CGREG=1
D/AT      (  808): AT< +CME ERROR: 11
D/AT      (  808): AT> AT+CCWA=1
D/AT      (  808): AT< +CME ERROR: 11
D/AT      (  808): AT> AT+CMOD=0
D/AT      (  808): AT< +CME ERROR: 11
D/AT      (  808): AT> AT+CMUT=0
D/AT      (  808): AT< +CME ERROR: 11
D/AT      (  808): AT> AT+CSSN=0,1
D/AT      (  808): AT< +CME ERROR: 11
D/AT      (  808): AT> AT+COLP=0
D/AT      (  808): AT< +CME ERROR: 11
D/AT      (  808): AT> AT+CSCS="HEX"
D/AT      (  808): AT< +CME ERROR: 11
D/AT      (  808): AT> AT+CUSD=1
D/AT      (  808): AT< +CME ERROR: 11
D/AT      (  808): AT> AT+CGEREP=1,0
D/AT      (  808): AT< +CME ERROR: 11
D/AT      (  808): AT> AT+CMGF=0
D/AT      (  808): AT< +CME ERROR: 11
D/AT      (  808): AT> AT+CFUN?
D/AT      (  808): AT< +CFUN: 1
D/AT      (  808): AT< OK
D/RILC    (  808): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED
{RADIO_SIM_NOT_READY}
D/AT      (  808): AT> AT+CPIN?
D/AT      (  808): AT< +CPIN: SIM PIN
D/AT      (  808): AT< OK
D/RILC    (  808): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED
{RADIO_SIM_LOCKED_OR_ABSENT}
I/RILJ    (   78): Connected to 'rild' socket
I/RILC    (  808): libril: new connection
D/RILC    (  808): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED
{RADIO_SIM_LOCKED_OR_ABSENT}
D/RILJ    (   78): wxy1
D/GSM     (   78): Notifying: radio available
D/RILJ    (   78): [0001]> SCREEN_STATE: true
D/RILJ    (   78): [0002]> OPERATOR
D/GSM     (   78): Notifying: SIM locked or absent
D/GSM     (   78): Notifying: Radio On

--~--~---------~--~----~------------~-------~--~----~



When SIM PIN is blocked, the ril can not function well.

by luodaliang » Thu, 12 Mar 2009 10:25:51 GMT


 D/RILJ    (   78): [UNSL]< RADIO_STATE_CHANGED SIM_LOCKED_OR_ABSENT
D/RILJ    (   78): [0003]> GPRS_REGISTRATION_STATE
D/RILJ    (   78): [0004]> REGISTRATION_STATE
D/RILJ    (   78): [0005]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (   78): [0006]> BASEBAND_VERSION
D/RILJ    (   78): [0007]> GET_IMEI
D/RILJ    (   78): [0008]> GET_IMEISV
D/RILJ    (   78): [0009]> GET_SIM_STATUS
D/RILJ    (   78): [0010]> QUERY_FACILITY_LOCK
I/RILC    (  808): RIL Daemon version: android reference-ril 1.0
D/RILJ    (   78): [0011]> GET_CURRENT_CALLS
D/RILC    (  808): [0001]> SCREEN_STATE (1)
D/RIL     (  808): onRequest: SCREEN_STATE
D/RILC    (  808): [0001]< SCREEN_STATE returns
E_REQUEST_NOT_SUPPORTED
D/RILJ    (   78): wxy0
D/RILJ    (   78): wxy1-6
D/RILJ    (   78): [0001]< SCREEN_STATE error:
com.android.internal.telephony.gsm.CommandException:
REQUEST_NOT_SUPPORTED
D/RILC    (  808): [0002]> OPERATOR
D/RIL     (  808): onRequest: OPERATOR
D/AT      (  808): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;
+COPS=3,2;+COPS?
D/AT      (  808): AT< +CME ERROR: 11
E/RIL     (  808): requestOperator must not return error when radio is
on
D/RILC    (  808): [0002]< OPERATOR returns E_GENERIC_FAILURE
D/RILJ    (   78): wxy0
D/RILJ    (   78): wxy2-2
D/RILJ    (   78): [0002]< OPERATOR error:
com.android.internal.telephony.gsm.CommandException: GENERIC_FAILURE
D/RILC    (  808): [0003]> GPRS_REGISTRATION_STATE
D/RIL     (  808): onRequest: GPRS_REGISTRATION_STATE
D/AT      (  808): AT> AT+CGREG?
E/GSM     (   78): RIL implementation has returned an error where it
must succeed
E/GSM     (   78):
com.android.internal.telephony.gsm.CommandException: GENERIC_FAILURE
E/GSM     (   78):      at
com.android.internal.telephony.gsm.RILRequest.onError(RIL.java:161)
E/GSM     (   78):      at
com.android.internal.telephony.gsm.RIL.processSolicited(RIL.java:1758)
E/GSM     (   78):      at
com.android.internal.telephony.gsm.RIL.processResponse(RIL.java:1712)
E/GSM     (   78):      at com.android.internal.telephony.gsm.RIL.access
$300(RIL.java:186)
E/GSM     (   78):      at com.android.internal.telephony.gsm.RIL
$RILReceiver.run(RIL.java:508)
E/GSM     (   78):      at java.lang.Thread.run(Thread.java:935)
D/AT      (  808): AT< +CME ERROR: 11
I/RILJ    (   78): 'rild' socket closed
I/RILJ    (   78): java.io.IOException: Connection reset by peer
I/RILJ    (   78):      at android.net.LocalSocketImpl.readba_native
(Native Method)
I/RILJ    (   78):      at android.net.LocalSocketImpl.access$400
(LocalSocketImpl.java:29)
I/RILJ    (   78):      at android.net.LocalSocketImpl
$SocketInputStream.read(LocalSocketImpl.java:92)
I/RILJ    (   78):      at
com.android.internal.telephony.gsm.RIL.readRilMessage(RIL.java:393)
I/RILJ    (   78):      at com.android.internal.telephony.gsm.RIL.access
$200(RIL.java:186)
I/RILJ    (   78):      at com.android.internal.telephony.gsm.RIL
$RILReceiver.run(RIL.java:495)
I/RILJ    (   78):      at java.lang.Thread.run(Thread.java:935)
I/RILJ    (   78): Disconnected from 'rild' socket
D/GSM     (   78): Notifying: radio not available
D/GSM     (   78): Notifying: radio off or not available
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Key capture background

Hi


I saw a post saying key capturing in the background is not possible ..
is this still the case? or was thre any recent changes to make this
happen ? I wonder why this capability is closed when there are lot of
genuine use cases. Is it possibel to do the same with some special
rights?.

-C

-- 

2. Can I change appwidget-provider XML 's android:initialLayout? How to do?

Hi all,

    Following was the appwidget-provider XML for my widget. About the
< android:initialLayout="@layout/sc1" >, how to change the "@layout/
sc1" value in activity(Java)? e.g. change the sc1 to sc2.
    From this , I hope my widget is more flexible to use different
layout.

<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:minWidth="150.0dip"
        android:minHeight="150.0dip"
        android:updatePeriodMillis="0"
        android:initialLayout="@layout/sc1"
        android:configure="com.test.runningtest.Setting"
        >
</appwidget-provider>

Thanks a lot!

-- 

3. How to disable USB tethering in android

4. Why ImageView doesn't show up inside ScrollView

5. Problem when dealing with multiple screen sizes

6. current distribution of platform versions update

7. need reference page for how to write a png from res/drawable to background as wallpaper