[Moto G 2015 Q&A, Help & Troubleshooting] DevByStarlight:
(Apologies if this is a duplicate, search for "phone call reboot" is a bit too generic)

Greetings.

Summary:

- Making or Receiving phone calls causes hard reboot.

Additional Info:

I flashed the MotoG3 2015 with the OwnROM August 19, 2015 ROM build and installed OwnROM GAPPS (and SuperSU, etc) using TWRP.

ro.modversion = OwnROM-osprey-1.0-UNOFFICIAL-20150819

http://xdaforums.com/2015-moto-g/development/rom-ownrom-5-1-1r9-moto-g3-osprey-t3181556

The OwnROM osprey ROM install went smoothly.

I believe this build includes squid2's wifi fixes beta branch.

Wifi and Mobile Data work just fine.

Unfortunately, phone calls do not. (sort of an important feature on a phone)

Attached below is a logcat of the crash as well as some device system info.

Let me know if require any additional information to help get it fixed.

Side note: This is not my first mod ROM flash. Previously used prebuilt ROMS on Nex7 and HTC EVO 3D. And built CM from source for Nex4 - although didn't tinker with it much. All I'm saying is I'm more than happy to dig in and help poke the source to trace the problem.

~~

Build info:

[ro.build.characteristics]: [default]

[ro.build.date.utc]: [1440007221]

[ro.build.date]: [mercredi 19 août 2015, 20:00:21 (UTC+0200)]

[ro.build.description]: [osprey_retus-user 5.1.1 LPI23.72-16.3 3 release-keys]

[ro.build.display.id]: [LMY48I]

[ro.build.fingerprint]: [motorola/osprey_retus/osprey_umts:5.1.1/LPI23.72-16.3/3:user/release-keys]

[ro.build.flavor]: [ownrom_osprey-userdebug]

[ro.build.host]: [cute-loli]

[ro.build.id]: [LMY48I]

[ro.build.product]: [osprey_umts]

[ro.build.selinux]: [1]

[ro.build.tags]: [test-keys]

[ro.build.type]: [userdebug]

[ro.build.user]: [mazda]

[ro.build.version.all_codenames]: [REL]

[ro.build.version.codename]: [REL]

[ro.build.version.incremental]: [f4697fa0ac]

[ro.build.version.release]: [5.1.1]

[ro.build.version.sdk]: [22]​

~~

Logcat excerpt:

E/MDM ( 5820): [194] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}

D/LocSvc_NiH( 4423): OutgoingCallReceiver :: onReceive

D/LocSvc_NiH( 4423): bundle != null

I/Telecom ( 4423): CallsManager: Creating a new outgoing call with handle: ***********

D/LocationInitializer( 5880): Restart initialization of location

I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities:], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettings:(CameraDir:-1)]

D/AccelerometerListener( 8822): enable(false)

I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING

I/Telecom ( 4423): CallsManager: updateLchStatus subInConversation: 1

I/Telecom ( 4423): CreateConnectionProcessor: Trying attempt CallAttemptRecord(ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [356a192b7913b04c54574d18c28d46e6395428ab], UserHandle{0},ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [356a192b7913b04c54574d18c28d46e6395428ab], UserHandle{0})

I/Telecom ( 4423): CreateConnectionProcessor: Attempting to call from ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}

I/Telecom ( 4423): ServiceBinderConnection: Service bound ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}

I/Telephony( 5319): TelephonyConnectionService: onCreateOutgoingConnection, request: ConnectionRequest xxxxxxxxxxxxxxx Bundle[mParcelledData.dataSize=96]

D/Telephony( 5319): TelephonyConnectionService: placeOutgoingConnection isAddParticipant = false

D/audio_hw_extn( 4345): audio_extn_get_parameters: returns

I/str_params( 4345): key: 'all_call_states' value: ''

D/audio_hw_extn( 4345): audio_extn_get_parameters: returns

I/str_params( 4345): key: 'all_call_states' value: ''

D/audio_hw_extn( 4345): audio_extn_get_parameters: returns

I/str_params( 4345): key: 'all_call_states' value: ''

D/audio_hw_primary( 4345): adev_set_parameters: enter: vsid=281022464;call_state=1

D/voice_extn( 4345): update_call_states is_call_active:1 in_call:1, mode:2

D/voice_extn( 4345): update_calls: enter:

D/voice_extn( 4345): update_calls: cur_state=2 new_state=1 vsid=10c01000

D/voice_extn( 4345): update_calls: ACTIVE/HOLD/LOCAL_HOLD -> INACTIVE vsid:10c01000

D/voice ( 4345): voice_stop_usecase: enter usecase:voice-call

D/Telephony( 5319): TelephonyConnectionService: Adding GSM connection to conference controller: [TelephonyConnection objId:56562108 type:gsm state:STATE_DIALING capabilities:[Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE] address:[675aa62b2044da4dbe24de64d16385340f9c2a43] originalConnection: incoming: false state: DIALING post dial state: NOT_STARTED partOfConf:N]

D/Telephony( 5319): TelephonyConferenceController: Recalculate conference calls null [].

D/Telephony( 5319): TelephonyConferenceController: Found a match for all connections in connection servicefalse

D/Telephony( 5319): TelephonyConferenceController: not enough connections to be a conference!

D/Telephony( 5319): TelephonyConferenceController: recalc - 3 [TelephonyConnection objId:56562108 type:gsm state:STATE_DIALING capabilities:[Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE] address:[675aa62b2044da4dbe24de64d16385340f9c2a43] originalConnection: incoming: false state: DIALING post dial state: NOT_STARTED partOfConf:N]

I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities:], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettings:(CameraDir:-1)]

D/AccelerometerListener( 8822): enable(false)

I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING

D/hardware_info( 4345): hw_info_append_hw_type : device_name = voice-handset

D/hardware_info( 4345): hw_info_append_hw_type : device_name = handset-mic

I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettings:(CameraDir:-1)]

D/AccelerometerListener( 8822): enable(false)

I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING

D/voice ( 4345): voice_stop_usecase: exit: status(0)

D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10dc1000

D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10c02000

D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10803000

D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10002000

I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettings:(CameraDir:-1)]

D/AccelerometerListener( 8822): enable(false)

I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING

I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettings:(CameraDir:-1)]

D/AccelerometerListener( 8822): enable(false)

I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING

I/Telecom ( 4423): CallAudioManager: updateAudioStreamAndMode, mIsRinging: false, mIsTonePlaying: false

I/Telecom ( 4423): CallAudioManager: requestAudioFocusAndSetMode, stream: 0 -> 0, mode: 2

D/audio_hw_extn( 4345): audio_extn_get_parameters: returns

I/str_params( 4345): key: 'all_call_states' value: ''

D/audio_hw_extn( 4345): audio_extn_get_parameters: returns

I/str_params( 4345): key: 'all_call_states' value: ''

I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettings:(CameraDir:-1)]

D/AccelerometerListener( 8822): enable(false)

I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING

D/audio_hw_extn( 4345): audio_extn_get_parameters: returns

I/str_params( 4345): key: 'all_call_states' value: ''

I/Telecom ( 4423): CallsManager: setCallState CONNECTING -> DIALING, call: [577472097, CONNECTING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, ***********, 0, childs(0), has_parent(false), [[Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE]], false, ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [356a192b7913b04c54574d18c28d46e6395428ab], UserHandle{0} 0]

I/InCall ( 8822): CallList - onUpdate - [Call_0, CONNECTING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettings:(CameraDir:-1)]

D/AccelerometerListener( 8822): enable(false)

I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> PENDING_OUTGOING

D/audio_hw_primary( 4345): adev_set_parameters: enter: vsid=281022464;call_state=2

D/voice_extn( 4345): update_call_states is_call_active:0 in_call:1, mode:2

D/voice_extn( 4345): update_calls: enter:

D/voice_extn( 4345): update_calls: cur_state=1 new_state=2 vsid=10c01000

D/voice_extn( 4345): update_calls: INACTIVE -> ACTIVE vsid:10c01000

D/voice ( 4345): voice_start_usecase: enter usecase:voice-call

D/audio_hw_primary( 4345): select_devices: out_snd_device(6: voice-handset) in_snd_device(27: handset-mic)

W/msm8916_platform( 4345): Codec backend bitwidth 16, samplerate 48000

W/msm8916_platform( 4345): platform_check_codec_backend_cfg:Use default bw and sr for voice/voip calls

D/hardware_info( 4345): hw_info_append_hw_type : device_name = voice-handset

D/hardware_info( 4345): hw_info_append_hw_type : device_name = handset-mic

I/Telecom ( 4423): PhoneStateBroadcaster: Broadcasted state change: 2

E/ACDB-LOADER( 4345): Error: ACDB AFE returned = -19

E/ACDB-LOADER( 4345): Error: ACDB AFE returned = -19

E/ACDB-LOADER( 4345): Error: ACDB AANC returned = -19

D/audio_hw_primary( 4345): select_devices: done

D/voice ( 4345): voice_config.rate 8000

I/Telecom ( 4423): CallAudioManager: updateAudioStreamAndMode, mIsRinging: false, mIsTonePlaying: false

I/InCall ( 8822): CallList - onUpdate - [Call_0, DIALING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettings:(CameraDir:-1)]

I/InCall ( 8822): InCallPresenter - Start in call UI

I/InCall ( 8822): InCallPresenter - Showing InCallActivity immediately

I/Timeline( 8822): Timeline: Activity_launch_request id:com.android.dialer time:30333383

I/ActivityManager( 4423): START u0 {act=android.intent.action.MAIN flg=0x10840000 cmp=com.android.dialer/com.android.incallui.InCallActivity (has extras)} from uid 10006 on display 0

I/Telecom ( 4423): CallAudioManager: requestAudioFocusAndSetMode, stream: 0 -> 0, mode: 2

I/Telecom ( 4423): CallsManager: entered manageMSimInCallTones

V/WindowManager( 4423): addAppToken: AppWindowToken{1744b4be token=Token{3dcb5f79 ActivityRecord{ac96440 u0 com.android.dialer/com.android.incallui.InCallActivity t50}}} to stack=1 task=50 at 0

I/Telecom ( 4423): CallsManager: setCallState DIALING -> DIALING, call: [577472097, DIALING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, ***********, 0, childs(0), has_parent(false), [[Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE]], false, ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [356a192b7913b04c54574d18c28d46e6395428ab], UserHandle{0} 0]

I/Telecom ( 4423): CallsManager: entered manageMSimInCallTones

I/Telecom ( 4423): CallsManager: setActiveSubscription = 1

D/AccelerometerListener( 8822): enable(false)

I/InCall ( 8822): InCallPresenter - Phone switching state: PENDING_OUTGOING -> OUTGOING

D/AccelerometerListener( 8822): enable(true)

I/InCall ( 8822): ProximitySensor - ProximitySensor{keybrd=0, dpad=0, offhook=1, hor=0, ui=0, aud=EARPIECE}

I/Telecom ( 4423): ProximitySensorManager: Acquiring proximity wake lock

I/InCall ( 8822): CallList - onUpdate - [Call_0, DIALING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettings:(CameraDir:-1)]

D/AccelerometerListener( 8822): enable(false)

I/InCall ( 8822): InCallPresenter - Phone switching state: OUTGOING -> OUTGOING

I/InCall ( 8822): CallList - onUpdate - [Call_0, DIALING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MERGE_CONFERENCE CAPABILITY_MUTE], children:[], parent:null, videoState:0, mIsActivSub:false, callSubState:0, mSessionModificationState:0, conferenceable:[], VideoSettings:(CameraDir:-1)]

D/AccelerometerListener( 8822): enable(false)

I/InCall ( 8822): InCallPresenter - Phone switching state: OUTGOING -> OUTGOING

D/AndroidRuntime( 4423): Shutting down VM

--------- beginning of crash

E/AndroidRuntime( 4423): *** FATAL EXCEPTION IN SYSTEM PROCESS: main

E/AndroidRuntime( 4423): java.lang.NullPointerException: Attempt to invoke interface method 'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()' on a null object reference

E/AndroidRuntime( 4423):	at cyanogenmod.hardware.CMHardwareManager.getSupportedFeatures(CMHardwareManager.java:169)

E/AndroidRuntime( 4423):	at cyanogenmod.hardware.CMHardwareManager.isSupported(CMHardwareManager.java:183)

E/AndroidRuntime( 4423):	at com.android.server.telecom.ProximitySensorManager.turnOn(ProximitySensorManager.java:70)

E/AndroidRuntime( 4423):	at com.android.server.telecom.CallsManager.turnOnProximitySensor(CallsManager.java:986)

E/AndroidRuntime( 4423):	at com.android.server.telecom.InCallAdapter$InCallAdapterHandler.handleMessage(InCallAdapter.java:182)

E/AndroidRuntime( 4423):	at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime( 4423):	at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime( 4423):	at com.android.server.SystemServer.run(SystemServer.java:298)

E/AndroidRuntime( 4423):	at com.android.server.SystemServer.main(SystemServer.java:186)

E/AndroidRuntime( 4423):	at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime( 4423):	at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime( 4423):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)

E/AndroidRuntime( 4423):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)

E/MotoSensors( 4423): Proximity uncovered

D/voice ( 4345): voice_start_usecase: exit: status(0)

D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10dc1000

D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10c02000

D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10803000

D/voice_extn( 4345): update_calls: cur_state=1 new_state=1 vsid=10002000

I/Process ( 4423): Sending signal. PID: 4423 SIG: 9

W/ResourceType( 8822): For resource 0x7f0b0023, entry index(35) is beyond type entryCount(18)

E/QMI_FW ( 4623): xport_send: Sendto failed for port 4608

E/QMI_FW ( 4623): xport_send: Sendto failed for port 4608

E/installd( 331): eof

E/installd( 331): failed to read size

I/installd( 331): closing connection

D/audio_hw_primary( 4345): out_standby: enter: stream (0xb587fe80) usecase(1: low-latency-playback)

E/WifiManager( 5709): Channel connection lost

W/Sensors ( 4829): sensorservice died [0xa2e4e4c0]

I/ServiceManager( 270): service 'telecom' died

I/ServiceManager( 270): service 'notification' died

I/ServiceManager( 270): service 'devicestoragemonitor' died

I/ServiceManager( 270): service 'location' died

I/ServiceManager( 270): service 'country_detector' died

I/ServiceManager( 270): service 'search' died

D/SurfaceFlinger( 272): Set power mode=2, type=0 flinger=0xb6082000

I/ServiceManager( 270): service 'dropbox' died

D/SurfaceFlinger( 272): Screen type=0 is already mode=2

I/ServiceManager( 270): service 'wallpaper' died

I/ServiceManager( 270): service 'audio' died

I/ServiceManager( 270): service 'DockObserver' died

I/ServiceManager( 270): service 'usb' died

I/ServiceManager( 270): service 'serial' died

I/ServiceManager( 270): service 'uimode' died

I/ServiceManager( 270): service 'jobscheduler' died

I/ServiceManager( 270): service 'backup' died

I/ServiceManager( 270): service 'appwidget' died

I/ServiceManager( 270): service 'voiceinteraction' died

W/Sensors ( 8822): sensorservice died [0xb4b971c0]

D/hardware_info( 4345): hw_info_append_hw_type : device_name = voice-handset

E/WifiManager( 5319): Channel connection lost

W/AudioFlinger( 4345): power manager service died !!!

I/ServiceManager( 270): service 'diskstats' died

I/lowmemorykiller( 269): ActivityManager disconnected

I/lowmemorykiller( 269): Closing Activity Manager data connection

W/Sensors ( 5277): sensorservice died [0xb4a32d40]

W/Sensors ( 5820): sensorservice died [0xb4ad3ac0]

E/WifiManager( 5820): Channel connection lost

E/WifiManager( 4829): Channel connection lost

D/Telephony( 5319): GsmConnection: Null call extras

I/ServiceManager( 270): service 'samplingprofiler' died

I/ServiceManager( 270): service 'commontime_management' died

I/ServiceManager( 270): service 'dreams' died

I/ServiceManager( 270): service 'assetatlas' died

...

​