[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nexolight:
Hm the dark screen after the optimization progress is probably not caused by any hwcomposer/surfaceflinger issues. I indeed get a few errors from them but they don't look critical and I can watch the "optimization" process quite a while. It goes dark at preparing to start the apps.

02-08 20:20:29.790 2766 2766 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xff in tid 2766 (surfaceflinger)
02-08 20:20:29.843 2797 2797 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-08 20:20:29.843 2797 2797 F DEBUG : CM Version: '13.0-20160908-UNOFFICIAL-hwgra'
02-08 20:20:29.843 2797 2797 F DEBUG : Build fingerprint: 'huawei/cm_hwgra/hwgra:6.0.1/MOB30Z/42874abc44:eng/debug,test-keys'
02-08 20:20:29.843 2797 2797 F DEBUG : Revision: '0'
02-08 20:20:29.843 2797 2797 F DEBUG : ABI: 'arm64'
02-08 20:20:29.843 2797 2797 F DEBUG : pid: 2766, tid: 2766, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
02-08 20:20:29.843 2797 2797 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xff
02-08 20:20:29.847 2797 2797 F DEBUG : x0 0000007fec9d97e8 x1 0000007fec9d96f8 x2 0000007fec9d9680 x3 0000000000000000
02-08 20:20:29.847 2797 2797 F DEBUG : x4 00000000000000ff x5 0000000000000000 x6 00000000000000ff x7 0000007f96098938
02-08 20:20:29.847 2797 2797 F DEBUG : x8 0000007f91dd1388 x9 0000000000011780 x10 00000000067dc998 x11 0000000000000000
02-08 20:20:29.847 2797 2797 F DEBUG : x12 0000000000000004 x13 0000000000000004 x14 0000000000000007 x15 0000000000000006
02-08 20:20:29.847 2797 2797 F DEBUG : x16 0000007f96428e00 x17 0000007f9640bc78 x18 0000007f96303f50 x19 0000007fec9d96f8
02-08 20:20:29.847 2797 2797 F DEBUG : x20 0000000000000001 x21 0000007fec9d97e8 x22 0000007f95d687c8 x23 0000007f95d687d0
02-08 20:20:29.847 2797 2797 F DEBUG : x24 0000007f91e12838 x25 0000007f91e12838 x26 0000007fec9d9810 x27 0000007f91e127c0
02-08 20:20:29.847 2797 2797 F DEBUG : x28 0000007fec9d9888 x29 0000007fec9d96b0 x30 0000007f9270260c
02-08 20:20:29.847 2797 2797 F DEBUG : sp 0000007fec9d96b0 pc 0000007f92702644 pstate 0000000020000000
02-08 20:20:29.875 2797 2797 F DEBUG :
02-08 20:20:29.875 2797 2797 F DEBUG : backtrace:
02-08 20:20:29.875 2797 2797 E DEBUG : [B]AM write failed: Broken pipe[/B]
02-08 20:20:29.876 2797 2797 F DEBUG : #00 pc 0000000000016644 /system/lib64/hw/hwcomposer.hi3635.so
02-08 20:20:29.876 2797 2797 F DEBUG : #01 pc 0000000000018b7c /system/lib64/hw/hwcomposer.hi3635.so (_ZN11HwcCompInfo20CalcOverlapLayersNumEv+292)
02-08 20:20:29.876 2797 2797 F DEBUG : #02 pc 0000000000016464 /system/lib64/hw/hwcomposer.hi3635.so
02-08 20:20:29.876 2797 2797 F DEBUG : #03 pc 000000000003cfb4 /system/lib64/libsurfaceflinger.so
02-08 20:20:29.876 2797 2797 F DEBUG : #04 pc 000000000002f340 /system/lib64/libsurfaceflinger.so
02-08 20:20:29.876 2797 2797 F DEBUG : #05 pc 000000000002e5a8 /system/lib64/libsurfaceflinger.so
02-08 20:20:29.876 2797 2797 F DEBUG : #06 pc 000000000002e320 /system/lib64/libsurfaceflinger.so
02-08 20:20:29.876 2797 2797 F DEBUG : #07 pc 000000000001aeec /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+312)
02-08 20:20:29.876 2797 2797 F DEBUG : #08 pc 000000000001b224 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+80)
02-08 20:20:29.876 2797 2797 F DEBUG : #09 pc 000000000002a708 /system/lib64/libsurfaceflinger.so
02-08 20:20:29.876 2797 2797 F DEBUG : #10 pc 000000000002de14 /system/lib64/libsurfaceflinger.so (_ZN7android14SurfaceFlinger3runEv+20)
02-08 20:20:29.876 2797 2797 F DEBUG : #11 pc 0000000000001190 /system/bin/surfaceflinger
02-08 20:20:29.876 2797 2797 F DEBUG : #12 pc 000000000001bcd8 /system/lib64/libc.so (__libc_init+100)
02-08 20:20:29.876 2797 2797 F DEBUG : #13 pc 0000000000000fcc /system/bin/surfaceflinger
...
02-08 20:20:33.280 3282 4378 E DisplayEventReceiver: Display event receiver pipe was closed or an error occurred. events=0x9
02-08 20:20:33.280 3282 4332 E OpenGLRenderer: Display event receiver pipe was closed or an error occurred. events=0x9
02-08 20:20:33.280 3282 3358 E DisplayEventReceiver: Display event receiver pipe was closed or an error occurred. events=0x9
02-08 20:20:33.280 5114 5114 E DisplayEventReceiver: Display event receiver pipe was closed or an error occurred. events=0x9
02-08 20:20:33.280 3282 3352 E DisplayEventReceiver: Display event receiver pipe was closed or an error occurred. events=0x9
02-08 20:20:33.281 5114 5209 E OpenGLRenderer: Display event receiver pipe was closed or an error occurred. events=0x9
02-08 20:20:33.281 4552 5034 E OpenGLRenderer: Display event receiver pipe was closed or an error occurred. events=0x9