[Desire Android Development] NeoPhyTe.x360:
Trying to get camera work but..:

10-11 04:47:29.054: WARN/HTCCamera(1817): onCreate()
10-11 04:47:29.105: WARN/IntentManager(1817): from class: com.android.camera.CameraEntry
10-11 04:47:29.105: WARN/IntentManager(1817): mRequestMode = RequestMode.Main, from Camera
10-11 04:47:29.105: WARN/IntentManager(1817): request name = null - RequestName.Unknown_General
10-11 04:47:29.105: WARN/IntentManager(1817): extras == null
10-11 04:47:29.105: VERBOSE/CameraThread(1817): *************************************** run
10-11 04:47:29.134: WARN/HTCCamera(1817): onStart() - start
10-11 04:47:29.134: WARN/HTCCamera(1817): onStart() - end
10-11 04:47:29.134: WARN/HTCCamera(1817): onResume() - start
10-11 04:47:29.144: WARN/HTCCamera(1817): !!!! @@@@ broadcastStopVoiceRecording() - start
10-11 04:47:29.144: WARN/HTCCamera(1817): !!!! @@@@ broadcastStopVoiceRecording() - end
10-11 04:47:29.144: VERBOSE/HTCCamera(1817): !!!! @@@@ broadcastStopFM() - start
10-11 04:47:29.144: VERBOSE/HTCCamera(1817): !!!! @@@@ broadcastStopFM() - end
10-11 04:47:29.144: VERBOSE/HTCCamera(1817): Initial Display Orientation: 0
10-11 04:47:29.154: DEBUG/Sensors(425): open_akm, fd=40
10-11 04:47:29.154: DEBUG/AK8973(254): Compass Start
10-11 04:47:29.154: VERBOSE/SensorHandler(1817): createFocusFile() - start
10-11 04:47:29.154: WARN/HTCCamera(1817): OnResume - reset UI, immediately set mMainLayout invisible
10-11 04:47:29.154: VERBOSE/HTCCamera(1817): setMaxBrightness()
10-11 04:47:29.165: WARN/########## HtcSettingsReceiver ##########(1817): 2010-10-11 04:47:29 168(ms) onReceive-start
10-11 04:47:29.174: WARN/HTCCamera(1817): Block Capture UI - onResume(), and unblock after start preview
10-11 04:47:29.184: WARN/HTCCamera(1817): onResume() - mFocusingState = NO_FOCUSING
10-11 04:47:29.184: WARN/HTCCamera(1817): keyguard is not shown !!!!!
10-11 04:47:29.184: WARN/HTCCamera(1817): OnResume - set mWaitResetSettings to true
10-11 04:47:29.184: WARN/HTCCamera(1817): onResume() - end
10-11 04:47:29.244: DEBUG/PowerManagerService(425): New lightsensor value:40, lcdValue:81
10-11 04:47:29.244: DEBUG/PowerManagerService(425): lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3
10-11 04:47:29.274: WARN/HTCCamera(1817): $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceCreated $$$$$$$$$$$$$$$$$$$$$$$$$$$android.view.SurfaceView$3@478a03f8
10-11 04:47:29.274: WARN/HTCCamera(1817): $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceCreated $$$$$$$$$$$$$$$$$$$$$$$$$$$ start preview
10-11 04:47:29.274: WARN/HTCCamera(1817): $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceChanged $$$$$$$$$$$$$$$$$$$$$$$$$$$ w=480 h=800
10-11 04:47:29.274: WARN/CameraThread(1817): CameraHandler Message - START_PREVIEW start mode0
10-11 04:47:29.274: VERBOSE/CameraThread(1817): start_preview() - start
10-11 04:47:29.274: ERROR/CameraThread(1817): open the Camera in start_camera_preview
10-11 04:47:29.274: WARN/CameraSwitch(1817): open main camera
10-11 04:47:29.274: WARN/CameraSwitch(1817): no file - can't switch camera
10-11 04:47:29.294: DEBUG/QualcommCameraHardware(249): createInstance: E
10-11 04:47:29.294: DEBUG/QualcommCameraHardware(249): Storing the current target type as 1
10-11 04:47:29.294: DEBUG/QualcommCameraHardware(249): constructor EX
10-11 04:47:29.294: DEBUG/QualcommCameraHardware(249): startCamera E
10-11 04:47:29.294: INFO/ActivityManager(425): Displayed activity com.android.camera/.CameraEntry: 481 ms (total 481 ms)
10-11 04:47:29.305: DEBUG/QualcommCameraHardware(249): loading liboemcamera at 0xb00110c4
10-11 04:47:29.305: INFO/QualcommCameraHardware(249): Set main cam and main cam only
10-11 04:47:29.305: INFO/mm-camera-mmap(249): set sensor selection :0
10-11 04:47:29.305: VERBOSE/WindowManager(425): Remove Window{47d4cec8 Starting com.android.camera paused=false}: mSurface=Surface(name=Starting com.android.camera, identity=19) mExiting=false isAnimating=false app-animation=null inPendingTransaction=false mDisplayFrozen=false
10-11 04:47:29.315: ERROR/WindowManager(425): return in removeWindowLocked
10-11 04:47:29.465: INFO/QualcommCameraHardware(249): Open Device node : /dev/msm_camera/control0
10-11 04:47:29.465: INFO/mm-camera-config(249): cam_conf fd cfgctrl.camfd:0
10-11 04:47:29.465: INFO/mm-camera-config(249): Open config device node : /dev/msm_camera/config0
10-11 04:47:29.474: INFO/(249): [AWB Calibration]:ctrlfd:18
10-11 04:47:29.494: INFO/(249): [AWB Calibration] cfg.fuse_id_word1:0x0
10-11 04:47:29.494: INFO/(249): [AWB Calibration] cfg.fuse_id_word2:0x3
10-11 04:47:29.494: INFO/(249): [AWB Calibration] cfg.fuse_id_word3:0x45002
10-11 04:47:29.494: INFO/(249): [AWB Calibration] cfg.fuse_id_word4:0x27d532
10-11 04:47:29.505: DEBUG/mm-camera-s5k3e2fx_u(249): lcd type = 0
10-11 04:47:29.514: INFO/(249): [AWB Calibration] rg_ratio_GS_table[0]:0.733340
10-11 04:47:29.514: INFO/(249): [AWB Calibration] rg_ratio_GS_table[1]:0.733340
10-11 04:47:29.514: INFO/(249): [AWB Calibration] rg_ratio_GS_table[2]:0.754883
10-11 04:47:29.514: INFO/(249): [AWB Calibration] bg_ratio_GS_table[0]:0.601600
10-11 04:47:29.514: INFO/(249): [AWB Calibration] bg_ratio_GS_table[1]:0.601600
10-11 04:47:29.514: INFO/(249): [AWB Calibration] bg_ratio_GS_table[2]:0.598633
10-11 04:47:29.514: INFO/(249): [AWB Calibration] sfuse.fuse_id_word1:0x0
10-11 04:47:29.514: INFO/(249): [AWB Calibration] sfuse.fuse_id_word2:0x3
10-11 04:47:29.514: INFO/(249): [AWB Calibration] sfuse.fuse_id_word3:0x45002
10-11 04:47:29.514: INFO/(249): [AWB Calibration] sfuse.fuse_id_word4:0x27d532
10-11 04:47:29.514: INFO/(249): [AWB Calibration] fuse_id : 0x0, 0x3, 0x45002, 0x27d532
10-11 04:47:29.514: INFO/(249): [AWB Calibration] fail to read /data/awb_cal
10-11 04:47:29.514: INFO/(249): [AWB Calibration] read from file OK: /sys/android_camera_awb_cal/awb_ca
10-11 04:47:29.514: INFO/(249): [AWB Calibration] read all c1b ,ok=1
10-11 04:47:29.514: INFO/(249): [AWB Calibration] read all 320 ,ok=1
10-11 04:47:29.514: INFO/(249): [AWB Calibration] read all 253 ,ok=1
10-11 04:47:29.514: INFO/(249): [AWB Calibration] read all 0 ,ok=1
10-11 04:47:29.514: INFO/(249): [AWB Calibration] read all 3 ,ok=1
10-11 04:47:29.514: INFO/(249): [AWB Calibration] read all 45002 ,ok=1
10-11 04:47:29.514: INFO/(249): [AWB Calibration] read all 27d532 ,ok=1
10-11 04:47:29.514: INFO/(249): [AWB Calibration] read all b7a70f27 ,ok=1
10-11 04:47:29.514: INFO/(249): [AWB Calibration] check sum=b7a70f27, OK
10-11 04:47:29.514: INFO/(249): [AWB Calibration] caBuff[0]:0x00000c1b
10-11 04:47:29.514: INFO/(249): [AWB Calibration] caBuff[1]:0x00000320
10-11 04:47:29.514: INFO/(249): [AWB Calibration] caBuff[2]:0x00000253
10-11 04:47:29.514: INFO/(249): [AWB Calibration] caBuff[3]:0x00000000
10-11 04:47:29.514: INFO/(249): [AWB Calibration] caBuff[4]:0x00000003
10-11 04:47:29.514: INFO/(249): [AWB Calibration] caBuff[5]:0x00045002
10-11 04:47:29.514: INFO/(249): [AWB Calibration] caBuff[6]:0x0027d532
10-11 04:47:29.514: INFO/(249): [AWB Calibration] caBuff[7]:0xb7a70f27
10-11 04:47:29.514: INFO/(249): [AWB Calibration] fuse_id_word1:0x00000000
10-11 04:47:29.514: INFO/(249): [AWB Calibration] fuse_id_word2:0x00000003
10-11 04:47:29.514: INFO/(249): [AWB Calibration] fuse_id_word3:0x00045002
10-11 04:47:29.514: INFO/(249): [AWB Calibration] fuse_id_word4:0x0027d532
10-11 04:47:29.514: INFO/(249): [AWB Calibration] caBuff[0]:3099
10-11 04:47:29.514: INFO/(249): [AWB Calibration] valid bit and fuseID pass, use new white points
10-11 04:47:29.514: INFO/(249): [AWB Calibration] use light version: v3
10-11 04:47:29.544: INFO/mm-camera-aec(249): Touch AEC == numRegions:256
10-11 04:47:29.544: INFO/mm-camera-aec(249): Touch AEC aecCtrl->aec_state.aec_algo:1
10-11 04:47:29.555: INFO/QualcommCameraHardware(249): startCamera: camsensor name s5k3e2fx, flash 1
10-11 04:47:29.555: DEBUG/QualcommCameraHardware(249): startCamera X
10-11 04:47:29.555: DEBUG/QualcommCameraHardware(249): initDefaultParameters E
10-11 04:47:29.555: DEBUG/QualcommCameraHardware(249): product 4
10-11 04:47:29.555: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 1, length 32
10-11 04:47:29.555: ERROR/QualcommCameraHardware(249): native_access_parm: error (No such file or directory): fd 17, type 1, length 32, status 0
10-11 04:47:29.555: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 64, length 4
10-11 04:47:29.555: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 65, length 4
10-11 04:47:29.555: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 66, length 4
10-11 04:47:29.555: DEBUG/QualcommCameraHardware(249): requested preview size 768 x 432
10-11 04:47:29.555: DEBUG/QualcommCameraHardware(249): requested picture size 1024 x 768
10-11 04:47:29.565: DEBUG/QualcommCameraHardware(249): value:21401, country value:214, country code:214
10-11 04:47:29.565: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 21, length 4
10-11 04:47:29.565: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 14, length 4
10-11 04:47:29.565: DEBUG/QualcommCameraHardware(249): setFlash 0
10-11 04:47:29.565: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 49, length 4
10-11 04:47:29.565: DEBUG/mm-camera-ctrlcmd(249): In config_proc_CAMERA_SET_PARM_LED_MODE: 0
10-11 04:47:29.565: INFO/QualcommCameraHardware(249): Set zoom=0 20
10-11 04:47:29.565: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 2, length 4
10-11 04:47:29.565: INFO/QualcommCameraHardware(249): Setting Contrast is 5
10-11 04:47:29.565: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 6, length 4
10-11 04:47:29.565: INFO/QualcommCameraHardware(249): Setting Brightness is 3
10-11 04:47:29.565: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 7, length 4
10-11 04:47:29.565: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 12, length 4
10-11 04:47:29.565: INFO/mm-camera-ctrlcmd(249): md.d.aec_mode.aec_mode:1
10-11 04:47:29.565: INFO/mm-camera-aec(249): Touch AEC == numRegions:256
10-11 04:47:29.565: INFO/mm-camera-aec(249): Touch AEC aecCtrl->aec_state.aec_algo:1
10-11 04:47:29.565: DEBUG/QualcommCameraHardware(249): not defined touch-focus yet, or AP without touch-focus function
10-11 04:47:29.565: INFO/QualcommCameraHardware(249): Before Setting coordinate x:384 y:216
10-11 04:47:29.565: INFO/QualcommCameraHardware(249): Setting coordinate x:2 y:2
10-11 04:47:29.565: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 60, length 28
10-11 04:47:29.575: INFO/mm-camera 8x vfe(249): vfe_set_coordinate x:2 y:2
10-11 04:47:29.575: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 26, length 4
10-11 04:47:29.575: DEBUG/mm-camera-ctrlcmd(249): md.d.aec_iso_mode = 0
10-11 04:47:29.575: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 62, length 4
10-11 04:47:29.575: DEBUG/QualcommCameraHardware(249): native_access_parm: fd 17, type 8, length 4
10-11 04:47:29.575: DEBUG/QualcommCameraHardware(249): virtual android::status_t android::QualcommCameraHardware::setParameters(const android::CameraParameters&), final_rc=0
10-11 04:47:29.575: DEBUG/QualcommCameraHardware(249): initDefaultParameters X
10-11 04:47:29.575: DEBUG/QualcommCameraHardware(249): createInstance: X created hardware=0x167f0
10-11 04:47:29.575: DEBUG/MediaPlayerService(249): player type = VORBIS_PLAYER
10-11 04:47:29.584: DEBUG/MediaPlayerService(249): player type = VORBIS_PLAYER
10-11 04:47:29.595: WARN/CameraThread(1817): Open Camera - set mIsLastCameraClosed to false
10-11 04:47:32.289: WARN/HTCCamera(1817): Unknown orientation !!!

No "errors", and no camera closes, but black screen, and UI Block when touch screen.