[Xperia SP Q&A, Help & Troubleshooting] CallMeVentus:
Hey guys, I have an issue with my device and I'm not exactly that sure where the problem is.

So basically, if I call someone, it's fine....until I make use of the proximity sensor. After that the phone goes haywire, with com.android.phone force closing itself, as well as the network suddenly blinking between no SIM and having a SIM card.

Here's the logcat (of course, it's not complete, it's the moment when the error happens):

D/ACDB-LOADER( 322): ACDB -> send_audvoltable
D/ACDB-LOADER( 322): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_VOLTBL_STEP_COPP
E/ACDB-LOADER( 322): Error: ACDB AudProc vol returned = -8
D/ACDB-LOADER( 322): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/ACDB-LOADER( 322): ACDB -> AUDIO_SET_AFE_CAL
D/alsa_ucm( 322): Setting mixer control: SLIM_0_TX Channels, value: Two
D/alsa_ucm( 322): Setting mixer control: SLIM TX7 MUX, value: DEC7
D/alsa_ucm( 322): Setting mixer control: DEC7 MUX, value: ADC1
D/alsa_ucm( 322): Setting mixer control: ADC1 Volume, value: 100
D/alsa_ucm( 322): Setting mixer control: MICBIAS1 CAPLESS Switch, value: 1
D/alsa_ucm( 322): Setting mixer control: SLIM TX8 MUX, value: DEC4
D/alsa_ucm( 322): Setting mixer control: DEC4 MUX, value: ADC3
D/alsa_ucm( 322): Setting mixer control: ADC3 Volume, value: 100
D/alsa_ucm( 322): Setting mixer control: MICBIAS4 CAPLESS Switch, value: 1
D/alsa_ucm( 322): Set mixer controls for Voice Call enable 1
D/alsa_ucm( 322): Setting mixer control: SLIM_0_RX_Voice Mixer CSVoice, value:
1
D/alsa_ucm( 322): Setting mixer control: Voice_Tx Mixer SLIM_0_TX_Voice, value:
1
D/ALSADevice( 322): startVoiceCall: handle 0x40045cd8
D/ALSADevice( 322): Device value returned is hw:0,2
D/ALSADevice( 322): handle->format: 0x2
D/ALSADevice( 322): setHardwareParams: reqBuffSize 2048 channels 1 sampleRate 8
000
D/ALSADevice( 322): setHardwareParams: buffer_size 8192, period_size 4096, peri
od_cnt 2
D/PowerManagerService( 631): releaseWakeLock flags=0x1 tag=RILJ
D/ALSADevice( 322): Device value returned is hw:0,2
D/ALSADevice( 322): handle->format: 0x2
D/ALSADevice( 322): setHardwareParams: reqBuffSize 4096 channels 1 sampleRate 8
000
D/ALSADevice( 322): setHardwareParams: buffer_size 8192, period_size 4096, peri
od_cnt 2
I/sysmon-xo_therm( 315): sensor_work - read value = 346
D/ALSADevice( 322): enableSlowTalk: flag 0
D/ALSADevice( 322): setMixerControl:: name Slowtalk Enable value 0 index 0
D/AudioPolicyManagerALSA( 322): Music Beat stream=2, index=0, volume=0.000000
D/AudioHardwareALSA( 322): setParameters() music_beat_digital_volume=0;music_be
at_stream_type=ring
D/AudioHardwareALSA( 322): Music Beat: mMusicBeatStreamType=1
D/AudioHardwareALSA( 322): Music Beat: mMusicBeatVolumeIndex=0
D/AudioPolicyManagerALSA( 322): Music Beat stream=3, index=13, volume=0.446684
D/AudioHardwareALSA( 322): setParameters() music_beat_digital_volume=13;music_b
eat_stream_type=music
D/AudioHardwareALSA( 322): Music Beat: mMusicBeatStreamType=0
D/AudioHardwareALSA( 322): Music Beat: mMusicBeatVolumeIndex=13
D/AudioHardwareALSA( 322): setFmVolume(0.446684)
D/AudioHardwareALSA( 322): Setting FM volume to 0x5b1 (available range is 0 to
0x0CBD)
I/AudioService( 631): AudioFocus requestAudioFocus() from AudioFocus_For_Phon
e_Ring_And_Calls
D/CallNotifier( 7625): stopRing()... (OFFHOOK state)
D/Ringer ( 7625): stopRing()...
D/Ringer ( 7625): - stopRing: null mRingHandler!
D/CallNotifier( 7625): - posting UPDATE_IN_CALL_NOTIFICATION request...
D/CallNotifier( 7625): - showing incoming call (unknown connection appeared)...
D/CallNotifier( 7625): showIncomingCall()... phone state = OFFHOOK
D/CallNotifier( 7625): - updating notification from showIncomingCall()...
D/NotificationMgr( 7625): updateInCallNotification(allowFullScreenIntent = true)
...
D/NotificationMgr( 7625): - hasRingingCall = false
D/NotificationMgr( 7625): - hasActiveCall = true
D/NotificationMgr( 7625): - hasHoldingCall = false
D/NotificationMgr( 7625): - Updating status bar icon: resId = 2130837721
D/PowerManagerService( 631): acquireWakeLock flags=0x1 tag=PreventScreenOn Part
ial
D/PowerManagerService( 631): acquireWakeLock flags=0x1000001a tag=PhoneApp
W/NotificationMgr( 7625): CallerInfo isn't available while Call object is availa
ble.
D/NotificationMgr( 7625): - CallerInfo not found. Use the same icon as in the st
atus bar.
D/NotificationMgr( 7625): - No useful Bitmap was found for the photo. Use the de
fault contact photo in the notification.
D/NotificationMgr( 7625): - Updating context text and chronometer.
D/PhoneUtils( 7625): PhoneUtils.startGetCallerInfo: new query for phone number..
.
D/PhoneUtils( 7625): - number (address): xxxx
D/PhoneUtils( 7625): - c: incoming: false state: ACTIVE post dial state: NOT_ST
ARTED
D/PhoneUtils( 7625): - phone: Handler (com.android.internal.telephony.gsm.GSMPho
ne) {42509210}
D/PhoneUtils( 7625): - phoneType: 1
D/PhoneUtils( 7625): ==> PHONE_TYPE_GSM
D/PhoneUtils( 7625): startGetCallerInfo: query based on number: xxxx
D/NotificationMgr( 7625): - Updating expanded view: line 2 'xxxxxxx'
D/NotificationMgr( 7625): updateInCallNotification, isMuteEnabled: false
D/NotificationMgr( 7625): Will show "hang-up" action in the ongoing active call
Notification
D/NotificationMgr( 7625): Notifying IN_CALL_NOTIFICATION: Notification(pri=1 con
tentView=com.android.phone/0x1090077 vibrate=null sound=null defaults=0x0 flags=
0x2 kind=[null] 2 actions)
D/PhoneStatusBar( 861): addNotification score=10
I/sysmon-tsens_tz_sensor3( 315): sensor_work - read value = 380
I/sysmon-tsens_tz_sensor0( 315): sensor_work - read value = 390
D/NotificationMgr( 7625): updateSpeakerNotification: speaker OFF (or not offhook
)
D/NotificationMgr( 7625): updateSpeakerNotification(false)...
D/NotificationMgr( 7625): updateMuteNotification: not muted (or not offhook)
I/ActivityManager( 631): START {act=android.intent.action.MAIN flg=0x10840000 c
mp=com.android.phone/.SomcInCallScreen u=0} from pid 7625
D/PowerManagerService( 631): acquireWakeLock flags=0x1 tag=ActivityManager-Laun
ch
D/BT HS/HF( 7625): audioOn(): headset is not connected!
D/CallManager( 7625): setAudioMode useInCallMode = false, Baseband = msm
D/CallNotifier( 7625): stopRing()... (OFFHOOK state)
D/Ringer ( 7625): stopRing()...
D/PowerManagerService( 631): releaseWakeLock flags=0x1000001a tag=PhoneApp
I/SemcMusicPlayer( 6501): wakeLock isHeld: false
D/Ringer ( 7625): - stopRing: null mRingHandler!
D/CallNotifier( 7625): - posting UPDATE_IN_CALL_NOTIFICATION request...
D/CallTimeStamp( 7625): Call to number [1688] was activated at: 13:55:56.414
D/AudioHardwareALSA( 322): setMicMute newMode 2
D/NotificationMgr( 7625): updateMuteNotification: not muted (or not offhook)
D/PowerManagerService( 631): acquireWakeLock flags=0x1 tag=RILJ
D/PowerManagerService( 631): acquireWakeLock flags=0x1 tag=RILJ
D/PowerManagerService( 631): releaseWakeLock flags=0x1 tag=RILJ
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): updateNetworkSelection()...state = 0 new network
D/KeyguardUpdateMonitor( 631): ACTION_SIM_STATE_CHANGED intent received on sub
= 0
D/KeyguardUpdateMonitor( 631): handleSimStateChange: intentValue = UNKNOWN stat
e resolved to UNKNOWN subscription =0
I/NfcService( 1066): isInputSimPinCodeDone(): SIM state: 5
D/CAT ( 7625): CatService: 10arrived on slotid: 0
D/CAT ( 7625): CatService: SET_UP_MENU
D/CAT ( 7625): CatService: Sending CmdMsg: com.android.internal.telephony.ca
t.CatCmdMessage@4264b5c8 on slotid:0
W/CNE ( 631): mDefaultApnLinkProp is null
I/CNE_DEBUG( 631): getSignalStrength networkType= 3
I/CNE_DEBUG( 631): CNE sendWwanStatus - type:3 strength:-85 ipV4Addr:null roami
ng:0 iface:null timeStamp:2013-10-07 13:55:56.509
I/CNE_DEBUG( 631): UpdateWwanStatus type=3 state=4 rssi=-85 roaming=0 ipV4Addr=
null iface=null timeStamp=2013-10-07 13:55:56.509
E/Parcel ( 384): Reading a NULL string not supported here.
E/Parcel ( 384): Reading a NULL string not supported here.
E/StatusBar( 861): couldn't inflate view for notification com.android.phone/0x2

E/StatusBar( 861): android.widget.RemoteViews$ActionException: view: android.vi
ew.ViewStub doesn't have method: setTextColor(int)
E/StatusBar( 861): at android.widget.RemoteViews$ReflectionAction.apply(Rem
oteViews.java:1020)
E/StatusBar( 861): at android.widget.RemoteViews.performApply(RemoteViews.j
ava:2169)
E/StatusBar( 861): at android.widget.RemoteViews.apply(RemoteViews.java:212
9)
E/StatusBar( 861): at com.android.systemui.statusbar.BaseStatusBar.inflateV
iews(BaseStatusBar.java:585)
E/StatusBar( 861): at com.android.systemui.statusbar.BaseStatusBar.addNotif
icationViews(BaseStatusBar.java:755)
E/StatusBar( 861): at com.android.systemui.statusbar.phone.PhoneStatusBar.a
ddNotification(PhoneStatusBar.java:838)
E/StatusBar( 861): at com.android.systemui.statusbar.CommandQueue$H.handleM
essage(CommandQueue.java:272)
E/StatusBar( 861): at android.os.Handler.dispatchMessage(Handler.java:99)
E/StatusBar( 861): at android.os.Looper.loop(Looper.java:213)
E/StatusBar( 861): at android.app.ActivityThread.main(ActivityThread.java:4
793)
E/StatusBar( 861): at java.lang.reflect.Method.invokeNative(Native Method)
E/StatusBar( 861): at java.lang.reflect.Method.invoke(Method.java:511)
E/StatusBar( 861): at com.android.internal.os.ZygoteInit$MethodAndArgsCalle
r.run(ZygoteInit.java:789)
E/StatusBar( 861): at com.android.internal.os.ZygoteInit.main(ZygoteInit.ja
va:556)
E/StatusBar( 861): at de.robv.android.xposed.XposedBridge.main(XposedBridge
.java:112)
E/StatusBar( 861): at dalvik.system.NativeStart.main(Native Method)
W/StatusBar( 861): removeNotification for unknown key: android.os.BinderProxy@4
2a9df50
I/SomcInCallScreen( 7625): onCreate()... this = com.android.phone.SomcInCallScr
een@42656b28
D/NotificationService( 631): onNotification error pkg=com.android.phone tag=nul
l id=2; will crashApplication(uid=1001, pid=7625)
D/PowerManagerService( 631): acquireWakeLock flags=0x1 tag=NfcService:mRoutingW
akeLock
D/StatusBar.NetworkController( 861): In updateSimIcon simState= UNKNOWN
D/PowerManagerService( 631): releaseWakeLock flags=0x1 tag=NfcService:mRoutingW
akeLock
D/StatusBar.NetworkController( 861): refreshViews: Data not connected!! Set no
data type icon
D/PhoneStatusBarPolicy( 861): updateSimState for subscription :0
D/StatusBar.NetworkController( 861): refreshViews: Data not connected!! Set no
data type icon
W/StatusBar( 861): removeNotification for unknown key: android.os.BinderProxy@4
2a9df50
I/AudioService( 631): AudioFocus abandonAudioFocus() from android.media.Audio
Manager@4259ecb8com.sonyericsson.music.proxyservice.worker.Worker$AudioFocusHand
ler$1@424a5ae0
D/SomcSnsTextView( 7625): setMaxLines
D/SomcSnsTextView( 7625): onTextChanged
D/dalvikvm( 7625): GC_CONCURRENT freed 3111K, 19% free 16443K/20099K, paused 4ms
+4ms, total 57ms
D/dalvikvm( 7625): WAIT_FOR_CONCURRENT_GC blocked 39ms
D/SomcSnsTextView( 7625): setMaxLines
D/PowerManagerService( 631): releaseWakeLock flags=0x1 tag=AudioOut_2
I/sysmon-tsens_tz_sensor3( 315): sensor_work - read value = 380
I/sysmon-tsens_tz_sensor0( 315): sensor_work - read value = 380
D/SomcInCallScreen( 7625): onCreate(): this is our very first launch, checking i
ntent...
D/SomcInCallScreen( 7625): internalResolveIntent: action=android.intent.action.M
AIN
E/ContentShareProxy( 7625): Illegal Argument : java.lang.IllegalArgumentExceptio
n: Could not load application info for package
D/SomcInCallScreen( 7625): onResume()...
D/NotificationMgr( 7625): updating status bar state: 0
D/NotificationMgr( 7625): updateInCallNotification(allowFullScreenIntent = false
)...
D/NotificationMgr( 7625): - hasRingingCall = false
D/NotificationMgr( 7625): - hasActiveCall = true
D/NotificationMgr( 7625): - hasHoldingCall = false
D/NotificationMgr( 7625): - suppressNotification = true; reducing clutter in sta
tus bar...
D/NotificationMgr( 7625): cancelInCall()...
D/SomcInCallScreen( 7625): syncWithPhoneState()...
D/SomcInCallScreen( 7625): syncWithPhoneState: it's ok to be here; update the sc
reen...
D/SomcInCallScreen( 7625): updateScreen...
D/SomcInCallScreen( 7625): - phone state = OFFHOOK
D/SomcInCallScreen( 7625): - inCallScreenMode = NORMAL
D/SomcInCallScreen( 7625): dismissProgressIndication()...
V/SomcInCallScreen( 7625): No progress indication necessary
D/NotificationMgr( 7625): updating status bar state: 0
D/SomcInCallScreen( 7625): - updateScreen: One call.
D/SomcInCallScreen( 7625): We have a single active call.
I/LargeCallView( 7625): hideRejectMsgList
D/SomcInCallScreen( 7625): updateProviderOverlay: false
D/SomcInCallScreen( 7625): Show info for main call.
D/SomcSnsTextView( 7625): onTextChanged
D/SomcInCallScreen( 7625): Show photo for foreground call.
I/sysmon-pm8921_tz( 315): sensor_work - read value = 379
D/SomcInCallScreen( 7625): showPhoto else clause.... Async update of photo!
D/SomcSnsTextView( 7625): onTextChanged
D/CityIdInfo( 7625): Content Provider content://com.cequint.cityid/lookup NOT fo
und
E/QCOM PowerHAL( 631): Invalid hint ID.
D/PhoneApp( 7625): updateWakeState: callscreen true, dialer false, speaker false
...
D/PhoneApp( 7625): updateWakeState: keepScreenOn = false (isRinging false, isDia
ling false, showingDisc false)
D/PhoneApp( 7625): pulse screen lock
E/ActivityThread( 7625): Failed to find provider info for com.cequint.cityid
D/PowerManagerService( 631): releaseWakeLock flags=0x1 tag=PreventScreenOn Part
ial
D/SomcInCallScreen( 7625): onResume() done.
D/PowerManagerService( 631): acquireWakeLock flags=0x1 tag=RILJ
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
D/NotificationMgr( 7625): hideDataDisconnectedRoaming()...
W/dalvikvm( 7625): threadid=1: thread exiting with uncaught exception (group=0x4
18bb450)
E/AndroidRuntime( 7625): FATAL EXCEPTION: main
E/AndroidRuntime( 7625): android.app.RemoteServiceException: Bad notification po
sted from package com.android.phone: Couldn't expand RemoteViews for: StatusBarN
otification(pkg=com.android.phone id=2 tag=null score=10 notn=Notification(pri=1
contentView=com.android.phone/0x1090077 vibrate=null sound=null defaults=0x0 fl
ags=0x2 kind=[null] 2 actions))
E/AndroidRuntime( 7625): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1372)
E/AndroidRuntime( 7625): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 7625): at android.os.Looper.loop(Looper.java:213)
E/AndroidRuntime( 7625): at android.app.ActivityThread.main(ActivityThrea
d.java:4793)
E/AndroidRuntime( 7625): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 7625): at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidRuntime( 7625): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime( 7625): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:556)
E/AndroidRuntime( 7625): at de.robv.android.xposed.XposedBridge.main(Xpos
edBridge.java:112)
E/AndroidRuntime( 7625): at dalvik.system.NativeStart.main(Native Method)

D/PowerManagerService( 631): releaseWakeLock flags=0x1 tag=RILJ
W/ActivityManager( 631): Process com.android.phone has crashed too many times:
killing!
W/ActivityManager( 631): Force finishing activity com.android.phone/.SomcInCa
llScreen
D/PowerManagerService( 631): acquireWakeLock flags=0x1 tag=ActivityManager-Laun
ch
I/CrashMonitor( 7221): CrashMonitorServiceBroadcastReceiver: Forwarding intent:
android.intent.action.DROPBOX_ENTRY_ADDED tag: system_app_crash
I/CrashMonitor( 7221): CrashMonitorService: Service started...
I/CrashMonitor( 7221): CrashMonitorService: onHandleIntent action: android.inten
t.action.DROPBOX_ENTRY_ADDED
D/PowerManagerService( 631): releaseWakeLock flags=0x1 tag=AudioOut_3

Anyone?

I'm on 2.245, C5303, with the deodexed version.

Kernel is stock, and I have Xposed framework installed, with XBlast Tools, Advanced Reboot Menu, and Greenify.