[Galaxy S I9000 Android Development] SinnerG:
Once upon a time...

yesterday I was "wise" enough to flash new modem onto my CM7. Didn't go well, kept getting com.android.phone deaths. Restore backup left me with brick. Had to flash back to some standard ROM I could find to get a usable phone again.

Then put CM7 nightly #123 on, followed by r15 kernel and things have been running real sweet all day.

I just flashed r16 and on boot the com.android.phone keeps dying.

Put r15 back on and still the same.

Backup, format, restore and still same issue.

Used the cleaning script.

Only doing a factory reset resolved it.

logcat says this when the com.android.phone death window pops up:

I/Process ( 1328): Sending signal. PID: 1328 SIG: 9
W/InputManagerService( 262): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4085eb60
I/ServiceManager( 157): service 'isms' died
I/ServiceManager( 157): service 'simphonebook' died
I/ServiceManager( 157): service 'iphonesubinfo' died
I/ServiceManager( 157): service 'phone' died
I/ServiceManager( 157): service 'sip' died
I/ActivityManager( 262): Process com.android.phone (pid 1328) has died.
I/ActivityManager( 262): Start proc com.android.phone for restart com.android.phone: pid=1410 uid=1001 gids={3002, 3001, 3003, 1015}
D/szipinf ( 1410): Initializing inflate state
I/ActivityThread( 1410): Pub telephony: com.android.providers.telephony.TelephonyProvider
I/ActivityThread( 1410): Pub icc: com.android.phone.IccProvider
I/ActivityThread( 1410): Pub mms: com.android.providers.telephony.MmsProvider
I/ActivityThread( 1410): Pub sms: com.android.providers.telephony.SmsProvider
I/ActivityThread( 1410): Pub mms-sms: com.android.providers.telephony.MmsSmsProvider
D/CallManager( 1410): registerPhone(CDMA Handler{406d9d18})
I/TelephonyRegistry( 262): notifyMessageWaitingChanged: false
D/BT HS/HF( 1410): CDMA call state: IDLE prev state:IDLE
W/ActivityManager( 262): Unable to start service Intent { act=com.android.ussd.IExtendedNetworkService }: not found
D/dalvikvm( 1410): GC_CONCURRENT freed 200K, 51% free 2791K/5639K, external 0K/0K, paused 2ms+2ms
I/TelephonyRegistry( 262): notifyServiceState: 3 home null null null Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false
I/TelephonyRegistry( 262): notifyDataConnection: state=0 isDataConnectivityPossible=false reason=radioTurnedOff interfaceName=null networkType=0
D/NetworkModeButton( 324): Unexpected network mode (7)
D/vending ( 411): [19] 1.run(): Clearing cache in response to android.intent.action.SIM_STATE_CHANGED
D/BT HSHFP( 1410): Starting BluetoothHeadsetService
D/PhoneApp( 1410): Radio technology switched. Now GSM is active.
I/TelephonyRegistry( 262): notifyDataConnection: state=0 isDataConnectivityPossible=false reason=radioTurnedOff interfaceName=null networkType=0
D/NetworkModeButton( 324): Unexpected network mode (7)
I/TelephonyRegistry( 262): notifyDataConnection: state=0 isDataConnectivityPossible=false reason=gprsDetached interfaceName=null networkType=0
D/NetworkModeButton( 324): Unexpected network mode (7)
D/PhoneApp( 1410): Radio technology switched. Now GSM is active.
V/SipBroadcastReceiver( 1410): start auto registration
D/AndroidRuntime( 1410): Shutting down VM
W/dalvikvm( 1410): threadid=1: thread exiting with uncaught exception (group=0x401a4560)
E/AndroidRuntime( 1410): FATAL EXCEPTION: main
E/AndroidRuntime( 1410): java.lang.NullPointerException
E/AndroidRuntime( 1410): at com.android.internal.telephony.cdma.CDMAPhone.getState(CDMAPhone.java:268)
E/AndroidRuntime( 1410): at com.android.internal.telephony.CallManager.getState(CallManager.java:243)
E/AndroidRuntime( 1410): at com.android.phone.PhoneUtils$ConnectionHandler.handleMessage(PhoneUtils.java:187)
E/AndroidRuntime( 1410): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1410): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 1410): at android.app.ActivityThread.main(ActivityThread.java:3835)
E/AndroidRuntime( 1410): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 1410): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1410): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
E/AndroidRuntime( 1410): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
E/AndroidRuntime( 1410): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 262): Process com.android.phone has crashed too many times:killing!
D/dalvikvm( 402): GC_EXPLICIT freed 233K, 52% free 2762K/5703K, external 0K/0K, paused 89ms

Anything in this kernel related to this? Maybe this is just SIM related somehow?

I did notice in the CM7 log there was something about a bad block being found. Just not sure why this triggered again after a kernel update.

Apologies if this is not related to this kernel in any way.