[Android General] manueltts:
This mod is amazing. I'm not a particular fan of OnePlus One, but it is really well done and has interestinng features to taste. It's working flawless on official CM11 M9 for mako (Nexus 4), clean install with ART. I had some issues with Temasek's CM11; it has AOSP kernel, and some additional mods from SlimRom and others. The problem in that rom is that since I flashed the mod it takes many seconds (from 5 to 30...or forever) to wake up the phone. It happens with lockscreen activated or not. The backlight turns on, but the screen remains black. I'm wiping dalvik, and then trying a clean install if that doesn't work. But if someone has any other clue (maybe it can not be used on Temasek's CM), I would apreciate it.

Cheers!

Edit: I cleaned dalvik (ART) and it didn't work out. So i took a log. The problem seems to be when locking (and not unlocking) the device:

I/PowerManagerService( 1509): Going to sleep by user request...
E/JavaBinder( 1891): *** Uncaught remote exception! (Exceptions are not yet supported across processes.)
E/JavaBinder( 1891): java.lang.AbstractMethodError: abstract method "void com.android.internal.policy.IKeyguardService.setBackgroundBitmap(android.graphics.Bitmap)"
E/JavaBinder( 1891): at com.android.internal.policy.IKeyguardService$Stub.onTransact(IKeyguardService.java:249)
E/JavaBinder( 1891): at android.os.Binder.execTransact(Binder.java:404)
E/AndroidRuntime( 1891): FATAL EXCEPTION: Binder_1
E/AndroidRuntime( 1891): Process: com.android.systemui, PID: 1891
E/AndroidRuntime( 1891): java.lang.AbstractMethodError: abstract method "void com.android.internal.policy.IKeyguardService.setBackgroundBitmap(android.graphics.Bitmap)"
E/AndroidRuntime( 1891): at com.android.internal.policy.IKeyguardService$Stub.onTransact(IKeyguardService.java:249)
E/AndroidRuntime( 1891): at android.os.Binder.execTransact(Binder.java:404)
D/SurfaceFlinger( 219): Screen released, type=0 flinger=0xb8d0b450
D/SurfaceControl( 1509): Excessive delay in blankDisplay() while turning screen off: 178ms
D/PowerManagerService( 1509): acquireWakeLockInternal: blocked lock=1704349792, flags=0x1, tag="Wakeful StateMachine: GeofencerStateMachine", ws=null, uid=10008, pid=2529
W/BroadcastQueue( 1509): Skipping deliver [foreground] BroadcastRecord{657b51e8 u-1 android.intent.action.SCREEN_OFF} to ReceiverList{657e4d78 1891 com.android.systemui/10007/u0 remote:657e4b90}: process crashing
W/BroadcastQueue( 1509): Skipping deliver [foreground] BroadcastRecord{657b51e8 u-1 android.intent.action.SCREEN_OFF} to ReceiverList{656de318 1891 com.android.systemui/10007/u0 remote:6592c638}: process crashing
W/BroadcastQueue( 1509): Skipping deliver [foreground] BroadcastRecord{657b51e8 u-1 android.intent.action.SCREEN_OFF} to ReceiverList{657afaa8 1891 com.android.systemui/10007/u0 remote:657a7338}: process crashing
W/BroadcastQueue( 1509): Skipping deliver [foreground] BroadcastRecord{657b51e8 u-1 android.intent.action.SCREEN_OFF} to ReceiverList{65829cb0 1891 com.android.systemui/10007/u0 remote:65803ee8}: process crashing
V/audio_hw_primary( 222): adev_set_parameters: enter: screen_state=off
D/audio_hw_extn( 222): audio_extn_set_anc_parameters: anc_enabled:0
V/audio_hw_primary( 222): adev_set_parameters: exit with code(-2)
W/BroadcastQueue( 1509): Skipping deliver [foreground] BroadcastRecord{657b51e8 u-1 android.intent.action.SCREEN_OFF} to ReceiverList{653c77b0 1891 com.android.systemui/10007/u0 remote:64bc9ec0}: process crashing
D/NfcService( 2177): NFC-C OFF
V/audio_hw_primary( 222): out_standby: enter: usecase(1: low-latency-playback)
V/audio_hw_primary( 222): stop_output_stream: enter: usecase(1: low-latency-playback)
V/audio_hw_primary( 222): disable_audio_route: enter: usecase(1)
V/audio_hw_primary( 222): disable_audio_route: reset mixer path: low-latency-playback
V/audio_hw_primary( 222): disable_audio_route: exit
V/audio_hw_primary( 222): disable_snd_device: snd_device(2: speaker) refcnt=0
V/audio_hw_primary( 222): stop_output_stream: exit: status(0)
V/audio_hw_primary( 222): out_standby: exit

And when i tried to wake it up:

I/PowerManagerService( 1509): Waking up from sleep...
D/SurfaceFlinger( 219): Screen acquired, type=0 flinger=0xb8d0b450
D/SurfaceControl( 1509): Excessive delay in unblankDisplay() while turning screen on: 113ms
I/Timeline( 2197): Timeline: Activity_idle id: android.os.BinderProxy@64bdaaf8 time:292547
D/PowerManagerService( 1509): acquireWakeLockInternal: blocked lock=1700631584, flags=0x1, tag="Wakeful StateMachine: GeofencerStateMachine", ws=null, uid=10008, pid=2529
W/BroadcastQueue( 1509): Skipping deliver [foreground] BroadcastRecord{659fca88 u-1 android.intent.action.SCREEN_ON} to ReceiverList{657e4d78 1891 com.android.systemui/10007/u0 remote:657e4b90}: process crashing
W/BroadcastQueue( 1509): Skipping deliver [foreground] BroadcastRecord{659fca88 u-1 android.intent.action.SCREEN_ON} to ReceiverList{656de318 1891 com.android.systemui/10007/u0 remote:6592c638}: process crashing
W/BroadcastQueue( 1509): Skipping deliver [foreground] BroadcastRecord{659fca88 u-1 android.intent.action.SCREEN_ON} to ReceiverList{65829cb0 1891 com.android.systemui/10007/u0 remote:65803ee8}: process crashing
W/BroadcastQueue( 1509): Skipping deliver [foreground] BroadcastRecord{659fca88 u-1 android.intent.action.SCREEN_ON} to ReceiverList{653c77b0 1891 com.android.systemui/10007/u0 remote:64bc9ec0}: process crashing
V/audio_hw_primary( 222): adev_set_parameters: enter: screen_state=on
D/audio_hw_extn( 222): audio_extn_set_anc_parameters: anc_enabled:0
V/audio_hw_primary( 222): adev_set_parameters: exit with code(-2)
D/NfcService( 2177): NFC-C ON
I/USERIAL_LINUX( 2177): USERIAL_Open(): enter
I/USERIAL_LINUX( 2177): USERIAL_Open() device: /dev/bcm2079x-i2c port=5, uart_port=0 WAKE_DELAY(20) WRITE_DELAY(20) POWER_ON_DELAY(300) PRE_POWER_OFF_DELAY(10) POST_POWER_OFF_DELAY(0)
I/USERIAL_LINUX( 2177): USERIAL_Open(): exit
W/BroadcastQueue( 1509): Skipping deliver [background] BroadcastRecord{65a65bc8 u-1 android.intent.action.BATTERY_CHANGED} to ReceiverList{65706d18 1891 com.android.systemui/10007/u0 remote:65706ab8}: process crashing
W/BroadcastQueue( 1509): Skipping deliver [background] BroadcastRecord{65a65bc8 u-1 android.intent.action.BATTERY_CHANGED} to ReceiverList{658152f8 1891 com.android.systemui/10007/u0 remote:65815098}: process crashing
W/BroadcastQueue( 1509): Skipping deliver [background] BroadcastRecord{65a65bc8 u-1 android.intent.action.BATTERY_CHANGED} to ReceiverList{65763da0 1891 com.android.systemui/10007/u0 remote:65763c18}: process crashing
W/BroadcastQueue( 1509): Skipping deliver [background] BroadcastRecord{65a65bc8 u-1 android.intent.action.BATTERY_CHANGED} to ReceiverList{65763a30 1891 com.android.systemui/10007/u0 remote:657638a8}: process crashing
W/BroadcastQueue( 1509): Skipping deliver [background] BroadcastRecord{65a65bc8 u-1 android.intent.action.BATTERY_CHANGED} to ReceiverList{653c77b0 1891 com.android.systemui/10007/u0 remote:64bc9ec0}: process crashing
W/BroadcastQueue( 1509): Skipping deliver [background] BroadcastRecord{65a65bc8 u-1 android.intent.action.BATTERY_CHANGED} to ReceiverList{655b21d8 1891 com.android.systemui/10007/u0 remote:653013e8}: process crashing
D/com.gsamlabs.bbm.lib.NotifyingService( 2785): ===:30:3871:31.5:2
I/art ( 2785): Heap trim of managed (duration=1.403937ms, advised=340KB) and native (duration=1.159774ms, advised=112KB) heaps. Managed heap utilization of 41%.

Edit 2: Clean flash and everything is good. ?