[Galaxy S Plus I9001 Android Development] :
With cameratest8.zip

adb shell ln -s /dev/video20 /dev/video0

adb shell chmod 666 dev/video*

I/ActivityManager( 293): START {act=android.intent.action.MAIN cat=[android.int
ent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera} from pid 7
81
D/memalloc( 140): /dev/pmem: Allocated buffer base:0x415d3000 size:1536000 offs
et:2949120 fd:28
D/memalloc( 293): /dev/pmem: Mapped buffer base:0x54e66000 size:4485120 offset:
2949120 fd:243
I/ActivityManager( 293): Start proc com.android.camera for activity com.android
.camera/.Camera: pid=2328 uid=10007 gids={1006, 1015}
D/OpenGLRenderer( 781): Flushing caches (mode 1)
D/****CameraHAL( 143): 406: camera_get_camera_info() ENTER
D/****CameraHAL( 143): cameraHal BACK 0
D/****CameraHAL( 143): cameraHal 0
D/****CameraHAL( 143): 406: camera_get_camera_info() ENTER
D/****CameraHAL( 143): cameraHal Front 1
D/****CameraHAL( 143): cameraHal 1
V/CameraHolder( 2328): open camera 0
D/****CameraHAL( 143): 406: camera_get_camera_info() ENTER
D/****CameraHAL( 143): cameraHal BACK 0
D/****CameraHAL( 143): cameraHal 0
I/CameraService( 143): Opening camera 0
D/****CameraHAL( 143): 309: camera_device_open() ENTER
I/****CameraHAL( 143): camera_device open
E/V4L2Camera( 143): ERROR opening V4L interface: No such file or directory
D/CameraHardware( 143): Set Parameter...!!
D/CameraHardware( 143): PreviewFormat yuv420sp
D/CameraHardware( 143): PictureFormat jpeg
D/CameraHardware( 143): preview width:640,height:480
D/CameraHardware( 143): picture width:640,height:480
D/CameraHardware( 143): FRAMERATE 30
D/CameraHardware( 143): Picture Size by CamHAL 640 x 480
D/CameraHardware( 143): Preview Resolution by CamHAL 640 x 480
D/****CameraHAL( 143): 116: camera_set_callbacks() ENTER
D/****CameraHAL( 143): 124: camera_enable_msg_type() ENTER
D/CameraHardware( 143): enableMsgType:1037
I/AwesomePlayer( 143): setDataSource_l('/system/media/audio/ui/camera_click.ogg
')
E/V4L2Camera( 143): ERR(int android::V4L2Camera::setAEAWBLockUnlock(int, int)):
Fail on V4L2_CID_CAMERA_AE_AWB_LOCKUNLOCK
E/OMXCodec( 143): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
E/OMXCodec( 143): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/AwesomePlayer( 143): setDataSource_l('/system/media/audio/ui/VideoRecord.ogg'
)
E/OMXCodec( 143): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
E/OMXCodec( 143): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
D/OpenGLRenderer( 781): Flushing caches (mode 0)
D/memalloc( 781): /dev/pmem: Unmapping buffer base:0x51ce4000 size:10199040 off
set:8663040
D/memalloc( 781): /dev/pmem: Unmapping buffer base:0x5269e000 size:11735040 off
set:10199040
D/memalloc( 781): /dev/pmem: Unmapping buffer base:0x531cf000 size:16158720 off
set:14622720
D/memalloc( 140): /dev/pmem: Freeing buffer base:0x41e16000 size:1536000 offset
:8663040 fd:22
D/memalloc( 140): /dev/pmem: Freeing buffer base:0x423c5000 size:1536000 offset
:14622720 fd:43
D/****CameraHAL( 143): 244: camera_get_parameters() ENTER
D/****CameraHAL( 143): 250: camera_put_parameters() ENTER
D/CameraHardware( 143): Set Parameter...!!
D/CameraHardware( 143): PreviewFormat yuv420sp
D/CameraHardware( 143): PictureFormat jpeg
D/CameraHardware( 143): preview width:640,height:480
D/CameraHardware( 143): picture width:640,height:480
D/CameraHardware( 143): FRAMERATE 30
D/CameraHardware( 143): Picture Size by CamHAL 640 x 480
D/CameraHardware( 143): Preview Resolution by CamHAL 640 x 480
D/dalvikvm( 2328): GC_CONCURRENT freed 272K, 22% free 2411K/3075K, paused 2ms+2m
s
D/dalvikvm( 2328): GC_FOR_ALLOC freed 21K, 20% free 2473K/3075K, paused 16ms
I/dalvikvm-heap( 2328): Grow heap (frag case) to 3.153MB for 373696-byte allocat
ion
D/dalvikvm( 2328): GC_FOR_ALLOC freed 4K, 19% free 2833K/3459K, paused 13ms
D/****CameraHAL( 143): 244: camera_get_parameters() ENTER
D/****CameraHAL( 143): 250: camera_put_parameters() ENTER
D/CameraHardware( 143): Set Parameter...!!
D/CameraHardware( 143): PreviewFormat yuv420sp
D/CameraHardware( 143): PictureFormat jpeg
D/CameraHardware( 143): preview width:640,height:480
D/CameraHardware( 143): picture width:640,height:480
D/CameraHardware( 143): FRAMERATE 30
D/CameraHardware( 143): Picture Size by CamHAL 640 x 480
D/CameraHardware( 143): Preview Resolution by CamHAL 640 x 480
D/Camera ( 2328): app passed NULL surface
D/****CameraHAL( 143): 406: camera_get_camera_info() ENTER
D/****CameraHAL( 143): cameraHal BACK 0
D/****CameraHAL( 143): cameraHal 0
D/****CameraHAL( 143): 244: camera_get_parameters() ENTER
D/****CameraHAL( 143): 250: camera_put_parameters() ENTER
D/CameraHardware( 143): Set Parameter...!!
D/CameraHardware( 143): PreviewFormat yuv420sp
D/CameraHardware( 143): PictureFormat jpeg
D/CameraHardware( 143): preview width:640,height:480
D/CameraHardware( 143): picture width:640,height:480
D/CameraHardware( 143): FRAMERATE 30
D/CameraHardware( 143): Picture Size by CamHAL 640 x 480
D/CameraHardware( 143): Preview Resolution by CamHAL 640 x 480
V/camera ( 2328): Preview size is 640x480
V/MediaProfilesJNI( 2328): native_get_num_image_encoding_quality_levels
D/dalvikvm( 2328): GC_CONCURRENT freed 33K, 13% free 3303K/3779K, paused 1ms+2ms

V/MediaProfilesJNI( 2328): native_get_image_encoding_quality_level
V/MediaProfilesJNI( 2328): native_get_image_encoding_quality_level
V/MediaProfilesJNI( 2328): native_get_image_encoding_quality_level
D/****CameraHAL( 143): 228: camera_set_parameters() ENTER
D/CameraHardware( 143): Set Parameter...!!
D/CameraHardware( 143): PreviewFormat yuv420sp
D/CameraHardware( 143): PictureFormat jpeg
D/CameraHardware( 143): preview width:640,height:480
D/CameraHardware( 143): picture width:2560,height:1920
D/CameraHardware( 143): FRAMERATE 30
D/CameraHardware( 143): Picture Size by CamHAL 2560 x 1920
D/CameraHardware( 143): Preview Resolution by CamHAL 640 x 480
V/camera ( 2328): startPreview
D/****CameraHAL( 143): 124: camera_enable_msg_type() ENTER
D/CameraHardware( 143): enableMsgType:1024
D/****CameraHAL( 143): 156: camera_preview_enabled() ENTER
W/****CameraHAL( 143): ----Preview not Enabled----
D/****CameraHAL( 143): 92: camera_set_preview_window() ENTER
W/****CameraHAL( 143): window is NULL
W/CameraHardware( 143): Window is Null
D/****CameraHAL( 143): 144: camera_start_preview() ENTER
D/CameraHardware( 143): startPreview width:640,height:480
E/V4L2Camera( 143): error in SetPreviewFramerate: VIDIOC_S_PARM Fail...., erro
r(Bad file number)
E/V4L2Camera( 143): Open: VIDIOC_S_FMT Failed: Bad file number
E/CameraHardware( 143): Fail to configure camera device
D/****CameraHAL( 143): 131: camera_disable_msg_type() ENTER
D/CameraHardware( 143): disableMsgType:1024
D/****CameraHAL( 143): 131: camera_disable_msg_type() ENTER
D/CameraHardware( 143): disableMsgType:16
D/****CameraHAL( 143): 150: camera_stop_preview() ENTER
D/CameraHardware( 143): scope for the lock
D/CameraHardware( 143): return
D/****CameraHAL( 143): 131: camera_disable_msg_type() ENTER
D/CameraHardware( 143): disableMsgType:16
D/****CameraHAL( 143): 131: camera_disable_msg_type() ENTER
D/CameraHardware( 143): disableMsgType:65535
D/****CameraHAL( 143): 150: camera_stop_preview() ENTER
D/CameraHardware( 143): scope for the lock
D/CameraHardware( 143): return
D/****CameraHAL( 143): 222: camera_cancel_picture() ENTER
D/****CameraHAL( 143): 267: camera_release() ENTER
I/CameraService( 143): Destroying camera 0
D/****CameraHAL( 143): 284: camera_device_close() ENTER
E/V4L2Camera( 143): Uninit: Unmap failed
E/V4L2Camera( 143): Uninit: Unmap failed
D/V4L2Camera( 143): Camera Driver Closed
W/dalvikvm( 2328): threadid=11: thread exiting with uncaught exception (group=0x
40a3b1f8)
E/AndroidRuntime( 2328): FATAL EXCEPTION: Thread-202
E/AndroidRuntime( 2328): java.lang.RuntimeException: startPreview failed
E/AndroidRuntime( 2328): at com.android.camera.Camera.startPreview(Camera
.java:2031)
E/AndroidRuntime( 2328): at com.android.camera.Camera.access$3400(Camera.
java:86)
E/AndroidRuntime( 2328): at com.android.camera.Camera$5.run(Camera.java:1
157)
E/AndroidRuntime( 2328): at java.lang.Thread.run(Thread.java:856)
E/AndroidRuntime( 2328): Caused by: java.lang.RuntimeException: startPreview fai
led
E/AndroidRuntime( 2328): at android.hardware.Camera.startPreview(Native M
ethod)
E/AndroidRuntime( 2328): at com.android.camera.Camera.startPreview(Camera
.java:2028)
E/AndroidRuntime( 2328): ... 3 more
W/AudioFlinger( 143): session id 7 not found for pid 143
W/AudioFlinger( 143): session id 8 not found for pid 143
W/ActivityManager( 293): Force finishing activity com.android.camera/.Camera
D/memalloc( 140): /dev/pmem: Allocated buffer base:0x415d3000 size:307200 offse
t:4608000 fd:22
D/memalloc( 293): /dev/pmem: Mapped buffer base:0x55fff000 size:4915200 offset:
4608000 fd:252
D/dalvikvm( 2328): GC_FOR_ALLOC freed 72K, 13% free 3460K/3971K, paused 47ms
I/dalvikvm-heap( 2328): Grow heap (frag case) to 4.366MB for 635812-byte allocat
ion
I/Process ( 293): Sending signal. PID: 2328 SIG: 3
I/dalvikvm( 2328): threadid=3: reacting to signal 3
I/dalvikvm( 2328): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 2328): GC_CONCURRENT freed 7K, 12% free 4073K/4611K, paused 1ms+1ms
D/dalvikvm( 293): GC_CONCURRENT freed 1342K, 26% free 9184K/12291K, paused 2ms+
21ms
D/memalloc( 140): /dev/pmem: Freeing buffer base:0x41f8d000 size:1536000 offset
:10199040 fd:34
I/Process ( 293): Sending signal. PID: 2328 SIG: 3
I/dalvikvm( 2328): threadid=3: reacting to signal 3
W/ActivityManager( 293): Activity pause timeout for ActivityRecord{4108de68 com
.android.camera/.Camera}
I/dalvikvm( 2328): Wrote stack traces to '/data/anr/traces.txt'
D/memalloc( 140): /dev/pmem: Allocated buffer base:0x415d3000 size:1536000 offs
et:8663040 fd:34
D/memalloc( 781): /dev/pmem: Mapped buffer base:0x51ce4000 size:10199040 offset
:8663040 fd:50
D/memalloc( 140): /dev/pmem: Allocated buffer base:0x415d3000 size:1536000 offs
et:10199040 fd:43
D/memalloc( 781): /dev/pmem: Mapped buffer base:0x5269e000 size:11735040 offset
:10199040 fd:58
D/memalloc( 140): /dev/pmem: Allocated buffer base:0x415d3000 size:1536000 offs
et:14622720 fd:46
D/memalloc( 781): /dev/pmem: Mapped buffer base:0x531cf000 size:16158720 offset
:14622720 fd:61
D/memalloc( 140): /dev/pmem: Allocated buffer base:0x415d3000 size:307200 offse
t:4915200 fd:52
D/memalloc( 293): /dev/pmem: Mapped buffer base:0x56fc6000 size:5222400 offset:
4915200 fd:255
I/Process ( 2328): Sending signal. PID: 2328 SIG: 9
W/InputManagerService( 293): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Proxy@41268850
I/ActivityManager( 293): Process com.android.camera (pid 2328) has died.
D/memalloc( 140): /dev/pmem: Freeing buffer base:0x41a38000 size:307200 offset:
4608000 fd:22
D/memalloc( 140): /dev/pmem: Freeing buffer base:0x41a83000 size:307200 offset:
4915200 fd:52
D/memalloc( 293): /dev/pmem: Unmapping buffer base:0x55fff000 size:4915200 offs
et:4608000
D/memalloc( 293): /dev/pmem: Unmapping buffer base:0x56fc6000 size:5222400 offs
et:4915200
I/JuiceDefender.Service( 1697): Schedule stop
W/ActivityManager( 293): Activity destroy timeout for ActivityRecord{4108de68 c
om.android.camera/.Camera}
D/memalloc( 140): /dev/pmem: Freeing buffer base:0x418a3000 size:1536000 offset
:2949120 fd:28
D/memalloc( 293): /dev/pmem: Unmapping buffer base:0x54e66000 size:4485120 offs
et:2949120
D/dalvikvm( 781): GC_CONCURRENT freed 996K, 29% free 5454K/7619K, paused 5ms+4m
s
I/ActivityManager( 293): START {act=android.intent.action.MAIN cat=[android.int
ent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera} from pid 7
81
D/memalloc( 140): /dev/pmem: Allocated buffer base:0x415d3000 size:1536000 offs
et:2949120 fd:22
D/memalloc( 293): /dev/pmem: Mapped buffer base:0x54e66000 size:4485120 offset:
2949120 fd:242
I/ActivityManager( 293): Start proc com.android.camera for activity com.android
.camera/.Camera: pid=2365 uid=10007 gids={1006, 1015}
D/OpenGLRenderer( 781): Flushing caches (mode 1)
D/OpenGLRenderer( 781): Flushing caches (mode 0)
D/****CameraHAL( 143): 406: camera_get_camera_info() ENTER
D/****CameraHAL( 143): cameraHal BACK 0
D/****CameraHAL( 143): cameraHal 0
D/****CameraHAL( 143): 406: camera_get_camera_info() ENTER
D/****CameraHAL( 143): cameraHal Front 1
D/****CameraHAL( 143): cameraHal 1
V/CameraHolder( 2365): open camera 0
D/****CameraHAL( 143): 406: camera_get_camera_info() ENTER
D/****CameraHAL( 143): cameraHal BACK 0
D/****CameraHAL( 143): cameraHal 0
I/CameraService( 143): Opening camera 0
D/****CameraHAL( 143): 309: camera_device_open() ENTER
I/****CameraHAL( 143): camera_device open
D/memalloc( 781): /dev/pmem: Unmapping buffer base:0x51ce4000 size:10199040 off
set:8663040
D/memalloc( 781): /dev/pmem: Unmapping buffer base:0x5269e000 size:11735040 off
set:10199040
D/memalloc( 781): /dev/pmem: Unmapping buffer base:0x531cf000 size:16158720 off
set:14622720
D/memalloc( 140): /dev/pmem: Freeing buffer base:0x41e16000 size:1536000 offset
:8663040 fd:34
D/memalloc( 140): /dev/pmem: Freeing buffer base:0x423c5000 size:1536000 offset
:14622720 fd:46
D/dalvikvm( 2365): GC_CONCURRENT freed 252K, 22% free 2429K/3075K, paused 2ms+3m
s
D/dalvikvm( 2365): GC_FOR_ALLOC freed 13K, 20% free 2461K/3075K, paused 14ms
I/dalvikvm-heap( 2365): Grow heap (frag case) to 3.141MB for 373696-byte allocat
ion
D/dalvikvm( 2365): GC_FOR_ALLOC freed 3K, 19% free 2822K/3459K, paused 33ms
D/CameraHardware( 143): Set Parameter...!!
D/CameraHardware( 143): PreviewFormat yuv420sp
D/CameraHardware( 143): PictureFormat jpeg
D/CameraHardware( 143): preview width:640,height:480
D/CameraHardware( 143): picture width:640,height:480
D/CameraHardware( 143): FRAMERATE 30
D/CameraHardware( 143): Picture Size by CamHAL 640 x 480
D/CameraHardware( 143): Preview Resolution by CamHAL 640 x 480
D/****CameraHAL( 143): 116: camera_set_callbacks() ENTER
D/****CameraHAL( 143): 124: camera_enable_msg_type() ENTER
D/CameraHardware( 143): enableMsgType:1037
I/AwesomePlayer( 143): setDataSource_l('/system/media/audio/ui/camera_click.ogg
')

Stopps with black screen, also had to pull out battery...