[Galaxy S Plus I9001 Android Development] oisis:
Logcat form camtest8:

D/****CameraHAL( 135): 406: camera_get_camera_info() ENTER

D/****CameraHAL( 135): cameraHal BACK 0

D/****CameraHAL( 135): cameraHal 0

D/****CameraHAL( 135): 406: camera_get_camera_info() ENTER

D/****CameraHAL( 135): cameraHal Front 1

D/****CameraHAL( 135): cameraHal 1

V/CameraHolder( 1736): open camera 0

D/****CameraHAL( 135): 406: camera_get_camera_info() ENTER

D/****CameraHAL( 135): cameraHal BACK 0

D/****CameraHAL( 135): cameraHal 0

I/CameraService( 135): Opening camera 0

D/****CameraHAL( 135): 309: camera_device_open() ENTER

I/****CameraHAL( 135): camera_device open

E/V4L2Camera( 135): ERROR opening V4L interface: No such file or directory

D/CameraHardware( 135): Set Parameter...!!

D/CameraHardware( 135): PreviewFormat yuv420sp

D/CameraHardware( 135): PictureFormat jpeg

D/CameraHardware( 135): preview width:640,height:480

D/CameraHardware( 135): picture width:640,height:480

D/CameraHardware( 135): FRAMERATE 30

D/CameraHardware( 135): Picture Size by CamHAL 640 x 480

D/CameraHardware( 135): Preview Resolution by CamHAL 640 x 480

D/****CameraHAL( 135): 116: camera_set_callbacks() ENTER

D/****CameraHAL( 135): 124: camera_enable_msg_type() ENTER

D/CameraHardware( 135): enableMsgType:1037

I/AwesomePlayer( 135): setDataSource_l('/system/media/audio/ui/camera_click.ogg')

E/V4L2Camera( 135): ERR(int android::V4L2Camera::setAEAWBLockUnlock(int, int)):Fail on V4L2_CID_CAMERA_AE_AWB_LOCKUNLOCK

E/OMXCodec( 135): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'

E/OMXCodec( 135): Successfully allocated OMX node 'OMX.google.vorbis.decoder'

I/AwesomePlayer( 135): setDataSource_l('/system/media/audio/ui/VideoRecord.ogg')

D/dalvikvm( 1736): GC_CONCURRENT freed 261K, 22% free 2426K/3075K, paused 3ms+3ms

E/OMXCodec( 135): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'

E/OMXCodec( 135): Successfully allocated OMX node 'OMX.google.vorbis.decoder'

D/****CameraHAL( 135): 244: camera_get_parameters() ENTER

D/****CameraHAL( 135): 250: camera_put_parameters() ENTER

D/CameraHardware( 135): Set Parameter...!!

D/CameraHardware( 135): PreviewFormat yuv420sp

D/CameraHardware( 135): PictureFormat jpeg

D/CameraHardware( 135): preview width:640,height:480

D/CameraHardware( 135): picture width:640,height:480

D/CameraHardware( 135): FRAMERATE 30

D/CameraHardware( 135): Picture Size by CamHAL 640 x 480

D/CameraHardware( 135): Preview Resolution by CamHAL 640 x 480

D/dalvikvm( 1736): GC_FOR_ALLOC freed 19K, 20% free 2475K/3075K, paused 12ms

I/dalvikvm-heap( 1736): Grow heap (frag case) to 3.152MB for 373696-byte allocation

D/dalvikvm( 1736): GC_FOR_ALLOC freed 3K, 19% free 2836K/3459K, paused 13ms

D/dalvikvm( 1736): GC_CONCURRENT freed 23K, 13% free 3291K/3779K, paused 1ms+2ms

D/****CameraHAL( 135): 244: camera_get_parameters() ENTER

D/****CameraHAL( 135): 250: camera_put_parameters() ENTER

D/CameraHardware( 135): Set Parameter...!!

D/CameraHardware( 135): PreviewFormat yuv420sp

D/CameraHardware( 135): PictureFormat jpeg

D/CameraHardware( 135): preview width:640,height:480

D/CameraHardware( 135): picture width:640,height:480

D/CameraHardware( 135): FRAMERATE 30

D/CameraHardware( 135): Picture Size by CamHAL 640 x 480

D/CameraHardware( 135): Preview Resolution by CamHAL 640 x 480

D/Camera ( 1736): app passed NULL surface

D/****CameraHAL( 135): 406: camera_get_camera_info() ENTER

D/****CameraHAL( 135): cameraHal BACK 0

D/****CameraHAL( 135): cameraHal 0

D/****CameraHAL( 135): 244: camera_get_parameters() ENTER

D/****CameraHAL( 135): 250: camera_put_parameters() ENTER

D/CameraHardware( 135): Set Parameter...!!

D/CameraHardware( 135): PreviewFormat yuv420sp

D/CameraHardware( 135): PictureFormat jpeg

D/CameraHardware( 135): preview width:640,height:480

D/CameraHardware( 135): picture width:640,height:480

D/CameraHardware( 135): FRAMERATE 30

D/CameraHardware( 135): Picture Size by CamHAL 640 x 480

D/CameraHardware( 135): Preview Resolution by CamHAL 640 x 480

V/camera ( 1736): Preview size is 640x480

V/MediaProfilesJNI( 1736): native_get_num_image_encoding_quality_levels

V/MediaProfilesJNI( 1736): native_get_image_encoding_quality_level

V/MediaProfilesJNI( 1736): native_get_image_encoding_quality_level

V/MediaProfilesJNI( 1736): native_get_image_encoding_quality_level

D/****CameraHAL( 135): 228: camera_set_parameters() ENTER

D/CameraHardware( 135): Set Parameter...!!

D/CameraHardware( 135): PreviewFormat yuv420sp

D/CameraHardware( 135): PictureFormat jpeg

D/CameraHardware( 135): preview width:640,height:480

D/CameraHardware( 135): picture width:2560,height:1920

D/CameraHardware( 135): FRAMERATE 30

D/CameraHardware( 135): Picture Size by CamHAL 2560 x 1920

D/CameraHardware( 135): Preview Resolution by CamHAL 640 x 480

V/camera ( 1736): startPreview

D/****CameraHAL( 135): 124: camera_enable_msg_type() ENTER

D/CameraHardware( 135): enableMsgType:1024

D/****CameraHAL( 135): 156: camera_preview_enabled() ENTER

W/****CameraHAL( 135): ----Preview not Enabled----

D/****CameraHAL( 135): 92: camera_set_preview_window() ENTER

W/****CameraHAL( 135): window is NULL

W/CameraHardware( 135): Window is Null

D/****CameraHAL( 135): 144: camera_start_preview() ENTER

D/CameraHardware( 135): startPreview width:640,height:480

E/V4L2Camera( 135): error in SetPreviewFramerate: VIDIOC_S_PARM Fail...., error(Bad file number)

E/V4L2Camera( 135): Open: VIDIOC_S_FMT Failed: Bad file number

E/CameraHardware( 135): Fail to configure camera device

D/****CameraHAL( 135): 131: camera_disable_msg_type() ENTER

D/CameraHardware( 135): disableMsgType:1024

D/****CameraHAL( 135): 131: camera_disable_msg_type() ENTER

D/CameraHardware( 135): disableMsgType:16

D/****CameraHAL( 135): 150: camera_stop_preview() ENTER

D/CameraHardware( 135): scope for the lock

D/CameraHardware( 135): return

D/****CameraHAL( 135): 131: camera_disable_msg_type() ENTER

D/CameraHardware( 135): disableMsgType:16

D/****CameraHAL( 135): 131: camera_disable_msg_type() ENTER

D/CameraHardware( 135): disableMsgType:65535

D/****CameraHAL( 135): 150: camera_stop_preview() ENTER

D/CameraHardware( 135): scope for the lock

D/CameraHardware( 135): return

D/****CameraHAL( 135): 222: camera_cancel_picture() ENTER

D/****CameraHAL( 135): 267: camera_release() ENTER

I/CameraService( 135): Destroying camera 0

D/****CameraHAL( 135): 284: camera_device_close() ENTER

E/V4L2Camera( 135): Uninit: Unmap failed

E/V4L2Camera( 135): Uninit: Unmap failed

D/V4L2Camera( 135): Camera Driver Closed

W/dalvikvm( 1736): threadid=11: thread exiting with uncaught exception (group=0x40a3f1f8)

E/AndroidRuntime( 1736): FATAL EXCEPTION: Thread-157

E/AndroidRuntime( 1736): java.lang.RuntimeException: startPreview failed

E/AndroidRuntime( 1736): at com.android.camera.Camera.startPreview(Camera.java:2031)

E/AndroidRuntime( 1736): at com.android.camera.Camera.access$3400(Camera.java:86)

E/AndroidRuntime( 1736): at com.android.camera.Camera$5.run(Camera.java:1157)

E/AndroidRuntime( 1736): at java.lang.Thread.run(Thread.java:856)

E/AndroidRuntime( 1736): Caused by: java.lang.RuntimeException: startPreview failed

E/AndroidRuntime( 1736): at android.hardware.Camera.startPreview(Native Method)

E/AndroidRuntime( 1736): at com.android.camera.Camera.startPreview(Camera.java:2028)

E/AndroidRuntime( 1736): ... 3 more

and dmesg:

<4>[ 1.274169] [CAMDRV] config_camera_on_gpios

<6>[ 1.275054] [CAMDRV/CE147] cam_pm_lp8720_probe: E

<7>[ 2.011383] ce147_get_vgacam_rotated: 1

<4>[ 2.016937] [CAMDRV] config_camera_off_gpios

<4>[ 2.018737] [CAMDRV] config_camera_on_gpios

<4>[ 2.025543] [CAMDRV] config_camera_off_gpios

I did one more test, first:

ln -s /dev/video20 /dev/video0

chmod 666 /dev/video*

And logcat:

D/****CameraHAL( 135): 406: camera_get_camera_info() ENTER

D/****CameraHAL( 135): cameraHal BACK 0

D/****CameraHAL( 135): cameraHal 0

D/****CameraHAL( 135): 406: camera_get_camera_info() ENTER

D/****CameraHAL( 135): cameraHal Front 1

D/****CameraHAL( 135): cameraHal 1

V/CameraHolder( 1878): open camera 0

D/****CameraHAL( 135): 406: camera_get_camera_info() ENTER

D/****CameraHAL( 135): cameraHal BACK 0

D/****CameraHAL( 135): cameraHal 0

I/CameraService( 135): Opening camera 0

D/****CameraHAL( 135): 309: camera_device_open() ENTER

I/****CameraHAL( 135): camera_device open

Phone crashed and I had to remove the battery.. Maybe will be usefull.