[HOWTO] Connect 3G Huawei USB Modem / New Hilink

Moderators: odroid, mdrjr

[HOWTO] Connect 3G Huawei USB Modem / New Hilink

Unread postby joerg » Sat Oct 03, 2015 4:48 am

After long time research I was now able to modify libreference-ril.so to get Huawei modem connected.
There is no need too use my app CallPPP anymore. Nevertheless I plan to make small widget to show state of connection, because the integration of libreference-ril is not 100%.

This is how to modify the system to get it work:
Install libreference-ril, chat, and apns-full-conf.xml, and optional usb_modeswitch.
(To get usb_modeswitch you can download PPPWidget apk from some apk download site and extract binary from folder /assets/bin-arm/)
ppp.zip
Initial version 0.1
(60.99 KiB) Downloaded 124 times


Code: Select all
adb remount
adb push libreference-ril.so /system/lib/
adb shell chmod 644 /system/lib/libreference-ril.so

adb push chat /system/bin/
adb shell chmod 755 /system/bin/chat
adb shell chown root:shell /system/bin/chat

adb push apns-full-conf.xml /etc/

adb reboot //or reboot later!


EDIT
Due to error: "This system lacks kernel support for PPP" need to give system right to pppd:
Code: Select all
chmod 6755 /system/bin/pppd

May there exist a better option, if somebody know please post here.
/EDIT

Modify init.odroidc.rc
Code: Select all
service ril-daemon /system/bin/rild #-l /system/lib/libaml-ril.so
    socket rild stream 660 root radio
    socket rild-debug stream 660 radio system
    user root
    group radio cache inet misc audio system
#    disabled

#script is not needed
#service pppd_gprs /system/bin/init-pppd.sh
#    user root
#    group radio net_admin cache inet misc system
#    disabled
#    oneshot

Modify ueventd.odroidc.rc
Code: Select all
/dev/ttyUSB*   0666    radio           radio

Check if it conflicts with gps. Gps port must be 0666 gps gps.

Modify build.prop:
Code: Select all
rild.libpath=/system/lib/libreference-ril.so
rild.libargs=-d /dev/ttyUSB1 # for E398 and E3276
#rild.libargs=-d /dev/ttyUSB2 # for E160
hw.nophone=false

Best practice is to modify these files inside adb shell with editor vi. So you won't modify permission and won't get into a bootloop!

Create files and put it to /etc/ppp/
ip-up
Code: Select all
#!/system/bin/sh
case $1 in
    ppp1)
   /android/bin/iptables --flush;
   /android/bin/iptables --table nat --flush;
   /android/bin/iptables --delete-chain;
   /android/bin/iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE;
   /android/bin/iptables --append FORWARD --in-interface ppp1 -j ACCEPT;
   echo 0 > /proc/sys/net/ipv4/ip_forward;
   echo 1 > /proc/sys/net/ipv4/ip_forward;
   ;;
    ppp0)
        /system/bin/setprop "net.interfaces.defaultroute" "gprs"
        ;;
esac

# Use interface name if linkname is not available
NAME=${LINKNAME:-"$1"}

/system/bin/setprop "net.$NAME.dns1" "$DNS1"
/system/bin/setprop "net.$NAME.dns2" "$DNS2"
/system/bin/setprop "net.$NAME.local-ip" "$IPLOCAL"
/system/bin/setprop "net.$NAME.remote-ip" "$IPREMOTE"
/system/bin/setprop "net.$NAME.gw" "$IPREMOTE"

#route add default gw 10.64.64.64 dev ppp0
/system/bin/ndc resolver setifdns ppp0 "" 8.8.8.8 8.8.4.4 10.64.64.64
/system/bin/ndc resolver setdefaultif ppp0

ip-down
Code: Select all
#!/system/bin/sh
case $1 in
    ppp1)
   echo 0 > /proc/sys/net/ipv4/ip_forward;
   ;;
esac

/system/bin/setprop "net.$LINKNAME.dns1" ""
/system/bin/setprop "net.$LINKNAME.dns2" ""
/system/bin/setprop "net.$LINKNAME.local-ip" ""
/system/bin/setprop "net.$LINKNAME.remote-ip" ""
/system/bin/setprop "net.$LINKNAME.gw" ""
/system/bin/setprop "net.$LINKNAME.if" ""

These files need correct permission
Code: Select all
chmod 755 ip-up
chmod 755 ip-down

provider.chat (example, remove the comments!)
Code: Select all
ABORT 'BUSY'
ABORT 'NO CARRIER'
ABORT 'VOICE'
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT 'DELAYED'
REPORT CONNECT
TIMEOUT 6
'' 'ATQ0'
'OK-AT-OK' 'ATZ'
TIMEOUT 3
#pin is not supported, switch off pin!
'OK\d-AT-OK' 'ATI'
'OK' 'ATZ'
'OK' 'ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0'#E160, E398
#'OK' 'ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0' #E3276
#apn is given by libreference-ril
'OK' 'ATDT*99***1#'
TIMEOUT 30
CONNECT ''


Make Huawei models E398 and E3276 working. They are not recognized by hotplug system.
Modify again init.odroidc.rc
Code: Select all
service usb_modeswitch /system/bin/usb_modeswitch -I -W -c /etc/usbmodeswitch.conf
    class main
    disabled
    oneshot

on property:dev.bootcomplete=1                                                 
    start usb_modeswitch

usbmodeswitch.conf
Code: Select all
DefaultVendor=0x12d1
DefaultProduct=0x1505 # for E398
#DefaultProduct=0x14fe for E3276
TargetVendor=0x12d1
MessageEndpoint=0x01
CheckSuccess=5
TargetProductList="1001,1406,140b,140c,1412,141b,14ac,1506"
MessageContent="55534243123456780000000000000011062000000100000000000000000000"

You can test it also at comand line (14fe is for Huawei E3276)
Code: Select all
usb_modeswitch -v 12d1 -p 14fe -M '55534243123456780000000000000011062000000100000000000000000000'

After some seconds there should be ports /dev/ttyUSB*

To get a data connection, wifi and eth must be switched off and data on.

I tested sms functionality.
Send a sms was possible, receive didn't work, don't know why.
To send a sms you would need a sms app, like I found here: https://github.com/slvn/android-aosp-mms. There is written, how to compile. You would need complete android source code.
Last edited by joerg on Fri Apr 21, 2017 7:02 pm, edited 3 times in total.
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby odroid » Sat Oct 03, 2015 1:37 pm

Thank you for very useful guide. :D
This post is STICKY now.
User avatar
odroid
Site Admin
 
Posts: 27730
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby deathscythe » Mon Oct 05, 2015 3:30 pm

Is it tested on odroid c1+? mine seems to hang
deathscythe
 
Posts: 40
Joined: Wed Sep 23, 2015 1:21 pm
languages_spoken: english
ODROIDs: c1+

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby deathscythe » Mon Oct 05, 2015 5:18 pm

my huawei is e372, is it compatible?
deathscythe
 
Posts: 40
Joined: Wed Sep 23, 2015 1:21 pm
languages_spoken: english
ODROIDs: c1+

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby joerg » Mon Oct 05, 2015 9:33 pm

Hi, I tested with E160, E3276 and E398. E398 made some trouble, I don't know if because old firmware or poor power supply.
Please do a lsusb, a ls -l /dev/ttyU*, a logcat -b radio, a logcat|grep ppp. Without any information I cannot say something.

<edit>
Try this command in adb shell when modem is connected:
Code: Select all
usb_modeswitch -v 12d1 -p 1505 -M '55534243123456780000000000000011062000000100000000000000000000'

After you should see some ttyUSB* ports. Remember, you have also GPS that links to ttyUSB0, as I wrote, you must look, if there is conflict. If so, please connect your gps after, so you will get another ttyUSB for gps. ttyUSB0 must be for libreference-ril. I think for E372 you have to make the same settings as for E398.
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby deathscythe » Wed Oct 07, 2015 3:07 pm

Here is the output:
lsusb
Code: Select all
Bus 001 Device 002: ID 05e3:0610
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0002
Bus 001 Device 006: ID 12d1:1506
Bus 001 Device 004: ID 1a2c:0c23
Bus 001 Device 003: ID 13ee:0001


ls -l /dev/ttyU*
Code: Select all
crw-rw-rw- radio    radio    188,   0 1970-01-02 08:15 ttyUSB0
crw-rw-rw- radio    radio    188,   1 1970-01-02 08:00 ttyUSB1
crw-rw-rw- radio    radio    188,   2 1970-01-02 08:00 ttyUSB2
crw-rw-rw- radio    radio    188,   3 1970-01-02 08:00 ttyUSB3
crw-rw-rw- radio    radio    188,   4 1970-01-02 08:00 ttyUSB4


logcat -b radio
Code: Select all
D/RIL     (  117): Opening tty device /dev/ttyUSB0
E/RILC    (  117): RIL_register: RIL version 9
D/TelephonyManager(  118): No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied)
D/TelephonyManager(  118): /proc/cmdline=
D/TelephonyManager(  730): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
I/PhoneFactory(  730): Network Mode set to 0
I/PhoneFactory(  730): Cdma Subscription set to 1
D/RILJ    (  730): RIL(context, preferredNetworkType=0 cdmaSubscription=1)
D/RILJ    (  730): Starting RILReceiver
D/UiccController(  730): Creating UiccController
I/PhoneFactory(  730): Creating GSMPhone
I/RILJ    (  730): Connected to 'rild' socket
I/RILC    (  117): libril: new connection
D/RILJ    (  730): [UNSL]< UNSOL_RIL_CONNECTED {9}
D/RILJ    (  730): [3648]> RADIO_POWER off
I/RILC    (  117): RIL Daemon version: android reference-ril (minimal huawei 0.1 mod by j.w.)
D/RILJ    (  730): [3649]> REQUEST_SET_PREFERRED_NETWORK_TYPE : 0
D/RIL     (  117): onRequest: RADIO_POWER
D/RILJ    (  730): [3650]> RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE : 1
D/RILJ    (  730): setCellInfoListRate: 2147483647
D/RILJ    (  730): [3651]> RIL_REQUEST_SET_CELL_INFO_LIST_RATE
D/RIL     (  117): onRequest: SET_PREFERRED_NETWORK_TYPE
D/RIL     (  117): onRequest: CDMA_SET_SUBSCRIPTION_SOURCE
D/RILJ    (  730): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_UNAVAILABLE
D/RilRequest(  730): [3648]< RADIO_POWER error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE ret=
D/RilRequest(  730): [3649]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE ret=
D/RilRequest(  730): [3650]< RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE ret=
D/RIL     (  117): onRequest: SET_UNSOL_CELL_INFO_LIST_RATE
D/RilRequest(  730): [3651]< RIL_REQUEST_SET_CELL_INFO_LIST_RATE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE ret=
D/TelephonyTester(  730): register for intent action=com.android.internal.telephony.gsm.action_detached
D/TelephonyTester(  730): register for intent action=com.android.internal.telephony.gsm.action_attached
D/PhoneBase(  730): mDoesRilSendMultipleCallRing=true
D/PhoneBase(  730): mCallRingDelay=3000
D/RILJ    (  730): setPhoneType=1 old value=0
D/DCT     (  730): DCT.constructor
D/Dcc     (  730): E ctor
D/Dcc     (  730): X ctor
D/DcTesterFailBrinupAll(  730): register for intent action=com.android.internal.telephony.dataconnection.action_fail_bringup
D/DcTesterFailBrinupAll(  730): register for intent action=com.android.internal.telephony.gsm.action_detached
D/DcTesterFailBrinupAll(  730): register for intent action=com.android.internal.telephony.gsm.action_attached
D/DCT     (  730): GsmDCT.constructor
D/DcTesterDeacativeAll(  730): register for intent action=com.android.internal.telephony.dataconnection.action_deactivate_all
D/DcTesterDeacativeAll(  730): register for intent action=com.android.internal.telephony.gsm.action_detached
D/DCT     (  730): initApnContexts: E
D/DCT     (  730): initApnContexts: skipping unknown type=1
D/DCT     (  730): initApnContexts: apnContext={mApnType=default mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataEnabled mDataEnabled=true mDependencyMet=true}
D/DCT     (  730): initApnContexts: skipping unknown type=13
D/DCT     (  730): initApnContexts: skipping unknown type=9
D/DCT     (  730): initApnContexts: skipping unknown type=15
D/DCT     (  730): initApnContexts: X mApnContexts={default={mApnType=default mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataEnabled mDataEnabled=true mDependencyMet=true}}
D/Dcc     (  730): DccDefaultState: msg.what=EVENT_RIL_CONNECTED mRilVersion=9
E/RIL_ImsSms(  730): getFormat should never be called from here!
D/SMSDispatcher(  730): SMSDispatcher: ctor mSmsCapable=true format=unknown mSmsSendDisabled=false
D/RIL_ImsSms(  730): ImsSMSDispatcher created
D/SMSDispatcher(  730): SMSDispatcher: ctor mSmsCapable=true format=3gpp2 mSmsSendDisabled=false
D/CdmaSMSDispatcher(  730): CdmaSMSDispatcher created
V/WAP PUSH(  730): bindService() for wappush manager succeeded
D/GsmInboundSmsHandler(  730): created InboundSmsHandler
V/WAP PUSH(  730): bindService() for wappush manager succeeded
D/CdmaInboundSmsHandler(  730): created InboundSmsHandler
D/SMSDispatcher(  730): SMSDispatcher: ctor mSmsCapable=true format=3gpp mSmsSendDisabled=false
D/GsmSMSDispatcher(  730): GsmSMSDispatcher created
D/IccCardProxy(  730): Creating
D/SmsBroadcastUndelivered(  730): scanning raw table for undelivered messages
D/IccCardProxy(  730): Broadcasting intent ACTION_SIM_STATE_CHANGED NOT_READY reason null
D/IccCardProxy(  730): Setting radio tech UMTS
D/TelephonyManager(  730): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
D/IccCardProxy(  730): updateQuietMode: 3GPP subscription -> newQuietMode=false
D/IccCardProxy(  730): updateQuietMode: QuietMode is false (app_type=1 isLteOnCdmaMode=false cdmaSource=-1)
I/PhoneFactory(  730): defaultSmsApplication: NONE
D/CallManager(  730): registerPhone(GSM Handler (com.android.internal.telephony.PhoneProxy) {419a2580})
D/SmsBroadcastUndelivered(  730): finished scanning raw table in 95 ms
D/GsmInboundSmsHandler(  730): entering Idle state
D/CdmaInboundSmsHandler(  730): entering Idle state
D/RILJ    (  730): [3652]> GET_CURRENT_CALLS
D/PHONE   (  730): [ServiceState] setNullState=1
D/GsmSST  (  730): [GsmSST] Poll ServiceState done:  oldSS=[1 1 home null null null  Unknown Unknown CSS not supported 0 0 RoamInd=0 DefRoamInd=0 EmergOnly=false] newSS=[1 1 home null null null  Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] oldMaxDataCalls=1 mNewMaxDataCalls=1 oldReasonDataDenied=-1 mNewReasonDataDenied=-1
D/PHONE   (  730): [ServiceState] setNullState=1
D/GsmSST  (  730): [GsmSST] updateSpnDisplay: radio is on but out of service, set plmn='No service.'
D/GsmSST  (  730): [GsmSST] updateSpnDisplay: changed sending intent rule=0 showPlmn='true' plmn='No service.' showSpn='false' spn=''
D/RIL     (  117): onRequest: GET_CURRENT_CALLS
D/RilRequest(  730): [3652]< GET_CURRENT_CALLS error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE ret=
D/GsmSST  (  730): [GsmSST] operatorNumeric is null
D/DCT     (  730): handleMessage msg={ when=-369ms what=270369 obj=android.os.AsyncResult@419bce98 target=com.android.internal.telephony.dataconnection.DcTracker }
D/DCT     (  730): handleMessage msg={ when=-359ms what=270342 obj=android.os.AsyncResult@419c1c70 target=com.android.internal.telephony.dataconnection.DcTracker }
D/DCT     (  730): onRadioOffOrNotAvailable: is off and clean up all connections
D/DCT     (  730): cleanUpAllConnections: tearDown=false reason=radioTurnedOff
D/DCT     (  730): cleanUpConnection: E tearDown=false reason=radioTurnedOff apnContext={mApnType=default mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=radioTurnedOff mDataEnabled=true mDependencyMet=true}
D/DCT     (  730): isDataAllowed: not allowed due to - Attached= false - SIM not loaded
D/DCT     (  730): [ApnContext:default] getApnSetting: apnSetting=null
D/DCT     (  730): cleanUpConnection: X tearDown=false reason=radioTurnedOff apnContext={mApnType=default mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=radioTurnedOff mDataEnabled=true mDependencyMet=true} dcac=null
D/DCT     (  730): stopNetStatPoll
D/DCT     (  730): stopDataStallAlarm: current tag=24186 mDataStallAlarmIntent=null
D/DCT     (  730): isDataAllowed: not allowed due to - Attached= false - SIM not loaded
D/DCT     (  730): [ApnContext:default] getApnSetting: apnSetting=null
D/DCT     (  730): handleMessage msg={ when=-363ms what=270345 obj=android.os.AsyncResult@419c1f00 target=com.android.internal.telephony.dataconnection.DcTracker }
D/DCT     (  730): onDataConnectionDetached: stop polling and notify detached
D/DCT     (  730): stopNetStatPoll
D/DCT     (  730): stopDataStallAlarm: current tag=24187 mDataStallAlarmIntent=null
D/DCT     (  730): notifyDataConnection: reason=dataDetached
D/DCT     (  730): isDataAllowed: not allowed due to - Attached= false - SIM not loaded
D/DCT     (  730): [ApnContext:default] getApnSetting: apnSetting=null
D/DCT     (  730): handleMessage msg={ when=-367ms what=270348 obj=android.os.AsyncResult@419c2058 target=com.android.internal.telephony.dataconnection.DcTracker }
D/DCT     (  730): onRoamingOff
D/DCT     (  730): isDataAllowed: not allowed due to - Attached= false - SIM not loaded
D/DCT     (  730): [ApnContext:default] getApnSetting: apnSetting=null
D/DCT     (  730): setupDataOnConnectableApns: roamingOff
D/DCT     (  730): setupDataOnConnectableApns: apnContext {mApnType=default mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=radioTurnedOff mDataEnabled=true mDependencyMet=true}
D/DCT     (  730): setupDataOnConnectableApns: isConnectable() call trySetupData
D/DCT     (  730): trySetupData for type:default due to roamingOff apnContext={mApnType=default mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=roamingOff mDataEnabled=true mDependencyMet=true}
D/DCT     (  730): trySetupData with mIsPsRestricted=false
D/DCT     (  730): isDataAllowed: not allowed due to - Attached= false - SIM not loaded
D/DCT     (  730): isDataAllowed: not allowed due to - Attached= false - SIM not loaded
D/DCT     (  730): [ApnContext:default] getApnSetting: apnSetting=null
D/DCT     (  730): trySetupData: X apnContext not 'ready' retValue=false
D/DebugService(  730): DebugService DebugService:
V/WAP PUSH(  730): wappush manager connected to 1100797536
V/WAP PUSH(  730): wappush manager connected to 1100789784
D/SipService(  730): SipService: started!
D/SipService(  730): start:
D/SipBroadcastReceiver(  730): onReceive: start auto registration
D/GsmCellBroadcastHandler(  730): mWakeLock released
D/CellBroadcastHandler(  730): mWakeLock released
D/CdmaServiceCategoryProgramHandler(  730): mWakeLock released
D/GsmInboundSmsHandler(  730): Idle state processing message type 5
D/CdmaInboundSmsHandler(  730): Idle state processing message type 5
D/GsmInboundSmsHandler(  730): mWakeLock released
D/CdmaInboundSmsHandler(  730): mWakeLock released
D/RIL     (  117): setRadioState(0)
D/AT      (  117): AT> ATE0Q0V1
D/RILJ    (  730): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_OFF
D/RILJ    (  730): [3653]> RADIO_POWER on
D/PHONE   (  730): [ServiceState] setNullState=3
D/RILJ    (  730): [3654]> SCREEN_STATE: true
D/GsmSST  (  730): [GsmSST] Poll ServiceState done:  oldSS=[1 1 home null null null  Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] newSS=[3 3 home null null null  Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] oldMaxDataCalls=1 mNewMaxDataCalls=1 oldReasonDataDenied=-1 mNewReasonDataDenied=-1
D/PHONE   (  730): [ServiceState] setNullState=1
D/GsmSST  (  730): [GsmSST] updateSpnDisplay: radio is off w/ showPlmn=false plmn=null
D/GsmSST  (  730): [GsmSST] updateSpnDisplay: changed sending intent rule=0 showPlmn='false' plmn='null' showSpn='false' spn=''
D/AT      (  117): AT< ATE0Q0V1
D/RIL     (  117): onUnsolicited() exit
D/AT      (  117): AT< OK
D/GsmSST  (  730): [GsmSST] operatorNumeric is null
D/GsmSST  (  730): [GsmSST] notifyDataRegStateRilRadioTechnologyChanged: drs=3 rat=0
D/DCT     (  730): get all active apn types
D/DCT     (  730): handleMessage msg={ when=-7ms what=270337 obj=android.os.AsyncResult@419f3168 target=com.android.internal.telephony.dataconnection.DcTracker }
D/DCT     (  730): onRadioAvailable
D/DCT     (  730): overall state is IDLE
D/RILJ    (  730): [3655]> BASEBAND_VERSION
D/RILJ    (  730): [3656]> GET_IMEI
D/RILJ    (  730): [3657]> GET_IMEISV
D/RIL     (  117): query_ctec. current: -1226515288, preferred: -1226515284
D/AT      (  117): AT> AT+CTEC?
D/AT      (  117): AT< ERROR
D/AT      (  117): at_send_command_singleline: err: 0
E/RIL     (  117): Error executing command: 0. response: b70be9e0. status: 0
D/AT      (  117): AT> AT+WNAM
D/AT      (  117): AT< ERROR
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): Found GSM Modem
D/AT      (  117): AT> ATE0Q0V1
D/AT      (  117): AT< OK
D/AT      (  117): AT> ATS0=0
D/AT      (  117): AT< OK
D/AT      (  117): AT> AT+CMEE=1
D/AT      (  117): AT< OK
D/AT      (  117): AT> AT+CREG=2
D/AT      (  117): AT< OK
D/AT      (  117): AT> AT+CGREG=1
D/AT      (  117): AT< OK
D/AT      (  117): AT> AT+CCWA=1
D/AT      (  117): AT< OK
D/AT      (  117): AT> AT+CMOD=0
D/AT      (  117): AT< OK
D/AT      (  117): AT> AT+CMUT=0
D/AT      (  117): AT< ERROR
D/AT      (  117): AT> AT+CSSN=0,1
D/AT      (  117): AT< OK
D/AT      (  117): AT> AT+COLP=0
D/AT      (  117): AT< OK
D/AT      (  117): AT> AT+CSCS="HEX"
D/AT      (  117): AT< ERROR
D/AT      (  117): AT> AT+CUSD=1
D/AT      (  117): AT< OK
D/AT      (  117): AT> AT+CGEREP=1,0
D/AT      (  117): AT< OK
D/AT      (  117): AT> AT+CMGF=0
D/AT      (  117): AT< OK
D/AT      (  117): AT> AT+CFUN?
D/AT      (  117): AT< +CFUN: 1
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): isRadioOn(): at_tok_start
D/RIL     (  117): isRadioOn(): at_tok_nextbool
D/RIL     (  117): isRadioOn(): ret 1
D/RIL     (  117): setRadioState(10)
D/RIL     (  117): pollSIMState(): SIM NOT READY (1)
D/RIL     (  117): onRequest: RADIO_POWER
D/RILJ    (  730): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_ON
D/RIL     (  117): onRequest: SCREEN_STATE
D/RIL     (  117): Request not supported. Tech: 1
D/RIL     (  117): onRequest: BASEBAND_VERSION
D/RIL     (  117): Request not supported. Tech: 1
D/RIL     (  117): onRequest: GET_IMEI
D/AT      (  117): AT> AT+CGSN
D/RILJ    (  730): [3653]< RADIO_POWER
D/RILJ    (  730): [3658]> OPERATOR
D/RilRequest(  730): [3654]< SCREEN_STATE error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
D/RILJ    (  730): [3659]> DATA_REGISTRATION_STATE
D/RILJ    (  730): [3660]> VOICE_REGISTRATION_STATE
D/RILJ    (  730): [3661]> QUERY_NETWORK_SELECTION_MODE
D/UiccController(  730): Received EVENT_ICC_STATUS_CHANGED, calling getIccCardStatus
D/RILJ    (  730): [3662]> GET_SIM_STATUS
D/RILJ    (  730): [3663]> GET_CURRENT_CALLS
D/RILJ    (  730): [3664]> RIL_REQUEST_IMS_REGISTRATION_STATE
D/RILJ    (  730): [3665]> RIL_REQUEST_VOICE_RADIO_TECH
D/RILJ    (  730): [3666]> RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE
D/RilRequest(  730): [3655]< BASEBAND_VERSION error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
D/AT      (  117): AT< 353147041159106
D/AT      (  117): AT< OK
D/RIL     (  117): onRequest: GET_IMEISV
D/RIL     (  117): Request not supported. Tech: 1
D/RIL     (  117): onRequest: OPERATOR
D/AT      (  117): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/RILJ    (  730): [3656]< GET_IMEI
D/RilRequest(  730): [3657]< GET_IMEISV error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
D/AT      (  117): AT< +COPS: 0
D/AT      (  117): AT< +COPS: 0
D/AT      (  117): AT< +COPS: 0
D/AT      (  117): AT< OK
D/RIL     (  117): onRequest: DATA_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CGREG?
D/RILJ    (  730): [3658]< OPERATOR {null, null, null}
D/AT      (  117): AT< +CGREG: 1,0
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CGREG: 1,0
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: VOICE_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CREG?
D/RILJ    (  730): [3659]< DATA_REGISTRATION_STATE {0, ffffffff, ffffffff, null, null, null}
E/GsmSST  (  730): [GsmSST] error parsing GprsRegistrationState: java.lang.NumberFormatException: Invalid int: "null"
D/PHONE   (  730): [ServiceState] setDataRegState=1
D/PHONE   (  730): [ServiceState] setDataRadioTechnology=0
D/GsmSST  (  730): [GsmSST] handlPollStateResultMessage: GsmSST setDataRegState=1 regState=0 dataRadioTechnology=0
D/AT      (  117): AT< +CREG: 2,0
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CREG: 2,0
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: QUERY_NETWORK_SELECTION_MODE
D/AT      (  117): AT> AT+COPS?
D/RILJ    (  730): [3660]< VOICE_REGISTRATION_STATE {0, ffffffff, ffffffff, null, null, null, null, null, null, null, null, null, null, null, null}
E/GsmSST  (  730): [GsmSST] error parsing RegistrationState: java.lang.NumberFormatException: Invalid int: "ffffffff"
D/PHONE   (  730): [ServiceState] setVoiceRegState=1
E/PHONE   (  730): [ServiceState] setState deprecated use setVoiceRegState()
D/AT      (  117): AT< +COPS: 0
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: GET_SIM_STATUS
D/RIL     (  117): getSIMStatus(). sState: 10
D/AT      (  117): AT> AT+CPIN?
D/RILJ    (  730): [3661]< QUERY_NETWORK_SELECTION_MODE {0}
D/GsmSST  (  730): [GsmSST] Poll ServiceState done:  oldSS=[3 3 home null null null  Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] newSS=[1 1 home null null null  Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] oldMaxDataCalls=1 mNewMaxDataCalls=1 oldReasonDataDenied=-1 mNewReasonDataDenied=-1
D/PHONE   (  730): [ServiceState] setNullState=1
D/GsmSST  (  730): [GsmSST] updateSpnDisplay: radio is on but out of service, set plmn='No service.'
D/GsmSST  (  730): [GsmSST] updateSpnDisplay: changed sending intent rule=0 showPlmn='true' plmn='No service.' showSpn='false' spn=''
D/AT      (  117): AT< +CPIN: READY
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): getSIMStatus(): CME_SUCCESS
D/RIL     (  117): getSIMStatus(): SIM_READY
D/RIL     (  117): onRequest: GET_CURRENT_CALLS
D/AT      (  117): AT> AT+CLCC
D/RILJ    (  730): [3662]< GET_SIM_STATUS IccCardState {CARDSTATE_PRESENT,PINSTATE_UNKNOWN,num_apps=2,gsm_id=0{APPTYPE_SIM,APPSTATE_READY},cdma_id=1{APPTYPE_RUIM,APPSTATE_READY},ims_id=8}
D/GsmSST  (  730): [GsmSST] operatorNumeric is null
D/GsmSST  (  730): [GsmSST] notifyDataRegStateRilRadioTechnologyChanged: drs=1 rat=0
D/DCT     (  730): get all active apn types
D/UiccController(  730): Received EVENT_GET_ICC_STATUS_DONE
D/UiccCard(  730): Creating
D/UiccCard(  730): 2 applications
D/UiccCardApplication(  730): Creating UiccApp: {APPTYPE_SIM,APPSTATE_READY}
D/AT      (  117): AT< OK
D/RIL     (  117): onRequest: IMS_REGISTRATION_STATE
D/RIL     (  117): IMS_REGISTRATION=0, format=1
D/RIL     (  117): onRequest: VOICE_RADIO_TECH
D/RIL     (  117): onRequest: CDMA_GET_SUBSCRIPTION_SOURCE
D/RIL     (  117): Request not supported. Tech: 1
D/RILJ    (  730): [3663]< GET_CURRENT_CALLS 
D/RILJ    (  730): [3664]< RIL_REQUEST_IMS_REGISTRATION_STATE {0, 1}
D/RILJ    (  730): [3665]< RIL_REQUEST_VOICE_RADIO_TECH {11}
D/RilRequest(  730): [3666]< RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
W/VoiceMailConstants(  730): Can't open /system/etc/voicemail-conf.xml
W/SpnOverride(  730): Can not open /system/etc/spn-conf.xml
D/SIMRecords(  730): [SIMRecords] SIMRecords: onRadioOffOrNotAvailable set 'gsm.sim.operator.numeric' to operator=null
D/UiccCardApplication(  730): Notifying 1 registrant: READY
D/SIMRecords(  730): [SIMRecords] getOperatorNumeric: IMSI == null
D/SIMRecords(  730): [SIMRecords] SIMRecords X ctor this=SimRecords: mDestroyed=false mContext=com.android.phone.PhoneGlobals@41998d48 mCi=com.android.internal.telephony.RIL@4199d180 mFh=Handler (com.android.internal.telephony.uicc.SIMFileHandler) {41a03208} mParentApp=com.android.internal.telephony.uicc.UiccCardApplication@41a02118 recordsLoadedRegistrants=android.os.RegistrantList@41a05cc0 mImsiReadyRegistrants=android.os.RegistrantList@41a05ce8 mRecordsEventsRegistrants=android.os.RegistrantList@41a05d10 mNewSmsRegistrants=android.os.RegistrantList@41a05d38 mNetworkSelectionModeAutomaticRegistrants=android.os.RegistrantList@41a05d60 recordsToLoad=0 adnCache=Handler (com.android.internal.telephony.uicc.AdnRecordCache) {41a05e60} recordsRequested=false iccid=null msisdn=null msisdnTag=null voiceMailNum=null voiceMailTag=null newVoiceMailNum=null newVoiceMailTag=null isVoiceMailFixed=false countVoiceMessages=0 mImsi=null mncLength=-1 mailboxIndex=0 spn=null mVmConfigcom.android.internal.telephony.uicc.VoiceMailConstants@41a06610 mSpnOverride=mSpnOverride callForwardingEnabled=false spnState=null mCphsInfo=null mCspPlmnEnabled=true efMWIS=null efCPHS_MWI=null mEfCff=null mEfCfis=null getOperatorNumeric=null
D/RILJ    (  730): [3667]> QUERY_FACILITY_LOCK [FD 7 null]
D/RIL     (  117): onRequest: QUERY_FACILITY_LOCK
D/RIL     (  117): Request not supported. Tech: 1
D/RILJ    (  730): [3668]> QUERY_FACILITY_LOCK [SC 7 null]
D/UiccCardApplication(  730): Creating UiccApp: {APPTYPE_RUIM,APPSTATE_READY}
D/RIL     (  117): onRequest: QUERY_FACILITY_LOCK
D/RilRequest(  730): [3667]< QUERY_FACILITY_LOCK error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
D/RIL     (  117): Request not supported. Tech: 1
D/RilRequest(  730): [3668]< QUERY_FACILITY_LOCK error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
D/UiccCardApplication(  730): Notifying 1 registrant: READY
D/RuimRecords(  730): [RuimRecords] RuimRecords X ctor this=RuimRecords: mDestroyed=false mContext=com.android.phone.PhoneGlobals@41998d48 mCi=com.android.internal.telephony.RIL@4199d180 mFh=Handler (com.android.internal.telephony.uicc.RuimFileHandler) {41a02660} mParentApp=com.android.internal.telephony.uicc.UiccCardApplication@41a019d0 recordsLoadedRegistrants=android.os.RegistrantList@419963d0 mImsiReadyRegistrants=android.os.RegistrantList@4198a798 mRecordsEventsRegistrants=android.os.RegistrantList@419885f8 mNewSmsRegistrants=android.os.RegistrantList@4197f138 mNetworkSelectionModeAutomaticRegistrants=android.os.RegistrantList@419c5950 recordsToLoad=0 adnCache=Handler (com.android.internal.telephony.uicc.AdnRecordCache) {419d5420} recordsRequested=false iccid=null msisdn=null msisdnTag=null voiceMailNum=null voiceMailTag=null newVoiceMailNum=null newVoiceMailTag=null isVoiceMailFixed=false countVoiceMessages=0 mImsi=null mncLength=-1 mailboxIndex=0 spn=null m_ota_commitedfalse mMyMobileNumber=xxxx mMin2Min1=null mPrlVersion=null mEFpl=null mEFli=null mCsimSpnDisplayCondition=false mMdn=null mMin=null mHomeSystemId=null mHomeNetworkId=null
D/RILJ    (  730): [3669]> QUERY_FACILITY_LOCK [FD 7 null]
D/RILJ    (  730): [3670]> QUERY_FACILITY_LOCK [SC 7 null]
D/RIL     (  117): onRequest: QUERY_FACILITY_LOCK
D/RIL     (  117): Request not supported. Tech: 1
D/RIL     (  117): onRequest: QUERY_FACILITY_LOCK
D/RIL     (  117): Request not supported. Tech: 1
D/RilRequest(  730): [3669]< QUERY_FACILITY_LOCK error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
D/RilRequest(  730): [3670]< QUERY_FACILITY_LOCK error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
D/UiccCardApplication(  730): Notifying 1 registrant: READY
D/CAT     (  730): CatService: Running CAT service. STK app installed:false
D/CAT     (  730): CatService: NEW sInstance
E/UiccCard(  730): App index 8 is invalid since there are no applications
D/UiccCard(  730): update: radioState=RADIO_ON mLastRadioState=RADIO_UNAVAILABLE
D/UiccController(  730): Notifying IccChangedRegistrants
D/RIL_ImsSms(  730): IMS is NOT registered!
D/PhoneProxy(  730): [PhoneProxy] EVENT_REQUEST_VOICE_RADIO_TECH_DONE: newVoiceTech=11
D/PhoneProxy(  730): [PhoneProxy] phoneObjectUpdater: newVoiceRadioTech=11
D/PhoneProxy(  730): [PhoneProxy] phoneObjectUpdater: No change ignore, newVoiceRadioTech=11 mActivePhone=GSM
D/CdmaSSM (  730): CDMA_SUBSCRIPTION_SOURCE event = 2
W/CdmaSSM (  730): Unable to get CDMA Subscription Source, Exception: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED, result: null
D/SIMRecords(  730): [SIMRecords] fetchSimRecords 0
D/RILJ    (  730): [3671]> getIMSI: GET_IMSI aid: null
D/RIL     (  117): onRequest: GET_IMSI
D/RILJ    (  730): [3672]> iccIO: SIM_IO 0xc0 0x2fe2  path: 3F00,0,0,15 aid: null
D/AT      (  117): AT> AT+CIMI
D/RILJ    (  730): [3673]> iccIO: SIM_IO 0xc0 0x6f40  path: 3F007F10,0,0,15 aid: null
D/RILJ    (  730): [3674]> iccIO: SIM_IO 0xc0 0x6fc9  path: 3F007F20,0,0,15 aid: null
D/RILJ    (  730): [3675]> iccIO: SIM_IO 0xc0 0x6fad  path: 3F007F20,0,0,15 aid: null
D/RILJ    (  730): [3676]> iccIO: SIM_IO 0xc0 0x6fca  path: 3F007F20,0,0,15 aid: null
D/RILJ    (  730): [3677]> iccIO: SIM_IO 0xc0 0x6f11  path: 3F007F20,0,0,15 aid: null
D/RILJ    (  730): [3678]> iccIO: SIM_IO 0xc0 0x6fcb  path: 3F007F20,0,0,15 aid: null
D/RILJ    (  730): [3679]> iccIO: SIM_IO 0xc0 0x6f13  path: 3F007F20,0,0,15 aid: null
D/RILJ    (  730): [3680]> iccIO: SIM_IO 0xc0 0x6f46  path: 3F007F20,0,0,15 aid: null
D/RILJ    (  730): [3681]> iccIO: SIM_IO 0xc0 0x6fcd  path: 3F007F20,0,0,15 aid: null
D/RILJ    (  730): [3682]> iccIO: SIM_IO 0xc0 0x6fc5  path: 3F007F20,0,0,15 aid: null
D/RILJ    (  730): [3683]> iccIO: SIM_IO 0xc0 0x6f38  path: 3F007F20,0,0,15 aid: null
D/RILJ    (  730): [3684]> iccIO: SIM_IO 0xc0 0x6f16  path: 3F007F20,0,0,15 aid: null
D/RILJ    (  730): [3685]> iccIO: SIM_IO 0xc0 0x6f15  path: 3F007F20,0,0,15 aid: null
D/RILJ    (  730): [3686]> iccIO: SIM_IO 0xc0 0x6f3e  path: 3F007F20,0,0,15 aid: null
D/SIMRecords(  730): [SIMRecords] fetchSimRecords 16 requested: true
D/UiccCardApplication(  730): Error in querying facility lock:com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
D/UiccCardApplication(  730): Error in querying facility lock:com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
D/RuimRecords(  730): [RuimRecords] fetchRuimRecords 0
D/RILJ    (  730): [3687]> getIMSI: GET_IMSI aid: null
D/RILJ    (  730): [3688]> iccIO: SIM_IO 0xc0 0x2fe2  path: 3F00,0,0,15 aid: null
D/RILJ    (  730): [3689]> iccIO: SIM_IO 0xc0 0x2f05  path: 3F00,0,0,15 aid: null
D/RILJ    (  730): [3690]> iccIO: SIM_IO 0xc0 0x6f3a  path: 3F007F25,0,0,15 aid: null
D/RILJ    (  730): [3691]> iccIO: SIM_IO 0xc0 0x6f41  path: 3F007F25,0,0,15 aid: null
D/RILJ    (  730): [3692]> iccIO: SIM_IO 0xc0 0x6f44  path: 3F007F25,0,0,15 aid: null
D/RILJ    (  730): [3693]> iccIO: SIM_IO 0xc0 0x6f22  path: 3F007F25,0,0,15 aid: null
D/RILJ    (  730): [3694]> iccIO: SIM_IO 0xc0 0x6f28  path: 3F007F25,0,0,15 aid: null
D/RILJ    (  730): [3695]> iccIO: SIM_IO 0xb0 0x6f5a  path: 3F007F25,0,0,4 aid: null
D/RuimRecords(  730): [RuimRecords] fetchRuimRecords 9 requested: true
D/RILJ    (  730): [3696]> RIL_REQUEST_CDMA_SUBSCRIPTION
D/UiccCardApplication(  730): Error in querying facility lock:com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
D/UiccCardApplication(  730): Error in querying facility lock:com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
D/CAT     (  730): CatService: SIM ready. Reporting STK service running now...
D/RILJ    (  730): [3697]> RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING
D/GSMPhone(  730): [GSMPhone] New Uicc application found
D/GsmSST  (  730): [GsmSST] New card found
D/UiccCardApplication(  730): Notifying 1 registrant: READY
D/DCT     (  730): handleMessage msg={ when=-20ms what=270369 obj=android.os.AsyncResult@41a02030 target=com.android.internal.telephony.dataconnection.DcTracker }
D/DCT     (  730): New records found
D/GsmSMSDispatcher(  730): New Uicc application found
D/IccCardProxy(  730): Icc changed. Reregestering.
D/UiccCardApplication(  730): Notifying 1 registrant: READY
D/IccCardProxy(  730): Broadcasting intent ACTION_SIM_STATE_CHANGED READY reason null
D/RILJ    (  730): setCurrentPreferredNetworkType: 0
D/RILJ    (  730): [3698]> REQUEST_SET_PREFERRED_NETWORK_TYPE : 0
D/RILJ    (  730): [3699]> SET_NETWORK_SELECTION_AUTOMATIC
D/RILJ    (  730): [3700]> OPERATOR
D/RILJ    (  730): [3701]> DATA_REGISTRATION_STATE
D/RILJ    (  730): [3702]> VOICE_REGISTRATION_STATE
D/RILJ    (  730): [3703]> QUERY_NETWORK_SELECTION_MODE
D/AT      (  117): AT< 515033401019278
D/AT      (  117): AT< OK
D/RIL     (  117): onRequest: SIM_IO
D/RILJ    (  730): [3671]< GET_IMSI
D/AT      (  117): AT> AT+CRSM=192,12258,0,0,15
D/SIMRecords(  730): [SIMRecords] IMSI: xxxxxxx
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 15 requested: true
D/IccCardProxy(  730): Broadcasting intent ACTION_SIM_STATE_CHANGED IMSI reason null
D/AT      (  117): AT< +CRSM: 144,0,"62178202412183022FE28A01058B03"
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28480,0,0,15
D/RILJ    (  730): [3672]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 14 requested: true
D/AT      (  117): AT< +CRSM: 144,0,"621982054221001C0183026F408A01"
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28617,0,0,15
D/RILJ    (  730): [3673]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/SIMRecords(  730): [SIMRecords] Invalid or missing EF[MSISDN]
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 13 requested: true
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28589,0,0,15
D/RILJ    (  730): [3674]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
D/RILJ    (  730): [3704]> iccIO: SIM_IO 0xc0 0x6f17  path: 3F007F20,0,0,15 aid: null
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 13 requested: true
D/AT      (  117): AT< +CRSM: 144,0,"62178202412183026FAD8A01058B03"
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28618,0,0,15
D/RILJ    (  730): [3675]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 12 requested: true
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28433,0,0,15
D/RILJ    (  730): [3676]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 11 requested: true
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28619,0,0,15
D/RILJ    (  730): [3677]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 10 requested: true
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28435,0,0,15
D/RILJ    (  730): [3678]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 9 requested: true
D/AT      (  117): AT< +CREG: 2
D/RIL     (  117): onUnsolicited() exit
D/AT      (  117): AT< +CGREG: 2
D/RIL     (  117): onUnsolicited() exit
D/RILJ    (  730): [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
D/RILJ    (  730): [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
D/RILJ    (  730): [3705]> OPERATOR
D/RILJ    (  730): [3706]> DATA_REGISTRATION_STATE
D/RILJ    (  730): [3707]> VOICE_REGISTRATION_STATE
D/RILJ    (  730): [3708]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  730): [3709]> OPERATOR
D/RILJ    (  730): [3710]> DATA_REGISTRATION_STATE
D/RILJ    (  730): [3711]> VOICE_REGISTRATION_STATE
D/RILJ    (  730): [3712]> QUERY_NETWORK_SELECTION_MODE
D/AT      (  117): AT< +CREG: 1, 13A7, 1F7C853, 2
D/RIL     (  117): onUnsolicited() exit
D/AT      (  117): AT< +CGREG: 0
D/RIL     (  117): onUnsolicited() exit
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/RILJ    (  730): [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28486,0,0,15
D/RILJ    (  730): [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
D/RILJ    (  730): [3679]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
D/RILJ    (  730): [3713]> OPERATOR
D/RILJ    (  730): [3714]> DATA_REGISTRATION_STATE
D/RILJ    (  730): [3715]> VOICE_REGISTRATION_STATE
D/RILJ    (  730): [3716]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  730): [3717]> OPERATOR
D/RILJ    (  730): [3718]> DATA_REGISTRATION_STATE
D/RILJ    (  730): [3719]> VOICE_REGISTRATION_STATE
D/RILJ    (  730): [3720]> QUERY_NETWORK_SELECTION_MODE
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 8 requested: true
D/AT      (  117): AT< +CRSM: 144,0,"62168202412183026F468A01058B03"
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28621,0,0,15
D/RILJ    (  730): [3680]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  730): [3721]> iccIO: SIM_IO 0xc0 0x6f14  path: 3F007F20,0,0,15 aid: null
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 8 requested: true
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28613,0,0,15
D/RILJ    (  730): [3681]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 7 requested: true
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28472,0,0,15
D/RILJ    (  730): [3682]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 6 requested: true
D/AT      (  117): AT< +CRSM: 144,0,"62178202412183026F388A01058B03"
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28438,0,0,15
D/RILJ    (  730): [3683]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 5 requested: true
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28437,0,0,15
D/RILJ    (  730): [3684]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 4 requested: true
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28478,0,0,15
D/RILJ    (  730): [3685]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
E/SIMRecords(  730): [SIMRecords] Exception in fetching EF_CSP data com.android.internal.telephony.uicc.IccException: sw1:106 sw2:130
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 3 requested: true
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: GET_IMSI
D/AT      (  117): AT> AT+CIMI
D/RILJ    (  730): [3686]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
E/SIMRecords(  730): [SIMRecords] Exception in get GID1 com.android.internal.telephony.uicc.IccException: sw1:106 sw2:130
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 2 requested: true
D/AT      (  117): AT< 515033401019278
D/AT      (  117): AT< OK
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,12258,0,0,15
D/RILJ    (  730): [3687]< GET_IMSI
D/RuimRecords(  730): [RuimRecords] IMSI: 515033xxxxxxxxx
D/RuimRecords(  730): [RuimRecords] onRecordLoaded 8 requested: true
D/AT      (  117): AT< OK
E/AT      (  117): error invalid intermediate response
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,12037,0,0,15
D/RilRequest(  730): [3688]< SIM_IO error: com.android.internal.telephony.CommandException: GENERIC_FAILURE ret=
D/RuimRecords(  730): [RuimRecords] onRecordLoaded 7 requested: true
D/AT      (  117): AT< +CRSM: 144,0,"62298202782183023F00A507800135"
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28474,0,0,15
D/RILJ    (  730): [3689]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RuimRecords(  730): [RuimRecords] EF_PL LOADED
E/RuimRecords(  730): [RuimRecords] Record Load Exception: com.android.internal.telephony.uicc.IccFileTypeMismatch
D/RuimRecords(  730): [RuimRecords] onRecordLoaded 6 requested: true
D/AT      (  117): AT< +CRSM: 144,0,"621B8202782183027F108A01058B03"
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28481,0,0,15
D/RILJ    (  730): [3690]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RuimRecords(  730): [RuimRecords] EF_CSIM_LI LOADED
E/RuimRecords(  730): [RuimRecords] Record Load Exception: com.android.internal.telephony.uicc.IccFileTypeMismatch
D/RuimRecords(  730): [RuimRecords] onRecordLoaded 5 requested: true
D/AT      (  117): AT< +CRSM: 144,0,"6229820278218410A0000000871002"
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28484,0,0,15
D/RILJ    (  730): [3691]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RuimRecords(  730): [RuimRecords] EF_CSIM_SPN LOADED
E/RuimRecords(  730): [RuimRecords] Record Load Exception: com.android.internal.telephony.uicc.IccFileTypeMismatch
D/RuimRecords(  730): [RuimRecords] onRecordLoaded 4 requested: true
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28450,0,0,15
D/RILJ    (  730): [3692]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
D/RuimRecords(  730): [RuimRecords] EF_CSIM_MDN LOADED
E/RuimRecords(  730): [RuimRecords] Record Load Exception: com.android.internal.telephony.uicc.IccException: sw1:106 sw2:130
D/RuimRecords(  730): [RuimRecords] onRecordLoaded 3 requested: true
D/AT      (  117): AT< +CRSM: 144,0,"62298202782183023F00A507800135"
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28456,0,0,15
D/RILJ    (  730): [3693]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RuimRecords(  730): [RuimRecords] EF_CSIM_IMSIM LOADED
E/RuimRecords(  730): [RuimRecords] Record Load Exception: com.android.internal.telephony.uicc.IccFileTypeMismatch
D/RuimRecords(  730): [RuimRecords] onRecordLoaded 2 requested: true
D/AT      (  117): AT< +CREG: 1, 13A7, 1F7C853, 2
D/RIL     (  117): onUnsolicited() exit
D/AT      (  117): AT< +CGREG: 1
D/RIL     (  117): onUnsolicited() exit
D/RILJ    (  730): [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=176,28506,0,0,4
D/RILJ    (  730): [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
D/RILJ    (  730): [3694]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
D/RILJ    (  730): [3722]> OPERATOR
D/RILJ    (  730): [3723]> DATA_REGISTRATION_STATE
D/RILJ    (  730): [3724]> VOICE_REGISTRATION_STATE
D/RILJ    (  730): [3725]> QUERY_NETWORK_SELECTION_MODE
D/RILJ    (  730): [3726]> OPERATOR
D/RILJ    (  730): [3727]> DATA_REGISTRATION_STATE
D/RILJ    (  730): [3728]> VOICE_REGISTRATION_STATE
D/RILJ    (  730): [3729]> QUERY_NETWORK_SELECTION_MODE
D/RuimRecords(  730): [RuimRecords] EF_CSIM_CDMAHOME LOADED
E/RuimRecords(  730): [RuimRecords] Record Load Exception: com.android.internal.telephony.uicc.IccException: sw1:106 sw2:130
D/RuimRecords(  730): [RuimRecords] onRecordLoaded 1 requested: true
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: CDMA_SUBSCRIPTION
D/RIL     (  117): Request not supported. Tech: 1
D/RIL     (  117): onRequest: REPORT_STK_SERVICE_IS_RUNNING
D/RIL     (  117): Request not supported. Tech: 1
D/RIL     (  117): onRequest: SET_PREFERRED_NETWORK_TYPE
D/RIL     (  117): requestSetPreferredNetworkType: current: 0. New: 201
D/RIL     (  117): query_ctec. current: -1226515544, preferred: 0
D/AT      (  117): AT> AT+CTEC?
D/RILJ    (  730): [3695]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
D/RilRequest(  730): [3696]< RIL_REQUEST_CDMA_SUBSCRIPTION error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
D/RuimRecords(  730): [RuimRecords] EF_CSIM_EPRL LOADED
E/RuimRecords(  730): [RuimRecords] Record Load Exception: com.android.internal.telephony.uicc.IccException: sw1:106 sw2:130
D/RuimRecords(  730): [RuimRecords] onRecordLoaded 0 requested: true
D/RuimRecords(  730): [RuimRecords] record load complete
D/RilRequest(  730): [3697]< RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
D/RuimRecords(  730): [RuimRecords] onAllRecordsLoaded set 'gsm.sim.operator.numeric' to operator='51503'
D/RuimRecords(  730): [RuimRecords] onAllRecordsLoaded set mcc imsi=515033401019278
D/RuimRecords(  730): [RuimRecords] No suitable CSIM selected locale
D/AT      (  117): AT< ERROR
D/AT      (  117): at_send_command_singleline: err: 0
E/RIL     (  117): Error executing command: 0. response: b70be9c0. status: 0
D/RIL     (  117): onRequest: SET_NETWORK_SELECTION_AUTOMATIC
D/AT      (  117): AT> AT+COPS=0
D/RilRequest(  730): [3698]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: GENERIC_FAILURE ret=
D/AT      (  117): AT< OK
D/RIL     (  117): onRequest: OPERATOR
D/AT      (  117): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/AT      (  117): AT< +COPS: 0,0,"SMART GOLD 3G",2
D/AT      (  117): AT< +COPS: 0,1,"SMART GO",2
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/RIL     (  117): onRequest: DATA_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CGREG?
D/RILJ    (  730): [3700]< OPERATOR {SMART GOLD 3G, SMART GO, 51503}
D/AT      (  117): AT< +CGREG: 1,1
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CGREG: 1,1
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: VOICE_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CREG?
D/RILJ    (  730): [3701]< DATA_REGISTRATION_STATE {1, ffffffff, ffffffff, null, null, null}
D/AT      (  117): AT< +CREG: 2,1, 13A7, 1F7C853, 2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CREG: 2,1, 13A7, 1F7C853, 2
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: QUERY_NETWORK_SELECTION_MODE
D/AT      (  117): AT> AT+COPS?
D/RILJ    (  730): [3702]< VOICE_REGISTRATION_STATE {1, 13a7, 1f7c853, 2, null, null, null, null, null, null, null, null, null, null, null}
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RILJ    (  730): [3703]< QUERY_NETWORK_SELECTION_MODE {0}
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28439,0,0,15
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: OPERATOR
D/AT      (  117): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/RILJ    (  730): [3704]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
D/SIMRecords(  730): [SIMRecords] Invalid or missing EF[MAILBOX]
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 1 requested: true
D/AT      (  117): AT< +COPS: 0,0,"SMART GOLD 3G",2
D/AT      (  117): AT< +COPS: 0,1,"SMART GO",2
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/RIL     (  117): onRequest: DATA_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CGREG?
D/RILJ    (  730): [3705]< OPERATOR {SMART GOLD 3G, SMART GO, 51503}
D/AT      (  117): AT< +CGREG: 1,1
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CGREG: 1,1
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: VOICE_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CREG?
D/RILJ    (  730): [3706]< DATA_REGISTRATION_STATE {1, ffffffff, ffffffff, null, null, null}
D/AT      (  117): AT< +CREG: 2,1, 13A7, 1F7C853, 2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CREG: 2,1, 13A7, 1F7C853, 2
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: QUERY_NETWORK_SELECTION_MODE
D/AT      (  117): AT> AT+COPS?
D/RILJ    (  730): [3707]< VOICE_REGISTRATION_STATE {1, 13a7, 1f7c853, 2, null, null, null, null, null, null, null, null, null, null, null}
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: OPERATOR
D/AT      (  117): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/RILJ    (  730): [3708]< QUERY_NETWORK_SELECTION_MODE {0}
D/AT      (  117): AT< +COPS: 0,0,"SMART GOLD 3G",2
D/AT      (  117): AT< +COPS: 0,1,"SMART GO",2
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/RIL     (  117): onRequest: DATA_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CGREG?
D/RILJ    (  730): [3709]< OPERATOR {SMART GOLD 3G, SMART GO, 51503}
D/AT      (  117): AT< +CGREG: 1,1
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CGREG: 1,1
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: VOICE_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CREG?
D/RILJ    (  730): [3710]< DATA_REGISTRATION_STATE {1, ffffffff, ffffffff, null, null, null}
D/AT      (  117): AT< +CREG: 2,1, 13A7, 1F7C853, 2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CREG: 2,1, 13A7, 1F7C853, 2
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: QUERY_NETWORK_SELECTION_MODE
D/AT      (  117): AT> AT+COPS?
D/RILJ    (  730): [3711]< VOICE_REGISTRATION_STATE {1, 13a7, 1f7c853, 2, null, null, null, null, null, null, null, null, null, null, null}
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: OPERATOR
D/AT      (  117): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/RILJ    (  730): [3712]< QUERY_NETWORK_SELECTION_MODE {0}
D/AT      (  117): AT< +COPS: 0,0,"SMART GOLD 3G",2
D/AT      (  117): AT< +COPS: 0,1,"SMART GO",2
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/RIL     (  117): onRequest: DATA_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CGREG?
D/RILJ    (  730): [3713]< OPERATOR {SMART GOLD 3G, SMART GO, 51503}
D/AT      (  117): AT< +CGREG: 1,1
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CGREG: 1,1
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: VOICE_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CREG?
D/RILJ    (  730): [3714]< DATA_REGISTRATION_STATE {1, ffffffff, ffffffff, null, null, null}
D/AT      (  117): AT< +CREG: 2,1, 13A7, 1F7C853, 2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CREG: 2,1, 13A7, 1F7C853, 2
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: QUERY_NETWORK_SELECTION_MODE
D/AT      (  117): AT> AT+COPS?
D/RILJ    (  730): [3715]< VOICE_REGISTRATION_STATE {1, 13a7, 1f7c853, 2, null, null, null, null, null, null, null, null, null, null, null}
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: OPERATOR
D/AT      (  117): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/RILJ    (  730): [3716]< QUERY_NETWORK_SELECTION_MODE {0}
D/AT      (  117): AT< +COPS: 0,0,"SMART GOLD 3G",2
D/AT      (  117): AT< +COPS: 0,1,"SMART GO",2
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/RIL     (  117): onRequest: DATA_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CGREG?
D/RILJ    (  730): [3717]< OPERATOR {SMART GOLD 3G, SMART GO, 51503}
D/AT      (  117): AT< +CGREG: 1,1
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CGREG: 1,1
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: VOICE_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CREG?
D/RILJ    (  730): [3718]< DATA_REGISTRATION_STATE {1, ffffffff, ffffffff, null, null, null}
D/AT      (  117): AT< +CREG: 2,1, 13A7, 1F7C853, 2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CREG: 2,1, 13A7, 1F7C853, 2
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: QUERY_NETWORK_SELECTION_MODE
D/AT      (  117): AT> AT+COPS?
D/RILJ    (  730): [3719]< VOICE_REGISTRATION_STATE {1, 13a7, 1f7c853, 2, null, null, null, null, null, null, null, null, null, null, null}
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28436,0,0,15
D/RILJ    (  730): [3720]< QUERY_NETWORK_SELECTION_MODE {0}
D/AT      (  117): AT< +CRSM: 106,130,""
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: OPERATOR
D/AT      (  117): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/RILJ    (  730): [3721]< SIM_IO IccIoResponse sw1:0x6a sw2:0x82
D/RILJ    (  730): [3730]> iccIO: SIM_IO 0xc0 0x6f18  path: 3F007F20,0,0,15 aid: null
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 1 requested: true
D/AT      (  117): AT< +COPS: 0,0,"SMART GOLD 3G",2
D/AT      (  117): AT< +COPS: 0,1,"SMART GO",2
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/RIL     (  117): onRequest: DATA_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CGREG?
D/RILJ    (  730): [3722]< OPERATOR {SMART GOLD 3G, SMART GO, 51503}
D/AT      (  117): AT< +CGREG: 1,1
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CGREG: 1,1
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: VOICE_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CREG?
D/RILJ    (  730): [3723]< DATA_REGISTRATION_STATE {1, ffffffff, ffffffff, null, null, null}
D/AT      (  117): AT< +CREG: 2,1, 13A7, 1F7C853, 2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CREG: 2,1, 13A7, 1F7C853, 2
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: QUERY_NETWORK_SELECTION_MODE
D/AT      (  117): AT> AT+COPS?
D/RILJ    (  730): [3724]< VOICE_REGISTRATION_STATE {1, 13a7, 1f7c853, 2, null, null, null, null, null, null, null, null, null, null, null}
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: OPERATOR
D/AT      (  117): AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
D/RILJ    (  730): [3725]< QUERY_NETWORK_SELECTION_MODE {0}
D/AT      (  117): AT< +COPS: 0,0,"SMART GOLD 3G",2
D/AT      (  117): AT< +COPS: 0,1,"SMART GO",2
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/RIL     (  117): onRequest: DATA_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CGREG?
D/RILJ    (  730): [3726]< OPERATOR {SMART GOLD 3G, SMART GO, 51503}
D/AT      (  117): AT< +CGREG: 1,1
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CGREG: 1,1
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: VOICE_REGISTRATION_STATE
D/RIL     (  117): requestRegistrationState
D/AT      (  117): AT> AT+CREG?
D/RILJ    (  730): [3727]< DATA_REGISTRATION_STATE {1, ffffffff, ffffffff, null, null, null}
E/GsmSST  (  730): [GsmSST] error parsing GprsRegistrationState: java.lang.NumberFormatException: Invalid int: "null"
D/PHONE   (  730): [ServiceState] setDataRegState=0
D/PHONE   (  730): [ServiceState] setDataRadioTechnology=0
D/GsmSST  (  730): [GsmSST] handlPollStateResultMessage: GsmSST setDataRegState=0 regState=1 dataRadioTechnology=0
D/AT      (  117): AT< +CREG: 2,1, 13A7, 1F7C853, 2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): parseRegistrationState. Parsing: +CREG: 2,1, 13A7, 1F7C853, 2
D/RIL     (  117): registration state type: 3GPP
D/RIL     (  117): onRequest: QUERY_NETWORK_SELECTION_MODE
D/AT      (  117): AT> AT+COPS?
D/RILJ    (  730): [3728]< VOICE_REGISTRATION_STATE {1, 13a7, 1f7c853, 2, null, null, null, null, null, null, null, null, null, null, null}
D/PHONE   (  730): [ServiceState] setVoiceRegState=0
E/PHONE   (  730): [ServiceState] setState deprecated use setVoiceRegState()
D/AT      (  117): AT< +COPS: 0,2,"51503",2
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): onRequest: SIM_IO
D/AT      (  117): AT> AT+CRSM=192,28440,0,0,15
D/RILJ    (  730): [3729]< QUERY_NETWORK_SELECTION_MODE {0}
D/GsmSST  (  730): [GsmSST] Poll ServiceState done:  oldSS=[1 1 home null null null  Unknown Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] newSS=[0 0 home SMART GOLD 3G SMART GO 51503  EDGE Unknown CSS not supported -1 -1 RoamInd=-1 DefRoamInd=-1 EmergOnly=false] oldMaxDataCalls=1 mNewMaxDataCalls=1 oldReasonDataDenied=-1 mNewReasonDataDenied=-1
D/GsmSST  (  730): [GsmSST] RAT switched Unknown -> EDGE at cell 33015891
D/PHONE   (  730): [ServiceState] setNullState=1
D/PhoneProxy(  730): [PhoneProxy] updatePhoneObject: radioTechnology=2
D/GsmSST  (  730): [GsmSST] pollStateDone: registering current mNitzUpdatedTime=false changing to false
D/GsmSST  (  730): [GsmSST] updateSpnDisplay: changed sending intent rule=2 showPlmn='true' plmn='SMART GOLD 3G' showSpn='false' spn='null'
D/GsmSST  (  730): [GsmSST] pollStateDone: no nitz but one TZ for iso-cc=ph with zone.getID=Asia/Manila testOneUniqueOffsetPath=false
D/GsmSST  (  730): [GsmSST] setAndBroadcastNetworkSetTimeZone: setTimeZone=Asia/Manila
D/AT      (  117): AT< +CRSM: 144,0,"6229820278218410A0000000871002"
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RILJ    (  730): [3730]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/GsmSST  (  730): [GsmSST] setAndBroadcastNetworkSetTimeZone: call alarm.setTimeZone and broadcast zoneId=Asia/Manila
D/GsmSST  (  730): [GsmSST] shouldFixTimeZoneNow: retVal=true iccCardExist=true operatorNumeric=51503 mcc=515 prevOperatorNumeric= prevMcc=516 needToFixTimeZone=false ltod=01-02 08:00:28.579
D/GsmSST  (  730): [GsmSST] pollStateDone: fix time zone zoneName='Asia/Manila' mZoneOffset=0 mZoneDst=false iso-cc='ph' iso-cc-idx=-16
D/GsmSST  (  730): [GsmSST] pollStateDone: using default TimeZone
D/GsmSST  (  730): [GsmSST] pollStateDone: zone != null zone.getID=Asia/Manila
D/GsmSST  (  730): [GsmSST] setAndBroadcastNetworkSetTimeZone: setTimeZone=Asia/Manila
D/GsmSST  (  730): [GsmSST] setAndBroadcastNetworkSetTimeZone: call alarm.setTimeZone and broadcast zoneId=Asia/Manila
D/GsmSST  (  730): [GsmSST] notifyDataRegStateRilRadioTechnologyChanged: drs=0 rat=0
D/DCT     (  730): get all active apn types
D/GsmSST  (  730): [GsmSST] getCellLocation(): X good mCellLoc=[5031,33015891,-1]
D/PhoneProxy(  730): [PhoneProxy] phoneObjectUpdater: newVoiceRadioTech=2
D/PhoneProxy(  730): [PhoneProxy] phoneObjectUpdater: No change ignore, newVoiceRadioTech=2 mActivePhone=GSM
D/DCT     (  730): handleMessage msg={ when=-3ms what=270352 obj=android.os.AsyncResult@41a22088 target=com.android.internal.telephony.dataconnection.DcTracker }
D/DCT     (  730): onDataConnectionAttached
D/DCT     (  730): overall state is IDLE
D/DCT     (  730): setupDataOnConnectableApns: dataAttached
D/DCT     (  730): setupDataOnConnectableApns: apnContext {mApnType=default mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=roamingOff mDataEnabled=true mDependencyMet=true}
D/DCT     (  730): setupDataOnConnectableApns: isConnectable() call trySetupData
D/DCT     (  730): trySetupData for type:default due to dataAttached apnContext={mApnType=default mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataAttached mDataEnabled=true mDependencyMet=true}
D/DCT     (  730): trySetupData with mIsPsRestricted=false
D/DCT     (  730): isDataAllowed: not allowed due to - SIM not loaded
D/DCT     (  730): trySetupData: X apnContext not 'ready' retValue=false
D/SIMRecords(  730): [SIMRecords] No SPN loaded in either CHPS or 3GPP
D/SIMRecords(  730): [SIMRecords] onRecordLoaded 0 requested: true
D/SIMRecords(  730): [SIMRecords] record load complete
D/SIMRecords(  730): [SIMRecords] onAllRecordsLoaded set 'gsm.sim.operator.numeric' to operator='51503'
D/SIMRecords(  730): [SIMRecords] onAllRecordsLoaded set mcc imsi=515033401019278
D/GsmSST  (  730): [GsmSST] EVENT_SIM_RECORDS_LOADED: what=16
D/PhoneProxy(  730): [PhoneProxy] updatePhoneObject: radioTechnology=2
D/DCT     (  730): handleMessage msg={ when=-45ms what=270338 obj=android.os.AsyncResult@41a26268 target=com.android.internal.telephony.dataconnection.DcTracker }
D/DCT     (  730): onRecordsLoaded: createAllApnList
D/DCT     (  730): createAllApnList: selection=numeric = '51503' and carrier_enabled = 1
D/DCT     (  730): createAllApnList: No APN found for carrier: 51503
D/DCT     (  730): createAllApnList: X mAllApnSettings=[]
D/DCT     (  730): setInitialApn: E mPreferredApn=null
D/DCT     (  730): setInitialAttachApn: X There in no available apn
D/DCT     (  730): onRecordsLoaded: notifying data availability
D/DCT     (  730): setupDataOnConnectableApns: simLoaded
D/DCT     (  730): setupDataOnConnectableApns: apnContext {mApnType=default mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataAttached mDataEnabled=true mDependencyMet=true}
D/DCT     (  730): setupDataOnConnectableApns: isConnectable() call trySetupData
D/DCT     (  730): trySetupData for type:default due to simLoaded apnContext={mApnType=default mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=simLoaded mDataEnabled=true mDependencyMet=true}
D/DCT     (  730): trySetupData with mIsPsRestricted=false
D/DCT     (  730): isEmergency: result=false
D/DCT     (  730): buildWaitingApns: E requestedApnType=default
D/DCT     (  730): buildWaitingApns: usePreferred=true canSetPreferApn=false mPreferredApn=null operator=51503 radioTech=0 IccRecords r=SimRecords: mDestroyed=false mContext=com.android.phone.PhoneGlobals@41998d48 mCi=com.android.internal.telephony.RIL@4199d180 mFh=Handler (com.android.internal.telephony.uicc.SIMFileHandler) {41a03208} mParentApp=com.android.internal.telephony.uicc.UiccCardApplication@41a02118 recordsLoadedRegistrants=android.os.RegistrantList@41a05cc0 mImsiReadyRegistrants=android.os.RegistrantList@41a05ce8 mRecordsEventsRegistrants=android.os.RegistrantList@41a05d10 mNewSmsRegistrants=android.os.RegistrantList@41a05d38 mNetworkSelectionModeAutomaticRegistrants=android.os.RegistrantList@41a05d60 recordsToLoad=0 adnCache=Handler (com.android.internal.telephony.uicc.AdnRecordCache) {41a05e60} recordsRequested=true iccid=null msisdn=null msisdnTag=null voiceMailNum=null voiceMailTag=null newVoiceMailNum=null newVoiceMailTag=null isVoiceMailFixed=false countVoiceMessages=0 mImsi=515033401019278 mncLength=2 mailboxIndex=0 spn=null mVmConfigcom.android.internal.telephony.uicc.VoiceMailConstants@41a06610 mSpnOverride=mSpnOverride callForwardingEnabled=false spnState=IDLE mCphsInfo=null mCspPlmnEnabled=true efMWIS=null efCPHS_MWI=null mEfCff=null mEfCfis=null getOperatorNumeric=51503
D/DCT     (  730): buildWaitingApns: mAllApnSettings=[]
D/DCT     (  730): buildWaitingApns: X apnList=[]
D/DCT     (  730): notifyNoData: type=default
D/DCT     (  730): trySetupData: X No APN found retValue=false
D/IccCardProxy(  730): Broadcasting intent ACTION_SIM_STATE_CHANGED LOADED reason null
D/PhoneProxy(  730): [PhoneProxy] phoneObjectUpdater: newVoiceRadioTech=2
D/PhoneProxy(  730): [PhoneProxy] phoneObjectUpdater: No change ignore, newVoiceRadioTech=2 mActivePhone=GSM
D/RILJ    (  730): [3731]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3731]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3732]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3732]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3733]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3733]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3734]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3734]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3735]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3735]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3736]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3736]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3737]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3737]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3738]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3738]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3739]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3739]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3740]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3740]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3741]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3741]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3742]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3742]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3743]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3743]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3744]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3744]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3745]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3745]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3746]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3746]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3747]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3747]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3748]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3748]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3749]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3749]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3750]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3750]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3751]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3751]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3752]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3752]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3753]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3753]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3754]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3754]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3755]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 20,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 20 BER: 99
D/RILJ    (  730): [3755]< SIGNAL_STRENGTH SignalStrength: 20 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3756]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 20,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 20 BER: 99
D/RILJ    (  730): [3756]< SIGNAL_STRENGTH SignalStrength: 20 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3757]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 20,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 20 BER: 99
D/RILJ    (  730): [3757]< SIGNAL_STRENGTH SignalStrength: 20 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3758]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 20,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 20 BER: 99
D/RILJ    (  730): [3758]< SIGNAL_STRENGTH SignalStrength: 20 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3759]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 20,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 20 BER: 99
D/RILJ    (  730): [3759]< SIGNAL_STRENGTH SignalStrength: 20 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3760]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 20,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 20 BER: 99
D/RILJ    (  730): [3760]< SIGNAL_STRENGTH SignalStrength: 20 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3761]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 20,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 20 BER: 99
D/RILJ    (  730): [3761]< SIGNAL_STRENGTH SignalStrength: 20 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3762]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 20,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 20 BER: 99
D/RILJ    (  730): [3762]< SIGNAL_STRENGTH SignalStrength: 20 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3763]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3763]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3764]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3764]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3765]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3765]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3766]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 23,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 23 BER: 99
D/RILJ    (  730): [3766]< SIGNAL_STRENGTH SignalStrength: 23 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3767]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 19,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 19 BER: 99
D/RILJ    (  730): [3767]< SIGNAL_STRENGTH SignalStrength: 19 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3768]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 19,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 19 BER: 99
D/RILJ    (  730): [3768]< SIGNAL_STRENGTH SignalStrength: 19 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3769]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 19,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 19 BER: 99
D/RILJ    (  730): [3769]< SIGNAL_STRENGTH SignalStrength: 19 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3770]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 19,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 19 BER: 99
D/RILJ    (  730): [3770]< SIGNAL_STRENGTH SignalStrength: 19 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3771]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 19,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 19 BER: 99
D/RILJ    (  730): [3771]< SIGNAL_STRENGTH SignalStrength: 19 99 0 0 0 0 0 0 0 0 0 0 gsm|lte
D/RILJ    (  730): [3772]> SIGNAL_STRENGTH
D/RIL     (  117): onRequest: SIGNAL_STRENGTH
D/AT      (  117): AT> AT+CSQ
D/AT      (  117): AT< +CSQ: 19,99
D/AT      (  117): AT< OK
D/AT      (  117): at_send_command_singleline: err: 0
D/RIL     (  117): SignalStrength 19 BER: 99
D/RILJ    (  730): [3772]< SIGNAL_STRENGTH SignalStrength: 19 99 0 0 0 0 0 0 0 0 0 0 gsm|lte


logcat | grep ppp
Code: Select all
D/ConnectivityService(  475): *******netType=pppoe,15,15,1,-1,true
I/PppoeService(  475): Trigger the pppoe monitor
I/PppoeStateTracker(  475): start to monitor the pppoe devices
I/PppoeStateTracker(  475): pppoeConfigured: true
I/PppoeStateTracker(  475): IfName:ppp0
I/PppoeStateTracker(  475): reset device ppp0
I/PppoeStateTracker(  475): configureInterface on dev:ppp0
I/PppoeStateTracker(  475): IP configuration failed: java.lang.IllegalStateException: command '1 interface setcfg ppp0 0.0.0.0 24' failed with '400 1 Failed to set address (No such device)'
I/PppoeStateTracker(  475): pppoeConfigured: true
I/PppoeStateTracker(  475): IfName:ppp0
I/PppoeStateTracker(  475): reset device ppp0
I/PppoeStateTracker(  475): configureInterface on dev:ppp0
I/PppoeStateTracker(  475): IP configuration failed: java.lang.IllegalStateException: command '2 interface setcfg ppp0 0.0.0.0 24' failed with '400 2 Failed to set address (No such device)'
I/PppoeStateTracker(  475): start to monitor the pppoe devices
I/PppoeStateTracker(  475): pppoeConfigured: true
I/PppoeStateTracker(  475): IfName:ppp0
I/PppoeStateTracker(  475): reset device ppp0
I/PppoeStateTracker(  475): configureInterface on dev:ppp0
I/PppoeStateTracker(  475): IP configuration failed: java.lang.IllegalStateException: command '3 interface setcfg ppp0 0.0.0.0 24' failed with '400 3 Failed to set address (No such device)'
I/PppoeStateTracker(  475): pppoeConfigured: true
I/PppoeStateTracker(  475): IfName:ppp0
I/PppoeStateTracker(  475): reset device ppp0
I/PppoeStateTracker(  475): configureInterface on dev:ppp0
I/PppoeStateTracker(  475): IP configuration failed: java.lang.IllegalStateException: command '4 interface setcfg ppp0 0.0.0.0 24' failed with '400 4 Failed to set address (No such device)'
I/pppoe   (  898): Loading pppoe jni class
I/pppoe   ( 1078): Loading pppoe jni class
I/pppoe   ( 1102): Loading pppoe jni class
I/pppoe   ( 1126): Loading pppoe jni class
I/pppoe   ( 1146): Loading pppoe jni class
I/pppoe   ( 1159): Loading pppoe jni class
I/pppoe   ( 1170): Loading pppoe jni class
I/pppoe   ( 1181): Loading pppoe jni class
I/pppoe   ( 1192): Loading pppoe jni class
I/pppoe   ( 1204): Loading pppoe jni class
I/pppoe   ( 1215): Loading pppoe jni class
I/pppoe   ( 1226): Loading pppoe jni class
I/pppoe   ( 1237): Loading pppoe jni class
I/pppoe   ( 1263): Loading pppoe jni class
I/pppoe   ( 1274): Loading pppoe jni class
I/pppoe   ( 1285): Loading pppoe jni class
I/pppoe   ( 1296): Loading pppoe jni class
I/pppoe   ( 1307): Loading pppoe jni class
I/pppoe   ( 1318): Loading pppoe jni class
I/pppoe   ( 1329): Loading pppoe jni class
I/pppoe   ( 1340): Loading pppoe jni class
I/pppoe   ( 1351): Loading pppoe jni class
I/pppoe   ( 1362): Loading pppoe jni class
I/pppoe   ( 1373): Loading pppoe jni class
I/pppoe   ( 1384): Loading pppoe jni class
I/pppoe   ( 1396): Loading pppoe jni class
I/pppoe   ( 1407): Loading pppoe jni class
I/pppoe   ( 1418): Loading pppoe jni class
I/pppoe   ( 1429): Loading pppoe jni class
I/pppoe   ( 1440): Loading pppoe jni class
I/pppoe   ( 1451): Loading pppoe jni class
I/pppoe   ( 1462): Loading pppoe jni class
I/pppoe   ( 1473): Loading pppoe jni class
I/pppoe   ( 1484): Loading pppoe jni class
I/pppoe   ( 1495): Loading pppoe jni class
I/pppoe   ( 1506): Loading pppoe jni class
I/pppoe   ( 1517): Loading pppoe jni class
I/pppoe   ( 1529): Loading pppoe jni class
I/pppoe   ( 1540): Loading pppoe jni class
I/pppoe   ( 1551): Loading pppoe jni class
I/pppoe   ( 1562): Loading pppoe jni class
I/pppoe   ( 1573): Loading pppoe jni class
I/pppoe   ( 1584): Loading pppoe jni class
I/pppoe   ( 1595): Loading pppoe jni class
I/pppoe   ( 1606): Loading pppoe jni class
I/pppoe   ( 1617): Loading pppoe jni class
I/pppoe   ( 1628): Loading pppoe jni class
I/pppoe   ( 1639): Loading pppoe jni class
I/pppoe   ( 1650): Loading pppoe jni class
I/pppoe   ( 1661): Loading pppoe jni class
I/pppoe   ( 1672): Loading pppoe jni class
I/pppoe   ( 1683): Loading pppoe jni class
I/pppoe   ( 1694): Loading pppoe jni class
I/pppoe   ( 1705): Loading pppoe jni class
I/pppoe   ( 1716): Loading pppoe jni class
I/pppoe   ( 1727): Loading pppoe jni class
I/pppoe   ( 1738): Loading pppoe jni class
I/pppoe   ( 1749): Loading pppoe jni class
I/pppoe   ( 1760): Loading pppoe jni class
I/pppoe   ( 1771): Loading pppoe jni class
I/pppoe   ( 1782): Loading pppoe jni class
I/pppoe   ( 1793): Loading pppoe jni class
I/pppoe   ( 1804): Loading pppoe jni class
I/pppoe   ( 1815): Loading pppoe jni class
I/pppoe   ( 1826): Loading pppoe jni class
I/pppoe   ( 1837): Loading pppoe jni class
I/pppoe   ( 1848): Loading pppoe jni class
I/pppoe   ( 1859): Loading pppoe jni class
I/pppoe   ( 1870): Loading pppoe jni class
I/pppoe   ( 1881): Loading pppoe jni class
I/pppoe   ( 1892): Loading pppoe jni class
I/pppoe   ( 1903): Loading pppoe jni class
I/pppoe   ( 1914): Loading pppoe jni class
I/pppoe   ( 1925): Loading pppoe jni class
I/pppoe   ( 1936): Loading pppoe jni class
I/pppoe   ( 1947): Loading pppoe jni class
I/pppoe   ( 1958): Loading pppoe jni class
I/pppoe   ( 1969): Loading pppoe jni class
I/pppoe   ( 1980): Loading pppoe jni class
I/pppoe   ( 1991): Loading pppoe jni class
I/pppoe   ( 2002): Loading pppoe jni class
I/pppoe   ( 2013): Loading pppoe jni class
I/pppoe   ( 2024): Loading pppoe jni class
I/pppoe   ( 2035): Loading pppoe jni class
I/pppoe   ( 2046): Loading pppoe jni class
I/pppoe   ( 2057): Loading pppoe jni class
I/pppoe   ( 2102): Loading pppoe jni class
I/pppoe   ( 2120): Loading pppoe jni class
I/pppoe   ( 2137): Loading pppoe jni class
I/pppoe   ( 2149): Loading pppoe jni class
I/pppoe   ( 2160): Loading pppoe jni class
I/pppoe   ( 2171): Loading pppoe jni class
I/pppoe   ( 2189): Loading pppoe jni class
I/pppoe   ( 2202): Loading pppoe jni class
I/pppoe   ( 2213): Loading pppoe jni class
I/pppoe   ( 2226): Loading pppoe jni class
I/pppoe   ( 2238): Loading pppoe jni class
I/pppoe   ( 2249): Loading pppoe jni class
I/pppoe   ( 2260): Loading pppoe jni class
I/pppoe   ( 2271): Loading pppoe jni class
I/pppoe   ( 2282): Loading pppoe jni class
I/pppoe   ( 2293): Loading pppoe jni class
I/pppoe   ( 2304): Loading pppoe jni class
I/pppoe   ( 2315): Loading pppoe jni class
I/pppoe   ( 2330): Loading pppoe jni class
I/pppoe   ( 2341): Loading pppoe jni class
I/pppoe   ( 2352): Loading pppoe jni class
I/pppoe   ( 2363): Loading pppoe jni class
I/pppoe   ( 2374): Loading pppoe jni class
I/pppoe   ( 2385): Loading pppoe jni class
I/pppoe   ( 2396): Loading pppoe jni class
I/pppoe   ( 2407): Loading pppoe jni class
I/pppoe   ( 2418): Loading pppoe jni class
I/pppoe   ( 2429): Loading pppoe jni class
I/pppoe   ( 2440): Loading pppoe jni class
I/pppoe   ( 2451): Loading pppoe jni class
I/pppoe   ( 2462): Loading pppoe jni class
I/pppoe   ( 2473): Loading pppoe jni class
I/pppoe   ( 2484): Loading pppoe jni class
I/pppoe   ( 2495): Loading pppoe jni class
I/pppoe   ( 2506): Loading pppoe jni class
I/pppoe   ( 2517): Loading pppoe jni class
I/pppoe   ( 2528): Loading pppoe jni class
I/pppoe   ( 2539): Loading pppoe jni class
I/pppoe   ( 2550): Loading pppoe jni class
I/pppoe   ( 2561): Loading pppoe jni class
I/pppoe   ( 2572): Loading pppoe jni class
I/pppoe   ( 2583): Loading pppoe jni class
I/pppoe   ( 2594): Loading pppoe jni class
I/pppoe   ( 2605): Loading pppoe jni class
I/pppoe   ( 2616): Loading pppoe jni class
I/pppoe   ( 2627): Loading pppoe jni class
I/pppoe   ( 2638): Loading pppoe jni class
I/pppoe   ( 2649): Loading pppoe jni class
I/pppoe   ( 2660): Loading pppoe jni class
I/pppoe   ( 2671): Loading pppoe jni class
I/pppoe   ( 2682): Loading pppoe jni class
I/pppoe   ( 2693): Loading pppoe jni class
I/pppoe   ( 2704): Loading pppoe jni class
I/pppoe   ( 2715): Loading pppoe jni class
I/pppoe   ( 2728): Loading pppoe jni class
I/pppoe   ( 2741): Loading pppoe jni class
I/pppoe   ( 2754): Loading pppoe jni class
I/pppoe   ( 2767): Loading pppoe jni class
I/pppoe   ( 2778): Loading pppoe jni class
I/pppoe   ( 2789): Loading pppoe jni class
I/pppoe   ( 2800): Loading pppoe jni class
I/pppoe   ( 2811): Loading pppoe jni class
I/pppoe   ( 2822): Loading pppoe jni class
I/p


Can someone help me with this
deathscythe
 
Posts: 40
Joined: Wed Sep 23, 2015 1:21 pm
languages_spoken: english
ODROIDs: c1+

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby joerg » Thu Oct 08, 2015 3:55 am

There are messages that apn is not found. For SMART I found in apns-full-conf.xml these, but not SMART GOLD:
Code: Select all

  <apn carrier="SMARTLTE"
      mcc="515"
      mnc="03"
      apn="smartlte"
      type="default,supl"
  />

  <apn carrier="SMART INTERNET"
      mcc="515"
      mnc="03"
      apn="internet"
      type="default,supl"
  />

  <apn carrier="Smart GPRS"
      mcc="515"
      mnc="03"
      apn="Smart1"
      proxy="10.102.61.46"
      port="8080"
      type="default,supl"
  />

  <apn carrier="Smart MMS"
      mcc="515"
      mnc="03"
      apn="mms"
      mmsc="http://10.102.61.238:8002"
      mmsproxy="10.102.61.46"
      mmsport="8080"
      type="mms"
  />

Maybe is missing something. Try to add SMART GOLD like it is for SMARTLTE, but you have to find the correct apn.
You need to reboot after edit apns-full-conf.xml.
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby deathscythe » Thu Oct 08, 2015 7:39 am

How about in provider.chat, could I change
ATDT*99***1# to
ATDT*99#?
deathscythe
 
Posts: 40
Joined: Wed Sep 23, 2015 1:21 pm
languages_spoken: english
ODROIDs: c1+

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby deathscythe » Thu Oct 08, 2015 11:03 am

I have no gps attached also, should I use /dev/ttyUSB0?
deathscythe
 
Posts: 40
Joined: Wed Sep 23, 2015 1:21 pm
languages_spoken: english
ODROIDs: c1+

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby deathscythe » Thu Oct 08, 2015 11:45 am

What is also the permission of apns-full-conf.xml
deathscythe
 
Posts: 40
Joined: Wed Sep 23, 2015 1:21 pm
languages_spoken: english
ODROIDs: c1+

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby deathscythe » Thu Oct 08, 2015 3:04 pm

I try to manually add the apn settings through
Settings > More > Mobile networks > Access Point Names

I got this error in logcat | grep ppp

Code: Select all
This system lacks ppp kernel support for PPP. This could be because the PPP kernel module could not be loaded, or because PPP was not included in the kernel configuration. If ppp was included as a module, try '/sbin/modprobe - v ppp'. If that fails, check that ppp, 0 exists in /lib/modules/'uname -r'/net.
deathscythe
 
Posts: 40
Joined: Wed Sep 23, 2015 1:21 pm
languages_spoken: english
ODROIDs: c1+

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby joerg » Fri Oct 09, 2015 4:35 am

This error is because pppd has not rights to access system. It's not a missing kernel module. The kernel has ppp support. I found a workaround to give system rights to pppd:
Code: Select all
chmod 6755 /system/bin/pppd

May there exist a better option, if somebody know please post here.
I forgot to put it into my howto, sorry.

Normaly the port for data connection is ttyUSB0 (or the first of all the modems ttyUSB). With my E398 the second one of the ports ttyUSB1 is for AT commands and that need to be passed to libreferenc-ril. libreference-ril need to know over which port to communicate with the modem. ttyUSB0 is then for the connection used by chat and pppd and this is fixed. With my old E160 is different, there is the third port ttyUSB2 for communication to libreference-ril.
You can try as follow if ttyUSB1 is the one you should pass to libreference-ril:
Open a terminal and adb shell, give command 'cat /dev/ttyUSB1', open a second terminal and adb shell and give command 'echo -e "AT+CPIN?" > /dev/ttyUSB1' it should return '+CPIN: READY'. By the way, have you turned off the pin? As I was not able to to make it work that opens the dialog for putting the pin, pin must be disabled. Can be that you have to give the command several times, because terminal with cat and libreference-ril are fighting for the port.
You can give also command 'echo -e AT+CGDCONT? > /dev/ttyUSB1' to see if an apn is set. Mine is answering with:
Code: Select all
+CGDCONT: 0,"IP","internet.telekom","",0,0,0,0

+CGDCONT: 1,"IP","internet.telekom","",0,0,0,0

OK


I think you can change in provider.chat to ATDT*99#, you can look how it is in linux or in huawei windows prog, when you attach your modem.
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby deathscythe » Fri Oct 09, 2015 11:41 am

Now I got this error on logcat | grep ppp:

Code: Select all
IfName:ppp0
reset device ppp0
configureInterface on dev:ppp0
IP configuration failed: java.lang.IllegalStateException: command '103 interface setcfg ppp0 0.0.0.0 24' failed with '400 103 Failed to set address (No such device)'
Attempting to switch to pppoe
deathscythe
 
Posts: 40
Joined: Wed Sep 23, 2015 1:21 pm
languages_spoken: english
ODROIDs: c1+

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby joerg » Fri Oct 09, 2015 12:59 pm

This you can ignore. If it don't connects, show all logs here.
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby deathscythe » Fri Oct 09, 2015 2:40 pm

I have uploaded a zip file wherein you could check the logs
Attachments
logs.zip
(93.3 KiB) Downloaded 112 times
deathscythe
 
Posts: 40
Joined: Wed Sep 23, 2015 1:21 pm
languages_spoken: english
ODROIDs: c1+

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby joerg » Sat Oct 10, 2015 2:34 am

I see libreference-ril is starting pppd:
Code: Select all
D/RIL     (  117): /system/bin/pppd /dev/ttyUSB0 460800 debug modem noauth defaultroute  noccp nobsdcomp novj  noipdefault usepeerdns user dummy password dummy connect "/system/bin/chat -v -s -f /system/etc/ppp/provider.chat" disconnect ""

But later on chatscript fails:
Code: Select all
I/use-Rlog/RLOG-RIL_CHAT(16498): alarm
I/use-Rlog/RLOG-RIL_CHAT(16498): send (AT^M)
I/use-Rlog/RLOG-RIL_CHAT(16498): expect (OK)
...
I/use-Rlog/RLOG-RIL_CHAT(16498): alarm
I/use-Rlog/RLOG-RIL_CHAT(16498): Failed

I don't know what is wrong here, but what you can do is try at command line how to connect in your case. Can be that your provider needs user / password or something else.

You can give this command, to start pppd from commandline, variate with user, password, check if provider.chat is suitable for your country or your provider:
Code: Select all
/system/bin/pppd /dev/ttyUSB0 460800 debug modem noauth nodetach defaultroute  noccp nobsdcomp novj  noipdefault usepeerdns user "" password "" connect "/system/bin/chat -v -s -f /system/etc/ppp/provider.chat"
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby deathscythe » Sun Oct 11, 2015 8:59 pm

What do you mean by disable pin in provider.chat? What is also the permission of provider.chat?
deathscythe
 
Posts: 40
Joined: Wed Sep 23, 2015 1:21 pm
languages_spoken: english
ODROIDs: c1+

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby joerg » Mon Oct 12, 2015 3:58 am

If you put your SMART simcard to a real phone, does your phone ask for pin? If yes, go to settings and disable the request of pin.
Back to C1, "Open a terminal and adb shell, give command 'cat /dev/ttyUSB1', open a second terminal and adb shell and give command 'echo -e "AT+CPIN?" > /dev/ttyUSB1' it should return '+CPIN: READY'".
Permission of provider.chat should be 666, I think it's already.
Provider.chat is an example! It works here in Germany with my providers Telekom and Vodafone. You need to investigate on your own the right entries for your provider or ask in other forum, maybe somebody knows what is needed for Smart.
With my modem E398 (heard that is similar to E372) I also have some trouble. I need to investigate more.
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby joerg » Wed Oct 14, 2015 4:08 am

I have updated now my E398 with latest firmware I found in web (11.433.25.00.000.B757). The modem now is connecting without trouble.
@ deathscythe: Maybe you have to update yours also, if not yet has already latest firmware.
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby Basseman » Wed Nov 04, 2015 2:28 am

Hi, i want to connect my new Odroid C1+ to the internet using my Usb Dongle..
Is there ANY other way to do this than following what you've written here ?
I'm a newbie and don't know how to do all the stuff you've written here...
Where's your CallPPP.apk ?

Need it..

Cheers
Basseman
 
Posts: 15
Joined: Wed Jun 24, 2015 6:47 am
languages_spoken: english,swedish
ODROIDs: XU3

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby joerg » Wed Nov 04, 2015 2:07 pm

I don't know other way. CallPPP I removed, because dead project, not well funcioning, not well integrated, no need any more. Why I should maintain something, that have no need? With CallPPP there was also needed to edit system files.
Follow my guide spep by step, the most stuff is prepared so you can copy/paste. If something unclear or don't work, come back here.
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby Vasya Pupkin » Fri Nov 13, 2015 3:02 am

Good day all, can someone ever tried to connect a HUAWEI E3272 in "ethernet over USB" mode, or who knows how to make it work under android.

Can anyone come across it run the LTE modem in the "ethernet over USB"
Vasya Pupkin
 
Posts: 50
Joined: Mon Mar 09, 2015 12:23 am
languages_spoken: russian, english
ODROIDs: odroid C1 С2
RPi3

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby joerg » Mon Nov 16, 2015 10:06 pm

@Vasya: Did you managed to connect the modem with my guide? Not working at all? I appreciate to become some feedback.
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby Vasya Pupkin » Tue Nov 17, 2015 1:26 am

joerg wrote:@Vasya: Did you managed to connect the modem with my guide? Not working at all? I appreciate to become some feedback.


Hi!
I just wanted to clarify, will it work with the modem Huawei E3272 in HiLink mode, or need to change the firmware on the modem to Stick mode.
What is the firmware of your E3276 ?
Vasya Pupkin
 
Posts: 50
Joined: Mon Mar 09, 2015 12:23 am
languages_spoken: russian, english
ODROIDs: odroid C1 С2
RPi3

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby joerg » Tue Nov 17, 2015 3:23 am

Here it is:
Code: Select all
echo -e "ATI\r" > /dev/ttyUSB0

Manufacturer: huawei
Model: E3276
Revision: 21.430.03.04.55
IMEI: xxxxxx
+GCAP: +CGSM,+DS,+ES

OK

I don't know if it is the last version. As I used the modem on my work notebook last time it wanted to make a update, but I declined.
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby Vasya Pupkin » Thu Nov 19, 2015 4:38 am

Thank you all, I understood everything.
Last edited by Vasya Pupkin on Thu Dec 03, 2015 4:42 am, edited 1 time in total.
Vasya Pupkin
 
Posts: 50
Joined: Mon Mar 09, 2015 12:23 am
languages_spoken: russian, english
ODROIDs: odroid C1 С2
RPi3

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby joerg » Thu Nov 19, 2015 6:04 am

Let me know if the modem also act as modem with this firmware, or does it only make usbnet0?
If I can use it after update also with the connect manager, this I need on my business notebook, I would do a update and test it.
By the way, would be better if you open a new thread, because this is a bit away from my how-to.
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby joerg » Sat Nov 28, 2015 3:28 am

I have implemented some patches to kernel. With this custom kernel (based on Hardkernels actual kernel) it's not any more needed to use usb_modeswitch for new models of huawei modems like E3276 and E398.
I found this code snipsets on various sites, but they did not yet found way to original kernel sources.

Download-link: https://www.dropbox.com/s/pvp3r2mqyc2u9e8/kernel-custom-Android-C1-2015-11-26?dl=0

To installl:
Code: Select all
bring your C1 to fastboot mode:

$adb shell
#reboot fastboot
$sudo fastboot flash boot kernel
$sudo fastboot reboot
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby apkslot » Sun Dec 13, 2015 7:26 pm

really ?
i must try this methode
apkslot
 
Posts: 2
Joined: Sun Dec 13, 2015 7:23 pm
languages_spoken: english

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby TeddyPhilo » Wed Dec 23, 2015 9:51 pm

Can i use USB dongle for the internet connection?
Looking for security app? Try Leo Privacy Guard 3.0.

Join Our Christmas Contest by visiting our Facebook page "LEO Privacy Guard"
TeddyPhilo
 
Posts: 7
Joined: Wed Dec 16, 2015 10:03 pm
languages_spoken: english
ODROIDs: I have samsung galaxy s6

Re: [HOWTO] Connect 3G Huawei USB Modem

Unread postby joerg » Wed Apr 20, 2016 1:45 am

Since some weeks I use now another Huawei 3G/4G modem, a E3372h-153 with Hilink firmware. I am impressed how flawlessly is working. I put my sim chip from Vodafone Germany inside and connected to Odroid C1 and after 30..40s there was blue light on. The settings can be done via web page. The only I had to do was to figure out, how Android connects to internet. I wrote a bash script that is observing, if the device is there, and then sets the gateway and dns correctly. Sure this can be improved, but I am not the best in scripting.

Code: Select all
#!/system/bin/sh
while true
    do
        if grep "down" /sys/class/net/usbnet0/operstate then
            /system/bin/dhcpcd usbnet0
            sleep 5
            /system/bin/route add default gw 192.168.8.1 dev usbnet0
            /system/bin/ndc resolver setdefaultif usbnet0
            /system/bin/ndc resolver setifdns usbnet0 8.8.8.8 8.8.4.4
        fi
        sleep 10
    done


To make it autostart I added this to init.odroidc.rc:
Code: Select all
service hilink /system/bin/init-hilink.sh                                   
    class main                                                                 
    disabled                                                                   
    oneshot


on property:dev.bootcomplete=1                                                 
    start hilink 
joerg
 
Posts: 791
Joined: Tue Apr 01, 2014 2:14 am
Location: Germany
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2

Re: [HOWTO] Connect 3G Huawei USB Modem / New Hilink

Unread postby icu » Tue May 23, 2017 5:27 am

I tried to download the "Linker.zip" but is not available now ("The selected attachment does not exist anymore."). Can you help me to find it? Thank you.
icu
 
Posts: 3
Joined: Mon Dec 05, 2016 10:09 pm
languages_spoken: english
ODROIDs: Odroid C1, Odroid C2


Return to Android

Who is online

Users browsing this forum: No registered users and 2 guests