[Miscellaneous Android Development] Andrian25:
Now the log is very similar to the one on which the camera works with cm7

I/QualcommCameraHardware( 1565): Found a matching camera info for ID 0
I/QualcommCameraHardware( 1565): HAL_getCameraInfo: orientation = 90
D/PowerButton( 1806): -----------------------------------------------------
D/PowerButton( 1806): GPS: off
D/PowerButton( 1806): -----------------------------------------------------
D/MobileDataButton( 1806): -----------------------------------------------------
D/MobileDataButton( 1806): Data Connection: off
D/MobileDataButton( 1806): -----------------------------------------------------
V/CameraHolder( 2310): open camera 0
I/QualcommCameraHardware( 1565): openCameraHardware: call createInstance
I/QualcommCameraHardware( 1565): openCameraHardware:Valid camera ID 0
I/QualcommCameraHardware( 1565): createInstance: E
I/QualcommCameraHardware( 1565): QualcommCameraHardware constructor E
I/QualcommCameraHardware( 1565): createInstance: created hardware=0x3c3d8
I/QualcommCameraHardware( 1565): initDefaultParameters E
[COLOR="Red"]E/QualcommCameraHardware( 1565): Maximum zoom value is 61[/COLOR]
I/QualcommCameraHardware( 1565): Parameter Rolloff is not supported for this sensor
I/QualcommCameraHardware( 1565): Sharpness not supported for this sensor
I/QualcommCameraHardware( 1565): Saturation not supported for this sensor
I/QualcommCameraHardware( 1565): setTouchAfAec is not supported for this sensor
I/QualcommCameraHardware( 1565): Parameter AntiBanding is not supported for this sensor
I/QualcommCameraHardware( 1565): Set fps is not supported for this sensor
I/QualcommCameraHardware( 1565): setFlash: flash not supported
I/QualcommCameraHardware( 1565): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 1.000000,2.000000,3.000000
I/QualcommCameraHardware( 1565): initDefaultParameters X
I/QualcommCameraHardware( 1565): createInstance: X
I/QualcommCameraHardware( 1565): Found a matching camera info for ID 0
I/QualcommCameraHardware( 1565): HAL_getCameraInfo: orientation = 90
D/Camera ( 2310): app passed NULL surface
I/QualcommCameraHardware( 1565): Found a matching camera info for ID 0
I/QualcommCameraHardware( 1565): HAL_getCameraInfo: orientation = 90
I/QualcommCameraHardware( 1565): Parameter Rolloff is not supported for this sensor
I/QualcommCameraHardware( 1565): Sharpness not supported for this sensor
I/QualcommCameraHardware( 1565): Saturation not supported for this sensor
I/QualcommCameraHardware( 1565): setTouchAfAec is not supported for this sensor
I/QualcommCameraHardware( 1565): Parameter AntiBanding is not supported for this sensor
I/QualcommCameraHardware( 1565): Set fps is not supported for this sensor
I/QualcommCameraHardware( 1565): setFlash: flash not supported
[COLOR="SeaGreen"]I/QualcommCameraHardware( 1565): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 1.000000,2.000000,3.000000
D/CameraSettings( 2310): Parameters: [antibanding-values=off,50hz,60hz,auto, antibanding=auto, auto-exposure-values=frame-average,center-weighted,spot-metering, auto-exposure=frame-average, contrast=5, effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua, effect=none, exposure-compensation-step=1, exposure-compensation=0, face-detection-values=, face-detection=off, focal-length=4.31, focus-distances=1.000000,2.000000,3.000000, focus-mode-values=auto,infinity,normal,macro,continuous-camera, focus-mode=auto, histogram-values=, histogram=disable, horizontal-view-angle=54.8, iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600, iso=auto, jpeg-quality=100, jpeg-thumbnail-height=384, jpeg-thumbnail-quality=90, jpeg-thumbnail-size-values=512x288,480x288,432x288,512x384,352x288,0x0, jpeg-thumbnail-width=512, lensshade-values=enable,disable, lensshade=enable, luma-adaptation=5, max-contrast=10, max-exposure-compensation=5, max-saturation=10, max-sharpness=30, max-zoom=60, min-exposure-compensation=-5, picture-format-values=jpeg,raw, picture-format=jpeg, picture-size-values=2048x1536,1600x1200,1280x960,1024x768,640x480,320x240, picture-size=2048x1536, preview-format-values=yuv420sp, preview-format=yuv420sp, preview-fps-range-values=(5000,30000), preview-fps-range=5000,30000, preview-frame-rate-mode=frame-rate-auto, preview-frame-rate-modes=frame-rate-auto,frame-rate-fixed, preview-frame-rate-values=31, preview-frame-rate=31, preview-size-values=640x480,480x320,448x336,352x288,320x240,240x160,176x144, preview-size=448x336, record-size=, saturation=5, scene-detect-values=, scene-detect=off, scene-mode-values=auto,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candleligh
t,backlight,flowers, scene-mode=auto, selectable-zone-af-values=, selectable-zone-af=auto, sharpness=10, shutter-sound=0, skinToneEnhancement-values=, skinToneEnhancement=disable, strtextures=OFF, touch-af-aec-values=touch-off,touch-on, touch-af-aec=touch-off, touch-index-aec=-1x-1, touch-index-af=-1x-1, vertical-view-angle=42.5, video-zoom-support=false, whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight, whitebalance=auto, zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,1
51,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,2
4
0,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,38
1
,390,400, zoom-supported=true, zoom=0][/COLOR]
I/QualcommCameraHardware( 1565): Parameter Rolloff is not supported for this sensor
I/QualcommCameraHardware( 1565): Sharpness not supported for this sensor
I/QualcommCameraHardware( 1565): Saturation not supported for this sensor
I/QualcommCameraHardware( 1565): setTouchAfAec is not supported for this sensor
I/QualcommCameraHardware( 1565): Parameter AntiBanding is not supported for this sensor
I/QualcommCameraHardware( 1565): Set fps is not supported for this sensor
I/QualcommCameraHardware( 1565): setFlash: flash not supported
I/QualcommCameraHardware( 1565): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 1.000000,2.000000,3.000000
I/QualcommCameraHardware( 1565): Parameter Rolloff is not supported for this sensor
I/QualcommCameraHardware( 1565): Sharpness not supported for this sensor
I/QualcommCameraHardware( 1565): Saturation not supported for this sensor
I/QualcommCameraHardware( 1565): setTouchAfAec is not supported for this sensor
I/QualcommCameraHardware( 1565): Parameter AntiBanding is not supported for this sensor
I/QualcommCameraHardware( 1565): Set fps is not supported for this sensor
I/QualcommCameraHardware( 1565): setFlash: flash not supported
I/QualcommCameraHardware( 1565): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 1.000000,2.000000,3.000000
V/camera ( 2310): startPreview
I/QualcommCameraHardware( 1565): constructing MemPool preview backed by pmem pool /dev/pmem_adsp: 8 frames @ 225792 bytes, buffer size 225792
I/QualcommCameraHardware( 1565): PmemPool: (preview) X
I/QualcommCameraHardware( 1565): preview_thread E
I/ActivityManager( 1719): Displayed com.android.camera/.Camera: +1s271ms
W/JBK ( 1827): onBindInput
W/JBK ( 1827): onStartInput com.android.camera
W/IInputConnectionWrapper( 1820): showStatusIcon on inactive InputConnection
W/SurfaceComposerClient( 1719): Destroying surface while a transaction is open. Client 0x2486c8: destroying surface 2, mTransactionOpen=1
D/dalvikvm( 2310): GC_CONCURRENT freed 286K, 50% free 2851K/5639K, external 0K/0K, paused 3ms+21ms
D/dalvikvm( 2310): GC_EXTERNAL_ALLOC freed 19K, 50% free 2852K/5639K, external 0K/0K, paused 71ms
D/BaseCamera( 2310): initializeTouchFocus
D/BaseCamera( 2310): enableTouchAEC: false
I/QualcommCameraHardware( 1565): Parameter Rolloff is not supported for this sensor
I/QualcommCameraHardware( 1565): Sharpness not supported for this sensor
I/QualcommCameraHardware( 1565): Saturation not supported for this sensor
I/QualcommCameraHardware( 1565): setTouchAfAec is not supported for this sensor
I/QualcommCameraHardware( 1565): Parameter AntiBanding is not supported for this sensor
I/QualcommCameraHardware( 1565): Set fps is not supported for this sensor
I/QualcommCameraHardware( 1565): setFlash: flash not supported
I/QualcommCameraHardware( 1565): updateFocusDistances: setting KEY_FOCUS_DISTANCES as 1.000000,2.000000,3.000000
D/libEGL ( 2310): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 2310): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 2310): loaded /system/lib/egl/libGLESv2_adreno200.so
V/GLRootView( 2310): onSurfaceChanged: 479x320, gl10: com.google.android.gles_jni.GLImpl@40511f38
V/GLRootView( 2310): layout content pane 479x320
D/dalvikvm( 1719): GC_EXPLICIT freed 341K, 41% free 5470K/9223K, external 600K/1112K, paused 97ms
I/WindowManager( 1719): Setting rotation to 0, animFlags=1
W/JBK ( 1827): onStartInput com.android.camera
I/ActivityManager( 1719): Config changed: { scale=1.0 imsi=255/1 loc=ru_RU touch=3 keys=1/1/2 nav=1/1 orien=1 layout=18 uiMode=17 seq=6 themeResource=null}
V/camera ( 2310): stopPreview
I/QualcommCameraHardware( 1565): stopPreviewInternal E: 1
I/PowerWidget( 1806): Clearing any old widget stuffs
I/PowerWidget( 1806): Setting up widget
I/PowerWidget( 1806): Default buttons being loaded
I/PowerWidget( 1806): Button list: toggleWifi|toggleBluetooth|toggleGPS|toggleSound
I/PowerWidget( 1806): Setting up button: toggleWifi
I/PowerWidget( 1806): Setting up button: toggleBluetooth
I/PowerWidget( 1806): Setting up button: toggleGPS
I/PowerWidget( 1806): Setting up button: toggleSound
I/QualcommCameraHardware( 1565): deinitPreview E
I/QualcommCameraHardware( 1565): deinitPreview X
I/QualcommCameraHardware( 1565): stopPreviewInternal X: 0
I/QualcommCameraHardware( 1565): preview_thread X
I/QualcommCameraHardware( 1565): ~PmemPool: preview E
I/QualcommCameraHardware( 1565): ~PmemPool: preview X
I/QualcommCameraHardware( 1565): stopPreviewInternal E: 0
I/QualcommCameraHardware( 1565): stopPreviewInternal X: 0
I/QualcommCameraHardware( 1565): stopPreviewInternal E: 0
I/QualcommCameraHardware( 1565): stopPreviewInternal X: 0
I/QualcommCameraHardware( 1565): release E
I/QualcommCameraHardware( 1565): release: mCameraRunning = 0
I/QualcommCameraHardware( 1565): release: clearing resources done.
E/CAM_FD ( 1565): config_proc_CAMERA_STOP_SNAPSHOT: ctrl->state = 7
E/CAM_FD ( 1565): cam_conf: CAMERA_EXIT
I/QualcommCameraHardware( 1565): release X: mCameraRunning = 0, mFrameThreadRunning = 0
I/QualcommCameraHardware( 1565): mVideoThreadRunning = 0, mSnapshotThreadRunning = 0, mJpegThreadRunning = 0
I/QualcommCameraHardware( 1565): camframe_timeout_flag = 0, mAutoFocusThreadRunning = 0
I/QualcommCameraHardware( 1565): ~QualcommCameraHardware E
I/PowerWidget( 1806): Clearing any old widget stuffs
I/SyncButton( 1806): Unregistering sync state listener
I/PowerWidget( 1806): Setting up widget
I/PowerWidget( 1806): Default buttons being loaded
I/PowerWidget( 1806): Button list: toggleWifi|toggleMobileData|toggleBluetooth|toggleGPS|toggleBrightness|toggleAir
plane|toggleSound|toggleAutoRotate|toggleSync|toggleLockScreen|toggleScreenTimeo
u
t|toggleReboot|toggleShutdown
I/PowerWidget( 1806): Setting up button: toggleWifi
I/PowerWidget( 1806): Setting up button: toggleMobileData
I/PowerWidget( 1806): Setting up button: toggleBluetooth
I/QualcommCameraHardware( 1565): ~QualcommCameraHardware X
I/PowerWidget( 1806): Setting up button: toggleGPS

It that does not suffice to start the camera, which then commands are no errors.

and it is necessary to check whether the camera will start to build cm9 from Marco (build.prop ro.product.qcomdevice=msm7627)