[HTC Sensation XL] anders3408:
i can show you what i mean

here is my log :

here it loads the camera.default.so at line 74

19: I/Adreno200-EGL( 104): : EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB.04.01.01.00.036_msm8960_JB_CL2644550_release_AU (CL2644550)
20: I/Adreno200-EGL( 104): Build Date: 07/31/12 Tue
21: I/Adreno200-EGL( 104): Local Branch:
22: I/Adreno200-EGL( 104): Remote Branch: quic/master
23: I/Adreno200-EGL( 104): Local Patches: NONE
24: I/Adreno200-EGL( 104): Reconstruct Branch: AU_LINUX_ANDROID_JB.04.01.01.00.036 + NOTHING
25: I/gralloc ( 104): using (fd=18)
26: I/gralloc ( 104): id = msmfb
27: I/gralloc ( 104): xres = 480 px
28: I/gralloc ( 104): yres = 800 px
29: I/gralloc ( 104): xres_virtual = 480 px
30: I/gralloc ( 104): yres_virtual = 2400 px
31: I/gralloc ( 104): bpp = 32
32: I/gralloc ( 104): r = 0:8
33: I/gralloc ( 104): g = 8:8
34: I/gralloc ( 104): b = 16:8
35: I/gralloc ( 104): width = 61 mm (199.868851 dpi)
36: I/gralloc ( 104): height = 101 mm (201.188126 dpi)
37: I/gralloc ( 104): refresh rate = 1986356224.00 Hz
38: D/CALCFPS ( 104): DEBUG_CALC_FPS: 0
39: D/CALCFPS ( 104): period: 10
40: D/CALCFPS ( 104): ignorethresh_us: 500000
41: D/CALCFPS ( 104): DEBUG_CALC_FPS: 0
42: D/CALCFPS ( 104): period: 10
43: D/CALCFPS ( 104): ignorethresh_us: 500000
44: I/Adreno200-C2D( 104): : C2D2 initializing z180 version: libc2d2_z180.so
45: I/Adreno200-C2D( 104): : C2D2 wrapper initialized successfully
46: I/hwcomposer( 104): Initializing Qualcomm Hardware Composer
47: I/hwcomposer( 104): MDP version: 0
48: I/hwcomposer( 104): DYN composition threshold : 2.000000
49: E/SurfaceFlinger( 104): composer device version 0x30001 unsupported, will not be used
50: W/SurfaceFlinger( 104): getting VSYNC period from fb HAL: 0
51: W/SurfaceFlinger( 104): getting VSYNC period from thin air: 16666666
52: W/Adreno200-EGL( 104): : EGL_BAD_ATTRIBUTE
53: W/SurfaceFlinger( 104): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
54: W/SurfaceFlinger( 104): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
55: E/Trace ( 104): error opening trace file: No such file or directory (2)
56: I/SurfaceFlinger( 104): EGL informations:
57: I/SurfaceFlinger( 104): vendor : Android
58: I/SurfaceFlinger( 104): version : 1.4 Android META-EGL
59: I/SurfaceFlinger( 104): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer
60: I/SurfaceFlinger( 104): Client API: OpenGL_ES
61: I/SurfaceFlinger( 104): EGLSurface: 8-8-8-8, config=0x4
62: I/SurfaceFlinger( 104): OpenGL ES informations:
63: I/SurfaceFlinger( 104): vendor : Qualcomm
64: I/SurfaceFlinger( 104): renderer : Adreno (TM) 205
65: I/SurfaceFlinger( 104): version : OpenGL ES-CM 1.1
66: I/SurfaceFlinger( 104): extensions: GL_EXT_debug_marker 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_depth24 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
67: I/SurfaceFlinger( 104): GL_MAX_TEXTURE_SIZE = 4096
68: I/SurfaceFlinger( 104): GL_MAX_VIEWPORT_DIMS = 4096 x 4096
69: D/AndroidRuntime( 105):
70: D/AndroidRuntime( 105): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
71: D/AndroidRuntime( 105): CheckJNI is OFF
72: I/mediaserver( 107): ServiceManager: 0x2a00fe30
73: I/AudioFlinger( 107): Using default 3000 mSec as standby time.
74: I/CameraService( 107): CameraService started (pid=107)
75: I/AudioPolicyManagerBase( 107): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf

Then when starting camera app i get this error in line 2659.

2635: E/memalloc( 107): /dev/pmem: Failed to map buffer size:7741440 offset:6512640 fd:53 Error: Invalid argument
2636: E/gralloc ( 107): Could not mmap handle 0x2a0c1c20, fd=53 (Invalid argument)
2637: E/gralloc ( 107): gralloc_register_buffer: gralloc_map failed
2638: W/GraphicBufferMapper( 107): registerBuffer(0x2a0c1c20) failed -22 (Invalid argument)
2639: E/GraphicBuffer( 107): unflatten: registerBuffer failed: Invalid argument (-22)
2640: E/libgenlock( 107): perform_lock_unlock_operation: GENLOCK_IOC_LOCK failed (lockType0x1, err=Invalid argument fd=53)
2641: E/QualcommCameraHardware( 107): getBuffersAndStartPreview: genlock_lock_buffer(WRITE) failed
2642: E/MemoryHeapBase( 107): mmap(fd=51, size=462848) failed (Invalid argument)
2643: I/QualcommCameraHardware( 107): getBuffersAndStartPreview: Mapped Preview buffer 0
2644: I/QualcommCameraHardware( 107): getBuffersAndStartPreview: Got the following from get_mem data: 0xffffffff, handle :705434808, release : 0x40664ec5, size: 460800
2645: E/QualcommCameraHardware( 107): getBuffersAndStartPreview: Couldnt map preview buffers
2646: I/mm-camera( 107): int android::set_preview_window(camera_device*, preview_stream_ops*): X
2647: I/mm-camera( 107): int android::start_preview(camera_device*): E
2648: D/QualcommCameraHardware( 107): startPreview E
2649: I/QualcommCameraHardware( 107): getBuffersAndStartPreview : E
2650: D/QualcommCameraHardware( 107): getBuffersAndStartPreview: NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS(0)
2651: E/BufferQueue( 1524): [unnamed-1524-0] setBufferCount: client owns some buffers
2652: V/WindowManager( 398): Not displayed: s=Surface(name=com.android.gallery3d/com.android.camera.CameraLauncher, identity=8) pv=true mDrawState=1 ah=false th=false a=false
2653: V/WindowManager( 398): Resize reasons: contentInsetsChanged=false visibleInsetsChanged=false surfaceResized=true configChanged=true
2654: V/WindowManager( 398): Resizing window Window{412b9fd8 u0 com.android.gallery3d/com.android.camera.CameraLauncher} to 480.0x800.0
2655: E/SurfaceTextureClient( 107): ISurfaceTexture::setBufferCount(5) returned Invalid argument
2656: D/QualcommCameraHardware( 107): getBuffersAndStartPreview: setPreviewWindow(640 x 480), mTotalPreviewBufferCount 5
2657: E/memalloc( 107): /dev/pmem: Failed to map buffer size:7741440 offset:6512640 fd:55 Error: Invalid argument
2658: E/gralloc ( 107): Could not mmap handle 0x2a0c7a08, fd=55 (Invalid argument)
2659: E/gralloc ( 107): gralloc_register_buffer: gralloc_map failed
2660: W/GraphicBufferMapper( 107): registerBuffer(0x2a0c7a08) failed -22 (Invalid argument)
2661: E/GraphicBuffer( 107): unflatten: registerBuffer failed: Invalid argument (-22)
2662: E/libgenlock( 107): perform_lock_unlock_operation: GENLOCK_IOC_LOCK failed (lockType0x1, err=Bad file number fd=55)
2663: E/QualcommCameraHardware( 107): getBuffersAndStartPreview: genlock_lock_buffer(WRITE) failed
2664: E/MemoryHeapBase( 107): mmap(fd=51, size=462848) failed (Invalid argument)
2665: I/QualcommCameraHardware( 107): getBuffersAndStartPreview: Mapped Preview buffer 0
2666: I/QualcommCameraHardware( 107): getBuffersAndStartPreview: Got the following from get_mem data: 0xffffffff, handle :705434608, release : 0x40664ec5, size: 460800
2667: E/QualcommCameraHardware( 107): getBuffersAndStartPreview: Couldnt map preview buffers
2668: I/mm-camera( 107): int android::start_preview(camera_device*): X
2669: I/mm-camera( 107): void android::stop_preview(camera_device*): E
2670: D/QualcommCameraHardware( 107): stopPreview: E
2671: D/QualcommCameraHardware( 107): stopPreviewInternal E: 0
2672: D/QualcommCameraHardware( 107): stopPreviewInternal: mSkipStopPreview 0 mMultishotRunning 0
2673: D/QualcommCameraHardware( 107): stopPreviewInternal X: 0
2674: D/QualcommCameraHardware( 107): stopPreview: X

So now it loads the camera.defualt.so but it fails on some ****ty buffer. and i cant find out why

full log here : http://logcat.scheffsblend.com/view?id=24003