[Desire HD Android Development] LorD ClockaN:
this is as far as I got..

everything works, but camcorder doesn't save file:

I/CameraHAL( 1292): wrap_memory_data---

I/CameraHAL( 1292): wrap_data_callback_timestamp---

V/videocamera( 2597): stopVideoRecording

I/CpuGovernorService( 1402): intent action: com.android.server.CpuGovernorService.action.IOBUSY_UNVOTE

I/CpuGovernorService( 1402): IOBUSY unvote: 0

D/MPEG4Writer( 1292): Stopping Video track

D/MPEG4Writer( 1292): Stopping Video track source

E/OMXCodec( 1292): [OMX.qcom.video.encoder.mpeg4] in error state, check omx il state and decide whether to free or skip

E/OMXCodec( 1292): [OMX.qcom.video.encoder.mpeg4] OMX IL is in state 3

W/OMXCodec( 1292): OMX.qcom.video.encoder.mpeg4 IL component does not match conditions for free, skip freeing for later

E/OMX-VENC-720p( 1292):

E/OMX-VENC-720p( 1292): m_etb_count at i/p flush = 0

E/OMX-VENC-720p( 1292):

E/OMX-VENC-720p( 1292): m_fbd_count at o/p flush = 0

D/CameraSource( 1292): stop: E

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_release_recording_frame---

I/CameraHAL( 1292): camera_disable_msg_type+++: type 32 device 0x1e0b8

I/CameraHAL( 1292): camera_disable_msg_type: CAMERA_MSG_VIDEO_FRAME

I/CameraHAL( 1292): camera_disable_msg_type---

I/CameraHAL( 1292): camera_stop_recording+++: device 0x1e0b8

D/QualcommCameraHardware( 1292): stopRecording: E

D/QualcommCameraHardware( 1292): [ATS][press_jogball][stop_record]

E/QualcommCameraHardware( 1292): in native_stop_recording

D/QualcommCameraHardware( 1292): in native_stop_recording returned 0

D/QualcommCameraHardware( 1292): stopPreviewInternal E: 1

D/QualcommCameraHardware( 1292): cancelAutoFocusInternal E

W/mm-camera( 1292): VFE_RESET_ACK illegal ctrl->state 25

E/QualcommCameraHardware( 1292): Exiting video thread..

I/QualcommCameraHardware( 1292): deinitPreview E

I/QualcommCameraHardware( 1292): register_buf: camfd = 56, reg = 1 buffer = 0x4253a000

I/QualcommCameraHardware( 1292): register_buf: camfd = 56, reg = 1 buffer = 0x425ab000

I/QualcommCameraHardware( 1292): register_buf: camfd = 56, reg = 1 buffer = 0x4261c000

I/QualcommCameraHardware( 1292): register_buf: camfd = 56, reg = 1 buffer = 0x4268d000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 1 buffer = 0x426fe000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 1 buffer = 0x4276f000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 1 buffer = 0x427e0000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 1 buffer = 0x42851000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 1 buffer = 0x428c2000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 1 buffer = 0x42933000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 1 buffer = 0x429a4000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 1 buffer = 0x42a15000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 1 buffer = 0x42a86000

D/QualcommCameraHardware( 1292): frame_thread X

I/QualcommCameraHardware( 1292): deinitPreview X

D/QualcommCameraHardware( 1292): void android::QualcommCameraHardware::stopPreviewInternal(): stopPreview done.

D/QualcommCameraHardware( 1292): stopPreviewInternal X: 0

D/QualcommCameraHardware( 1292): stopRecording: X

D/QualcommCameraHardware( 1292): startPreview E

D/QualcommCameraHardware( 1292): initPreview E: preview size=640x480

D/QualcommCameraHardware( 1292): initPreview E: preview size=640x480 videosize = 640 x 480

D/QualcommCameraHardware( 1292): initPreview : preview size=640x480 videosize = 640 x 480

D/QualcommCameraHardware( 1292): initPreview: mFrameThreadWaitLock.lock()

D/QualcommCameraHardware( 1292): initPreview: mFrameThreadWaitLock.unlock()

I/QualcommCameraHardware( 1292): pmem pool /dev/pmem_adsp ioctl(fd = 58, PMEM_GET_SIZE) is 1851392

D/QualcommCameraHardware( 1292): mBufferSize=460800, mAlignedBufferSize=462848

D/QualcommCameraHardware( 1292): num_buffers = 4

I/QualcommCameraHardware( 1292): register_buf: camfd = 56, reg = 0 buffer = 0x4253a000

I/QualcommCameraHardware( 1292): register_buf: camfd = 56, reg = 0 buffer = 0x425ab000

I/QualcommCameraHardware( 1292): register_buf: camfd = 56, reg = 0 buffer = 0x4261c000

I/QualcommCameraHardware( 1292): register_buf: camfd = 56, reg = 0 buffer = 0x4268d000

I/QualcommCameraHardware( 1292): pmem pool /dev/pmem_adsp ioctl(fd = 61, PMEM_GET_SIZE) is 4165632

D/QualcommCameraHardware( 1292): mBufferSize=460800, mAlignedBufferSize=462848

D/QualcommCameraHardware( 1292): num_buffers = 9

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 0 buffer = 0x426fe000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 0 buffer = 0x4276f000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 0 buffer = 0x427e0000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 0 buffer = 0x42851000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 0 buffer = 0x428c2000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 0 buffer = 0x42933000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 0 buffer = 0x429a4000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 0 buffer = 0x42a15000

I/QualcommCameraHardware( 1292): register_buf: camfd = 59, reg = 0 buffer = 0x42a86000

D/QualcommCameraHardware( 1292): initRecord : record heap , video buffers buffer=1114628096 fd=61 y_off=0 cbcr_off=307200

D/QualcommCameraHardware( 1292): initRecord : record heap , video buffers buffer=1115090944 fd=61 y_off=0 cbcr_off=307200

D/QualcommCameraHardware( 1292): initRecord : record heap , video buffers buffer=1115553792 fd=61 y_off=0 cbcr_off=307200

D/QualcommCameraHardware( 1292): initRecord : record heap , video buffers buffer=1116016640 fd=61 y_off=0 cbcr_off=307200

D/QualcommCameraHardware( 1292): initRecord : record heap , video buffers buffer=1116479488 fd=61 y_off=0 cbcr_off=307200

D/QualcommCameraHardware( 1292): initRecord : record heap , video buffers buffer=1116942336 fd=61 y_off=0 cbcr_off=307200

D/QualcommCameraHardware( 1292): initRecord : record heap , video buffers buffer=1117405184 fd=61 y_off=0 cbcr_off=307200

D/QualcommCameraHardware( 1292): initRecord : record heap , video buffers buffer=1117868032 fd=61 y_off=0 cbcr_off=307200

D/QualcommCameraHardware( 1292): initRecord : record heap , video buffers buffer=1118330880 fd=61 y_off=0 cbcr_off=307200

D/QualcommCameraHardware( 1292): initREcord X

D/QualcommCameraHardware( 1292): initpreview before cam_frame thread carete , video frame buffer=1116016640 fd=61 y_off=0 cbcr_off=307200

D/QualcommCameraHardware( 1292): initPreview X: 1

D/QualcommCameraHardware( 1292): android::status_t android::QualcommCameraHardware::startPreviewInternal(): startPreview 640 x 480 (-1)

W/mm-camera( 1292): config_proc_CAMERA_START_VIDEO:Line:1366 This ioctl can fail if pp_mask is zero.

W/mm-camera( 1292): config_proc_CAMERA_START_VIDEO:Line:1368 ioctl MSM_CAM_IOCTL_PICT_PP_DONE is failed...

D/mm-camera( 1292): preview delay Dig_gain =1.000467, sparam->preview_fps 7685

D/mm-camera( 1292): start to set sce config.

D/mm-camera( 1292): sce at computeTRansforms m_p: 1.000000

D/mm-camera( 1292): sce m_p:1.000000

D/mm-camera( 1292): sce rEnd_Cr:0.000000,rEnd_Cb:0.000000,Start_Cr:0.000000,Start_Cb:0.000000

D/mm-camera( 1292): sce rEnd_Cr:0.000000,rEnd_Cb:0.000000,Start_Cr:0.000000,Start_Cb:0.000000

D/mm-camera( 1292): sce m_p:1.000000

D/mm-camera( 1292): sce rEnd_Cr:0.000000,rEnd_Cb:0.000000,Start_Cr:0.000000,Start_Cb:0.000000

D/mm-camera( 1292): sce rEnd_Cr:0.000000,rEnd_Cb:0.000000,Start_Cr:0.000000,Start_Cb:0.000000

D/mm-camera( 1292): sce m_p:1.000000

D/mm-camera( 1292): sce rEnd_Cr:0.000000,rEnd_Cb:0.000000,Start_Cr:0.000000,Start_Cb:0.000000

D/mm-camera( 1292): sce rEnd_Cr:0.000000,rEnd_Cb:0.000000,Start_Cr:0.000000,Start_Cb:0.000000

D/mm-camera( 1292): sce m_p:1.000000

D/mm-camera( 1292): sce rEnd_Cr:0.000000,rEnd_Cb:0.000000,Start_Cr:0.000000,Start_Cb:0.000000

D/mm-camera( 1292): sce rEnd_Cr:0.000000,rEnd_Cb:0.000000,Start_Cr:0.000000,Start_Cb:0.000000

D/mm-camera( 1292): sce m_p:1.000000

D/mm-camera( 1292): sce rEnd_Cr:0.000000,rEnd_Cb:0.000000,Start_Cr:0.000000,Start_Cb:0.000000

D/mm-camera( 1292): sce rEnd_Cr:0.000000,rEnd_Cb:0.000000,Start_Cr:0.000000,Start_Cb:0.000000

D/mm-camera( 1292): set sce config done

D/QualcommCameraHardware( 1292): frame_thread E

I/CAMFRAME:( 1292): Open Device node : /dev/msm_camera/frame0

V/AudioHardwareMSM7X30( 1292): AudioStreamInMSM72xx::read(0x43322840, 2048)

W/mm-camera( 1292): vfe_util_sendcmd: MSM_CAM_IOCTL_CONFIG_VFE failed...

W/mm-camera( 1292): vfe_util_sendcmd: MSM_CAM_IOCTL_CONFIG_VFE failed...

D/QualcommCameraHardware( 1292): startPreview X

D/QualcommCameraHardware( 1292): [ATS][camera_preview][complete]

I/CameraHAL( 1292): camera_stop_recording---

D/CameraSource( 1292): stop: X

D/MPEG4Writer( 1292): Video track stopped

D/MPEG4Writer( 1292): Stopping Audio track

V/AudioHardwareMSM7X30( 1292): AudioStreamInMSM72xx::read(0x43321040, 2048)

W/MPEG4Writer( 1292): notify Completion track:1

I/MPEG4Writer( 1292): Received total/0-length (97/0) buffers and encoded 97 frames. - audio

I/MPEG4Writer( 1292): Audio track drift time: -2174 us

D/MPEG4Writer( 1292): Stopping Audio track source

I/CameraHAL( 1292): wrap_set_fd_hook+++: data 0x1e0b8

I/CameraHAL( 1292): wrap_set_fd_hook---: fd 58

I/CameraHAL( 1292): wrap_queue_buffer_hook+++: 0x1e0b8

E/OverlayLIB( 1289): update failed

E/OverlayLIB( 1289): setTransform: channel is not up

E/msm7x30.hwcomposer( 1289): prepareOverlay setTransform failed transform 4

I/CameraHAL( 1292): wrap_queue_buffer_hook---:

D/mm-camera( 1292): TRIGGER_LOWLIGHT

I/CameraHAL( 1292): wrap_set_fd_hook+++: data 0x1e0b8

I/CameraHAL( 1292): wrap_set_fd_hook---: fd 58

I/CameraHAL( 1292): wrap_queue_buffer_hook+++: 0x1e0b8

D/AudioHardwareMSM7X30( 1292): AudioStreamInMSM72xx::standby()

D/AudioHardwareMSM7X30( 1292): aic3254_config: device 1 enabled 1

D/AudioHardwareMSM7X30( 1292): aic3254_config: loading effect Original

I/HTC Acoustic( 1292): set_audio_effect: Original

I/HTC Acoustic( 1292): set_audio_effect: match with name Original (3)

E/OverlayLIB( 1289): update failed

E/OverlayLIB( 1289): setTransform: channel is not up

E/msm7x30.hwcomposer( 1289): prepareOverlay setTransform failed transform 4

I/CameraHAL( 1292): wrap_queue_buffer_hook---:

D/AudioHardwareMSM7X30( 1292): do_aic3254_control device: 1 mode: 0 record: 0

D/AudioHardwareMSM7X30( 1292): aic3254_ioctl: new_aic_rxmode 13 cur_aic_rx 13

D/AudioHardwareMSM7X30( 1292): aic3254_ioctl: new_aic_txmode 29 cur_aic_tx 15

D/AudioHardwareMSM7X30( 1292): aic3254_ioctl()

D/AudioHardwareMSM7X30( 1292): aic3254_ioctl: try ioctl 0x40047312 with arg 29

V/AudioHardwareMSM7X30( 1292): driver closed

D/AudioHardwareMSM7X30( 1292): Deroute pcm in stream

V/AudioHardwareMSM7X30( 1292): Disable device

E/AudioHardwareMSM7X30( 1292): updateDeviceInfo: E rx_device 6 and tx_device 11

D/AudioHardwareMSM7X30( 1292): No active voicecall/recording, disabling cur_tx 11

D/AudioHardwareMSM7X30( 1292): value of device and enable is 11 0 ALSA dev id:11

D/AudioHardwareMSM7X30( 1292): The node type is 1 and cur device 6 new device 6

E/AudioHardwareMSM7X30( 1292): updateDeviceInfo: X cur_rx 6 cur_tx 11

I/AudioHardwareMSM7X30( 1292): do input routing device 400000

I/AudioHardwareMSM7X30( 1292): Routing audio to Speakerphone

D/AudioHardwareMSM7X30( 1292): aic3254_config: device 1 enabled 1

D/AudioHardwareMSM7X30( 1292): aic3254_config: effect Original already loaded

D/AudioHardwareMSM7X30( 1292): do_aic3254_control device: 1 mode: 0 record: 0

D/AudioHardwareMSM7X30( 1292): aic3254_ioctl: new_aic_rxmode 13 cur_aic_rx 13

D/AudioHardwareMSM7X30( 1292): aic3254_ioctl: new_aic_txmode 29 cur_aic_tx 29

V/AudioHardwareMSM7X30( 1292): getACDB, return ID 607

V/AudioHardwareMSM7X30( 1292): doAudioRouteOrMute: rx acdb 607, tx acdb 0

V/AudioHardwareMSM7X30( 1292): doAudioRouteOrMute() device 1, mMode 0, mMicMute 1

V/AudioHardwareMSM7X30( 1292): do_route_audio_rpc(1, 1, 1)

V/AudioHardwareMSM7X30( 1292): In SPEAKER

D/AudioHardwareMSM7X30( 1292): new_rx = 6

D/AudioHardwareMSM7X30( 1292): new_tx = 11

E/AudioHardwareMSM7X30( 1292): updateDeviceInfo: E rx_device 6 and tx_device 11

D/AudioHardwareMSM7X30( 1292): No active voicecall/recording, disabling cur_tx 11

D/AudioHardwareMSM7X30( 1292): value of device and enable is 11 0 ALSA dev id:11

D/AudioHardwareMSM7X30( 1292): The node type is 1 and cur device 6 new device 6

E/AudioHardwareMSM7X30( 1292): updateDeviceInfo: X cur_rx 6 cur_tx 11

V/AudioHardwareMSM7X30( 1292): AudioStreamInMSM72xx::setParameters() routing=0

V/AudioHardwareMSM7X30( 1292): set input routing 0

I/AudioHardwareMSM7X30( 1292): do input routing device 0

I/AudioHardwareMSM7X30( 1292): Routing audio to Speakerphone

D/MPEG4Writer( 1292): Audio track stopped

D/MPEG4Writer( 1292): Duration from tracks range is [0, 1940000] us

D/MPEG4Writer( 1292): Stopping writer thread

D/MPEG4Writer( 1292): 0 chunks are written in the last batch

D/MPEG4Writer( 1292): Writer thread stopped

D/MPEG4Writer( 1292): Stopping Video track

E/OMX-VENC-720p( 1292):

E/OMX-VENC-720p( 1292): omx_venc(): Inside component_deinit()

E/OMX-VENC-720p( 1292): Calling m_heap_ptr.clear()

E/OMX-VENC-720p( 1292): Calling venc_close()

E/OMX-VENC-720p( 1292):

E/OMX-VENC-720p( 1292): venc_close(): Calling VEN_IOCTL_CMD_STOP_READ_MSG

E/OMX-VENC-720p( 1292): Deleting HANDLE[0x370f8]

E/OMX-VENC-720p( 1292): OMX_Venc:Component Deinit

E/OMX-VENC-720p( 1292):

E/OMX-VENC-720p( 1292): ~omx_video(): Inside Destructor()

E/OMX-VENC-720p( 1292): omx_video: Waiting on Msg Thread exit

E/OMX-VENC-720p( 1292): omx_video: Waiting on Async Thread exit

I/CameraHAL( 1292): wrap_set_fd_hook+++: data 0x1e0b8

I/CameraHAL( 1292): wrap_set_fd_hook---: fd 58

I/CameraHAL( 1292): wrap_queue_buffer_hook+++: 0x1e0b8

E/OMX-VENC-720p( 1292):

E/OMX-VENC-720p( 1292): ioctl VEN_IOCTL_CMD_READ_NEXT_MSG failed

E/OMX-VENC-720p( 1292): omx_venc: Async Thread exit

E/OMX-VENC-720p( 1292):

E/OMX-VENC-720p( 1292): m_etb_count = 0, m_fbd_count = 0

E/OMX-VENC-720p( 1292): omx_video: Destructor exit

E/OMX-VENC-720p( 1292): Exiting 7x30 OMX Video Encoder ...

D/MPEG4Writer( 1292): Stopping Audio track

E/MediaRecorder( 2597): stop failed: -1007

E/videocamera( 2597): stop fail

E/videocamera( 2597): java.lang.RuntimeException: stop failed.

E/videocamera( 2597):	at android.media.MediaRecorder.native_stop(Native Method)

E/videocamera( 2597):	at android.media.MediaRecorder.stop(MediaRecorder.java:717)

E/videocamera( 2597):	at com.android.camera.VideoCamera.stopVideoRecording(VideoCamera.java:1719)

E/videocamera( 2597):	at com.android.camera.VideoCamera.onStopVideoRecording(VideoCamera.java:641)

E/videocamera( 2597):	at com.android.camera.VideoCamera.onShutterButtonClick(VideoCamera.java:664)

E/videocamera( 2597):	at com.android.camera.ShutterButton.performClick(ShutterButton.java:108)

E/videocamera( 2597):	at android.view.View$PerformClick.run(View.java:14105)

E/videocamera( 2597):	at android.os.Handler.handleCallback(Handler.java:605)

E/videocamera( 2597):	at android.os.Handler.dispatchMessage(Handler.java:92)

E/videocamera( 2597):	at android.os.Looper.loop(Looper.java:137)

E/videocamera( 2597):	at android.app.ActivityThread.main(ActivityThread.java:4424)

E/videocamera( 2597):	at java.lang.reflect.Method.invokeNative(Native Method)

E/videocamera( 2597):	at java.lang.reflect.Method.invoke(Method.java:511)

E/videocamera( 2597):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

E/videocamera( 2597):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)

E/videocamera( 2597):	at dalvik.system.NativeStart.main(Native Method)

V/videocamera( 2597): Deleting video /mnt/sdcard/DCIM/Camera/VID_20120314_195422.3gp

V/videocamera( 2597): Releasing media recorder.