spezi77
Fortgeschrittenes Mitglied
- 45
Befinde mich seit einigen Tagen auf der Fehlersuche bzgl. der defekten Mobildatenverbindung. Die Portierung ist fürs HTC Desire (GSM). Mittlerweile habe ich die Platform Version auf 4.4.1 synced.
Ich nutze weitestgehend Sourcen von CM und einige wenige gerätespezifische Projekte (Kernel) von Evervolv/AOSP. Momentan kann ich die ROM nur dann erfolgreich bauen, wenn ich die Bluetooth packages auskommentiere.
Die resultierende ROM bootet und es funktioniert fast alles (Wifi, SD Zugriff, Medienapplikationen, Kamera, etc.) bis auf die Abfrage der PIN für die SIM Karte.
Ich vermute, dass es mit dem RIL zu tun hat. Habe bereits aus dem aktuellen Kitkat build von Evervolv, die in Frage kommenden RIL-Bibliotheken (libhtc_ril.so, libril.so, librilutils.so) testweise ersetzt, auch ohne Erfolg.
Bitte gebt mir einen Tipp!
Hier mal der betreffende Ausschnitt aus der radio log
Logcat:
Ich nutze weitestgehend Sourcen von CM und einige wenige gerätespezifische Projekte (Kernel) von Evervolv/AOSP. Momentan kann ich die ROM nur dann erfolgreich bauen, wenn ich die Bluetooth packages auskommentiere.
Die resultierende ROM bootet und es funktioniert fast alles (Wifi, SD Zugriff, Medienapplikationen, Kamera, etc.) bis auf die Abfrage der PIN für die SIM Karte.
Ich vermute, dass es mit dem RIL zu tun hat. Habe bereits aus dem aktuellen Kitkat build von Evervolv, die in Frage kommenden RIL-Bibliotheken (libhtc_ril.so, libril.so, librilutils.so) testweise ersetzt, auch ohne Erfolg.
Bitte gebt mir einen Tipp!
Hier mal der betreffende Ausschnitt aus der radio log
Code:
12-08 01:27:50.722 E/RILC ( 100): RIL_register: RIL version 2
12-08 01:28:24.945 D/TelephonyManager( 102): No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied)
12-08 01:28:24.945 D/TelephonyManager( 102): /proc/cmdline=
12-08 01:29:39.228 D/TelephonyManager( 778): getLteOnCdmaMode=0 curVal=-1 product_type='' lteOnCdmaProductType=''
12-08 01:29:39.238 I/PhoneFactory( 778): Network Mode set to 3
12-08 01:29:39.258 I/PhoneFactory( 778): Cdma Subscription set to 1
12-08 01:29:39.258 I/PhoneFactory( 778): RILClassname is RIL
12-08 01:29:39.318 D/RILJ ( 778): RIL(context, preferredNetworkType=3 cdmaSubscription=1)
12-08 01:29:39.338 D/RILJ ( 778): Starting RILReceiver
12-08 01:29:39.348 D/UiccController( 778): Creating UiccController
12-08 01:29:39.348 I/PhoneFactory( 778): Creating GSMPhone
12-08 01:29:39.358 I/RILC ( 100): libril: new connection
12-08 01:29:39.358 I/RILC ( 100): RIL Daemon version: HTC-RIL 1.6.1062G (Apr 23 2010,17:35:06)
12-08 01:29:39.358 I/RILJ ( 778): Connected to 'rild' socket
12-08 01:29:39.358 D/RILJ ( 778): [UNSL]< UNSOL_RIL_CONNECTED {2}
12-08 01:29:39.358 D/RILJ ( 778): [3648]> RADIO_POWER off
12-08 01:29:39.388 D/RILJ ( 778): [3649]> REQUEST_SET_PREFERRED_NETWORK_TYPE : 3
12-08 01:29:39.398 D/RILJ ( 778): [3650]> RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE : 1
12-08 01:29:39.408 D/RILJ ( 778): setCellInfoListRate: 2147483647
12-08 01:29:39.408 D/RILJ ( 778): [3651]> RIL_REQUEST_SET_CELL_INFO_LIST_RATE
12-08 01:29:39.408 D/RILJ ( 778): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_OFF
12-08 01:29:39.418 D/RILJ ( 778): [3652]> SCREEN_STATE: true
12-08 01:29:39.438 D/RilRequest( 778): [3650]< RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
12-08 01:29:39.438 D/RilRequest( 778): [3651]< RIL_REQUEST_SET_CELL_INFO_LIST_RATE error: com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED ret=
12-08 01:29:39.448 D/TelephonyTester( 778): register for intent action=com.android.internal.telephony.gsm.action_detached
12-08 01:29:39.448 D/TelephonyTester( 778): register for intent action=com.android.internal.telephony.gsm.action_attached
12-08 01:29:39.458 D/RILJ ( 778): [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
12-08 01:29:39.458 D/RILJ ( 778): [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
12-08 01:29:39.468 D/RILJ ( 778): [UNSL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
12-08 01:29:39.468 D/PhoneBase( 778): mDoesRilSendMultipleCallRing=true
12-08 01:29:39.468 D/PhoneBase( 778): mCallRingDelay=3000
12-08 01:29:39.478 D/RILJ ( 778): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED RADIO_OFF
12-08 01:29:39.478 D/RILJ ( 778): [3648]< RADIO_POWER
12-08 01:29:39.478 D/RilRequest( 778): [3649]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE ret=
12-08 01:29:39.488 D/RilRequest( 778): [3652]< SCREEN_STATE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE ret=
12-08 01:29:39.578 D/RILJ ( 778): setPhoneType=1 old value=0
12-08 01:29:39.928 D/DCT ( 778): DCT.constructor
12-08 01:29:40.028 D/Dcc ( 778): E ctor
12-08 01:29:40.028 D/Dcc ( 778): X ctor
12-08 01:29:40.028 D/DcTesterDeacativeAll( 778): register for intent action=com.android.internal.telephony.dataconnection.action_deactivate_all
12-08 01:29:40.028 D/DcTesterDeacativeAll( 778): register for intent action=com.android.internal.telephony.gsm.action_detached
12-08 01:29:40.038 D/Dcc ( 778): DccDefaultState: msg.what=EVENT_RIL_CONNECTED mRilVersion=2
12-08 01:29:40.048 D/DcTesterFailBrinupAll( 778): register for intent action=com.android.internal.telephony.dataconnection.action_fail_bringup
12-08 01:29:40.048 D/DcTesterFailBrinupAll( 778): register for intent action=com.android.internal.telephony.gsm.action_detached
12-08 01:29:40.048 D/DcTesterFailBrinupAll( 778): register for intent action=com.android.internal.telephony.gsm.action_attached
12-08 01:29:40.068 D/DCT ( 778): GsmDCT.constructor
12-08 01:29:40.088 D/DCT ( 778): initApnContexts: E
12-08 01:29:40.088 D/DCT ( 778): initApnContexts: skipping unknown type=1
12-08 01:29:40.108 D/DCT ( 778): initApnContexts: apnContext={mApnType=default mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataEnabled mDataEnabled=true mDependencyMet=true}
12-08 01:29:40.108 D/DCT ( 778): initApnContexts: apnContext={mApnType=mms mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataEnabled mDataEnabled=false mDependencyMet=true}
12-08 01:29:40.108 D/DCT ( 778): initApnContexts: apnContext={mApnType=supl mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataEnabled mDataEnabled=false mDependencyMet=true}
12-08 01:29:40.118 D/DCT ( 778): initApnContexts: apnContext={mApnType=dun mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataEnabled mDataEnabled=false mDependencyMet=true}
12-08 01:29:40.118 D/DCT ( 778): initApnContexts: apnContext={mApnType=hipri mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataEnabled mDataEnabled=false mDependencyMet=true}
12-08 01:29:40.118 D/DCT ( 778): initApnContexts: skipping unknown type=7
12-08 01:29:40.128 D/DCT ( 778): initApnContexts: X mApnContexts={dun={mApnType=dun mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataEnabled mDataEnabled=false mDependencyMet=true}, supl={mApnType=supl mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataEnabled mDataEnabled=false mDependencyMet=true}, hipri={mApnType=hipri mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataEnabled mDataEnabled=false mDependencyMet=true}, default={mApnType=default mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataEnabled mDataEnabled=true mDependencyMet=true}, mms={mApnType=mms mState=IDLE mWaitingApns={null} mWaitingApnsPermanentFailureCountDown=0 mApnSetting={null} mReason=dataEnabled mDataEnabled=false mDependencyMet=true}}
12-08 01:29:40.269 E/RIL_ImsSms( 778): getFormat should never be called from here!
12-08 01:29:40.269 D/SMSDispatcher( 778): SMSDispatcher: ctor mSmsCapable=true format=unknown mSmsSendDisabled=false
12-08 01:29:40.269 D/RIL_ImsSms( 778): ImsSMSDispatcher created
12-08 01:29:40.279 D/SMSDispatcher( 778): SMSDispatcher: ctor mSmsCapable=true format=3gpp2 mSmsSendDisabled=false
12-08 01:29:40.279 D/CdmaSMSDispatcher( 778): CdmaSMSDispatcher created
12-08 01:29:40.389 V/WAP PUSH( 778): bindService() for wappush manager succeeded
12-08 01:29:40.409 D/GsmInboundSmsHandler( 778): created InboundSmsHandler
12-08 01:29:40.549 V/WAP PUSH( 778): bindService() for wappush manager succeeded
12-08 01:29:40.559 D/CdmaInboundSmsHandler( 778): created InboundSmsHandler
12-08 01:29:40.609 D/SMSDispatcher( 778): SMSDispatcher: ctor mSmsCapable=true format=3gpp mSmsSendDisabled=false
12-08 01:29:40.649 D/GsmSMSDispatcher( 778): GsmSMSDispatcher created
12-08 01:29:40.659 D/SmsBroadcastUndelivered( 778): scanning raw table for undelivered messages
12-08 01:29:40.749 D/IccCardProxy( 778): Creating
12-08 01:29:40.749 D/IccCardProxy( 778): Broadcasting intent ACTION_SIM_STATE_CHANGED NOT_READY reason null
12-08 01:29:40.789 D/IccCardProxy( 778): Setting radio tech UMTS
12-08 01:29:40.789 D/IccCardProxy( 778): updateQuietMode: 3GPP subscription -> newQuietMode=false
12-08 01:29:40.789 D/IccCardProxy( 778): updateQuietMode: QuietMode is false (app_type=1 cdmaSource=-1)
12-08 01:29:41.660 D/SmsBroadcastUndelivered( 778): finished scanning raw table in 993 ms
12-08 01:29:41.660 D/GsmInboundSmsHandler( 778): entering Idle state
12-08 01:29:41.670 D/CdmaInboundSmsHandler( 778): entering Idle state
12-08 01:29:42.331 I/PhoneFactory( 778): defaultSmsApplication: com.android.mms
12-08 01:29:43.712 D/GsmCellBroadcastHandler( 778): mWakeLock released
12-08 01:29:43.712 D/CdmaServiceCategoryProgramHandler( 778): mWakeLock released
12-08 01:29:43.722 D/CellBroadcastHandler( 778): mWakeLock released
12-08 01:29:43.732 D/CallManager( 778): registerPhone(GSM Handler (com.android.internal.telephony.PhoneProxy) {42390528})
12-08 01:29:43.742 D/RILJ ( 778): [3653]> SET_SUPP_SVC_NOTIFICATION
12-08 01:29:43.742 D/RilRequest( 778): [3653]< SET_SUPP_SVC_NOTIFICATION error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE ret=
12-08 01:29:44.363 D/RILJ ( 778): [3654]> RADIO_POWER on
12-08 01:29:44.383 D/PHONE ( 778): [ServiceState] setNullState=3
12-08 01:29:44.393 D/GsmSST ( 778): [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=[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
12-08 01:29:44.393 D/PHONE ( 778): [ServiceState] setNullState=1
12-08 01:29:44.393 D/GsmSST ( 778): [GsmSST] updateSpnDisplay: radio is off w/ showPlmn=false plmn=null
12-08 01:29:44.393 D/GsmSST ( 778): [GsmSST] updateSpnDisplay: changed sending intent rule=0 showPlmn='false' plmn='null' showSpn='false' spn=''
12-08 01:29:44.413 D/GsmSST ( 778): [GsmSST] operatorNumeric is null
12-08 01:29:44.633 D/GsmSST ( 778): [GsmSST] notifyDataRegStateRilRadioTechnologyChanged: drs=3 rat=0
12-08 01:29:44.633 D/DCT ( 778): get all active apn types
Code:
I/SystemServer( 471): Wi-Fi Service
I/SystemServer( 471): Connectivity Service
D/ConnectivityService( 471): ConnectivityService starting up
D/ConnectivityService( 471): wifiOnly=false
E/ConnectivityService( 471): Ignoring protectedNetwork 10
E/ConnectivityService( 471): Ignoring protectedNetwork 11
E/ConnectivityService( 471): Ignoring protectedNetwork 12
E/ConnectivityService( 471): Ignoring protectedNetwork 14
E/MobileDataStateTracker( 471): default: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 471): default: Could not enable APN type "default"
I/WifiService( 471): WifiService starting up with Wi-Fi disabled
I/SystemServer( 471): Network Service Discovery Service
D/NsdService( 471): Network service discovery enabled true