[Android Software/Hacking General [Developers Only]] pax0r:
I'm working on porting CM7.2 to the LG P350 (msm7227 board).

I have a problem with newest build of CM 7.2 - it does not load Adreno200 renderer. It does not have any logcat error releated to graphics but the renderer is not loaded:

01:37:44.744 Debug libEGL 1490 loaded /system/lib/egl/libGLES_android.so
01:37:44.767 Debug libEGL 1490 loaded /system/lib/egl/libEGL_adreno200.so
01:37:44.831 Debug libEGL 1490 loaded /system/lib/egl/libGLESv1_CM_adreno200.so
01:37:44.854 Debug libEGL 1490 loaded /system/lib/egl/libGLESv2_adreno200.so
01:37:44.931 Info SurfaceFlinger 1490 EGL informations:
01:37:44.931 Info SurfaceFlinger 1490 # of configs : 26
01:37:44.932 Info SurfaceFlinger 1490 vendor : Android
01:37:44.933 Info SurfaceFlinger 1490 version : 1.4 Android META-EGL
01:37:44.933 Info SurfaceFlinger 1490 extensions: 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_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer
01:37:44.933 Info SurfaceFlinger 1490 Client API: OpenGL ES
01:37:44.933 Info SurfaceFlinger 1490 EGLSurface: 5-6-5-0, config=0x12
01:37:44.933 Info SurfaceFlinger 1490 OpenGL informations:
01:37:44.933 Info SurfaceFlinger 1490 vendor : Android
01:37:44.933 Info SurfaceFlinger 1490 renderer : Android PixelFlinger 1.4
01:37:44.933 Info SurfaceFlinger 1490 version : OpenGL ES-CM 1.0
01:37:44.933 Info SurfaceFlinger 1490 extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_OES_EGL_image GL_OES_compressed_ETC1_RGB8_texture GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap

But as you can see the adreno *.so libs are loaded and still Android uses PixelFlinger instead of adreno200 renderer.

Here is how it was looking in the working build (around 1 week ago)

I/SurfaceFlinger( 2287): EGL informations:
I/SurfaceFlinger( 2287): # of configs : 26
I/SurfaceFlinger( 2287): vendor : Android
I/SurfaceFlinger( 2287): version : 1.4 Android META-EGL
I/SurfaceFlinger( 2287): extensions: 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_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer
I/SurfaceFlinger( 2287): Client API: OpenGL ES
I/SurfaceFlinger( 2287): EGLSurface: 5-6-5-0, config=0x0
I/SurfaceFlinger( 2287): OpenGL informations:
I/SurfaceFlinger( 2287): vendor : Qualcomm
I/SurfaceFlinger( 2287): renderer : Adreno 200
I/SurfaceFlinger( 2287): version : OpenGL ES-CM 1.1

The next strange thing is when I will swap the binary libui.so with the one from working build the Adreno is started to be regonized!

I tried to track why - I've reverted my device folder to the state were it was working and check for libui source and there were no changes since half a year. So I have no idea why new libui.so and old are diffrent and one work and the second does not.

I've turned on linker debuging for checking the linking error but there are none...

BIG thx for ANY help as I'm trying to make it work for 2 days now -.-