[Moto E4 ROMs, Kernels, Recoveries, & Other Develop] bugdroid73:
Build from source

Hi,

Thanks for this, the pre-built ROM works fine.

I managed to build cm-14.1 for woods from source following the instructions here : https://github.com/Motorola-MT6737/local_manifest : but surfaceflinger crashes, see logcat below.

I have the same content in /vendor as in the pre-built ROM.

Any clue ?

Thanks

01-04 18:09:03.210 2313 2313 I SurfaceFlinger: SurfaceFlinger is starting

01-04 18:09:03.252 2313 2313 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...

01-04 18:09:03.303 1490 1533 W dex2oat : Compilation of void android.view.ViewGroup.invalidateChild(android.view.View, android.graphics.Rect) took 115.322ms

01-04 18:09:03.372 2313 2313 D PQ : [PQ_PROT][PQCust] libpq_cust_base.so absent, libpq_cust.so OK

01-04 18:09:03.372 2313 2313 E PQ : [PQ][PQWhiteList] libwlparser.so is absent

01-04 18:09:03.385 2313 2313 D MALI : osup_constructor:144: osup_constructor

01-04 18:09:03.386 2313 2313 D libEGL : loaded /vendor/lib/egl/libGLES_mali.so

01-04 18:09:03.582 2313 2313 E HAL : load: module=/vendor/lib/hw/hwcomposer.mt6735.so

01-04 18:09:03.582 2313 2313 E HAL : dlopen failed: cannot locate symbol "_ZN7android11IDumpTunnel11asInterfaceERKNS_2spINS_7IBinderEEE" referenced by "/system/vendor/lib/libgui_ext.so"...

01-04 18:09:03.582 2313 2313 E SurfaceFlinger: hwcomposer module not found

01-04 18:09:03.583 2313 2313 E SurfaceFlinger: ERROR: failed to open framebuffer (Invalid argument), aborting

01-04 18:09:03.583 2313 2313 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2313 (surfaceflinger)

01-04 18:09:03.583 227 227 W : debuggerd: handling request: pid=2313 uid=1000 gid=1003 tid=2313

01-04 18:09:03.621 2330 2330 E : debuggerd: Unable to connect to activity manager (connect failed: No such file or directory)

01-04 18:09:03.672 2330 2330 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

01-04 18:09:03.672 2330 2330 F DEBUG : LineageOS Version: '14.1-20180104-UNOFFICIAL-woods'

01-04 18:09:03.672 2330 2330 F DEBUG : Build fingerprint: 'Motorola/lineage_woods/woods:7.1.2/NJH47FV0963/5909ac9a91:userdebug/test-keys'

01-04 18:09:03.672 2330 2330 F DEBUG : Revision: '0'

01-04 18:09:03.672 2330 2330 F DEBUG : ABI: 'arm'

01-04 18:09:03.672 2330 2330 F DEBUG : pid: 2313, tid: 2313, name: surfaceflinger >>> /system/bin/surfaceflinger <<<

01-04 18:09:03.673 2330 2330 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------

01-04 18:09:03.673 2330 2330 F DEBUG : r0 00000000 r1 00000909 r2 00000006 r3 00000008

01-04 18:09:03.673 2330 2330 F DEBUG : r4 b6f0558c r5 00000006 r6 b6f05534 r7 0000010c

01-04 18:09:03.673 2330 2330 F DEBUG : r8 b46de178 r9 b46de01c sl 00000000 fp becaca7c

01-04 18:09:03.673 2330 2330 F DEBUG : ip 00000002 sp becac880 lr b6a5dd07 pc b6a60564 cpsr 200f0010

01-04 18:09:03.734 2330 2330 F DEBUG :

01-04 18:09:03.734 2330 2330 F DEBUG : backtrace:

01-04 18:09:03.734 2330 2330 F DEBUG : #00 pc 0004a564 /system/lib/libc.so (tgkill+12)

01-04 18:09:03.734 2330 2330 F DEBUG : #01 pc 00047d03 /system/lib/libc.so (pthread_kill+34)

01-04 18:09:03.734 2330 2330 F DEBUG : #02 pc 0001d565 /system/lib/libc.so (raise+10)

01-04 18:09:03.734 2330 2330 F DEBUG : #03 pc 000190b1 /system/lib/libc.so (__libc_android_abort+34)

01-04 18:09:03.734 2330 2330 F DEBUG : #04 pc 00017118 /system/lib/libc.so (abort+4)

01-04 18:09:03.734 2330 2330 F DEBUG : #05 pc 00033753 /system/lib/libsurfaceflinger.so

01-04 18:09:03.734 2330 2330 F DEBUG : #06 pc 0002837b /system/lib/libsurfaceflinger.so

01-04 18:09:03.734 2330 2330 F DEBUG : #07 pc 00029ce9 /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+252)

01-04 18:09:03.734 2330 2330 F DEBUG : #08 pc 00001037 /system/bin/surfaceflinger

01-04 18:09:03.734 2330 2330 F DEBUG : #09 pc 00016c8d /system/lib/libc.so (__libc_init+48)

01-04 18:09:03.734 2330 2330 F DEBUG : #10 pc 00000eec /system/bin/surfaceflinger