[Galaxy S III Original Android Development] bala_gamer:
cannot open camera

this is the status im getting in dalvik debug monitor

07-18 14:09:13.531: I/audio_hw_primary(1912): Calling do_output_standby
07-18 14:09:18.256: I/ActivityManager(2181): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.gallery3d/com.android.camera.CameraLauncher bnds=[200,833][360,1033] u=0} from pid 2437
07-18 14:09:18.271: I/audio_hw_primary(1912): Calling start_output_stream_deep_buffer
07-18 14:09:18.271: I/audio_hw_primary(1912): Select output stage: headset_on: 0, headphone_on: 0, speaker_on: 2
07-18 14:09:18.341: D/dalvikvm(2181): GC_FOR_ALLOC freed 550K, 15% free 16424K/19139K, paused 33ms, total 33ms
07-18 14:09:18.371: V/CameraHolder(3118): open camera 0
07-18 14:09:18.371: V/CameraWrapper(1912): camera_get_camera_info
07-18 14:09:18.371: V/CameraWrapper(1912): check_vendor_module
07-18 14:09:18.371: D/SecCameraHardware(1912): LSIHAL int android::HAL_getCameraInfo(int, camera_info*)
07-18 14:09:18.371: I/CameraService(1912): Opening camera 0
07-18 14:09:18.376: V/CameraWrapper(1912): camera_device open
07-18 14:09:18.376: V/CameraWrapper(1912): check_vendor_module
07-18 14:09:18.376: D/SecCameraHardware(1912): LSIHAL int android::HAL_getNumberOfCameras()
07-18 14:09:18.376: D/SecCameraHardware(1912): LSIHAL int android::HAL_camera_device_open(const hw_module_t*, const char*, hw_device_t**)
07-18 14:09:18.376: D/SecCameraHardware(1912): LSIHAL int android::HAL_getNumberOfCameras()
07-18 14:09:18.376: D/SecCameraHardware(1912): LSIHAL int android::HAL_camera_device_open(const hw_module_t*, const char*, hw_device_t**): open camera 0
07-18 14:09:18.376: D/SecCameraHardware(1912): init E
07-18 14:09:18.376: V/SecCameraHardware(1912): FimcV4l2 init: /dev/video0, fd(40)
07-18 14:09:18.376: V/SecCameraHardware(1912): FimcV4l2 init: camera[0] S5C73M3
07-18 14:09:18.416: V/StateManager(3118): startState class com.android.gallery3d.app.PhotoPage
07-18 14:09:18.421: D/OrientationManager(3118): lock orientation to portrait
07-18 14:09:18.431: D/iNemoSensor(2181): setDelay(): handle(0), en(66667000)
07-18 14:09:18.431: I/iNemoSensor(2181): skip update_delay wanted_accel = 66667000 current delay = 66667000
07-18 14:09:18.441: D/iNemoSensor(2181): setDelay(): handle(0), en(66667000)
07-18 14:09:18.441: I/iNemoSensor(2181): skip update_delay wanted_accel = 66667000 current delay = 66667000
07-18 14:09:18.446: D/iNemoSensor(2181): setDelay(): handle(0), en(66667000)
07-18 14:09:18.446: I/iNemoSensor(2181): skip update_delay wanted_accel = 66667000 current delay = 66667000
07-18 14:09:18.446: D/iNemoSensor(2181): setDelay(): handle(0), en(66667000)
07-18 14:09:18.446: I/iNemoSensor(2181): skip update_delay wanted_accel = 66667000 current delay = 66667000
07-18 14:09:18.446: D/CameraStorage(3118): External storage state=mounted
07-18 14:09:18.456: E/WVMExtractor(1912): Failed to open libwvm.so
07-18 14:09:18.531: D/ActivityBase(3118): set CameraRelativeFrame as Rect(0, 0 - 720, 960)
07-18 14:09:18.531: D/PhotoView(3118): compensation = 0, CameraRelativeFrame = Rect(0, 0 - 720, 960), mCameraRect = Rect(0, 0 - 720, 960)
07-18 14:09:18.541: I/GalleryEGLConfigChooser(3118): Config chosen: R5 G6 B5 A0 D24 S8 ID5 CAVEAT12344
07-18 14:09:18.556: I/GLRootView(3118): onSurfaceChanged: 720x1280, gl10: com.google.android.gles_jni.GLImpl@42a6f4d8
07-18 14:09:18.556: I/GLRootView(3118): layout content pane 720x1280 (compensation 0)
07-18 14:09:18.556: D/PhotoView(3118): compensation = 0, CameraRelativeFrame = Rect(0, 0 - 720, 960), mCameraRect = Rect(0, 0 - 720, 960)
07-18 14:09:18.601: I/ActivityManager(2181): Displayed com.android.gallery3d/com.android.camera.CameraLauncher: +232ms
07-18 14:09:18.611: D/dalvikvm(3118): GC_CONCURRENT freed 7640K, 31% free 22686K/32647K, paused 1ms+4ms, total 32ms
07-18 14:09:18.756: D/dalvikvm(3118): GC_FOR_ALLOC freed 4888K, 34% free 21611K/32647K, paused 15ms, total 15ms
07-18 14:09:18.826: D/dalvikvm(3118): GC_CONCURRENT freed 5K, 23% free 25209K/32647K, paused 1ms+2ms, total 19ms
07-18 14:09:20.636: E/SecCameraHardware(1912): FimcV4l2 init: error -1, VIDIOC_S_INPUT
07-18 14:09:20.636: E/SecCameraHardware(1912): initCamera X: error, /dev/video0
07-18 14:09:20.636: V/SecCameraHardware(1912): FimcV4l2 deinit EX
07-18 14:09:20.636: E/SecCameraHardware(1912): createInstance: error, camera cannot be initialiezed
07-18 14:09:20.636: E/SecCameraHardware(1912): Instance is not created
07-18 14:09:20.636: E/CameraWrapper(1912): vendor camera open fail
07-18 14:09:20.636: E/CameraService(1912): Could not open camera 0: -38
07-18 14:09:20.636: I/CameraService(1912): Destroying camera 0
07-18 14:09:20.636: E/CameraHolder(3118): fail to connect Camera
07-18 14:09:20.636: E/CameraHolder(3118): java.lang.RuntimeException: Fail to connect to camera service
07-18 14:09:20.636: E/CameraHolder(3118):	at android.hardware.Camera.native_setup(Native Method)
07-18 14:09:20.636: E/CameraHolder(3118):	at android.hardware.Camera.<init>(Camera.java:323)
07-18 14:09:20.636: E/CameraHolder(3118):	at android.hardware.Camera.open(Camera.java:283)
07-18 14:09:20.636: E/CameraHolder(3118):	at com.android.camera.CameraManager.cameraOpen(CameraManager.java:224)
07-18 14:09:20.636: E/CameraHolder(3118):	at com.android.camera.CameraHolder.open(CameraHolder.java:151)
07-18 14:09:20.636: E/CameraHolder(3118):	at com.android.camera.Util.openCamera(Util.java:293)
07-18 14:09:20.636: E/CameraHolder(3118):	at com.android.camera.Camera$CameraStartUpThread.run(Camera.java:284)
07-18 14:09:21.341: I/audio_hw_primary(1912): Calling out_standby
07-18 14:09:21.341: I/audio_hw_primary(1912): Calling do_output_standby
07-18 14:09:22.856: I/GLRootView(3118): layout content pane 1280x720 (compensation 270)
07-18 14:09:22.856: D/PhotoView(3118): compensation = 270, CameraRelativeFrame = Rect(0, 0 - 720, 960), mCameraRect = Rect(0, 0 - 960, 720)
07-18 14:09:23.456: I/GLRootView(3118): layout content pane 720x1280 (compensation 180)
07-18 14:09:23.456: D/PhotoView(3118): compensation = 180, CameraRelativeFrame = Rect(0, 0 - 720, 960), mCameraRect = Rect(0, 320 - 720, 1280)