[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nexolight:
[MENTION=7539994]GodzillaMonster[/MENTION] Except the hwcomposer (what is where the segfault occurs and where the module is a vendor blob) the source is public. I'd recommend to read a little bit about how the android graphic system works. It at least helped me. That's the link to the surfaceflinger code which is one level above in the crash stack.

https://github.com/Nexolight/gra_l09_android_frameworks_native/tree/cm-13.0-ZNH5Y-testing/services/surfaceflinger

btw the crash stack if I didn't posted it already:

02-1802-18 17:31:09.463 2838 2838 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-18 17:31:09.463 2838 2838 F DEBUG : CM Version: '13.0-20160908-UNOFFICIAL-hwgra'
02-18 17:31:09.463 2838 2838 F DEBUG : Build fingerprint: 'huawei/cm_hwgra/hwgra:6.0.1/MOB30Z/42874abc44:eng/debug,test-keys'
02-18 17:31:09.463 2838 2838 F DEBUG : Revision: '0'
02-18 17:31:09.463 2838 2838 F DEBUG : ABI: 'arm64'
02-18 17:31:09.463 2838 2838 F DEBUG : pid: 2821, tid: 2821, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
02-18 17:31:09.463 2838 2838 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xff
02-18 17:31:09.482 2838 2838 F DEBUG : x0 0000007fc3e74d50 x1 0000007fb0e87fe8 x2 0000000000000000 x3 00000000000000ff
02-18 17:31:09.482 2838 2838 E DEBUG : AM write failed: Broken pipe
02-18 17:31:09.482 2838 2838 F DEBUG : x4 00000000000000ff x5 0000000000000000 x6 0000000000000001 x7 0000007fb5036938
02-18 17:31:09.482 2838 2838 F DEBUG : x8 0000007fb0e87fe8 x9 0000007fb553b0c8 x10 0000000000000001 x11 0000007fb4cc20c0
02-18 17:31:09.482 2838 2838 F DEBUG : x12 0000007fb525ecc0 x13 000000000000001d x14 000000000000001e x15 0000000000000041
02-18 17:31:09.482 2838 2838 F DEBUG : x16 0000007fb53c6e00 x17 0000007fb53a9c78 x18 0000007fb4cc20c0 x19 0000000000000001
02-18 17:31:09.482 2838 2838 F DEBUG : x20 0000007fb4ce8788 x21 0000007fc3e74d50 x22 0000007fc3e74f50 x23 0000007fc3e74f50
02-18 17:31:09.482 2838 2838 F DEBUG : x24 0000007fb16aa000 x25 0000007fb16ab650 x26 0000007fb16ab8b8 x27 0000007fb16aaf50
02-18 17:31:09.482 2838 2838 F DEBUG : x28 0000007fb0eb77c0 x29 0000007fc3e74d00 x30 0000007fb168e58c
02-18 17:31:09.482 2838 2838 F DEBUG : sp 0000007fc3e74d00 pc 0000007fb168e5ac pstate 0000000020000000
02-18 17:31:09.513 2838 2838 F DEBUG :
02-18 17:31:09.513 2838 2838 F DEBUG : backtrace:
02-18 17:31:09.513 2838 2838 F DEBUG : #00 pc 000000000001d5ac /system/lib64/hw/hwcomposer.hi3635.so (_ZN17HwcPartialUpdates17UpdateSourceLayerEP11hwc_ layer_1+72)
02-18 17:31:09.513 2838 2838 F DEBUG : #01 pc 0000000000019030 /system/lib64/hw/hwcomposer.hi3635.so (_ZN11HwcCompInfo17SetPartialUpdatesEP17HwcPartial Updates+352)
02-18 17:31:09.513 2838 2838 F DEBUG : #02 pc 0000000000016448 /system/lib64/hw/hwcomposer.hi3635.so
02-18 17:31:09.513 2838 2838 F DEBUG : #03 pc 000000000003cfc0 /system/lib64/libsurfaceflinger.so
02-18 17:31:09.513 2838 2838 F DEBUG : #04 pc 000000000002f340 /system/lib64/libsurfaceflinger.so
02-18 17:31:09.513 2838 2838 F DEBUG : #05 pc 000000000002e5a8 /system/lib64/libsurfaceflinger.so
02-18 17:31:09.513 2838 2838 F DEBUG : #06 pc 000000000002e320 /system/lib64/libsurfaceflinger.so
02-18 17:31:09.513 2838 2838 F DEBUG : #07 pc 000000000001aeec /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+312)
02-18 17:31:09.513 2838 2838 F DEBUG : #08 pc 000000000001b224 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+80)
02-18 17:31:09.513 2838 2838 F DEBUG : #09 pc 000000000002a708 /system/lib64/libsurfaceflinger.so
02-18 17:31:09.513 2838 2838 F DEBUG : #10 pc 000000000002de14 /system/lib64/libsurfaceflinger.so (_ZN7android14SurfaceFlinger3runEv+20)
02-18 17:31:09.513 2838 2838 F DEBUG : #11 pc 0000000000001190 /system/bin/surfaceflinger
02-18 17:31:09.514 2838 2838 F DEBUG : #12 pc 000000000001bcd8 /system/lib64/libc.so (__libc_init+100)
02-18 17:31:09.514 2838 2838 F DEBUG : #13 pc 0000000000000fcc /system/bin/surfaceflinger