Kernel v4.4 not work in aosp 7.1.1, which version able to boot?

my surfaceflinger cause problem continuously
aosp version 7.1.1 _r50
kernel version is linux 4.4.92
I did not modify any kernel or platform code.

My logcat is here

  1. which kernel version use in android 7.1.1
  2. how can i solve this surfaceflinger problem
  3. why this problem is happen ?
13833-13833/? E/SurfaceFlinger: hwcomposer module not found
13833-13833/? W/SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
13833-13833/? A/SurfaceFlinger: no suitable EGLConfig found, giving up
                                
                                --------- beginning of crash
13833-13833/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 13833 (surfaceflinger)
                      
                      [ 01-01 00:36:16.089  1772: 1772 W/         ]
                      debuggerd: handling request: pid=13833 uid=1000 gid=1003 tid=13833
                      
                      
                      [ 01-01 00:36:16.098 13847:13847 E/         ]
                      debuggerd: Unable to connect to activity manager (connect failed: No such file or directory)
13847-13847/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
13847-13847/? A/DEBUG: Build fingerprint: 'generic/hikey/hikey:7.1.1/N8I11B/ojt10181021:userdebug/test-keys'
13847-13847/? A/DEBUG: Revision: '0'
13847-13847/? A/DEBUG: ABI: 'arm64'
13847-13847/? A/DEBUG: pid: 13833, tid: 13833, name: surfaceflinger  >>> /system/bin/surfaceflinger <<<
13847-13847/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
13847-13847/? A/DEBUG: Abort message: 'no suitable EGLConfig found, giving up'
13847-13847/? A/DEBUG:     x0   0000000000000000  x1   0000000000003609  x2   0000000000000006  x3   0000000000000008
13847-13847/? A/DEBUG:     x4   6579614c74656700  x5   0000000000000000  x6   0000007fb7f4a000  x7   00000000000aebe6
13847-13847/? A/DEBUG:     x8   0000000000000083  x9   ffffffffffffffdf  x10  0000000000000000  x11  0000000000000001
13847-13847/? A/DEBUG:     x12  ffffffffffffffff  x13  0000000000000880  x14  00014fb14c583240  x15  000003d300fffe6f
13847-13847/? A/DEBUG:     x16  0000007fb7a14ee0  x17  0000007fb79be2e4  x18  00000000ffffffff  x19  0000007fb7ffeb40
13847-13847/? A/DEBUG:     x20  0000000000000006  x21  0000007fb7ffea98  x22  000000000000000c  x23  0000000000000001
13847-13847/? A/DEBUG:     x24  0000000000000001  x25  0000007fb7b543a8  x26  0000007fb7b54360  x27  a2fef721d5aef35c
13847-13847/? A/DEBUG:     x28  0000000000000000  x29  0000007ffffff260  x30  0000007fb79bb78c
13847-13847/? A/DEBUG:     sp   0000007ffffff240  pc   0000007fb79be2ec  pstate 0000000060000000
13789-13815/system_process I/ServiceManager: Waiting for service SurfaceFlinger...
13847-13847/? A/DEBUG: backtrace:
13847-13847/? A/DEBUG:     #00 pc 000000000006b2ec  /system/lib64/libc.so (tgkill+8)
13847-13847/? A/DEBUG:     #01 pc 0000000000068788  /system/lib64/libc.so (pthread_kill+64)
13847-13847/? A/DEBUG:     #02 pc 0000000000023ce8  /system/lib64/libc.so (raise+24)
13847-13847/? A/DEBUG:     #03 pc 000000000001c76c  /system/lib64/libc.so (abort+52)
13847-13847/? A/DEBUG:     #04 pc 0000000000010ad8  /system/lib64/libcutils.so (__android_log_assert+232)
13847-13847/? A/DEBUG:     #05 pc 000000000003ba64  /system/lib64/libsurfaceflinger.so
13847-13847/? A/DEBUG:     #06 pc 000000000003b4bc  /system/lib64/libsurfaceflinger.so
13847-13847/? A/DEBUG:     #07 pc 0000000000040478  /system/lib64/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+808)
13847-13847/? A/DEBUG:     #08 pc 0000000000001350  /system/bin/surfaceflinger
13847-13847/? A/DEBUG:     #09 pc 000000000001a594  /system/lib64/libc.so (__libc_init+88)
13847-13847/? A/DEBUG:     #10 pc 00000000000011ec  /system/bin/surfaceflinger
1 Like

If you build it from source, did you include the binary blobs for Mali Driver?
refer: https://source.android.com/source/devices

1 Like

absolutely i extract hdmi binaries
and i found the .so file in hikey board

Think this is the same Mali compatibility issue issue as this one, you should use master branch.

Hey there, I understood that on master branch the issue is fixed, but I need to use Android 7 for my work. Does anybody knows a version that was actually working?

Thanks a lot