copy Nexus 5 libOmxCore.so to /system/lib/libOmxCore.so
http://storagecow.eu/index.php?dir=Xda/Nexus+5/
edit /etc/media_codecs.xml
MPEG2:
<MediaCodec name="OMX.qcom.video.decoder.mpeg2" type="video/mpeg2" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports"/>
<Quirk name="defers-output-buffer-allocation"/>
</MediaCodec>
VC1/WMV:
<MediaCodec name="OMX.qcom.video.decoder.vc1" type="video/x-ms-wmv" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports"/>
<Quirk name="defers-output-buffer-allocation"/>
</MediaCodec>
複製代碼
DIVX:
<MediaCodec name="OMX.qcom.video.decoder.divx" type="video/divx" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports"/>
<Quirk name="defers-output-buffer-allocation"/>
</MediaCodec>
複製代碼
WMA:
<MediaCodec name="OMX.qcom.audio.decoder.wma" type="audio/x-ms-wma" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports"/>
<Quirk name="defers-output-buffer-allocation"/>
</MediaCodec>
http://www.hkepc.com/forum/viewthread.php?tid=2020308&highlight=
I´ve created a flashable ZIP : http://d-h.st/7jg
Enjoy
Thanks. What does it do? Sorry not familiar with this stuff.
This ZIP does everything what is described in the first post and saves you some time
situman said:
Thanks. What does it do? Sorry not familiar with this stuff.
Click to expand...
Click to collapse
Will this automagically work with third-party players, like MX Player and Dice Player? Or just the stock media player?
reggie14 said:
Will this automagically work with third-party players, like MX Player and Dice Player? Or just the stock media player?
Click to expand...
Click to collapse
I think this was what I was trying to ask lol. Too early in the day for this stuff
didn't work for me.
McHale said:
didn't work for me.
Click to expand...
Click to collapse
yes , like is not work or s4pro +s305......
Is this just for the nexus or will it work on other devices e.g Sony xperia z2 tablet?
---------- Post added at 11:15 PM ---------- Previous post was at 10:34 PM ----------
Gorgtech said:
I´ve created a flashable ZIP : http://d-h.st/7jg
Enjoy
Click to expand...
Click to collapse
After extracting that what do you need to do next?
Zaim2012 said:
Is this just for the nexus or will it work on other devices e.g Sony xperia z2 tablet?
---------- Post added at 11:15 PM ---------- Previous post was at 10:34 PM ----------
After extracting that what do you need to do next?
Click to expand...
Click to collapse
A flashable zip file is designed to be flashed (installed) via a custom recovery. You do not extract it... You boot into recovery mode navigate to the zip file, and select it via the recovery's GUI.
You can also use an app like flashify from the play store. :good:
I don't know if it will work on other devices, but seeing as its in the nexus 7 2013 forum, and not for example android development, I would not flash it on anything but the n7.2.
I am the writer on HKEPC, it's good to see you guys made an english translation and self-installation zip
To those found that was not working, please be reminded that the "libOmxCore.so" plays an important role in this mod.
Suggested source of extracting libOmxCore.so
S4 -> CM11 binary of any MSM8960 devices (e.g. Sony Xperia V)
S4 Pro/600 -> CM11 for Nexus 4
800 -> CM11 for Nexus 5
I had made this mod working on following devices (ALL stock ROM):
Sony Xperia V (4.1/S4 8960), with libOmxCore.so from CM10.2
ASUS new PadFone infinity (4.2/Snapdragon 800 8974), with libOmxCore.so from Nexus 5 (Factory 4.4.2 image)
Sony Xperia Z (4.2/S4 Pro 8064), with libOmxCore.so from Nexus 4 (Factory 4.4.2 image)
------------------
*FOR NEXUS 7 2013*
As Nexus 7 2013 comes with AOSP KitKat, DON'T use the libOmxCore.so from Nexus 5! You may need to check if the libOmxCore.so contains strings such as "OMX.qcom.video.decoder.vc1" and "OMX.qcom.video.decoder.mpeg2", if the result is negative, you should use the libOmxCore.so from CM11 for Nexus 7 2013, as it is complied with full set of decoders.
anyone can update this to lollipop?
god_md5 said:
copy Nexus 5 libOmxCore.so to /system/lib/libOmxCore.so
http://storagecow.eu/index.php?dir=Xda/Nexus+5/
edit /etc/media_codecs.xml
MPEG2:
<MediaCodec name="OMX.qcom.video.decoder.mpeg2" type="video/mpeg2" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports"/>
<Quirk name="defers-output-buffer-allocation"/>
</MediaCodec>
VC1/WMV:
<MediaCodec name="OMX.qcom.video.decoder.vc1" type="video/x-ms-wmv" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports"/>
<Quirk name="defers-output-buffer-allocation"/>
</MediaCodec>
複製代碼
DIVX:
<MediaCodec name="OMX.qcom.video.decoder.divx" type="video/divx" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports"/>
<Quirk name="defers-output-buffer-allocation"/>
</MediaCodec>
複製代碼
WMA:
<MediaCodec name="OMX.qcom.audio.decoder.wma" type="audio/x-ms-wma" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports"/>
<Quirk name="defers-output-buffer-allocation"/>
</MediaCodec>
http://www.hkepc.com/forum/viewthread.php?tid=2020308&highlight=
Click to expand...
Click to collapse
kennylam said:
I am the writer on HKEPC, it's good to see you guys made an english translation and self-installation zip
To those found that was not working, please be reminded that the "libOmxCore.so" plays an important role in this mod.
Suggested source of extracting libOmxCore.so
S4 -> CM11 binary of any MSM8960 devices (e.g. Sony Xperia V)
S4 Pro/600 -> CM11 for Nexus 4
800 -> CM11 for Nexus 5
I had made this mod working on following devices (ALL stock ROM):
Sony Xperia V (4.1/S4 8960), with libOmxCore.so from CM10.2
ASUS new PadFone infinity (4.2/Snapdragon 800 8974), with libOmxCore.so from Nexus 5 (Factory 4.4.2 image)
Sony Xperia Z (4.2/S4 Pro 8064), with libOmxCore.so from Nexus 4 (Factory 4.4.2 image)
------------------
*FOR NEXUS 7 2013*
As Nexus 7 2013 comes with AOSP KitKat, DON'T use the libOmxCore.so from Nexus 5! You may need to check if the libOmxCore.so contains strings such as "OMX.qcom.video.decoder.vc1" and "OMX.qcom.video.decoder.mpeg2", if the result is negative, you should use the libOmxCore.so from CM11 for Nexus 7 2013, as it is complied with full set of decoders.
Click to expand...
Click to collapse
Would this be possible on the Nexus Player? I have one and hardware decoding MPEG2 is not enabled. Thus making it not usable for using with my hdhomerun prime.
If you guys could help me to see if I can get this to work it would be greatly appreciated. Tomorrow I will be unlocking and rooting the device so I can pull any files needed. It just there is no custom recovery as of today for the NP.
Does this work on N7 2013 Marshmallow? Kodi can't play 1080i MPEG2 properly. Audio but no video.
acegolfer said:
Does this work on N7 2013 Marshmallow?
Click to expand...
Click to collapse
No, the /system/lib/libOmxCore.so in the VC1-MPEG2-WMA-hardware-decoding.zip by @Gorgtech dates back to Nov, 2013, which would correspond to JB.
MMB29Q contains /system/lib/libOmxCore.so dated Jan, 2016, and its seems to contain all necessary codecs for mpeg2, wma, vc1, divx, etc. along with mpeg4 etc.
As /system/etc/media_codecs.xml contains descriptor for OMX.qcom.video.decoder.mpeg2 decoder, an N7II with MMB29Q should evaluate MPEG2 appropriately.
Strange thing is that, though /system/lib/libOmxCore.so dated Jan, 2016, seems to contain decoders for wma, vc1 and divx (1, 3.11., 4), these are not listed in the /system/etc/media_codecs.xml.
Actually, only avc (and avc.secure), mpeg2, mpeg4 and h263 are listed.
So, probably adding following statements in this file is still reasonable:
Code:
- <MediaCodec name="OMX.qcom.video.decoder.vc1" type="video/x-ms-wmv">
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Quirk name="defers-output-buffer-allocation" />
</MediaCodec>
- <MediaCodec name="OMX.qcom.video.decoder.divx" type="video/divx">
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Quirk name="defers-output-buffer-allocation" />
</MediaCodec>
- <MediaCodec name="OMX.qcom.video.decoder.divx311" type="video/divx">
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Quirk name="defers-output-buffer-allocation" />
</MediaCodec>
- <MediaCodec name="OMX.qcom.video.decoder.divx4" type="video/divx">
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Quirk name="defers-output-buffer-allocation" />
</MediaCodec>
- <MediaCodec name="OMX.qcom.audio.decoder.wma" type="audio/x-ms-wma">
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Quirk name="defers-output-buffer-allocation" />
</MediaCodec>
Can not quickly check the effect, as I'm still using KK KTU84P.
But there is IMHO a simplier way, - to use MX Player or BSPlayer instead of stock player.
Aerobatic said:
But there is IMHO a simplier way, - to use MX Player or BSPlayer instead of stock player.
Click to expand...
Click to collapse
1080i plays okay in BSPlayer, which implies N7 2013 M can handle it. But I'm using Kodi for all media including live TV. Will your trick make it work?
acegolfer said:
1080i plays okay in BSPlayer, which implies N7 2013 M can handle it. But I'm using Kodi for all media including live TV. Will your trick make it work?
Click to expand...
Click to collapse
Cannot judge, because do not use MM. Still suppose that "no", as stock codec library and its' formal description for HW MPEG2 decoding are implemented, probably poorly. Someone earlier in this thread suggested to try to get /system/lib/libOmxCore.so from cm13, as it is supposed to be optimized. Won't sign under this suggestion as havn't checked it. And, btw, this is not my trick, I just saw your question and tried to clarify the reason for the answer, which was "NO".
Related
I just got done building my app in A.S. I ran the clean gradle and no errors came back. The app installs on my Moto X fine, it's listed in Settings/Apps and says the 5MB size but never shows on any of the home screens nor the main applications list among other icons.
Has Anyone seen this before?
Android Studio: v0.61 (Win7) SDK tools: v22.6.4 SDK build-tools 19.1 Google Play services Rev 17
thank you
Ryan
xmattoxx said:
I just got done building my app in A.S. I ran the clean gradle and no errors came back. The app installs on my Moto X fine, it's listed in Settings/Apps and says the 5MB size but never shows on any of the home screens nor the main applications list among other icons.
Has Anyone seen this before?
Android Studio: v0.61 (Win7) SDK tools: v22.6.4 SDK build-tools 19.1 Google Play services Rev 17
thank you
Ryan
Click to expand...
Click to collapse
Here's my androidmanifest file:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.thirtyfate.flashlight"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-feature android:name="android.hardware.camera.flash" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" />
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<activity
android:name="com.thirtyfate.flashlight.MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Black.NoTitleBar" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<activity
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
</manifest>
Hey guys my s4 was on stock 4.2.2 jellybean firmware but when i heard that lollipop was finally available for my device it was tthen i decided to update to 5.0.1
After updating i have been facing ISSUES with my phone's sd card writing operations
I cannot copy files from pc using usb cable neither can i transfer files from pc using superbeam
No new folder can be created in sd card and and i can create folders in phone storage but it shows connection error everytime
I would be very thankful to anyone who can help me sort this problem
P.s Please try to suggest methods which dont require rooting
Kitkat and Lollipop changed the way Android used the SD card -
http://www.androidcentral.com/kitkat-sdcard-changes
You can fix this, but you'll need to be rooted. Not heard of any non rooted solutions personally.
dave106 said:
Kitkat and Lollipop changed the way Android used the SD card -
http://www.androidcentral.com/kitkat-sdcard-changes
You can fix this, but you'll need to be rooted. Not heard of any non rooted solutions personally.
Click to expand...
Click to collapse
I really need to fix this so i will even root
I will use towelroot for the purpose
can you tell that what would i need to do further to restore full sd card access
Once rooted, goto system/etc/permissions and edit 'platform.xml'
Find this section -
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
And add another line so it looks like this -
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
Save and reboot
dave106 said:
Once rooted, goto system/etc/permissions and edit 'platform.xml'
Find this section -
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
And add another line so it looks like this -
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
Save and reboot
Click to expand...
Click to collapse
thanx for help bro
Hi
Will show you how to fix the problem of reading and writing to the SD card in Sony Lollipop 5.0.2
Request:
-Sony Lollipop 5.0.2
-ROOT
-Text editor ( I use notepad ++ )
1.On your phone, find the file platform.xml
ROOT / system / etc / permission /
Copy it to your computer
using a text editor, open and add these lines :
Code:
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
</permission>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
[COLOR="red"] <group gid="media_rw" />[/COLOR]
</permission>
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
</permission>
<permission name="android.permission.WRITE_MEDIA_STORAGE" >
<group gid="sdcard_rw" />
[COLOR="Red"] <group gid="media_rw" /> [/COLOR]
</permission>
<permission name="android.permission.ACCESS_MTP" >
<group gid="mtp" />
</permission>
2.Save and copy the phone
3. Using Root Explorer Important
-Copy file To System
-Set Permission Using Root Explorer ( rw- r-- r-- )
-Move The platform.xml To /system/etc/permission/ Folder
-Reboot The Phone.
4. Enjoy
Creadits:
RXS MoonBreakers Team
Be aware that you can damage your phone. I do not take responsibility for damage to your phone. You do so at your own risk.
everything works on Titanium Backup
res
Good one bro @Ambor ^^
Pandemic said:
Good one bro @Ambor ^^
Click to expand...
Click to collapse
Thanks
Thanks Bro @Ambor ??
Ambor said:
Thanks
Click to expand...
Click to collapse
Nice tutorial bro @Ambor
Thanks, marvelous post indeed.
dsa88 said:
Thanks, marvelous post indeed.
Click to expand...
Click to collapse
Thanks
Hi, first post here!
I have the shield TV connected with audio sent over HDMI to my TV. It works with DD (AC3) fine. But my TV does not support DD+ (EAC3) and as the shield TV doesn't have a suitable decoder installed it is unable to convert the EAC3 to AC3 to be sent out instead as other devices do.
So the question is, if I root my TV can I install and enable the missing codec? In /system/etc/media_codecs.xml
I see that some other devices (AMLogic) do have this codec enabled in their file:
<!-- DOLBY_UDC -->
<MediaCodec name="AML.google.ac3.decoder" >
<Type name="audio/ac3" />
<Quirk name="needs-flush-before-disable" />
<Quirk name="requires-flush-complete-emulation" />
</MediaCodec>
<MediaCodec name="AML.google.ec3.decoder" >
<Type name="audio/eac3" />
<Quirk name="needs-flush-before-disable" />
<Quirk name="requires-flush-complete-emulation" />
</MediaCodec>
<!-- DOLBY_UDC END -->
But I'm guessing it's not as easy as just adding that to my file and that the codec/decoder isn't actually on the device.
Is this something that's possible, or should I just give up now?
Thanks
Gareth
hello guys sorry for my bad English, I bring this little contribution to the forum.
I have p9-Lo9, but the sound is a bit low, I come from an m8 htc and I like it to sound louder than normal, So look in other forums, the way to do it without any results, only exists for the p9 lite, I found a way to do it without using applications, I managed to modify a file of the system that allows us to alter the volume standards,
requirements
have the rooted phone and a file explorer that allows us to enter the system folder
1- for android 6
Download the file mixer_volumes_EVA android 6 or 7 and copy it to system / etc / audio / hi6402.
2- for android 7
enter the root of the whole system, find the folder product / etc / audio / hi6402.
decompress the downloaded files and move them, that's all maybe in the future it could be in oreo, at the moment it does not work modifying the file
links
android 6
https://mega.nz/#!j8Ry1I7R!EAB-OiIW0Q39nhZb4ItzKkLyqwF7jRP9EITeMxBdWVw
android 7
https://mega.nz/#!bkYUCQLY!SHNcAUO9KlWi-hWM1O_o1k_ysHD__fSqdoBHw0yA7_Q
android 8
https://mega.nz/#!G0RwQIwK!Ew1bE4M-DiWhPszOv0owE81ydSc6fPrUD62QlXZqlm8
updated for oreo android
I do not speak English sorry if you do not understand some thing
already works for oreo
luis taylor said:
already works for oreo
Click to expand...
Click to collapse
Do you keep a patent on that or why you don't describe how you do it for Oreo?
hi
zgfg said:
Do you keep a patent on that or why you don't describe how you do it for Oreo?
Click to expand...
Click to collapse
I will update the thread
Headphones volume Oreo
zgfg said:
Do you keep a patent on that or why you don't describe how you do it for Oreo?
Click to expand...
Click to collapse
Oreo
root/ODM/etc/audio/hi6402
Save original mixer_volumes_EVA_ce.xml
Edit
<ctl name="HPL PGA GAIN" value="12" />
<ctl name="HPR PGA GAIN" value="12" />
Replace it
<ctl name="HPL PGA GAIN" value="27" />
<ctl name="HPR PGA GAIN" value="27" />
Copy root/ODM/etc/audio/hi6402
Check permissions. -rw-r--r-- ( 644 ).
Reboot
cunaja said:
Oreo
root/ODM/etc/audio/hi6402
Save original mixer_volumes_EVA_ce.xml
Edit
<ctl name="HPL PGA GAIN" value="12" />
<ctl name="HPR PGA GAIN" value="12" />
Replace it
<ctl name="HPL PGA GAIN" value="27" />
<ctl name="HPR PGA GAIN" value="27" />
Copy root/ODM/etc/audio/hi6402
Check permissions. -rw-r--r-- ( 644 ).
Reboot
Click to expand...
Click to collapse
For some reason (?) I had problems to make a copy of the xml file. Every time I tried, it copied but as an empty file, 0 B.
Eventually, I copied to SD card and back, to get a correct copy, 80,17 KB
hi
cunaja said:
Oreo
root/ODM/etc/audio/hi6402
Save original mixer_volumes_EVA_ce.xml
Edit
<ctl name="HPL PGA GAIN" value="12" />
<ctl name="HPR PGA GAIN" value="12" />
Replace it
<ctl name="HPL PGA GAIN" value="27" />
<ctl name="HPR PGA GAIN" value="27" />
Copy root/ODM/etc/audio/hi6402
Check permissions. -rw-r--r-- ( 644 ).
Reboot
Click to expand...
Click to collapse
no, that does not work in oreo
hi
luis taylor said:
I will update the thread
Click to expand...
Click to collapse
use the files for oreo and you will notice the difference, just moficar a file does not make a difference