[MOD] [720p HW PLAYBACK] libOmxVdec.so (removal of h/w restrictions in playback)

Search This thread

suramania

Member
Jul 6, 2011
27
3
just to add up..

for me the biggest difference is (when succesfully replaced libOmxVdec.so file)
my native video player in CM 7.0.3 now actually plays 720p..
altough maybe only in mp4 format..

before it just wont play at all.
 

jimmkind

Senior Member
Jun 20, 2010
122
39
Stockholm
just to add up..

for me the biggest difference is (when succesfully replaced libOmxVdec.so file)
my native video player in CM 7.0.3 now actually plays 720p..
altough maybe only in mp4 format..

before it just wont play at all.

Exactly. The phones capabilities have increased with the patch. the diceplayer app mostly provides compatibility.

For me. after solving this issue i encountered a new one.
The ability to play hd movies gave me a reason to transfer large 4gig+ files to the sdcard. But fat32 is unable to transfer files larger than 4gig.
 

srbeen

Member
Sep 6, 2010
6
38
Awesome

This was the ONE pissoff I had with miui. Tried it on 1.8.5 XJ mod, now its the perfect rom for me. So this is a go for the miui rom in my limited test on a desire.

I also didn't have a sweet clue about this, and how to install. Brief guide:

Download file
boot into recovery
under 'mounts and partitions' (I think) select
mount /system
from here I used adb (dumb as USB likely would have worked)
first to push the file to the /system/lib/
(ensure you copy file to your platform-tools dir or adb won't see to push)

adb push 1308091625_libOmxVdec.so /system/lib/

then I opened shell:

adb shell

(get # prompt)
from there

cd /system/lib/

then

mv libOmxVdec.so libOmxVdec.bak

and finally

mv 1308091625_libOmxVdec.so libOmxVdec.so

Then I unmounted /system and rebooted.

fired up moboPlayer, and grabbed an old youtube video rip. smooth as silk.
Since im cheap with the data, I rip a bunch of youtube videos in my wifi zone to chill out to at work. 720p looks just that much nicer over 640x480.

This seems to have restored that functionality. Highly suggest ROM cookers look into this
 

suramania

Member
Jul 6, 2011
27
3
Exactly. The phones capabilities have increased with the patch. the diceplayer app mostly provides compatibility.

For me. after solving this issue i encountered a new one.
The ability to play hd movies gave me a reason to transfer large 4gig+ files to the sdcard. But fat32 is unable to transfer files larger than 4gig.

quite a huge video :eek:
no other option but splitting videos i guess?

anyway i will also try this patch on other roms.. maybe the new redux 2.0, hopefully in a couple of days..
 

Pitbull_Raven

Senior Member
Nov 6, 2008
513
41
Castelo Branco

suramania

Member
Jul 6, 2011
27
3
works on redux 2.0 snapshot 08112011 :)
i think this will also work on oxygen, or any other minimum AOSP rom in that respect..

I tried to replace the file with the original one found in the zip and then flash it, but it didn't work. The 720p playback is still laggy :( . I have Insertcoin's official 2.3 gingerbread custom rom.

have you tried pushing via ADB ?

does 720p mkv (or other format aside from mp4) still lag in gingerbread sense?
i used this method mainly to play 720p mp4 in gingerbread AOSP rom, i tought gingerbread sense had no problem on 720p playback...
 

mihai.onu94

Senior Member
Jan 9, 2011
119
3
I tried to replace the file with the original one found in the zip and then flash it, but it didn't work. The 720p playback is still laggy :( . I have Insertcoin's official 2.3 gingerbread custom rom.

My mistake, I forgot to mount system in recovery. Now, the 720p hd files work better, much better than stock.
 

bseos

Senior Member
Aug 9, 2009
118
108
Melbourne
Does the "HTC Desire S" also suffer from laggy playback?
It uses the newer Qualcomm MSM8255 Snapdragon chipset, does this "hack" also apply to this phone?
 

Vitya_

Member
Mar 19, 2011
27
2
This sounds interesting. Has anybody tried it on Gingervillain?

Sent from my HTC Desire using XDA App
 

Latty

Senior Member
Jun 28, 2007
741
102
Great find! Working flawlessly with Gingervillian/CM7 and Diceplayer, playing h.264 in an mkv container.

I threw together a nice little flashable zip that you can just flash via recovery, to avoid the hassle of adb pushing it. See attached!

:D
 

Attachments

  • libOmxVdec.so_h.264-signed.zip
    250.5 KB · Views: 994

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    best 720p solution yet.

    Just want to inform all desire owners of Diceplayer.
    It dosent support our phone (they say).

    But it works flawless if you patch
    libOmxVdec.so
    wich is meant for the nexus-1.

    Since N1 and desire share alot hardware i figured it might also work for our desire.

    IT DID!!

    This is my first thread or even post on xda.

    LINK:
    http://diceplayer.inisoft.co.kr/news-and-tips

    FLASHABLE ZIP: (Latty)
    http://xdaforums.com/showpost.php?p=18424125&postcount=38
    7
    Great find! Working flawlessly with Gingervillian/CM7 and Diceplayer, playing h.264 in an mkv container.

    I threw together a nice little flashable zip that you can just flash via recovery, to avoid the hassle of adb pushing it. See attached!

    :D