[Tilt, TyTN II, MDA Vario III Android Development] Fekilis:
Error when switching to video mode

Hi dark_prince,

What a noob!!! :rolleyes:

I get the all language RLS1b version and the correct kernel, and camera is working now :D Now I can take pictures! But when a switch to video mode I get the same error the I get before.

So I installed the US version (I haven't tested the video mode before) to test and unfortunately it gives the same error :(

Then I installed the aLogcat program. And this is what I get when I switch to video mode (I hope this help):

D/dalvikvm( 1304): GC_FOR_MALLOC freed 8758 objects / 485408 bytes in 127ms

I/CameraHardwareStub( 220): Picture Dimensions: 2048 x 1536

D/Camera ( 1701): app passed NULL surface

V/camera ( 1701): startPreview

I/VogueCamera( 220): Vogue Camera 320 240

D/CameraHardwareStub( 220): initPreviewHeap: X

I/VogueCamera( 220): Vogue Camera Preview Start

I/VogueCamera( 220): frame buffer=40c80000

I/ActivityManager( 266): Displayed activity com.android.camera/.Camera: 1687 ms (total 1687 ms)

W/IInputConnectionWrapper( 546): showStatusIcon on inactive InputConnection

W/OrientationEventListener( 1701): Cannot detect sensors. Not enabled

I/ActivityThread( 1712): Publishing provider media: com.android.providers.media.MediaProvider

V/MediaProvider( 1712): Attached volume: internal

V/MediaProvider( 1712): /sdcard volume ID: -601446720

V/MediaProvider( 1712): Attached volume: external

I/ActivityThread( 1712): Publishing provider downloads: com.android.providers.downloads.DownloadProvider

I/ActivityThread( 1712): Publishing provider drm: com.android.providers.drm.DrmProvider

D/libEGL ( 1701): loaded /system/lib/egl/libGLES_android.so

D/libEGL ( 1701): loaded /system/lib/egl/libGLES_qcom.so

D/EGL.oem ( 1701): smi: offset=10000000, len=00700000, phys=0x100000

D/EGL.oem ( 1701): ebi: offset=00000000, len=00800000, phys=0x17800000

D/EGL.oem ( 1701): reg: offset=20000000, len=00100000, phys=0xa0000000

D/gralloc ( 266): allocating GPU size=204800, offset=0

V/GLRootView( 1701): onSurfaceChanged: 257x191, gl10: com.google.android.gles_jni.GLImpl@43b2d3c8

V/GLRootView( 1701): layout content pane 257x191

D/gralloc ( 266): allocating GPU size=204800, offset=204800

D/dalvikvm( 266): GC_EXPLICIT freed 2585 objects / 118464 bytes in 338ms

D/dalvikvm( 964): GC_FOR_MALLOC freed 13649 objects / 587144 bytes in 467ms

V/camera ( 1701): stopPreview

D/gralloc ( 266): freeing GPU buffer at 0

D/gralloc ( 266): freeing GPU buffer at 204800

W/OrientationEventListener( 1701): Cannot detect sensors. Invalid disable

V/videocamera( 1701): startPreview

D/Camera ( 1701): app passed NULL surface

D/CameraHardwareStub( 220): initPreviewHeap: X

I/VogueCamera( 220): Vogue Camera Preview Start

D/gralloc ( 266): allocating GPU size=221184, offset=0

V/GLRootView( 1701): onSurfaceChanged: 257x208, gl10: com.google.android.gles_jni.GLImpl@43b45a98

V/GLRootView( 1701): layout content pane 257x208

D/gralloc ( 266): allocating GPU size=221184, offset=221184

I/ActivityManager( 266): Displayed activity com.android.camera/.VideoCamera: 559 ms (total 559 ms)

V/videocamera( 1701): initializeRecorder

W/MediaProfiles( 220): could not find media config xml file

E/audio_input( 220): unsupported parameter: x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value

E/audio_input( 220): VerifyAndSetParameter failed

E/CameraInput( 220): Unsupported parameter(x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value)

E/CameraInput( 220): VerifiyAndSetParameter failed on parameter #0

D/AuthorDriver( 220): setParamVideoEncodingBitrate() 360000

V/videocamera( 1701): Current camera video filename: /sdcard/DCIM/Camera/VID_20110223_003840.3gp

E/AuthorDriver( 220): setParameter(max-filesize = 7870382080) failed with result -5

E/AuthorDriver( 220): Ln 928 handleSetParameters("max-filesize=7870382080") error

E/AuthorDriver( 220): Command (12) failed

E/MediaRecorder( 1701): setParameters(max-filesize=7870382080) failed: -2147483648

I/MediaRecorderJNI( 1701): prepare: surface=0x2b05f0 (id=3)

E/PVOMXEncNode( 220): PVMFOMXEncNode-Audio_AMRNB::DoPrepare(): Got Component OMX.PV.amrencnb handle

D/CameraInput( 220): Intended mFrameWidth=352, mFrameHeight=288

E/CameraInput( 220): Mismatch between the intended frame size (352x288) and the available frame size (320x240)

E/AuthorDriver( 220): Command 13 completed with error -1

E/MediaRecorder( 1701): prepare failed: -1

E/videocamera( 1701): prepare failed for /sdcard/DCIM/Camera/VID_20110223_003840.3gp

V/videocamera( 1701): Releasing media recorder.

V/videocamera( 1701): Empty video file deleted: /sdcard/DCIM/Camera/VID_20110223_003840.3gp

D/CameraInput( 220): DoReset: E

D/CameraInput( 220): DoReset: X

E/CameraInput( 220): Unsupported parameter(x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value)

E/CameraInput( 220): VerifiyAndSetParameter failed on parameter #0

D/audio_input( 220): DoReset: E

D/audio_input( 220): DoReset: X

E/audio_input( 220): unsupported parameter: x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value

E/audio_input( 220): VerifyAndSetParameter failed

D/AndroidRuntime( 1701): Shutting down VM

W/dalvikvm( 1701): threadid=1: thread exiting with uncaught exception (group=0x400207d0)

D/dalvikvm( 1701): GC_FOR_MALLOC freed 3773 objects / 294464 bytes in 148ms

D/dalvikvm( 1304): GC_FOR_MALLOC freed 15669 objects / 759760 bytes in 937ms

D/dalvikvm( 266): GC_EXPLICIT freed 2407 objects / 136600 bytes in 233ms

D/dalvikvm( 1304): GC_FOR_MALLOC freed 7154 objects / 380984 bytes in 135ms

I/Process ( 1701): Sending signal. PID: 1701 SIG: 9

D/gralloc ( 266): freeing GPU buffer at 0

D/gralloc ( 266): freeing GPU buffer at 221184

W/libutils.threads( 220): Thread (this=0x15ef0): don't call waitForExit() from this Thread object's thread. It's a guaranteed deadlock!

I/VogueCamera( 220): Vogue Camera Preview Stop

V/alogcat ( 1740): created

D/alogcat ( 1740): canceling periodic saves

D/alogcat ( 1740): starting ...

V/alogcat ( 1740): started

V/alogcat ( 1740): restore instance

V/alogcat ( 1740): resumed

D/dalvikvm( 1740): GC_FOR_MALLOC freed 2373 objects / 149032 bytes in 194ms

I/ActivityManager( 266): Displayed activity org.jtb.alogcat/.LogActivity: 2923 ms (total 2923 ms)

D/dalvikvm( 1304): GC_FOR_MALLOC freed 7743 objects / 394888 bytes in 130ms

E/Tethering( 266): active iface (usb0) reported as added, ignoring

W/KeyCharacterMap( 1740): No keyboard for id 0

W/KeyCharacterMap( 1740): Using default keymap: /system/usr/keychars/qwerty.kcm.bin

D/dalvikvm( 964): GC_FOR_MALLOC freed 19926 objects / 872832 bytes in 176ms

D/dalvikvm( 1304): GC_FOR_MALLOC freed 13429 objects / 646424 bytes in 125ms

Although this problem, your build is very nice. Do you have any idea what I'm doing wrong? Has this something to do with the panel type? I'm using type 2.