[Nexus 5 Q&A, Help & Troubleshooting] Android.Addiction:
I'm running Nexus 5 stock ROM (latest Kitkat), rooted with TWRP recovery. I only have the following additional things I would consider "modifications":

Xposed installed with the following modules:

- Advanced power menu

- Exchange security bypass

When I boot up my phone, I am unable to turn my screen off at my lock screen by pressing my power button. It simply does nothing. If I set my phone on the table, the screen will not time out even though I have one set. My lock screen uses the pin pad. Another oddity I notice is that I have bluetooth enabled but it does not appear in the status bar until I unlock the screen. I also have a weather app that has temperature in the status bar, and that does not appear to be loaded until I unlock. So it seems that the OS is only partially loaded.

I attempted to look at logcats but I don't see anything useful. As I press the power button I do not see any feedback from logcat output at lockscreen after boot (I assume this is bad). Even though TAPPING power button does not turn off the screen, HOLDING power does bring up the power menu (wtf?).

Anyone know what is going on? I was skeptical to provide logcat data here since I am afraid it has personal info in it. I am not an android dev/logcat expert so please provide guidance. Thanks.

I have tried disabling Xposed and uninstalling the modules, but I still experience this problem.

EDIT:

Not sure if it helps, but log cat shows this when I hold down power button to activate power menu:

D/dalvikvm( 1544): GC_FOR_ALLOC freed 477K, 5% free 19074K/19960K, paused 36ms, total 36ms
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory
W/ViewRootImpl( 815): Dropping event due to no window focus: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_POWER, scanCode=116, metaState=0, flags=0x8, repeat
Count=2, eventTime=798132, downTime=797581, deviceId=5, source=0x101 }
W/ViewRootImpl( 815): Dropping event due to no window focus: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_POWER, scanCode=116, metaState=0, flags=0x8, repeat
Count=3, eventTime=798183, downTime=797581, deviceId=5, source=0x101 }
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory
I/SearchController( 1581): #onHotwordDetectorStopped
I/MicrophoneInputStream( 1581): mic_close
D/PhoneStatusBar( 992): disable: < EXPAND* icons alerts ticker system_info back home recent clock search >
V/SearchControllerCache( 1581): disposing SearchController
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory
D/dalvikvm( 1581): threadid=36: thread exiting, not yet detached (count=0)
D/dalvikvm( 1581): threadid=34: thread exiting, not yet detached (count=0)
D/dalvikvm( 1581): threadid=33: thread exiting, not yet detached (count=0)
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory
D/dalvikvm( 815): GC_CONCURRENT freed 2195K, 9% free 27240K/29776K, paused 3ms+4ms, total 83ms
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory
E/PowerHAL( 815): touch_boost: failed to send: No such file or directory

Again, it shows nothing when I simply just tap it (which should normally just turn the screen off).

EDIT2

If I go into the Xposed app and close it, it unblocks the system and everything finishes loading up. Looks like it locks up the system somehow.

EDIT3

Ok going into Xposed app and exiting it doesn't always help... so I'm at a loss. At this point I've completely uninstalled the xposed app, removed it from recovery, and deleted all modules, and this issue still happens when I reboot. I'll keep testing some things.

EDIT4

Alright so I went to TWRP and did a factory reset (dalvik, cache, data), the problem still happens!!!! I'm going crazy!