[XPERIA X10 Android Development] jerpelea:
small progress

03-16 10:42:27.241: VERBOSE/CameraHolder(2123): open camera 0

03-16 10:42:27.241: VERBOSE/QualcommCameraHardware(1449): openCameraHardware: call createInstance

03-16 10:42:27.241: DEBUG/QualcommCameraHardware(1449): createInstance: E

03-16 10:42:27.251: VERBOSE/QualcommCameraHardware(1449): Storing the current target type as 0

03-16 10:42:27.251: VERBOSE/QualcommCameraHardware(1449): constructor EX

03-16 10:42:27.251: VERBOSE/QualcommCameraHardware(1449): startCamera E

03-16 10:42:27.261: VERBOSE/QualcommCameraHardware(1449): loading liboemcamera at 0xb000da58

03-16 10:42:27.341: WARN/ActivityManager(1566): Activity destroy timeout for HistoryRecord{407782c8 com.android.camera/.Camera}

03-16 10:42:27.371: INFO/QualcommCameraHardware(1449): startCamera: camsensor name semc_imx046_camera, flash 0

03-16 10:42:27.371: VERBOSE/QualcommCameraHardware(1449): startCamera X

03-16 10:42:27.371: VERBOSE/QualcommCameraHardware(1449): initDefaultParameters E

03-16 10:42:27.371: VERBOSE/QualcommCameraHardware(1449): setParameters: E params = 0x27c00

03-16 10:42:27.371: VERBOSE/QualcommCameraHardware(1449): requested preview size 800 x 480

03-16 10:42:27.371: VERBOSE/QualcommCameraHardware(1449): requested picture size 1024 x 768

03-16 10:42:27.371: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 14, length 4

03-16 10:42:27.412: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 15, length 4

03-16 10:42:27.412: VERBOSE/QualcommCameraHardware(1449): setFlash: flash not supported

03-16 10:42:27.412: VERBOSE/QualcommCameraHardware(1449): Set zoom=0

03-16 10:42:27.412: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 2, length 4

03-16 10:42:27.412: VERBOSE/QualcommCameraHardware(1449): new brightness value : 3

03-16 10:42:27.412: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 7, length 4

03-16 10:42:27.412: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 8, length 4

03-16 10:42:27.412: ERROR/mm-camera(1449): ES209_ERR :es209ra_cam_devdrv_set_exposure_compensation *table failed

03-16 10:42:27.412: ERROR/mm-camera(1449): ES209_ERR :es209ra_cam_usrdrv_set_exposure_compensation : ioctl nret failed

03-16 10:42:27.412: ERROR/QualcommCameraHardware(1449): native_set_parm: error (No such file or directory): fd 19, type 8, length 4, status 0

03-16 10:42:27.412: VERBOSE/QualcommCameraHardware(1449): setting sharpness 10

03-16 10:42:27.412: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 9, length 4

03-16 10:42:27.412: ERROR/QualcommCameraHardware(1449): native_set_parm: error (No such file or directory): fd 19, type 9, length 4, status 0

03-16 10:42:27.412: VERBOSE/QualcommCameraHardware(1449): setting contrast 6

03-16 10:42:27.412: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 6, length 4

03-16 10:42:27.412: VERBOSE/QualcommCameraHardware(1449): setting saturation 6

03-16 10:42:27.412: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 11, length 4

03-16 10:42:27.421: ERROR/QualcommCameraHardware(1449): native_set_parm: error (No such file or directory): fd 19, type 11, length 4, status 0

03-16 10:42:27.421: VERBOSE/QualcommCameraHardware(1449): setParameters: X

03-16 10:42:27.421: VERBOSE/QualcommCameraHardware(1449): Using Overlay : NO

03-16 10:42:27.421: VERBOSE/QualcommCameraHardware(1449): initDefaultParameters X

03-16 10:42:27.421: DEBUG/QualcommCameraHardware(1449): createInstance: X created hardware=0x27bf8

03-16 10:42:27.421: VERBOSE/QualcommCameraHardware(1449): Using Overlay : NO

03-16 10:42:27.421: INFO/StagefrightPlayer(1449): setDataSource('/system/media/audio/ui/camera_click.ogg')

03-16 10:42:27.431: INFO/StagefrightPlayer(1449): setDataSource('/system/media/audio/ui/VideoRecord.ogg')

03-16 10:42:27.441: VERBOSE/QualcommCameraHardware(1449): getParameters: EX

03-16 10:42:27.441: VERBOSE/QualcommCameraHardware(1449): getParameters: EX

03-16 10:42:27.441: DEBUG/Camera(2123): app passed NULL surface

03-16 10:42:27.441: VERBOSE/QualcommCameraHardware(1449): getParameters: EX

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): setParameters: E params = 0x40406d28

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): requested preview size 640 x 480

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): requested picture size 1024 x 768

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 14, length 4

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 15, length 4

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): setFlash: flash not supported

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): Set zoom=0

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 2, length 4

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 8, length 4

03-16 10:42:27.451: ERROR/mm-camera(1449): ES209_ERR :es209ra_cam_devdrv_set_exposure_compensation *table failed

03-16 10:42:27.451: ERROR/mm-camera(1449): ES209_ERR :es209ra_cam_usrdrv_set_exposure_compensation : ioctl nret failed

03-16 10:42:27.451: ERROR/QualcommCameraHardware(1449): native_set_parm: error (Unknown error: 0): fd 19, type 8, length 4, status 0

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): setting sharpness 10

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 9, length 4

03-16 10:42:27.451: ERROR/QualcommCameraHardware(1449): native_set_parm: error (Unknown error: 0): fd 19, type 9, length 4, status 0

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): setting contrast 6

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 6, length 4

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): setting saturation 6

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 11, length 4

03-16 10:42:27.451: ERROR/QualcommCameraHardware(1449): native_set_parm: error (Unknown error: 0): fd 19, type 11, length 4, status 0

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): setParameters: X

03-16 10:42:27.451: VERBOSE/QualcommCameraHardware(1449): getParameters: EX

03-16 10:42:27.461: DEBUG/CameraSettings(2123): Parameters: [antibanding-values=off,50hz,60hz,auto, antibanding=auto, auto-exposure=frame-average, contrast-def=6, contrast-max=6, contrast=6, effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua, effect=none, exposure-compensation-step=2, exposure-compensation=0, focus-mode-values=auto,infinity,normal,macro, focus-mode=auto, jpeg-quality=90, jpeg-thumbnail-height=384, jpeg-thumbnail-quality=90, jpeg-thumbnail-width=512, luma-adaptation=3, max-contrast=6, max-exposure-compensation=8, max-saturation=10, max-sharpness=10, max-zoom=5, min-exposure-compensation=0, picture-format-values=jpeg,raw, picture-format=jpeg, picture-size-values=2592x1944,2560x1920,2048x1536,1600x1200,1280x768,1280x720,1024x768,800x600,800x480,640x480,352x288,320x240,176x144, picture-size=1024x768, preview-format-values=yuv420sp, preview-format=yuv420sp, preview-frame-rate-values=10,11,12,13,14,15,16,17,18,19,20, preview-frame-rate=15, preview-size-values=800x480,768x432,720x480,640x480,576x432,480x320,384x288,352x288,320x240,240x160,176x144, preview-size=640x480, saturation-def=6, saturation-max=10, saturation=6, sharpness-def=10, sharpness-max=10, sharpness=10, whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight, whitebalance=auto, zoom-ratios=100,200,300,400,500,600, zoom-supported=true, zoom=0]

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): setParameters: E params = 0xbeb08ac8

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): requested preview size 640 x 480

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): requested picture size 1024 x 768

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 14, length 4

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 15, length 4

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): setFlash: flash not supported

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): Set zoom=0

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 2, length 4

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 8, length 4

03-16 10:42:27.461: ERROR/mm-camera(1449): ES209_ERR :es209ra_cam_devdrv_set_exposure_compensation *table failed

03-16 10:42:27.461: ERROR/mm-camera(1449): ES209_ERR :es209ra_cam_usrdrv_set_exposure_compensation : ioctl nret failed

03-16 10:42:27.461: ERROR/QualcommCameraHardware(1449): native_set_parm: error (Unknown error: 0): fd 19, type 8, length 4, status 0

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): setting sharpness 10

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 9, length 4

03-16 10:42:27.461: ERROR/QualcommCameraHardware(1449): native_set_parm: error (Unknown error: 0): fd 19, type 9, length 4, status 0

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): setting contrast 6

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 6, length 4

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): setting saturation 6

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 11, length 4

03-16 10:42:27.461: ERROR/QualcommCameraHardware(1449): native_set_parm: error (Unknown error: 0): fd 19, type 11, length 4, status 0

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): setParameters: X

03-16 10:42:27.461: VERBOSE/camera(2123): startPreview

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): startPreview E

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): in startPreviewInternal : E

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): initPreview E: preview size=640x480 videosize = 640 x 480

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): constructing MemPool preview backed by pmem pool /dev/pmem_adsp: 6 frames @ 460800 bytes, buffer size 460800

03-16 10:42:27.461: VERBOSE/QualcommCameraHardware(1449): PmemPool: duplicating control fd 19 --> 25

03-16 10:42:27.471: VERBOSE/QualcommCameraHardware(1449): pmem pool /dev/pmem_adsp ioctl(fd = 27, PMEM_GET_SIZE) is 2777088

03-16 10:42:27.471: DEBUG/QualcommCameraHardware(1449): mBufferSize=460800, mAlignedBufferSize=462848

03-16 10:42:27.471: DEBUG/QualcommCameraHardware(1449): num_buffers = 4

03-16 10:42:27.471: VERBOSE/QualcommCameraHardware(1449): register_buf: camfd = 25, reg = 0 buffer = 0x41507000

03-16 10:42:27.471: VERBOSE/QualcommCameraHardware(1449): register_buf: camfd = 25, reg = 0 buffer = 0x41578000

03-16 10:42:27.471: VERBOSE/QualcommCameraHardware(1449): register_buf: camfd = 25, reg = 0 buffer = 0x415e9000

03-16 10:42:27.471: VERBOSE/QualcommCameraHardware(1449): register_buf: camfd = 25, reg = 0 buffer = 0x4165a000

03-16 10:42:27.471: VERBOSE/QualcommCameraHardware(1449): native_set_parm: fd 19, type 1, length 32

03-16 10:42:27.471: ERROR/mm-camera(1449): ES209_ERR :es209ra_cam_devdrv_set_dimension *table failed

03-16 10:42:27.471: ERROR/mm-camera(1449): ES209_ERR :es209ra_cam_usrdrv_set_dimension : ioctl nret failed

03-16 10:42:27.591: ERROR/QualcommCameraHardware(1449): native_set_parm: error (Unknown error: 0): fd 19, type 1, length 32, status 0

03-16 10:42:27.591: VERBOSE/QualcommCameraHardware(1449): initPreview X: 0

03-16 10:42:27.591: ERROR/QualcommCameraHardware(1449): startPreview X initPreview failed. Not starting preview.

03-16 10:42:27.591: VERBOSE/QualcommCameraHardware(1449): stopPreview: E

03-16 10:42:27.591: VERBOSE/QualcommCameraHardware(1449): stopPreviewInternal E: 0

03-16 10:42:27.591: VERBOSE/QualcommCameraHardware(1449): stopPreviewInternal X: 0

03-16 10:42:27.591: VERBOSE/QualcommCameraHardware(1449): stopPreview: X

03-16 10:42:27.591: VERBOSE/QualcommCameraHardware(1449): stopPreview: E

03-16 10:42:27.591: VERBOSE/QualcommCameraHardware(1449): stopPreviewInternal E: 0

03-16 10:42:27.591: VERBOSE/QualcommCameraHardware(1449): stopPreviewInternal X: 0

03-16 10:42:27.591: VERBOSE/QualcommCameraHardware(1449): stopPreview: X

03-16 10:42:27.591: VERBOSE/QualcommCameraHardware(1449): cancelPicture: E

03-16 10:42:27.591: VERBOSE/QualcommCameraHardware(1449): cancelPicture: X: 0

03-16 10:42:27.591: DEBUG/QualcommCameraHardware(1449): release E

03-16 10:42:27.601: VERBOSE/QualcommCameraHardware(1449): deinitRaw E

03-16 10:42:27.601: VERBOSE/QualcommCameraHardware(1449): deinitRaw X

03-16 10:42:27.601: VERBOSE/QualcommCameraHardware(1449): deinitRawSnapshot E

03-16 10:42:27.601: VERBOSE/QualcommCameraHardware(1449): deinitRawSnapshot X

03-16 10:42:27.601: ERROR/mm-camera(1449): config_proc_CAMERA_STOP_SNAPSHOT: state is not correct ctrl->state = 0

03-16 10:42:27.601: VERBOSE/QualcommCameraHardware(1449): dlclose(libqcamera)

03-16 10:42:27.601: DEBUG/QualcommCameraHardware(1449): release X

03-16 10:42:27.601: DEBUG/QualcommCameraHardware(1449): ~QualcommCameraHardware E

03-16 10:42:27.601: DEBUG/QualcommCameraHardware(1449): ~QualcommCameraHardware X

03-16 10:42:27.601: VERBOSE/QualcommCameraHardware(1449): ~PmemPool: preview E

03-16 10:42:27.601: VERBOSE/QualcommCameraHardware(1449): register_buf: camfd = 25, reg = 1 buffer = 0x41507000

03-16 10:42:27.601: VERBOSE/QualcommCameraHardware(1449): register_buf: camfd = 25, reg = 1 buffer = 0x41578000

03-16 10:42:27.601: VERBOSE/QualcommCameraHardware(1449): register_buf: camfd = 25, reg = 1 buffer = 0x415e9000

03-16 10:42:27.601: VERBOSE/QualcommCameraHardware(1449): register_buf: camfd = 25, reg = 1 buffer = 0x4165a000

03-16 10:42:27.601: VERBOSE/QualcommCameraHardware(1449): destroying PmemPool preview: closing control fd 25

03-16 10:42:27.641: VERBOSE/QualcommCameraHardware(1449): ~PmemPool: preview X

03-16 10:42:27.641: VERBOSE/QualcommCameraHardware(1449): destroying MemPool preview

03-16 10:42:27.641: VERBOSE/QualcommCameraHardware(1449): destroying MemPool preview completed

03-16 10:42:27.641: WARN/dalvikvm(2123): threadid=11: thread exiting with uncaught exception (group=0x40015560)

03-16 10:42:27.641: ERROR/AndroidRuntime(2123): FATAL EXCEPTION: Thread-12

03-16 10:42:27.641: ERROR/AndroidRuntime(2123): java.lang.RuntimeException: startPreview failed

03-16 10:42:27.641: ERROR/AndroidRuntime(2123): at com.android.camera.Camera.startPreview(Camera.java:1863)

03-16 10:42:27.641: ERROR/AndroidRuntime(2123): at com.android.camera.Camera.access$5900(Camera.java:94)

03-16 10:42:27.641: ERROR/AndroidRuntime(2123): at com.android.camera.Camera$3.run(Camera.java:938)

03-16 10:42:27.641: ERROR/AndroidRuntime(2123): at java.lang.Thread.run(Thread.java:1019)

03-16 10:42:27.641: ERROR/AndroidRuntime(2123): Caused by: java.lang.RuntimeException: startPreview failed

03-16 10:42:27.641: ERROR/AndroidRuntime(2123): at android.hardware.Camera.startPreview(Native Method)

03-16 10:42:27.641: ERROR/AndroidRuntime(2123): at com.android.camera.Camera.startPreview(Camera.java:1860)

any ideas on fixing this imx046_camera?