[Nexus 5 Android Development] synesthete:
Logs for Call Hang-Up Issue:

First, thanks again for this great ROM. I have always loved it and I know it takes a lot of work to keep up. :)

I finally got around to recording some logs for my bug that I have been having. I was really sick before and didn't have the energy to mess with logs, or even walk across the apartment :P . The bug prevents me from hanging up from calls in the Dialer and in Hangouts. I have tried a few more things to try to understand what is going on and if I could fix it. I know that at least one other person was having the issue. This bug seems to happen on some other ROMs as well, so maybe it is from some CM commits or something. If there is a better thread/Forum for me to post this in, please let me know, but I figured that I would post here since it is relevant to the ROM, regardless of the bug's origin.

Original bug post:

Short log: (truncated to just the end of the log)

I/PowerManagerService(27633): Waking up from sleep (uid 1000)...

I/DisplayPowerController(27633): Blocking screen on until initial contents have been drawn.

I/DisplayPowerController(27633): Unblocked screen on after 8 ms

I/InCall ( 3629): InCallActivity - onResume()...

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

I/Telecom (27633): ProximitySensorManager: Proximity wake lock already acquired

D/audio_hw_primary(27374): adev_set_parameters: enter: screen_state=off

E/WifiStateMachine(27633): cancelDelayedScan -> 53

I/Timeline( 3629): Timeline: Activity_idle id: android.os.BinderProxy@390ecf53 time:3215446

W/fb4a(:<default>):QuickExperimentControllerImpl( 3122): Exposure of experiment com.facebook.messaging.forcemessenger.abtest.DiodeDisableMessageFetchingQuickExperiment@de3a85c occurred when no user was logged in

D/audio_hw_primary(27374): adev_set_parameters: enter: screen_state=on

E/WifiStateMachine(27633): cancelDelayedScan -> 54

I/PowerManagerService(27633): Going to sleep due to power button (uid 1000)...

I/PowerManagerService(27633): Sleeping (uid 1000)...

I/InCall ( 3629): StatusBarNotifier - Will show "hang-up" action in the ongoing active call Notification

I/ValidateNoPeople(27633): Validating: 0|com.android.dialer|1|null|10008

I/ValidateNoPeople(27633): final affinity: 0.0

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

I/Telecom (27633): ProximitySensorManager: Proximity wake lock already acquired

W/ResourceType(27881): For resource 0x01030224, entry index(548) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x01030224, entry index(548) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x01030203, entry index(515) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x010301fe, entry index(510) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x010301ed, entry index(493) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x0103003e, entry index(62) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x01030201, entry index(513) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x01030200, entry index(512) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x01030202, entry index(514) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x01030224, entry index(548) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x01030224, entry index(548) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x01030203, entry index(515) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x010301fe, entry index(510) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x010301ed, entry index(493) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x0103003e, entry index(62) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x01030201, entry index(513) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x01030200, entry index(512) is beyond type entryCount(14)

W/ResourceType(27881): For resource 0x01030202, entry index(514) is beyond type entryCount(14)

I/PowerManagerService(27633): Waking up from sleep (uid 1000)...

I/DisplayPowerController(27633): Blocking screen on until initial contents have been drawn.

I/DisplayPowerController(27633): Unblocked screen on after 10 ms

I/InCall ( 3629): InCallActivity - onResume()...

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

I/Telecom (27633): ProximitySensorManager: Proximity wake lock already acquired

I/Timeline( 3629): Timeline: Activity_idle id: android.os.BinderProxy@390ecf53 time:3216042

D/audio_hw_primary(27374): adev_set_parameters: enter: screen_state=off

E/WifiStateMachine(27633): cancelDelayedScan -> 57

W/fb4a(:<default>):QuickExperimentControllerImpl( 3122): Exposure of experiment com.facebook.messaging.forcemessenger.abtest.DiodeDisableMessageFetchingQuickExperiment@de3a85c occurred when no user was logged in

D/audio_hw_primary(27374): adev_set_parameters: enter: screen_state=on

E/WifiStateMachine(27633): cancelDelayedScan -> 58

E/libsuspend(27633): Error writing to /sys/power/state: Device or resource busy

I/EventLogService(28400): Opted in for usage reporting

I/EventLogService(28400): Aggregate from 1436237162773 (log), 1436236855379 (data)

W/EventLogAggregator(28400): Unknown tag: snet_gcore

W/EventLogAggregator(28400): Unknown tag: snet_launch_service

I/ServiceDumpSys(28400): dumping service [account]

I/ServiceDumpSys(28400): dumping service [batterystats]

I/ServiceDumpSys(28400): dumping service [package]

I/ServiceDumpSys(28400): dumping service [procstats]

E/libsuspend(27633): Error writing to /sys/power/state: Device or resource busy

E/libsuspend(27633): Error writing to /sys/power/state: Device or resource busy

E/libsuspend(27633): Error writing to /sys/power/state: Device or resource busy

E/libsuspend(27633): Error writing to /sys/power/state: Device or resource busy

^C

bash-3.2$

Long Log: (in case you needed more info)

http://pastebin.com/MMwG2EMj

I am using a White 32GB Google Play Nexus and using it with T-Mobile (just in case it is relevant).

Currently running the AOSP Blisspop 3.6 Official July 1st build (haven't tried CAF yet), but I have had the issue with several other recent builds going back several versions (maybe since 3.2 or 3.4). I have been clean flashing.

Quick Summary of things that I have tried:

• USing AOSP version of Blisspop.

• "Prevent accidental Wakeup" is off

• Ambient Display is off

• Both Smart Cover options are turned off

• When proximity sensor is toggled ON in Call settings, the screen refuses to wake. If I use a lockscreen replacement like AcDisplay, the screen WILL turn on, but will turn off as soon as I switch back to the Dialer (Normal Dialer and Hangouts).

• When Proximity Sensor is toggled OFF in Call Settings, the screen can be turned on and off, but the on-screen hang-up button does not function, nor do any other parts of the dialer interface. I can use the navbar buttons to kill the dialer (long-press back).

• I tried turning off services in Notification access, Administrator Access, Accessibility Access, etc, to make sure things weren't conflicting. I tried with a clean flash with no Xposed framework installed. I uninstalled Greenify.

• This is not specfic to Blisspop and happens on a fresh install of this ROM and some others (SOKP has the same issue). The bug happens on the stock Blisspop kernel as well as ElementalX. I have tried Multiple GAPPS packages including Banks, Slim, TK, Open Gapps.

I am mentioning those who previously responded to my original post in case they have had any new luck, discoveries or information. Thanks all for the help:
[MENTION=5445418]Dark_Eyes_[/MENTION] [MENTION=5366763]Hayatzada[/MENTION] [MENTION=5776465]genesixxbf3[/MENTION] [MENTION=231596]HTCore[/MENTION]

Thanks again :)