I tried to build android-9.0.0_r39 and patch with the kernel that I rebuild(android-hikey-linaro-4.9).
I already patch the HDMI driver in vendor folder.
https://dl.google.com/dl/android/aosp/linaro-hikey-20170523-4b9ebaff.tgz
It seems caused by libGLES_mali.so and some issues with HwcComposer.
Does anyone know if hikey still support Android 9? Any way to fix this HDMI issue?
Thanks.
01-01 00:11:41.217 I/SurfaceFlinger(10565): SurfaceFlinger’s main thread ready to run. Initializing graphics H/W…
01-01 00:11:41.217 I/SurfaceFlinger(10565): Phase offest NS: 1000000
01-01 00:11:41.218 D/vndksupport(10565): Loading /vendor/lib64/egl/libGLES_mali.so from current namespace instead of sphal namespace.
01-01 00:11:41.220 D/libEGL (10565): loaded /vendor/lib64/egl/libGLES_mali.so
01-01 00:11:41.302 I/cameraserver(10562): ServiceManager: 0xf399c100
01-01 00:11:41.303 I/CameraService(10562): CameraService started (pid=10562)
01-01 00:11:41.303 I/CameraService(10562): CameraService process starting
01-01 00:11:41.303 W/BatteryNotifier(10562): batterystats service unavailable!
01-01 00:11:41.303 W/BatteryNotifier(10562): batterystats service unavailable!
01-01 00:11:41.304 E/cutils-trace(10562): Error opening trace file: Permission denied (13)
01-01 00:11:41.306 W/hwservicemanager( 1658): getTransport: Cannot find entry android.hardware.camera.provider@2.4::ICameraProvider/legacy/0 in either framework or device manifest.
01-01 00:11:41.309 W/hwservicemanager( 1658): getTransport: Cannot find entry android.hardware.camera.provider@2.4::ICameraProvider/external/0 in either framework or device manifest.
01-01 00:11:41.311 I/ (10562): Waiting for activity service
01-01 00:11:41.342 I/mediaserver(10563): ServiceManager: 0xf051c1c0
01-01 00:11:41.342 W/BatteryNotifier(10563): batterystats service unavailable!
01-01 00:11:41.367 W/hwservicemanager( 1658): getTransport: Cannot find entry android.hardware.configstore@1.0::ISurfaceFlingerConfigs/default in either framework or device manifest.
01-01 00:11:41.368 I/ConfigStore(10565): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
01-01 00:11:41.369 I/ConfigStore(10565): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
01-01 00:11:41.369 I/SurfaceFlinger(10565): EGL information:
01-01 00:11:41.369 I/SurfaceFlinger(10565): vendor : Android
01-01 00:11:41.369 I/SurfaceFlinger(10565): version : 1.4 Android META-EGL
01-01 00:11:41.369 I/SurfaceFlinger(10565): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_ANDROID_get_native_client_buffer EGL_ANDROID_front_buffer_auto_refresh EGL_ANDROID_get_frame_timestamps EGL_EXT_surface_SMPTE2086_metadata EGL_EXT_surface_CTA861_3_metadata EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_KHR_create_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable EGL_KHR_partial_update EGL_KHR_create_context_no_error EGL_EXT_yuv_surface
01-01 00:11:41.369 I/SurfaceFlinger(10565): Client API: OpenGL_ES
01-01 00:11:41.369 I/SurfaceFlinger(10565): EGLSurface: 8-8-8-8, config=0x60000016
01-01 00:11:41.370 W/hwservicemanager( 1658): getTransport: Cannot find entry android.hardware.configstore@1.0::ISurfaceFlingerConfigs/default in either framework or device manifest.
01-01 00:11:41.372 I/SurfaceFlinger(10565): OpenGL ES informations:
01-01 00:11:41.372 I/SurfaceFlinger(10565): vendor : ARM
01-01 00:11:41.372 I/SurfaceFlinger(10565): renderer : Mali-450 MP
01-01 00:11:41.372 I/SurfaceFlinger(10565): version : OpenGL ES 2.0 195307
01-01 00:11:41.372 I/SurfaceFlinger(10565): extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_vertex_array_object GL_OES_compressed_ETC1_RGB8_texture GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_OES_vertex_half_float GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map GL_KHR_debug GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_mapbuffer GL_KHR_no_error
01-01 00:11:41.372 I/SurfaceFlinger(10565): GL_MAX_TEXTURE_SIZE = 4096
01-01 00:11:41.372 I/SurfaceFlinger(10565): GL_MAX_VIEWPORT_DIMS = 4096
01-01 00:11:41.374 D/vndksupport(10565): Loading /vendor/lib64/hw/android.hardware.graphics.composer@2.1-impl.so from current namespace instead of sphal namespace.
01-01 00:11:41.378 I/ComposerHal(10565): falling back to gralloc module
01-01 00:11:41.379 E/ComposerHal(10565): failed to open framebuffer device: No such file or directory
01-01 00:11:41.379 F/HwcComposer(10565): failed to get hwcomposer service
01-01 00:11:41.406 E/cutils-trace(10597): Error opening trace file: Permission denied (13)
01-01 00:11:41.426 I/crash_dump64(10598): obtaining output fd from tombstoned, type: kDebuggerdTombstone
01-01 00:11:41.427 I//system/bin/tombstoned( 1750): received crash request for pid 10565
01-01 00:11:41.428 I/crash_dump64(10598): performing dump of process 10565 (target tid = 10565)
01-01 00:11:41.504 I/FastMixerState(10561): sMaxFastTracks = 8
01-01 00:11:41.506 V/MediaUtils(10561): physMem: 2050744320
01-01 00:11:41.507 V/MediaUtils(10561): requested limit: 410148860
01-01 00:11:41.507 V/MediaUtils(10561): actual limit: 410148860
01-01 00:11:41.507 V/MediaUtils(10561): original limits: 4294967295/4294967295
01-01 00:11:41.507 V/MediaUtils(10561): new limits: 410148860/4294967295
01-01 00:11:41.511 I/audioserver(10603): ServiceManager: 0xf051c100
01-01 00:11:41.513 W/BatteryNotifier(10603): batterystats service unavailable!
01-01 00:11:41.514 E/cutils-trace(10603): Error opening trace file: Permission denied (13)
01-01 00:11:41.515 W/hwservicemanager( 1658): getTransport: Cannot find entry android.hardware.audio@4.0::IDevicesFactory/default in either framework or device manifest.
01-01 00:11:41.517 W/hwservicemanager( 1658): getTransport: Cannot find entry android.hardware.audio@2.0::IDevicesFactory/default in either framework or device manifest.
01-01 00:11:41.519 D/vndksupport(10603): Loading /vendor/lib/hw/android.hardware.audio@2.0-impl.so from current namespace instead of sphal namespace.
01-01 00:11:41.528 W/hwservicemanager( 1658): getTransport: Cannot find entry android.hardware.audio@2.0::IDevicesFactory/default in either framework or device manifest.
01-01 00:11:41.529 D/vndksupport(10603): Loading /vendor/lib/hw/android.hardware.audio@2.0-impl.so from current namespace instead of sphal namespace.
01-01 00:11:41.531 W/hwservicemanager( 1658): getTransport: Cannot find entry android.hardware.audio@2.0::IDevicesFactory/msd in either framework or device manifest.
01-01 00:11:41.533 D/vndksupport(10603): Loading /vendor/lib/hw/android.hardware.audio@2.0-impl.so from current namespace instead of sphal namespace.
01-01 00:11:41.533 D/AndroidRuntime(10559): >>>>>> START com.android.internal.os.ZygoteInit uid 0 <<<<<<
01-01 00:11:41.535 W/hwservicemanager( 1658): getTransport: Cannot find entry android.hardware.audio.effect@4.0::IEffectsFactory/default in either framework or device manifest.
01-01 00:11:41.163 I/auditd (10568): type=1400 audit(0.0:1127): avc: denied { module_request } for comm=“ip6tables-resto” kmod=“ip6t_owner” scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
01-01 00:11:41.534 I/boot_progress_start(10559): 696564
01-01 00:11:41.538 W/hwservicemanager( 1658): getTransport: Cannot find entry android.hardware.audio.effect@2.0::IEffectsFactory/default in either framework or device manifest.
01-01 00:11:41.539 D/vndksupport(10603): Loading /vendor/lib/hw/android.hardware.audio.effect@2.0-impl.so from current namespace instead of sphal namespace.
01-01 00:11:41.546 I/zygote64(10559): option[0]=-Xzygote
01-01 00:11:41.546 I/zygote64(10559): option[1]=-Xusetombstonedtraces
01-01 00:11:41.546 I/zygote64(10559): option[2]=exit
01-01 00:11:41.546 I/zygote64(10559): option[3]=vfprintf
01-01 00:11:41.546 I/zygote64(10559): option[4]=sensitiveThread
01-01 00:11:41.546 I/zygote64(10559): option[5]=-verbose:gc
01-01 00:11:41.546 I/zygote64(10559): option[6]=-Xms16m
01-01 00:11:41.546 I/zygote64(10559): option[7]=-Xmx512m
01-01 00:11:41.546 I/zygote64(10559): option[8]=-XX:HeapGrowthLimit=192m
01-01 00:11:41.546 I/zygote64(10559): option[9]=-XX:HeapMinFree=512k
01-01 00:11:41.546 I/zygote64(10559): option[10]=-XX:HeapMaxFree=8m
01-01 00:11:41.546 I/zygote64(10559): option[11]=-XX:HeapTargetUtilization=0.75
01-01 00:11:41.546 I/zygote64(10559): option[12]=-Xusejit:true
01-01 00:11:41.546 I/zygote64(10559): option[13]=-Xjitsaveprofilinginfo
01-01 00:11:41.546 I/zygote64(10559): option[14]=-XjdwpOptions:suspend=n,server=y
01-01 00:11:41.546 I/zygote64(10559): option[15]=-XjdwpProvider:default
01-01 00:11:41.546 I/zygote64(10559): option[16]=-Xlockprofthreshold:500
01-01 00:11:41.546 I/zygote64(10559): option[17]=-Ximage-compiler-option
01-01 00:11:41.546 I/zygote64(10559): option[18]=–runtime-arg
01-01 00:11:41.546 I/zygote64(10559): option[19]=-Ximage-compiler-option
01-01 00:11:41.546 I/zygote64(10559): option[20]=-Xms64m
01-01 00:11:41.546 I/zygote64(10559): option[21]=-Ximage-compiler-option
01-01 00:11:41.546 I/zygote64(10559): option[22]=–runtime-arg
01-01 00:11:41.546 I/zygote64(10559): option[23]=-Ximage-compiler-option
01-01 00:11:41.547 I/zygote64(10559): option[24]=-Xmx64m
01-01 00:11:41.547 I/zygote64(10559): option[25]=-Ximage-compiler-option
01-01 00:11:41.547 I/zygote64(10559): option[26]=–profile-file=/system/etc/boot-image.prof
01-01 00:11:41.547 I/zygote64(10559): option[27]=-Ximage-compiler-option
01-01 00:11:41.547 I/zygote64(10559): option[28]=–compiler-filter=speed-profile
01-01 00:11:41.547 I/zygote64(10559): option[29]=-Xcompiler-option
01-01 00:11:41.547 I/zygote64(10559): option[30]=–runtime-arg
01-01 00:11:41.547 I/zygote64(10559): option[31]=-Xcompiler-option
01-01 00:11:41.547 I/zygote64(10559): option[32]=-Xms64m
01-01 00:11:41.547 I/zygote64(10559): option[33]=-Xcompiler-option
01-01 00:11:41.547 I/zygote64(10559): option[34]=–runtime-arg
01-01 00:11:41.547 I/zygote64(10559): option[35]=-Xcompiler-option
01-01 00:11:41.547 I/zygote64(10559): option[36]=-Xmx512m
01-01 00:11:41.547 I/zygote64(10559): option[37]=-Ximage-compiler-option
01-01 00:11:41.547 I/zygote64(10559): option[38]=–instruction-set-variant=cortex-a53
01-01 00:11:41.547 I/zygote64(10559): option[39]=-Xcompiler-option
01-01 00:11:41.547 I/zygote64(10559): option[40]=–instruction-set-variant=cortex-a53
01-01 00:11:41.547 I/zygote64(10559): option[41]=-Ximage-compiler-option
01-01 00:11:41.547 I/zygote64(10559): option[42]=–instruction-set-features=default
01-01 00:11:41.547 I/zygote64(10559): option[43]=-Xcompiler-option
01-01 00:11:41.547 I/zygote64(10559): option[44]=–instruction-set-features=default
01-01 00:11:41.547 I/zygote64(10559): option[45]=-Duser.locale=en-US
01-01 00:11:41.547 I/zygote64(10559): option[46]=–cpu-abilist=arm64-v8a
01-01 00:11:41.547 I/zygote64(10559): option[47]=-Xfingerprint:Android/hikey/hikey:9/PD2A.190115.032/ricky06261125:userdebug/test-keys