[ROM]CM9 4.0.4 ICS Liberty[09.Jul.2012]

Search This thread

kura808

Senior Member
Jun 22, 2010
138
22
Hawaii
Very good rom. Love the update. I was using the April 27th version. Decided to flash the update. Seems things run much smoother now with the ram fixes.

I'm not sure about the people who are having troubles getting this up and running. I'm using the oldest hboot (not froyo hboot). Currently s-on too. Maybe need to wipe /system and /boot. I usually wipe everything except for my sd card lol. I read somewhere that you don't need s-off to flash these newer roms.

Also, don't need to keep wiping going from one rom update to another. Just flash the update zip on the current rom.

Once again, thanks to all the devs who made this possible. xD

edit: Seems there may be a few insufficient ram issues but quite less imho (I hardly see force closes now). For example, if you have some apps open (like when multitasking) then if you jump from the browser to the gallery, the gallery will force close. I guess it can't be avoided since those are memory hoggers lol. If I clear free up some ram, it'll work just fine. =)

Sent from my HTC Liberty using Tapatalk
 
Last edited:

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
Very good rom. Love the update. I was using the April 27th version. Decided to flash the update. Seems things run much smoother now with the ram fixes.
Its update only for version from 10.May.2012!!! Older versions is not compatible with tweak from this update!!! This update update tweak in version 10.May.2012, so please update everything to the latest.
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
I think I found why video encoders/decoders have problem:) need confirmation! I found next things:

- logcat reporting OMX.google*********:
Code:
I/ChromiumHTTPDataSource(  142): connect to http://redirector.c.youtube.com/vide
oplayback?id=386b7fe9fa086435&itag=18&source=youtube&uaopt=no-save&upn=w9OkYWDQi
To&el=standard&devKey=ATpxuMO4AN5NR1nGmfaQDBQO88HsQjpE1a8d1GxQnGDm&app=youtube_g
data&ip=0.0.0.0&ipbits=0&expire=1339578902&sparams=id,itag,source,uaopt,upn,ip,i
pbits,expire&signature=A4C23E2EBD81F740BB45AEDAA51CC4EBA55946F2.F6A9E8AB0095BDA6
90B3B78E95380A1EA457791&key=yta1 @0
E/OMXCodec(  142): Attempting to allocate OMX node 'OMX.TI.DUCATI1.VIDEO.DECODER
'
E/OMXCodec(  142): Attempting to allocate OMX node 'OMX.Nvidia.h264.decode'
E/OMXCodec(  142): Attempting to allocate OMX node 'OMX.qcom.7x30.video.decoder.
avc'
E/OMXCodec(  142): Attempting to allocate OMX node 'OMX.qcom.video.decoder.avc'
E/OMXCodec(  142): Successfully allocated OMX node 'OMX.qcom.video.decoder.avc'
I/OMXCodec(  142): [OMX.qcom.video.decoder.avc] Non-Interlaced format detected
I/OMXCodec(  142): [OMX.qcom.video.decoder.avc] AVC profile = 66 (Baseline), lev
el = 30
E/OMXCodec(  142): [OMX.qcom.video.decoder.avc] Video O/P format.eColorFormat 0x
7fa30c00
I/OMXCodec(  142): [OMX.qcom.video.decoder.avc] Enable frame by frame mode
E/QCvdec  (  142): Setparameter: unknown param 2130706434
W/OMXCodec(  142): Failed to set frame packing format on component
E/QCvdec  (  142): Error: get_config Not Implemented
I/OMXCodec(  142): [OMX.qcom.video.decoder.avc] video dimensions are 640 x 360
E/QCvdec  (  142): get_extension_index: Error, Not implemented
E/OMXNodeInstance(  142): OMX_GetExtensionIndex failed
E/OMXCodec(  142): Attempting to allocate OMX node 'OMX.TI.Video.Decoder'
E/OMXCodec(  142): Attempting to allocate OMX node 'OMX.SEC.AVC.Decoder'
E/OMXCodec(  142): Attempting to allocate OMX node 'OMX.SEC.FP.AVC.Decoder'
E/OMXCodec(  142): Attempting to allocate OMX node 'OMX.google.h264.decoder'
E/OMXCodec(  142): Successfully allocated OMX node 'OMX.google.h264.decoder'
I/OMXCodec(  142): [OMX.google.h264.decoder] Non-Interlaced format detected
I/OMXCodec(  142): [OMX.google.h264.decoder] AVC profile = 66 (Baseline), level
= 30
E/OMXCodec(  142): [OMX.google.h264.decoder] Video O/P format.eColorFormat 0x41f
9bc14
I/OMXCodec(  142): [OMX.google.h264.decoder] Enable frame by frame mode
W/OMXCodec(  142): Failed to set frame packing format on component
I/OMXCodec(  142): [OMX.google.h264.decoder] video dimensions are 320 x 240
I/OMXCodec(  142): [OMX.google.h264.decoder] Crop rect is 320 x 240 @ (0, 0)
E/OMXCodec(  142): Attempting to allocate OMX node 'OMX.TI.AAC.decode'
E/OMXCodec(  142): Attempting to allocate OMX node 'OMX.google.aac.decoder'
E/OMXCodec(  142): Successfully allocated OMX node 'OMX.google.aac.decoder'
I/NuCachedSource2(  142): new range: offset= 5431284
I/ChromiumHTTPDataSource(  142): connect to http://redirector.c.youtube.com/vide
oplayback?id=386b7fe9fa086435&itag=18&source=youtube&uaopt=no-save&upn=w9OkYWDQi
To&el=standard&devKey=ATpxuMO4AN5NR1nGmfaQDBQO88HsQjpE1a8d1GxQnGDm&app=youtube_g
data&ip=0.0.0.0&ipbits=0&expire=1339578902&sparams=id,itag,source,uaopt,upn,ip,i
pbits,expire&signature=A4C23E2EBD81F740BB45AEDAA51CC4EBA55946F2.F6A9E8AB0095BDA6
90B3B78E95380A1EA457791&key=yta1 @5431284
I/OMXCodec(  142): [OMX.google.h264.decoder] video dimensions are 640 x 368
I/OMXCodec(  142): [OMX.google.h264.decoder] Crop rect is 640 x 360 @ (0, 0)
I/OMXCodec(  142): [OMX.google.h264.decoder] video dimensions are 640 x 368
I/OMXCodec(  142): [OMX.google.h264.decoder] Crop rect is 640 x 360 @ (0, 0)
I/AwesomePlayer(  142): cache is running low (1.31 secs) , pausing.
W/MediaPlayer(10030): info/warning (703, 0)
W/MediaPlayer(10030): info/warning (701, 0)
I/MediaPlayer(10030): Info (703,0)
I/MediaPlayer(10030): Info (701,0)
I/AwesomePlayer(  142): cache has filled up (6.32 secs), resuming.
W/MediaPlayer(10030): info/warning (702, 0)
I/MediaPlayer(10030): Info (702,0)
V/AudioHardwareMSM72XX(  142): open driver
V/AudioHardwareMSM72XX(  142): get config
V/AudioHardwareMSM72XX(  142): set config
V/AudioHardwareMSM72XX(  142): buffer_size: 4800
V/AudioHardwareMSM72XX(  142): buffer_count: 2
V/AudioHardwareMSM72XX(  142): channel_count: 2
V/AudioHardwareMSM72XX(  142): sample_rate: 44100
I/AwesomePlayer(  142): we're much too late (0.52 secs), video skipping ahead
I/AwesomePlayer(  142): we're much too late (0.59 secs), video skipping ahead
I/AwesomePlayer(  142): we're much too late (0.55 secs), video skipping ahead
I/AwesomePlayer(  142): we're much too late (0.51 secs), video skipping ahead
I/AwesomePlayer(  142): we're much too late (0.52 secs), video skipping ahead
I/AwesomePlayer(  142): we're much too late (0.57 secs), video skipping ahead
I/AwesomePlayer(  142): we're much too late (0.51 secs), video skipping ahead
I/NuCachedSource2(  142): ERROR_END_OF_STREAM
I/AwesomePlayer(  142): we're much too late (0.51 secs), video skipping ahead
I/AwesomePlayer(  142): we're much too late (0.50 secs), video skipping ahead
I/AwesomePlayer(  142): we're much too late (0.51 secs), video skipping ahead
I/AwesomePlayer(  142): we're much too late (0.51 secs), video skipping ahead
I/AwesomePlayer(  142): we're much too late (0.53 secs), video skipping ahead
I/AwesomePlayer(  142): we're much too late (0.50 secs), video skipping ahead
I/InputReader(  203): Reconfiguring input devices.  changes=0x00000004
I/InputReader(  203): Device reconfigured: id=6, name='synaptics-rmi-touchscreen
', surface size is now 320x480, mode is 1
E/msm7x27.hwcomposer(  139): isValidDestination: destination out of bound params

I/ActivityManager(  203): Config changed: {1.0 220mcc3mnc en_GB layoutdir=0 sw32
0dp w320dp h455dp nrml port finger -keyb/v/h tball/v s.26 themeResource=null}
D/dalvikvm(  276): GC_CONCURRENT freed 441K, 45% free 3777K/6855K, paused 3ms+25
ms
I/PowerWidget(  276): Clearing any old widget stuffs
I/PowerWidget(  276): Setting up widget
I/PowerWidget(  276): Default buttons being loaded
I/PowerWidget(  276): Button list: toggleWifi|toggleBluetooth|toggleGPS|toggleSo
und
I/PowerWidget(  276): Setting up button: toggleWifi
I/PowerWidget(  276): Setting up button: toggleBluetooth
I/PowerWidget(  276): Setting up button: toggleGPS
I/PowerWidget(  276): Setting up button: toggleSound
D/OpenGLRenderer(10030): Flushing caches (mode 0)
E/msm7x27.hwcomposer(  139): isValidDestination: destination: left=-1 right=321
top=72 bottom=254 width=322height=182
D/dalvikvm(  203): GC_EXPLICIT freed 892K, 45% free 6655K/11975K, paused 35ms+14
But aria need OMX.qcom******* dlopen from libOmxMpeg4Dec ...etc defined in opensource/qcom/omxCore***,....... found problem in system/frameworks/base/media/libstagefright/OMXCodec.cpp:
Code:
static const CodecInfo kDecoderInfo[] = {
#ifdef SAMSUNG_OMX
    { MEDIA_MIMETYPE_AUDIO_MPEG, "OMX.SEC.mp3.dec" },
    { MEDIA_MIMETYPE_AUDIO_AMR_NB, "OMX.SEC.amr.dec" },
    { MEDIA_MIMETYPE_AUDIO_AMR_WB, "OMX.SEC.amr.dec" },
    { MEDIA_MIMETYPE_AUDIO_AAC, "OMX.SEC.aac.dec" },
    { MEDIA_MIMETYPE_AUDIO_FLAC, "OMX.SEC.flac.dec" },
    { MEDIA_MIMETYPE_VIDEO_MPEG4, "OMX.SEC.mpeg4.dec" },
    { MEDIA_MIMETYPE_VIDEO_H263, "OMX.SEC.h263.dec" },
    { MEDIA_MIMETYPE_VIDEO_H263, "OMX.SEC.h263sr.dec" },
    { MEDIA_MIMETYPE_VIDEO_AVC, "OMX.SEC.avc.dec" },
    { MEDIA_MIMETYPE_CONTAINER_WVM, "OMX.SEC.vc1.dec" },
    { MEDIA_MIMETYPE_CONTAINER_WVM, "OMX.SEC.wma.dec" },
    { MEDIA_MIMETYPE_CONTAINER_WVM, "OMX.SEC.wmv7.dec" },
    { MEDIA_MIMETYPE_CONTAINER_WVM, "OMX.SEC.wmv8.dec" },
    { MEDIA_MIMETYPE_VIDEO_VPX, "OMX.SEC.vp8.dec" },
#endif
    { MEDIA_MIMETYPE_IMAGE_JPEG, "OMX.TI.JPEG.decode" },
//    { MEDIA_MIMETYPE_AUDIO_MPEG, "OMX.TI.MP3.decode" },
    { MEDIA_MIMETYPE_AUDIO_MPEG, "OMX.google.mp3.decoder" },
    { MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_II, "OMX.Nvidia.mp2.decoder" },
//    { MEDIA_MIMETYPE_AUDIO_AMR_NB, "OMX.TI.AMR.decode" },
//    { MEDIA_MIMETYPE_AUDIO_AMR_NB, "OMX.Nvidia.amr.decoder" },
    { MEDIA_MIMETYPE_AUDIO_AMR_NB, "OMX.google.amrnb.decoder" },
//    { MEDIA_MIMETYPE_AUDIO_AMR_NB, "OMX.Nvidia.amrwb.decoder" },
    { MEDIA_MIMETYPE_AUDIO_AMR_WB, "OMX.TI.WBAMR.decode" },
    { MEDIA_MIMETYPE_AUDIO_AMR_WB, "OMX.google.amrwb.decoder" },
//    { MEDIA_MIMETYPE_AUDIO_AAC, "OMX.Nvidia.aac.decoder" },
    { MEDIA_MIMETYPE_AUDIO_AAC, "OMX.TI.AAC.decode" },
    { MEDIA_MIMETYPE_AUDIO_AAC, "OMX.google.aac.decoder" },
    { MEDIA_MIMETYPE_AUDIO_G711_ALAW, "OMX.google.g711.alaw.decoder" },
    { MEDIA_MIMETYPE_AUDIO_G711_MLAW, "OMX.google.g711.mlaw.decoder" },
    { MEDIA_MIMETYPE_VIDEO_MPEG4, "OMX.TI.DUCATI1.VIDEO.DECODER" },
    { MEDIA_MIMETYPE_VIDEO_MPEG4, "OMX.Nvidia.mp4.decode" },
    { MEDIA_MIMETYPE_VIDEO_MPEG4, "OMX.qcom.7x30.video.decoder.mpeg4" },
    { MEDIA_MIMETYPE_VIDEO_MPEG4, "OMX.qcom.video.decoder.mpeg4" },
    { MEDIA_MIMETYPE_VIDEO_MPEG4, "OMX.TI.Video.Decoder" },
    { MEDIA_MIMETYPE_VIDEO_MPEG4, "OMX.SEC.MPEG4.Decoder" },
    { MEDIA_MIMETYPE_VIDEO_MPEG4, "OMX.google.mpeg4.decoder" },
    { MEDIA_MIMETYPE_VIDEO_H263, "OMX.TI.DUCATI1.VIDEO.DECODER" },
    { MEDIA_MIMETYPE_VIDEO_H263, "OMX.Nvidia.h263.decode" },
    { MEDIA_MIMETYPE_VIDEO_H263, "OMX.qcom.7x30.video.decoder.h263" },
    { MEDIA_MIMETYPE_VIDEO_H263, "OMX.qcom.video.decoder.h263" },
    { MEDIA_MIMETYPE_VIDEO_H263, "OMX.SEC.H263.Decoder" },
    { MEDIA_MIMETYPE_VIDEO_H263, "OMX.google.h263.decoder" },
    { MEDIA_MIMETYPE_VIDEO_AVC, "OMX.TI.DUCATI1.VIDEO.DECODER" },
    { MEDIA_MIMETYPE_VIDEO_AVC, "OMX.Nvidia.h264.decode" },
    { MEDIA_MIMETYPE_VIDEO_AVC, "OMX.qcom.7x30.video.decoder.avc" },
    { MEDIA_MIMETYPE_VIDEO_AVC, "OMX.qcom.video.decoder.avc" },
    { MEDIA_MIMETYPE_VIDEO_AVC, "OMX.TI.Video.Decoder" },
    { MEDIA_MIMETYPE_VIDEO_AVC, "OMX.SEC.AVC.Decoder" },
    { MEDIA_MIMETYPE_VIDEO_AVC, "OMX.SEC.FP.AVC.Decoder" },
    { MEDIA_MIMETYPE_VIDEO_AVC, "OMX.google.h264.decoder" },
    { MEDIA_MIMETYPE_VIDEO_AVC, "OMX.google.avc.decoder" },
    { MEDIA_MIMETYPE_AUDIO_VORBIS, "OMX.google.vorbis.decoder" },
    { MEDIA_MIMETYPE_VIDEO_VPX, "OMX.SEC.VP8.Decoder" },
    { MEDIA_MIMETYPE_VIDEO_VPX, "OMX.google.vpx.decoder" },
    { MEDIA_MIMETYPE_VIDEO_MPEG2, "OMX.Nvidia.mpeg2v.decode" },
#ifdef QCOM_HARDWARE
    { MEDIA_MIMETYPE_VIDEO_DIVX, "OMX.qcom.video.decoder.divx"},
    { MEDIA_MIMETYPE_VIDEO_DIVX311, "OMX.qcom.video.decoder.divx311"},
    { MEDIA_MIMETYPE_VIDEO_DIVX4, "OMX.qcom.video.decoder.divx4"},
    { MEDIA_MIMETYPE_AUDIO_AC3, "OMX.qcom.audio.decoder.ac3" },
    { MEDIA_MIMETYPE_AUDIO_QCELP, "OMX.qcom.audio.decoder.Qcelp13Hw"},
    { MEDIA_MIMETYPE_AUDIO_QCELP, "OMX.qcom.audio.decoder.Qcelp13"},
    { MEDIA_MIMETYPE_AUDIO_EVRC, "OMX.qcom.audio.decoder.evrchw" },
    { MEDIA_MIMETYPE_AUDIO_EVRC, "OMX.qcom.audio.decoder.evrc" },
    { MEDIA_MIMETYPE_AUDIO_WMA, "OMX.qcom.audio.decoder.wma"},
    { MEDIA_MIMETYPE_AUDIO_WMA, "OMX.qcom.audio.decoder.wmaLossLess"},
    { MEDIA_MIMETYPE_AUDIO_WMA, "OMX.qcom.audio.decoder.wma10Pro"},
    { MEDIA_MIMETYPE_VIDEO_WMV, "OMX.qcom.video.decoder.vc1"},
#endif
};
I think problem is "static const CodecInfo kDecoderInfo" and wrong codec used??? Why 'OMX.google.h264.decoder' is used and not OMX.qcom.video.decoder.xxxxx from system/vendor/qcom/opensource/omx/mm-core/omxcore/src/7627/qc_registry_table_android.c? Waiting your ideas!

If someone have runing cm7 please give me big logcat after watching youtube in normal and in hq!
 
Last edited:

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
Yes thats it! I debuged cm7 and youtube HQ video, found:
Code:
I/QC_CORE (  141): OMXCORE: qc_omx_component_send_command 48714, 0 , 3
I/QC_CORE (  141): OMXCORE: qc_omx_component_send_command 48714, 2 , 1
E/QCvdec  (  141): OMXCORE-SM:Recieved command DISABLE (2)
E/QCvdec  (  141): Omx Flush issued when vdec is not initialized yet.
I/QC_CORE (  141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 399b0
I/QC_CORE (  141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39a00
I/QC_CORE (  141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39a50
I/QC_CORE (  141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39aa0
I/QC_CORE (  141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39af0
I/QC_CORE (  141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39b40
I/QC_CORE (  141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39b90
I/QC_CORE (  141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39be0
I/QC_CORE (  141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39c30
E/QCvdec  (  141): FA: Setting Tail to NULL
I/QC_CORE (  141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39c80
I/QC_CORE (  141): OMXCORE: qc_omx_component_get_parameter 48714, 41192d54 , 335
54433
I/QC_CORE (  141): OMXCORE: qc_omx_component_send_command 48714, 3 , 1
E/QCvdec  (  141): OMXCORE-SM:Recieved command ENABLE (3)
I/QC_CORE (  141): OMXCORE: qc_omx_component_get_parameter 48714, 41192d58 , 335
54433
I/OMXCodec(  141): [OMX.qcom.video.decoder.avc] allocating 10 buffers of size 35
3280 on output port
I/QC_CORE (  141): OMXCORE: qc_omx_component_allocate_buffer 48714, 41192cfc , 1
cm7 use OMX.qcom.video.decoder.avc for HQ videos, so its defined to dlopen libOmxH264Dec.so:
Code:
omx_core_cb_type core[] =
{
  {
    "OMX.qcom.video.decoder.avc",
    NULL, // Create instance function
    // Unique instance handle
    {
      NULL,
      NULL,
      NULL,
      NULL
    },
    NULL,   // Shared object library handle
    "libOmxH264Dec.so",
    {
      "video_decoder.avc"
    }
  },
so I think wrong happenings is new google mp4 codec for cm9... maybe we disable google.mp4 from table and back to use qcom.avc .:)
Allso found problem for aac, there google.aac use ~22000 but aria audio need to be 44100 for aac... allso google.mp4 frame rate is 15 but we need 30...
 
Last edited:

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
Imported some files from gingerbread source, cm9 have missing M4vH263 decoder

cm7:
Code:
{ MEDIA_MIMETYPE_VIDEO_MPEG4, "M4vH263Decoder" },
{ MEDIA_MIMETYPE_AUDIO_AAC, "AACDecoder" },
cm9:
Code:
{ MEDIA_MIMETYPE_VIDEO_MPEG4, "OMX.google.mpeg4.decoder" },
{ MEDIA_MIMETYPE_AUDIO_AAC, "OMX.google.aac.decoder" },

cm7:
Code:
{ MEDIA_MIMETYPE_VIDEO_H263, "M4vH263Decoder" },
cm9:
Code:
{ MEDIA_MIMETYPE_VIDEO_H263, "OMX.google.h263.decoder" },

It looks like new google codecs is not compatible with aria...
 

benbailey84

Senior Member
Sep 13, 2011
1,136
358
Summerdale, AL
Imported some files from gingerbread source, cm9 have missing M4vH263 decoder

cm7:
Code:
{ MEDIA_MIMETYPE_VIDEO_MPEG4, "M4vH263Decoder" },
{ MEDIA_MIMETYPE_AUDIO_AAC, "AACDecoder" },
cm9:
Code:
{ MEDIA_MIMETYPE_VIDEO_MPEG4, "OMX.google.mpeg4.decoder" },
{ MEDIA_MIMETYPE_AUDIO_AAC, "OMX.google.aac.decoder" },

cm7:
Code:
{ MEDIA_MIMETYPE_VIDEO_H263, "M4vH263Decoder" },
cm9:
Code:
{ MEDIA_MIMETYPE_VIDEO_H263, "OMX.google.h263.decoder" },

It looks like new google codecs is not compatible with aria...

dude you are awesome!!! my earlier post about not receiving calls has been fixed. I did wipe and now works. now trying to figure out how to fix s2e, im thinking that i need to reformat my sd card. This has happened to me before and thats how i fixed it. s2e isnt picking up sd-ext, not an expert in any way but maybe when you reinstall cm9 it isnt picking up that particular way it was formatted...
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
dude you are awesome!!! my earlier post about not receiving calls has been fixed. I did wipe and now works. now trying to figure out how to fix s2e, im thinking that i need to reformat my sd card. This has happened to me before and thats how i fixed it. s2e isnt picking up sd-ext, not an expert in any way but maybe when you reinstall cm9 it isnt picking up that particular way it was formatted...

Hi, maybe not working because I updated script 05mountsd in /system/etc/init.d/ ... that script mount sd-ext to seccond partition automatically, so maybe s2e not mount sd-ext becouse is allready mounted... try deleting that file, reboot and try with s2e!
 

benbailey84

Senior Member
Sep 13, 2011
1,136
358
Summerdale, AL
Hi, maybe not working because I updated script 05mountsd in /system/etc/init.d/ ... that script mount sd-ext to seccond partition automatically, so maybe s2e not mount sd-ext becouse is allready mounted... try deleting that file, reboot and try with s2e!

Its working after I repartition the SD card

Sent from my Liberty using xda premium
 

eoghan2t7

Recognized Contributor
Jan 18, 2011
4,386
2,680
Belfast
OPPO Find X2 Pro
OPPO Find X5 Pro
Imported some files from gingerbread source, cm9 have missing M4vH263 decoder

cm7:
Code:
{ MEDIA_MIMETYPE_VIDEO_MPEG4, "M4vH263Decoder" },
{ MEDIA_MIMETYPE_AUDIO_AAC, "AACDecoder" },
cm9:
Code:
{ MEDIA_MIMETYPE_VIDEO_MPEG4, "OMX.google.mpeg4.decoder" },
{ MEDIA_MIMETYPE_AUDIO_AAC, "OMX.google.aac.decoder" },

cm7:
Code:
{ MEDIA_MIMETYPE_VIDEO_H263, "M4vH263Decoder" },
cm9:
Code:
{ MEDIA_MIMETYPE_VIDEO_H263, "OMX.google.h263.decoder" },

It looks like new google codecs is not compatible with aria...

i saw the same problems when trying to fix this on the marvel so i was think of adding the required files/code and compiling to see what happens. have you debugged anymore so i no what is need to be done before i go and add stuff thats not needed etc?
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
Yes. I have compiled but that not working (maybe I missing something) (I think there is no problem, google codec is ~~same as that codec, problem is somewhere around... don't know where... I leave it :()... found something in source about google.mpeg4.soft (forgot where I seen it and what I seen... sorry, this need big time debuging from this big cm9 source :)), have no idea but maybe some libs is accidentally included... I don't know :( Is this HQ bug only for msm7x27 devices or it is bug for all cm9 devices? You have forum link for cm9 device with working HQ video?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 70
    Sorry, I do not want to make confusion with two different roms (munjeni/Winsuk), currently Winsuk github source in comparation with my localy source is much different, also kernels is diferent, so I opened this thread from that reason! Will update this thread soon!

    CM9 4.0.4 ICS Liberty (Ice Cream Sandwich)

    This is a port of CM9 (Ice Cream Sandwich) for Aria/Liberty based on WinSuk repo

    Screenshoots:
    http://img845.imageshack.us/img845/340/screenshot2012040818074.png
    http://img585.imageshack.us/img585/8750/screenshot2012040818081.png
    http://img442.imageshack.us/img442/491/screenshot2012040818083.png

    Currently working and not working:

    What works:
    • Auto-brightness
    • Bluetooth
    • Browser
    • Capticive buttons (with backlight)
    • DSPManager
    • Headphones/Headset (with buttons)
    • Keyboard
    • Market downloads
    • MMS
    • Notification light
    • Overclocking
    • Phone radio (calling, sms, data)
    • Sensors (light, proximity, rotation, acceleration, compass)
    • Sound & Mic
    • Superuser
    • Tethering (Bluetooth untested)
    • Touchscreen (with multitouch)
    • Trackball
    • USB Mass Storage Device
    • Vibration & Haptic feedback
    • Wifi
    • Gallery
    • Wifi sleep
    • Built-in data usage meter - full working now
    • Hardware acceleration (EGL)
    • Live wallpapers
    • Screenshots
    • Screen off/on animations
    • Wallpaper scrolling
    • wake by trackball
    • bootanimation - have right size now including cm9 logo
    • Wifi signal strength bar on status bar (wpa_supplicant_8)
    • GPS
    • Camera shoots and preview
    • Fast gps lock (qcom-librpc + new gps.conf)
    • Mobile networks choosing in Select Network

    If something missing or not working please let me know!

    What working but not good:
    • Camera panorama
    • Camcorder (can not stop recording)
    • HQ Videos... have frezes (we need hardware bassed decompresion instead of software bassed to get fully working videos)
    • FM radio have no audio


    Google Apps for Ice Cream Sandwich:
    You need to find an stable gapps for your needs!
    But I use this and it's stable for me -> http://goo.im/gapps/gapps-ics-20120422-signed.zip :)

    My Aria android git: https://gitorious.org/ics-on-htc-aria/master/commits/master
    My kernel git: http://gitorious.org/ics-cyanogenmod-2-6-35-kernel-msm7227-for-htc-aria/ics/commits/master

    Download old cm9 rom - 07.Jun.2012.:
    http://www.2shared.com/file/R6uEJBP4/cm9_liberty-ota-engroot_07Jun2.html
    md5: C25F74D11F0C1E03BC72927ABCA8E686

    Download new cm9 rom - 09.Jul.2012.:
    http://www.2shared.com/file/pUT_xRG1/cm9_liberty-ota-engroot_09Jul2.html
    md5: 269880B7DC6224E28325F273F91451E7

    WARNING for new cm9 rom!
    Rom have scripts that will erase all nand partitions needed for clean install! Android folder and .android_secure folder will be deleted from sdcard allso, so backup your data if you have something inside!

    Thanks:
    First, big thanks to Qualcomm and their user space library that was needed for HW acceleration!!!
    Google - for both Android and their search engine, which are awesome
    CyanogenMod Team
    WinSuk
    s0be
    modpunk
    Everyone who has shared their working ICS source - It has helped a lot in fixing things
    30
    Instruction/fixes/changelog is here:

    10.Apr.2012:
    • Wifi signal icon is fixed

    13.Apr.2012:
    • source totaly cleaned after some tests (pull reguest from Cyanodenmod cm9 repo + very small changes (like untached)), right key is in board_device_liberty :)
    • gps fixed (I'm not tested)
    • very fast and smooth response on everything
    • lightsensor fixed
    • libcamera.so is patched from msm7k to msm7x27 but not working (need to port old QualcommCameraHardware.cpp)

    27.Apr.2012:
    • Camera preview and camera shoot is fixed, not stable but working good [credits to modpunk, WinSuk and all who shared their source]
    • Ics librpc for gps fixed [credits to modpunk]
    • kernel updated [there was problem with memory allocation, so camera not worked from that reason...]
    • a lot of framework changes/cleanups is fixed by Cyanogenmod team so... [all credits to him]
    • maybe I forgot something? :)
    • light sensor/backlight is fixed and tested, please read this:


    • How to enable utomatic backligh:
      - go to settings/display/brightnress and set it to automatic
      - go to settings/display/automatic_backlight select use custom
      - go to settings/display/automatic_backlight/edit_other_levels and set 0,33,77,220,308,397,485,698,860,1023 seccond column 66,96,103,115,130,152,152,255,255,255 third column 255,255,0,0,0,0,0,0,0,0, than save&apply
      - go to settings/display/automatic_backlight and select allow light decrease
      - go to settings/display/automatic_backlight/decrease_hysteresis and set it to 50%

      Now its totaly automatic for me...​

    28.Apr.2012:
    • rom is deodexed now!

    03.May.2012:
    • New kernel with realigned Aria memory layout (heap size is increased for 8MB {adsp_size have 4MB more, gpu_size have 4MB more})... no more (sometimes but very less) force closes
    • New kernel modules (cifs, tun, nls_utf8, bcm4329.ko)... its needed for mounting network folders :)
    • New camera updates (Thanks WinSuk)
    • New memalloc and gralloc lib (disabled annoying "debug" log for memalloc... now its only "info" and "error")
    • Video still is not fixed (my wrong sorry... some HQ videos working but most of HQ videos not working :()... I think maybe reason is not good because googleOMX is msm7627 ?

    10.May.2012:
    • New kernel with new allocators (not fully ported from kernel 3 "contiguous memory nomap" only part of it :()
    • Kernel, enabled SLOB, enabled KSM, enabled LZO compresion needed for zRam... and a lot of other... you can see all changes on my git!
    • New camera upstream updates + camera timer + updates from WinSuk git (Thanks WinSuk, s0be, cm team and all who working on camera)
    • A lot of fixes from upstream
    • No force closes (added some scripts to init.d like zram automout, zram auto free, free pagecache, free dentries and inodes, modules automount, gps permission...)... but in prevention of force closes, you need to free memory sometimes to get android stable(I use airdroid app and his great memory releaser) :)
    • Old librpc + new gps.conf (gps have fast lock now)
    • First config screen on first boot :)
    • Video still is not fixed
    • Camera recorder is not fixed
    You need to enable "kernel same page merging" in setting/performance. To get full working autobacklight you need to enable "allow lights decrease" in settings/display/automatic_backlight. You do not need to enable zram, it's enabled by default by script until compcache_enable is fixed android side, kernel side it's good. This build is more stable for me!

    13.May.2012:
    • Logo for my kernel :)
    • Some tweaks for ram (you will have constantly 90mb amount of the free memory, so... less force closes or maybe no force closes:))
    • Camera recorder is fixed but... :( ((camcorder recording but no one cm9 rom for Aria have video encoding/decoding hardware bassed, its software bassed... 15 fps... we need hardware bassed compresion/decompresion to get fully working recorder and youtube videos)

    07.Jun.2012:
    • Mobile networks choosing in Select Network
    • zRam full fixed, you can enable/disable/set_size from settings menu
    • A lot a lot a lot of Cyanogenmod upstream changes :)
    • kernel: Framebufer console during boot (Its for fun... if you not like it I will disable in next build)
    • kernel: VR IO scheduler
    • kernel: InteractiveX governor
    • kernel: deep sleep mode

    09.Jul.2012:
    • All new Cyanogenmod upstream changes
    • kernel: Framebufer console during boot disabled
    • kernel: deep sleep mode (reverted back to like previous build)
    • some progress with FM radio (all is fixed and working but only have no audio :(... maybe some one have some programing skills to find what is wrong with audio? Or maybe to manually send command to kernel to get fm audio routing to headset?)
    12
    Kernel improvements: deep sleep mode working now (7mA battery drain :eek:) -> http://img525.imageshack.us/img525/1629/screenshot2012052019050.png ,new gsensor driver with support for android temperature sensor ;)...etc
    11
    New build is out, enjoy