[HTC Desire S] mdeejay:
kernel

msm_fb.c

old:

#define BITS_PER_PIXEL_DEF 16

new:

#define BITS_PER_PIXEL_DEF 32

and for fps in android source:

framebuffer.cpp

old:

float fps = info.reserved[4];

new:

float fps = info.reserved[4] = 60;

02:31:44.083 Info SurfaceFlinger 1300 SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
02:31:44.084 Error msm7x30.gralloc 1300 We support 2 buffers
02:31:44.084 Info msm7x30.gralloc 1300 using (fd=36)
02:31:44.084 Info msm7x30.gralloc 1300 id = msmfb
02:31:44.084 Info msm7x30.gralloc 1300 xres = 480 px
02:31:44.084 Info msm7x30.gralloc 1300 yres = 800 px
02:31:44.084 Info msm7x30.gralloc 1300 xres_virtual = 480 px
02:31:44.084 Info msm7x30.gralloc 1300 yres_virtual = 1600 px
02:31:44.084 Info msm7x30.gralloc 1300 bpp = 32
02:31:44.084 Info msm7x30.gralloc 1300 r = 0:8
02:31:44.084 Info msm7x30.gralloc 1300 g = 8:8
02:31:44.084 Info msm7x30.gralloc 1300 b = 16:8
02:31:44.084 Info msm7x30.gralloc 1300 width = 48 mm (254.000000 dpi)
02:31:44.084 Info msm7x30.gralloc 1300 height = 80 mm (254.000000 dpi)
02:31:44.084 Info msm7x30.gralloc 1300 refresh rate = 60.00 Hz
02:31:44.085 Debug FramebufferNativeWindow 1300 mNumBuffers = 2
02:31:44.085 Debug libEGL 1300 loaded /system/lib/egl/libGLES_android.so
02:31:44.085 Debug libEGL 1300 loaded /system/lib/egl/libEGL_adreno200.so
02:31:44.197 Debug libEGL 1300 loaded /system/lib/egl/libGLESv1_CM_adreno200.so
02:31:44.197 Debug libEGL 1300 loaded /system/lib/egl/libGLESv2_adreno200.so
02:31:44.197 Debug SurfaceFlinger 1300 Wanted surface format = 1
02:31:44.302 Info SurfaceFlinger 1300 EGL informations:
02:31:44.302 Info SurfaceFlinger 1300 # of configs : 35
02:31:44.302 Info SurfaceFlinger 1300 vendor : Android
02:31:44.302 Info SurfaceFlinger 1300 version : 1.4 Android META-EGL
02:31:44.302 Info SurfaceFlinger 1300 extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_image_native_buffer EGL_ANDROID_get_render_buffer
02:31:44.302 Info SurfaceFlinger 1300 Client API: OpenGL ES
02:31:44.302 Info SurfaceFlinger 1300 EGLSurface: 8-8-8-8, config=0x3
02:31:44.302 Info SurfaceFlinger 1300 OpenGL informations:
02:31:44.302 Info SurfaceFlinger 1300 vendor : Qualcomm
02:31:44.302 Info SurfaceFlinger 1300 renderer : Adreno (TM) 205
02:31:44.302 Info SurfaceFlinger 1300 version : OpenGL ES-CM 1.1
02:31:44.303 Info SurfaceFlinger 1300 extensions: GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_APPLE_texture_2D_limited_npot GL_ARB_vertex_buffer_object GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_depth_texture GL_OES_draw_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_framebuffer_object GL_OES_matrix_palette GL_OES_packed_depth_stencil GL_OES_point_size_array GL_OES_point_sprite GL_OES_read_format GL_OES_rgb8_rgba8 GL_OES_stencil_wrap GL_OES_texture_cube_map GL_OES_texture_env_crossbar GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_texture_mirrored_repeat GL_QCOM_binning_control GL_QCOM_extended_get GL_QCOM_tiled_rendering GL_AMD_compressed_3DC_texture
02:31:44.303 Info SurfaceFlinger 1300 GL_MAX_TEXTURE_SIZE = 4096
02:31:44.303 Info SurfaceFlinger 1300 GL_MAX_VIEWPORT_DIMS = 4096 x 4096
02:31:44.303 Info SurfaceFlinger 1300 flags = 00000000