[Lenovo Vibe K5 Plus ROMs, Kernels, Recoveries, & O] aryaman895:
Finally u replied..Sir this issue is in all nougat roms i.e. Linegae,AICP,AOKP..

Whenever phone is in sleeping state or not in using state then i press power button then phone doesn't wake i mean phone lock screen not turns on(it turns on but everything in screen is black) after pressing 4-5 times then screen turns on .This is very annoying bug.

And whenever blackscreen shows i can feel pattern vibration and volume sounds..

I mean this bug is only screen not turns on but behind black screen i can unlock phone pattern and open apps but display remains same...I thought this is hardware issue but now more peeps facing this..

https://xdaforums.com/k5-plus/how-to/custom-nougat-rom-lenovo-vibe-k5-plus-t3548372

---------- Post added at 08:28 AM ---------- Previous post was at 08:24 AM ----------

Here's logcat

I/ThermalEngine( 334): Mitigation:CLUSTER[1]:1344000 Khz
I/ThermalEngine( 334): Mitigation:CLUSTER[0]:1209600 Khz
I/ThermalEngine( 334): Mitigation:CLUSTER[1]:1459200 Khz
I/ThermalEngine( 334): Mitigation:CLUSTER[1]:1497600 Khz
D/qdhwcomposer( 327): hwc_setPowerMode: Done setting mode 2 on display 0
D/SurfaceControl( 2049): Excessive delay in setPowerMode(): 456ms
W/art ( 2049): Long monitor contention with owner android.display (2092) at void com.android.server.wm.WindowAnimator$1.doFrame(long)(WindowAnimator.java:158) waiters=0 in void com.android.server.wm.WindowManagerService.finishDrawingWindow(com.android.server.wm.Session, android.view.IWindow) for 359ms
I/DisplayPowerController( 2049): Unblocked screen on after 480 ms
V/KeyguardServiceDelegate( 2049): onScreenTurnedOn()
I/DreamManagerService( 2049): Gently waking up from dream.
I/DreamManagerService( 2049): Leaving dreamland.
I/DreamController( 2049): Stopping dream: name=ComponentInfo{com.android.systemui/com.android.systemui.doze.DozeService}, isTest=false, canDoze=true, userId=0
I/ThermalEngine( 334): Mitigation:CLUSTER[1]:1459200 Khz
I/ThermalEngine( 334): Mitigation:CLUSTER[1]:1344000 Khz
I/ThermalEngine( 334): Mitigation:CLUSTER[1]:1113600 Khz
I/ThermalEngine( 334): Mitigation:CLUSTER[0]:800000 Khz
I/PowerManagerService( 2049): Going to sleep due to power button (uid 1000)...
W/FingerprintManager( 3156): isFingerprintHardwareDetected(): Service not connected!
E/KernelWakelockReader( 2049): neither /proc/wakelocks nor /d/wakeup_sources exists
W/BatteryStatsImpl( 2049): Couldn't get kernel wake lock stats
V/KeyguardServiceDelegate( 2049): onScreenTurnedOff()
I/Sensors ( 2049): epl259x-proximity: setDelay: 5.00 Hz
I/Sensors ( 2049): epl259x-light: activate: 0
I/DisplayManagerService( 2049): Display device changed state: "Built-in Screen", OFF
D/SurfaceFlinger( 327): Set power mode=0, type=0 flinger=0x7fa404c000
D/qdhwcomposer( 327): hwc_setPowerMode: Setting mode 0 on display: 0
E/qdutils ( 327): int qdutils::getHDMINode(): Failed to open fb node 2
E/qdutils ( 327): int qdutils::getHDMINode(): Failed to open fb node 3
E/qdutils ( 327): int qdutils::getHDMINode(): Failed to find HDMI node
I/PowerManagerService( 2049): Waking up from dozing (uid 1000)...
V/KeyguardServiceDelegate( 2049): onStartedWakingUp()
E/KernelWakelockReader( 2049): neither /proc/wakelocks nor /d/wakeup_sources exists
W/BatteryStatsImpl( 2049): Couldn't get kernel wake lock stats
D/PhoneStatusBar( 3156): disable: < expand ICONS alerts SYSTEM_INFO back HOME RECENT clock SEARCH quick_settings >
I/DisplayPowerController( 2049): Blocking screen on until initial contents have been drawn.
V/KeyguardServiceDelegate( 2049): onScreenTurnedOn(showListener = com.android.server.policy.PhoneWindowManager$2@4672d6c)
I/Sensors ( 2049): epl259x-light: activate: 1
W/FingerprintManager( 3156): isFingerprintHardwareDetected(): Service not connected!
W/FingerprintManager( 3156): isFingerprintHardwareDetected(): Service not connected!
W/FingerprintManager( 3156): isFingerprintHardwareDetected(): Service not connected!
W/FingerprintManager( 3156): isFingerprintHardwareDetected(): Service not connected!
V/KeyguardServiceDelegate( 2049): **** SHOWN CALLED ****
I/qdhwcomposer( 327): handle_blank_event: dpy:0 panel power state: 0
E/qdutils ( 327): int qdutils::getHDMINode(): Failed to open fb node 2
E/qdutils ( 327): int qdutils::getHDMINode(): Failed to open fb node 3
E/qdutils ( 327): int qdutils::getHDMINode(): Failed to find HDMI node
D/qdhwcomposer( 327): hwc_setPowerMode: Done setting mode 0 on display 0
D/SurfaceControl( 2049): Excessive delay in setPowerMode(): 335ms
D/SurfaceFlinger( 327): Set power mode=2, type=0 flinger=0x7fa404c000
D/qdhwcomposer( 327): hwc_setPowerMode: Setting mode 2 on display: 0
I/DisplayManagerService( 2049): Display device changed state: "Built-in Screen", ON
E/qdutils ( 327): int qdutils::getHDMINode(): Failed to open fb node 2
E/qdutils ( 327): int qdutils::g

---------- Post added at 08:29 AM ---------- Previous post was at 08:28 AM ----------

And u can see these line shreps in logcat

https://drive.google.com/file/d/0B2afGvm3Tj6SMWgwVkVEVWcxdHc/view?usp=drivesdk

---------- Post added at 08:34 AM ---------- Previous post was at 08:29 AM ----------

Read this line in logcat

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

---------- Post added at 08:44 AM ---------- Previous post was at 08:34 AM ----------

Another logcat

I/PowerManagerService( 2100): Going to sleep due to power button (uid 1000)...
W/FingerprintManager( 3196): isFingerprintHardwareDetected(): Service not connected!
E/KernelWakelockReader( 2100): neither /proc/wakelocks nor /d/wakeup_sources exists
W/BatteryStatsImpl( 2100): Couldn't get kernel wake lock stats
V/KeyguardServiceDelegate( 2100): onScreenTurnedOff()
I/Sensors ( 2100): epl259x-light: activate: 0
I/DisplayManagerService( 2100): Display device changed state: "Built-in Screen", OFF
D/SurfaceFlinger( 327): Set power mode=0, type=0 flinger=0x7f7e448000
W/BroadcastQueue( 2100): Permission Denial: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to ProcessRecord{e2a85cf 26173:com.lbe.parallel.intl:mdserver/u0a112} (pid=26173, uid=10112) requires android.permission.READ_LOGS due to sender android (uid 1000)
W/BroadcastQueue( 2100): Permission Denial: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to ProcessRecord{e2a85cf 26173:com.lbe.parallel.intl:mdserver/u0a112} (pid=26173, uid=10112) requires android.permission.READ_LOGS due to sender android (uid 1000)
D/qdhwcomposer( 327): hwc_setPowerMode: Setting mode 0 on display: 0
E/qdutils ( 327): int qdutils::getHDMINode(): Failed to open fb node 2
E/qdutils ( 327): int qdutils::getHDMINode(): Failed to open fb node 3
E/qdutils ( 327): int qdutils::getHDMINode(): Failed to find HDMI node
D/su (21272): Finishing su operation for app [uid:10109, pkgName: rs.pedjaapps.alogcatroot.app]
W/IPCThreadState(21272): Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.
W/IPCThreadState(21272): Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.
I/SuControllerImpl( 3196): Got change
D/su (21270): sending code
D/su (21270): child exited
D/su (21268): client exited 13
W/PlatformStatsUtil( 6046): Could not retrieve Usage & Diagnostics setting. Giving up.
I/qdhwcomposer( 327): handle_blank_event: dpy:0 panel power state: 0
E/qdutils ( 327): int qdutils::getHDMINode(): Failed to open fb node 2
E/qdutils ( 327): int qdutils::getHDMINode(): Failed to open fb node 3
E/qdutils ( 327): int qdutils::getHDMINode(): Failed to find HDMI node
D/qdhwcomposer( 327): hwc_setPowerMode: Done setting mode 0 on display 0
D/SurfaceControl( 2100): Excessive delay in setPowerMode(): 337ms
I/QCOM PowerHAL( 2100): Got set_interactive hint
E/QCOM PowerHAL( 2100): Error opening sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq: Permission denied
E/QCOM PowerHAL( 2100): Error opening sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq: Permission denied
E/QCOM PowerHAL( 2100): Error opening sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq: Permission denied
E/QCOM PowerHAL( 2100): Error opening sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq: Permission denied
E/QCOM PowerHAL( 2100): Failed to write to /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
I/DreamManagerService( 2100): Entering dreamland.
I/PowerManagerService( 2100): Dozing...
I/DreamController( 2100): Starting dream: name=ComponentInfo{com.android.systemui/com.android.systemui.doze.DozeService}, isTest=false, canDoze=true, userId=0
I/ActivityManager( 2100): Setting hasTopUi=true for pid=3196
D/wpa_supplicant(21537): wlan0: Control interface command 'DRIVER SETSUSPENDMODE 1'
D/audio_hw_primary( 349): adev_set_parameters: enter: screen_state=off
D/wpa_supplicant(21537): wpa_driver_nl80211_driver_cmd SETSUSPENDMODE 1 len = 0, 4096
D/CarrierText( 3196): onSimStateChanged: Normal
D/CarrierText( 3196): onSimStateChanged: Normal
D/PhoneStatusBar( 3196): disable: < expand ICONS* alerts SYSTEM_INFO* back home recent clock search quick_settings >
W/FingerprintManager( 3196): isFingerprintHardwareDetected(): Service not connected!
W/FingerprintManager( 3196): isFingerprintHardwareDetected(): Service not connected!