[HTC One S] feed3:
Gallery

Found out the gallery got same bugs as with CM10.2 and PAC, and i found it crashed because of the videos in my phone from the logs (seems related to OMX) but i don't know which files i can play around and not intended to find out as i'm very busy with works. But i think it can somehow give a very little help to anyone by posting it here. The related logs as follow:

V/TAG ( 445): bug 7643792: fitSystemWindows([0,38][0,0])

I/ActivityManager( 445): START u0 {act=android.intent.action.MAIN cat=[android.

intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.gallery3d/.app.Gallery}

from pid 3270

I/ActivityManager( 445): Start proc com.android.gallery3d for activity com.andr

oid.gallery3d/.app.Gallery: pid=9991 uid=10020 gids={50020, 1006, 3003, 1015, 10

28}

E/memalloc( 133): ION_IOC_ALLOC failed with error - Out of memory

W/memalloc( 133): Falling back to system heap

V/StateManager( 9991): startState class com.android.gallery3d.app.AlbumSetPage

V/NFC ( 9991): this device does not have NFC support

D/Gallery.MultiSetSync( 9991): onSyncDone: Local albums #pending=1

D/Gallery.MultiSetSync( 9991): request sync: Local albums

D/Gallery.MultiSetSync( 9991): onSyncDone: picasa #pending=0

D/Gallery.MultiSetSync( 9991): request sync: picasa

D/libEGL ( 9991): loaded /system/lib/egl/libEGL_adreno200.so

D/libEGL ( 9991): loaded /system/lib/egl/libGLESv1_CM_adreno200.so

D/libEGL ( 9991): loaded /system/lib/egl/libGLESv2_adreno200.so

I/Adreno200-EGL( 9991): <qeglDrvAPI_eglInitialize:294>: EGL 1.4 QUALCOMM build:

AU_LINUX_ANDROID_JB.04.01.01.00.036_msm8960_JB_CL2644550_release_AU (CL2644550)

I/Adreno200-EGL( 9991): Build Date: 07/31/12 Tue

I/Adreno200-EGL( 9991): Local Branch:

I/Adreno200-EGL( 9991): Remote Branch: quic/master

I/Adreno200-EGL( 9991): Local Patches: NONE

I/Adreno200-EGL( 9991): Reconstruct Branch: AU_LINUX_ANDROID_JB.04.01.01.00.036

+ NOTHING

E/memalloc( 133): ION_IOC_ALLOC failed with error - Out of memory

W/memalloc( 133): Falling back to system heap

D/OpenGLRenderer( 9991): Enabling debug mode 0

E/memalloc( 133): ION_IOC_ALLOC failed with error - Out of memory

W/memalloc( 133): Falling back to system heap

E/memalloc( 133): ION_IOC_ALLOC failed with error - Out of memory

W/memalloc( 133): Falling back to system heap

I/GLRootView( 9991): onSurfaceChanged: 540x922, gl10: com.google.android.gles_jn

i.GLImpl@41e72690

I/GLRootView( 9991): layout content pane 540x922 (compensation 0)

E/memalloc( 133): ION_IOC_ALLOC failed with error - Out of memory

W/memalloc( 133): Falling back to system heap

E/memalloc( 133): ION_IOC_ALLOC failed with error - Out of memory

W/memalloc( 133): Falling back to system heap

E/memalloc( 133): ION_IOC_ALLOC failed with error - Out of memory

W/memalloc( 133): Falling back to system heap

W/BlobCache( 9991): cannot read header

W/LocalImage( 9991): failed to get thumbnail from: /storage/sdcard0/Screenshots1

.png

D/QCUtils ( 136): extended extractor not needed, return default

E/MetadataRetrieverClient( 136): failed to extract an album art

E/MediaMetadataRetrieverJNI( 9991): getEmbeddedPicture: Call to getEmbeddedPictu

re failed.

W/LocalImage( 9991): failed to get thumbnail from: /storage/sdcard0/DCIM/Screens

hots/Screenshot_2013-09-22-03-00-05.png

D/dalvikvm( 9300): GC_EXPLICIT freed 357K, 75% free 2741K/10788K, paused 2ms+3ms

, total 31ms

I/OMXCodec( 136): [OMX.google.h264.decoder] AVC profile = 100 (High), level = 3

0

I/OMXCodec( 136): [OMX.google.h264.decoder] video dimensions are 320 x 240

I/OMXCodec( 136): [OMX.google.h264.decoder] Crop rect is 320 x 240 @ (0, 0)

E/SoftAVC ( 136): Decoder failed: -2

E/OMXCodec( 136): [OMX.google.h264.decoder] ERROR(0x80001001, -1007)

I/OMXNodeInstance( 136): OMX_FreeBuffer for buffer header 0x4004a348 successful

I/OMXNodeInstance( 136): OMX_FreeBuffer for buffer header 0x4004a290 successful

I/OMXNodeInstance( 136): OMX_FreeBuffer for buffer header 0x4236dca0 successful

I/OMXNodeInstance( 136): OMX_FreeBuffer for buffer header 0x4004a038 successful

I/OMXNodeInstance( 136): OMX_FreeBuffer for buffer header 0x4008bf38 successful

I/OMXNodeInstance( 136): OMX_FreeBuffer for buffer header 0x4008be68 successful

I/OMXNodeInstance( 136): OMX_FreeBuffer for buffer header 0x4008bd98 successful

I/OMXNodeInstance( 136): OMX_FreeBuffer for buffer header 0x4236df48 successful

I/OMXNodeInstance( 136): OMX_FreeBuffer for buffer header 0x4004a6f0 successful

I/OMXNodeInstance( 136): OMX_FreeBuffer for buffer header 0x4004a4d0 successful

E/OMX-VDEC-1080P( 136):

E/OMX-VDEC-1080P( 136): Error in ioctl read next msg

I/OMXCodec( 136): [OMX.qcom.video.decoder.avc] AVC profile = 100 (High), level

= 30

I/ExtendedCodec( 136): Enable frame by frame mode

I/ExtendedCodec( 136): Thumbnail mode enabled.

E/OMX-VDEC-1080P( 136): get_config: unknown param 117440527

I/OMXCodec( 136): [OMX.qcom.video.decoder.avc] video dimensions are 848 x 480

E/OMX-VDEC-1080P( 136): GET_MV_BUFFER_SIZE returned: Size: 114688 and alignment

: 8192

E/OMX-VDEC-1080P( 136):

E/OMX-VDEC-1080P( 136): Set output buffer failed

E/OMXNodeInstance( 136): OMX_AllocateBuffer failed with error -2147479552 (0x80

001000)

E/OMXCodec( 136): allocate_buffer_with_backup failed

W/StagefrightMetadataRetriever( 136): OMXCodec::start returned error -214748364

8 (0x80000000)

Workaround:

1. Moved all videos to your external HDD or any other storage. Delete data for Gallery. It should not reboot your phone anymore

2. Put all videos in hidden folder, delete data for gallery. (i choose this way)

Now, left the most annoying little glitch; delay in waking the phone while in lockscreen (can be as long as 20 - 30sec)