Camera wont open

dbornack

Well-known member
Sep 2, 2010
63
0
0
Visit site
Wiped phone, reinstalled ROM, etc...

Here's the log. Any ideas?

W/HTCCamera(11477): $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceCreated $$$$$$$$$$$$$$$$$$$$$$$$$$$android.view.SurfaceView$3@40524b88
W/HTCCamera(11477): $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceCreated $$$$$$$$$$$$$$$$$$$$$$$$$$$ start preview
W/CameraThread(11477): CameraHandler Message - START_PREVIEW start mode0
D/CameraService(11497): CameraService::connect E (pid 11477, id 0), max 2
I/CameraService(11497): cameraId:0
I/CameraService(11497): 2D mode only
I/QualcommCameraHardware(11497): openCameraHardware: call createInstance cameraId 0
D/QualcommCameraHardware(11497): createInstance: E
D/QualcommCameraHardware(11497): Storing the current target type as 2
D/QualcommCameraHardware(11497): constructor EX
D/QualcommCameraHardware(11497): startCamera E
D/QualcommCameraHardware(11497): loading liboemcamera at 0xb000e338
I/QualcommCameraHardware(11497): Set main cam
I/mm-camera(11497): set sensor selection :0
W/HTCCamera(11477): $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceChanged $$$$$$$$$$$$$$$$$$$$$$$$$$$ w=480 h=800
I/ActivityManager( 1665): Displayed com.android.camera/.CameraEntry: +147ms
D/EASAppSvc( 2937): [ NA ]setPause(com.android.camera.HTCCamera)
I/QualcommCameraHardware(11497): Open Device node : /dev/msm_camera/control1
I/mm-camera(11497): Open Device node : /dev/msm_camera/config1
I/mm-camera(11497): [AWB Calibration] from kernel: fuse_id: 0x0, 0x0, 0x1, 0x45d46a
I/mm-camera-s5k3h1gx_u(11497): Inside s5k3h1gx_process_start
I/mm-camera(11497): [LSC Calibration]Sensor_set_mesh
I/mm-camera(11497): [LSC Calibration] : call awb_get_fuseid
I/mm-camera(11497): Read /data/lsc_cal fail
I/mm-camera(11497): Read from file OK: /data/lsc_cal or /sys/android_camera_awb_cal/awb_cal
I/mm-camera(11497): [LSC Calibration]: lsc_checksum=df03223, lsc_verify=c1b
I/mm-camera(11497): [LSC Calibration]: fuseid_1=0,fuseid_2=0,fuseid_3=1,fuseid_4=45d46a, sfuse.fuse_id_word1=0,sfuse.fuse_id_word2=0,sfuse.fuse_id_word3=1,sfuse.fuse_id_word4=45d46a
I/mm-camera(11497): LSC_Calibration: addr=a77c4dac, & addr=a77c4dac
I/mm-camera(11497): LSC_Calibration: addr=a77c5b80, & addr=a77c5b80
I/mm-camera(11497): LSC_Calibration: addr=a77c6954, & addr=a77c6954
I/mm-camera(11497): LSC_Calibration: addr=a77c7728, & addr=a77c7728
I/mm-camera(11497): LSC_Calibration: addr=a77c84fc, & addr=a77c84fc
I/mm-camera-s5k3h1gx_u(11497): s5k3h1gx_process_start: [LSC Calibration] LSC is valid and set NEW mesh value
I/mm-camera(11497): [AWB Calibration] fuse_id : 0x0, 0x0, 0x1, 0x45d46a
I/mm-camera(11497): [AWB Calibration] fail to read /data/awb_cal, try another file
I/mm-camera(11497): [AWB Calibration] read from file OK: /sys/android_camera_awb_cal/awb_cal
I/mm-camera(11497): [AWB Calibration] nandflash data: 0xc1b, 0x2ba, 0x295, 0x0, 0x0, 0x1, 0x45d46a, 0xd6ffd817
I/mm-camera(11497): [AWB Calibration] check sum=d6ffd817, OK
I/mm-camera(11497): [AWB Calibration] valid bit and fuseID pass, use new white points
I/mm-camera(11497): [AWB Calibration] use light version: v3
I/mm-camera-s5k3h1gx_u(11497): s5k3h1gx_register: table = 0xa77e0600
I/mm-camera-s5k3h1gx_u(11497): get snapshot size pointer:0xa7725f91
D/mm-camera(11497): sensor_led_ctrl_init: camfd = 16
D/mm-camera(11497): af_init_process_exhaustive_search sensor->af_exhaust_downhill_allowance 2, sensor->af_exhaust_fv_drop_allowance 0.800000
I/QualcommCameraHardware(11497): startCamera: camsensor name s5k3h1gx, flash 1
I/mm-camera(11497): sctrl:0xa77dfa60
I/mm-camera(11497): sctrl->fn_table:0xa7726ae9
I/mm-camera(11497): sctrl->fn_table.get_snapshot_sizes:0xa7725f91
I/mm-camera-s5k3h1gx_u(11497): get table
D/QualcommCameraHardware(11497): startCamera X
D/QualcommCameraHardware(11497): loading libposteffect at 0xb000e798
D/QualcommCameraHardware(11497): static android::sp<android::CameraHardwareInterface> android::QualcommCameraHardware::createInstance(int): start GPU manager (0).
D/QualcommCameraHardware(11497): initDefaultParameters E
D/QualcommCameraHardware(11497): product 10
D/QualcommCameraHardware(11497): init thumbnail width: 480, height: 368
W/QualcommCameraHardware(11497): native_access_parm: error (No such file or directory): fd 13, type 1, length 32, status 0
D/QualcommCameraHardware(11497): requested preview size 480 x 320
D/QualcommCameraHardware(11497): requested picture size 3264 x 2448
D/mm-camera(11497): In config_proc_CAMERA_SET_PARM_LED_MODE: 0
D/mm-camera(11497): set_led_mode = 0, led_ctrl_p->led_mode = 0
D/QualcommCameraHardware(11497): [ATS][adjust_contrast][complete]
D/QualcommCameraHardware(11497): not defined touch-focus yet, or AP without touch-focus function
D/QualcommCameraHardware(11497): virtual android::status_t android::QualcommCameraHardware::setParameters(const android::CameraParameters&), final_rc=0
D/ (11497): [GECameraParameters::getGPUEffect] enter
D/ (11497): [GECameraParameters::getGPUEffect] leave. no key GPU-effect
D/ (11497): [GECameraParameters::getGPUEffectParam] leave. no key GE-param0
D/ (11497): [GECameraParameters::getGPUEffectParam] leave. no key GE-param1
D/ (11497): [GECameraParameters::getGPUEffectParam] leave. no key GE-param3
D/QualcommCameraHardware(11497): initDefaultParameters X
D/QualcommCameraHardware(11497): createInstance: X created hardware=0x1cca8
D/CameraService(11497): Client::Client E (pid 11477)
I/StagefrightPlayer(11497): setDataSource('/system/media/audio/ui/camera_click.ogg')
D/CameraService(11497): getOrientation: degrees 0
D/CameraService(11497): CameraService::loadSound ref=0
I/StagefrightPlayer(11497): setDataSource('/system/media/audio/ui/camera_click.ogg')
D/CameraService(11497): Client::Client X (pid 11477)
I/DEBUG (11399): #00 pc 0001e9ca /system/lib/libcameraservice.so
I/DEBUG (11399): #01 pc 0001cd74 /system/lib/libcameraservice.so
I/DEBUG (11399): #02 pc 00010838 /system/lib/libcamera_client.so
I/DEBUG (11399): #03 pc 0001c372 /system/lib/libcameraservice.so
I/DEBUG (11399): befbc8c4 a801cd79 /system/lib/libcameraservice.so
I/DEBUG (11399): befbc988 a801ca11 /system/lib/libcameraservice.so
I/DEBUG (11399): befbc99c aba9083b /system/lib/libcamera_client.so
I/ServiceManager( 1521): service 'media.camera' died
W/Camera (11477): Camera server died!
E/CameraThread(11477): open camera failed
E/CameraThread(11477): java.lang.RuntimeException: Fail to connect to camera service
E/CameraThread(11477): at android.hardware.Camera.native_setup(Native Method)
E/CameraThread(11477): at android.hardware.Camera.<init>(Camera.java:265)
E/CameraThread(11477): at android.hardware.Camera.open(Camera.java:226)
E/CameraThread(11477): at com.android.camera.CameraThread.start_preview(CameraThread.java:1843)
E/CameraThread(11477): at com.android.camera.CameraThread$MainHandler.handleMessage(CameraThread.java:382)
E/CameraThread(11477): at android.os.Handler.dispatchMessage(Handler.java:99)
E/CameraThread(11477): at android.os.Looper.loop(Looper.java:150)
E/CameraThread(11477): at com.android.camera.CameraThread.run(CameraThread.java:2592)
W/HTCCamera(11477): onPause() - start
W/HTCCamera(11477): onPause() - mIsUIReady = false
W/HTCCamera(11477): $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceDestroyed $$$$$$$$$$$$$$$$$$$$$$$$$$$
W/CameraThread(11477): CameraHandler Message - START_PREVIEW end
W/HTCCamera(11477): onPause() - mFocusingState = NO_FOCUSING
W/HTCCamera(11477): OnPause - set mWaitResetSettings to false
W/HTCCamera(11477): releaseFaceDetection()
W/HTCCamera(11477): onPause mIdle is false
W/CameraThread(11477): CameraHandler Message - CLOSE_CAMERA start mMode=0
W/CameraThread(11477): mCameraDevice == null in close_camera
W/CameraThread(11477): CameraHandler Message - CLOSE_CAMERA end
W/HTCCamera(11477): OnPause - Freeze UI !!!
W/HTCCamera(11477): doOnPause() - start
W/HTCCamera(11477): OnPause - hide UI, set mMainLayout invisible
W/HTCCamera(11477): doOnPause() - end
W/HTCCamera(11477): onPause() - end
D/EASAppSvc( 2937): [ NA ]setResume(com.android.camera.HTCCamera)
W/HTCCamera(11477): onStop() - start
W/HTCCamera(11477): onStop() - end
W/HTCCamera(11477): onDestroy() - start
W/CameraThread(11477): CameraHandler Message - QUIT_CAMERA_THREAD start
W/CameraThread(11477): mCameraDevice == null in close_camera
W/CameraThread(11477): CameraHandler Message - QUIT_CAMERA_THREAD end
W/HTCCamera(11477): onDestroy() - end
D/WindowManager( 1665): [framework] removeAppToken(), token:HistoryRecord{40cb0030 com.android.camera/.CameraEntry}
I/CameraService(11554): CameraService started (pid=11554)
W/HTCCamera(11477): doOnDestroy() - start
W/HTCCamera(11477): doOnDestroy() - end
 

Forum statistics

Threads
943,807
Messages
6,920,154
Members
3,159,244
Latest member
shrubby18