[Fix]Lossless audio fix for Nougat - Xiaomi Redmi 3s ROMs, Kernels, Recoveries, & Other

Hi friedn's
I found some library to fix lossless audio format playback issues for stock musicplayer with nougat rom, it support Alac Flac and Wma now.
It test in my RR Weekly 0819, is playback OK now.
Just flash this zip, and then enjoy.
Thanks @BlueFlame4

Great. Thanks!

This patch was made by safineduard from 4pda forum to make flac playable on ROM's 7.1.2. It was posted in LineageOS's thread yesterday: https://forum.xda-developers.com/showpost.php?p=73498960&postcount=1004
You, guys, just add another formats to lib's directory and funny words in update_script

Why am I quoted? I have never seen this library. Are you mixing up persons?

BlueFlame4 said:
Why am I quoted? I have never seen this library. Are you mixing up persons?
Click to expand...
Click to collapse
When we r going to see ur build for land? Sry to disturb u again

wasimsiwan007 said:
When we r going to see ur build for land? Sry to disturb u again
Click to expand...
Click to collapse
See teammex xperience rom.

Related

SlimLP for codina

Hi everybody! Recently I have built Slim LP for this device and wanted to share it with you. I created this thread in general forum because creating devdb projects form is broken, and I don't know how long it will being fixed.
What is not working:
audio- and videorecording
Unfortunately, one of the fixes for audio from CM12.1 branch doesn't work some reason, probably it means, that some apps like camu also won't work.
Credits:
Meticulus - thanks for the support on the initial lollipop bring-up!
NovaFusion - OMX source patches
TeamCanjica - vendor sources
Unjustified Dev - Audio fixes
golden-guy - great cherry-picks
nieltg - Sources for Galaxy Ace 2 device
[email protected] - sources and support
Sergeyl (user from 4pda) - sources and support
Enjoy!
Download
@ChronoMonochrome Thanks Good Job!!
When I test this rom i have problem with gapps "Checking Data"
Kepp loading and loading without end.
Great job. I'll gonna try it when audio is fixed.
Thanks
Sent from my GT-I8160 using XDA Free mobile app
monstro78 said:
Great job. I'll gonna try it when audio is fixed.
Click to expand...
Click to collapse
You know thats "only" audio- and videorecording - Not Audio in particular.
fluffi444 said:
You know thats "only" audio- and videorecording - Not Audio in particular.
Click to expand...
Click to collapse
Sorry for the late response... what do you mean??? slim is one of my favorites. when i test a rom I keep it for a couple of days so if audio is not working thats a problem for me, video recording is not.
@up
U don't understand him and op
Audio working, but audiorecording not working(in sound recoder and camcoder)
AAAaaa now I feel :banghead:
Sent from my GT-I8160 using XDA Free mobile app
Ave_Hornet said:
@ChronoMonochrome Thanks Good Job!!
When I test this rom i have problem with gapps "Checking Data"
Kepp loading and loading without end.
Click to expand...
Click to collapse
Seems that it's known issue. I forgot to mention, that only these gapps packages(found here http://forum.xda-developers.com/galaxy-s3-mini/orig-development/rom-slimlp-t3108784) works with slim. I haven't tested it though, so if anybody would like to test it, please report whether it's working.
@ChronoMonochrome
sorry for this question,i'm newbie,but want to try this custom rom,,
how to install this custom rom?
just download custom rom and gapps,and flash via recovery?
or,different way for install this custom rom
sorry for my bad english
choo12 said:
sorry for this question,i'm newbie,but want to try this custom rom,,
how to install this custom rom?
just download custom rom and gapps,and flash via recovery?
or,different way for install this custom rom
sorry for my bad english
Click to expand...
Click to collapse
Yes, you should just flash it as usual.
If you are on stock GB, you need to upgrade to stock JB first, other than that, the procedure is normal.
Btw, first load could take a while (maybe even one hour), so dont panic and think you are in a boot loop when it takes forever to load.
Was a good ROM...

( Feature Request ) Moving Videos

Hello Guys !!!!
I am an avid media consumer and like all of you I too love to watch videos on MX Player. This is a fabulous app but please add a feature so that we can move videos from one folder to another folder without leaving the app. For instance - If I've to move my YouTube video from " Downloads " folder to " YouTube " folder, I've to go to file manager and do that manually. It would be great if we can move videos within the app.
Thanks in advance and hoping to see this feature in MX Player soon.
Kudos to bleu8888 for developing MX Player !
Best
Desi Heisenberg
Desi_Heisenberg said:
Hello Guys !!!!
I am an avid media consumer and like all of you I too love to watch videos on MX Player. This is a fabulous app but please add a feature so that we can move videos from one folder to another folder without leaving the app. For instance - If I've to move my YouTube video from " Downloads " folder to " YouTube " folder, I've to go to file manager and do that manually. It would be great if we can move videos within the app.
Thanks in advance and hoping to see this feature in MX Player soon.
Kudos to bleu8888 for developing MX Player !
Best
Desi Heisenberg
Click to expand...
Click to collapse
use mixplorer with vlc plugin
or set mx player as default player app
rony raj said:
use mixplorer with vlc plugin
or set mx player as default player app
Click to expand...
Click to collapse
Brother I tried installed Mixplorer and then added vlc plugin but when I open my video in Miplayer it doesn't play. The Player crashes and automatically closes. Tried installing and reinstalling. It still crashes.
By any means can we add that feature in MX Player by tweaking the app ?
mx player v1.8.4 untouched official
partially attach dts/ac3 codes
for arm ,armv7 rest untested
flashable by recovery
for kitkat and below
4.0+ users
for lollipop and above
5.0+ users
requirement
a custom recovery
25-30 mb space in system
update is here
rony raj said:
mx player v1.8.4 untouched official
partially patced for dts and ac3 codes
for arm ,armv7 rest untested
flashable by recovery
Click to expand...
Click to collapse
Kindly do not post any patched version here.
There are lot of users who doesn't aware about the side effects.
Even though you have patched only codec, It will still prevent users from upgrading to new versions.
ktsamy said:
Kindly do not post any patched version here.
There are lot of users who doesn't aware about the side effects.
Even though you have patched only codec, It will still prevent users from upgrading to new versions.
Click to expand...
Click to collapse
But its not a patched version its official mx you can upgrade it in playstore or new version can install over it
also i made no change in it
codes are partially attached with mx
i am officially in support of mx and dev
xda ofcourse
rony raj said:
But its not a patched version its official mx you can upgrade it in playstore or new version can install over it
also i made no change in it
codes are partially attached with mx
i am official in support of mx and dev
xda ofcourse
Click to expand...
Click to collapse
Sorry. It was a misunderstanding. I thought that it's patched version as you have mentioned t as patched.
Now, I have checked the package & It's basically a flashable zip with custom codec library instead of MX Official ffmpeg library.
Anyway it's quite old version & updating it will loose the ac3/dts support.
Note: Post Restored
ktsamy said:
Sorry. It was a misunderstanding. I thought that it's patched version as you have mentioned t as patched.
Now, I have checked the package & It's basically a flashable zip with custom codec library instead of MX Official ffmpeg library.
Anyway it's quite old version & updating it will loose the ac3/dts support.
Note: Post Restored
Click to expand...
Click to collapse
Since failed attatch ac3/dts codes with latest mx player force close error
i think hw+ codes in latest devices support ac3/dts codes
all libs in latest mx is 0 kb
size of package is reduced to 15 mb to 9 mb
but old devices/custom roms has no much play power with new mx
note:- remove patch in post
rony raj said:
Since failed attatch ac3/dts codes with latest mx player force close error
i think hw+ codes in latest devices support ac3/dts codes
all libs in latest mx is 0 kb
size of package is reduced to 15 mb to 9 mb
but old devices/custom roms has no much play power with new mx
note:- remove patch in post
Click to expand...
Click to collapse
Probably you might have downloaded generic version which doesn't have the Codecs. Just download the neon version. It will be 18 mb.
update for 4.0+ users
update for 5.0+ users
rony raj said:
i think this is neon version
test it soon with codes
Click to expand...
Click to collapse
Why do you go for some unofficial/untrusted website?
You can always download the latest official version on our website.
http://mx.j2inter.com/download
Del
ktsamy said:
Why do you go for some unofficial/untrusted website?
You can always download the latest official version on our website.
http://mx.j2inter.com/download
Click to expand...
Click to collapse
Working with attach codes successfully
rony raj said:
mx player v1.8.4 untouched official
partially attach dts/ac3 codes
for arm ,armv7 rest untested
flashable by recovery
for kitkat and below
here
for lollipop and above
here
requirement
a custom recovery
25-30 mb space in system
update is here
Click to expand...
Click to collapse
It says me bad zip file installation aborted on Cwm recovery and I have Mx palyer pro already installed
shahid bhai said:
It says me bad zip file installation aborted on Cwm recovery and I have MC palyer pro already installed
Click to expand...
Click to collapse
uninstall any version of mx player
flash through twrp
i test it works on all device
enjoy
rony raj said:
uninstall any version of mx player
flash through twrp
i test it works on all device
enjoy
Click to expand...
Click to collapse
It not installing still shows bad zip installation aborted
rony raj said:
uninstall any version of mx player
flash through twrp
i test it works on all device
enjoy
Click to expand...
Click to collapse
Thanks bro I have successfully installed it thanks for your great work

[LIMITED SOLUTION] Camcorder in Oreo roms

I found this thread in google plus and I have a zip to "fix" the camcorder in oreo roms
Unfortunately, it only works in the stock camera and only record on 720p. Tested in RR 6.0.0
If someone is interested in trying, link of the thread (not to steal credits): https://plus.google.com/+Bijaykhadka77/posts/GFA434W86zU
confirmed, works in PEX
Benito_Steve said:
I found this thread in google plus and I have a zip to "fix" the camcorder in oreo roms
Unfortunately, it only works in the stock camera and only record on 720p. Tested in RR 6.0.0
If someone is interested in trying, link of the thread (not to steal credits): https://plus.google.com/+Bijaykhadka77/posts/GFA434W86zU
Click to expand...
Click to collapse
Thanks.. I know the dev who made this file.. Also tested the same while this created in multiple oreo ROMs.. it's same like we're already using Footage as a workaround.. But still we cannot send Videos on whatsapp & maybe on some other social media apps.. We need a hardware level fix.. not a Software level which we already got a long ago...
if snapchat is broken then hell no
rahul9999 said:
Thanks.. I know the dev who made this file.. Also tested the same while this created in multiple oreo ROMs.. it's same like we're already using Footage as a workaround.. But still we cannot send Videos on whatsapp & maybe on some other social media apps.. We need a hardware level fix.. not a Software level which we already got a long ago...
Click to expand...
Click to collapse
Is there a chance to solve this error without Alberto?
Benito_Steve said:
Is there a chance to solve this error without Alberto?
Click to expand...
Click to collapse
Idk but other devs are trying their best to fix it..

FIX: Crackling static noise in headphones on Custom ROMs (Mido)

Listening to music on my Redmi Note 4 (mido), I noticed a loud crackling static noise when I use my headphones on Lineage and related ROMs like Pixel Experience. It's especially noticeable when a song starts to play. I didn't get this on MIUI.
so I decided to extract the MIUI mixer files (files that manage the audio), and the noises were solved in Custom Roms
DOWNLOAD: bit.ly/2OAlXDN
- Copy all .xml files to /vendor/etc and reboot
*Improvements in music quality (removing noise in Custom ROMs)
*Better call quality
*These files are from Redmi Note 4 (Mido)
Where is the file?
J_e4n said:
Mixer files extracted from MIUI
DOWNLOAD: bit . ly/ 2Om vs9 K (remove spaces)
- Copy all .xml files to /vendor/etc and reboot
*Improvements in music quality (removing noise in Custom ROMs)
*Better call quality
*These files are from Redmi Note 4 (Mido)
Click to expand...
Click to collapse
Can't able to download from afh, would you please provide another link.
Where is link
No mirrors found for AFH
sauvik kumar said:
Can't able to download from afh, would you please provide another link.
Click to expand...
Click to collapse
Updated
aakash dabrase said:
No mirrors found for AFH
Click to expand...
Click to collapse
Updated
It Worked!!!!
Good amount of Sound Quality improvements. Crackling Sound is Just disappread...
Thanks!
Thanks mate... Worked like a charm...
Sent from my mido using XDA Labs
Wow thank you man, it's working like a charm.
Gonna give it a try
I'm going to test this out because I noticed the cracking and bad sound quality over Bluetooth in Android Pie. But I would recommend creating a Magisk module for this so it can both installed and Uninstaller easily and so many others can test it. There is a Magisk tutorial that can help you create the module if you want to do it.
Can't download from AFH, no mirrors found
abhinavotaku said:
Can't download from AFH, no mirrors found
Click to expand...
Click to collapse
There you go!
Magisk module would be great
Magisk Module
netscvngr said:
I'm going to test this out because I noticed the cracking and bad sound quality over Bluetooth in Android Pie. But I would recommend creating a Magisk module for this so it can both installed and Uninstaller easily and so many others can test it. There is a Magisk tutorial that can help you create the module if you want to do it.
Click to expand...
Click to collapse
NinadKokani said:
Magisk module would be great
Click to expand...
Click to collapse
Here you guys, magisk module for the latest magisk i.e. v17. Enjoy.
This sound mod didn't work for me, maybe because I'm on Android Pie.
I'll try to make similar mod for Pie as well.
Do hit thanks if I helped you.
AP_on_xda said:
Here you guys, magisk module for the latest magisk i.e. v17. Enjoy.
This sound mod didn't work for me, maybe because I'm on Android Pie.
I'll try to make similar mod for Pie as well.
Do hit thanks if I helped you.
Click to expand...
Click to collapse
Working on pie??
NinadKokani said:
Working on pie??
Click to expand...
Click to collapse
Read the above post
zoel.fahmi said:
Read the above post
Click to expand...
Click to collapse
But it's not stable
NinadKokani said:
But it's not stable
Click to expand...
Click to collapse
Then don't use it, the dev still develop for Android Pie

[MAGISK] [AOSP Q] Violet Dual Speaker Sound Mod

Salam and Hi,
i made this mod and its working for my Violet.
Just sharing to AOSP Q Violet users
CHECK COMMENTS, NEWER AOSP Q DUALSPEAKER FILE POSTED THERE
*If magisk didnt working, use the manual method.[ allow root access in your file manager]
paste mixer_paths_idp.xml file in root/system/vendor/etc/mixer_paths_idp.xml and Reboot.
* magisk module not working for some users. if u guys can make working magisk module , please make it and share here.
Thanks
This is the original mixer file for violet, if u guys want to remove the dual speaker mod.
Tryed on havoc os audio engine failed to load in poweramp. Also other player don't make sound like YouTube or Spotify.
Tarif.tk said:
Tryed on havoc os audio engine failed to load in poweramp. Also other player don't make sound like YouTube or Spotify.
Click to expand...
Click to collapse
i m sorry to hear that. im on PixelPlusUi, i didnt know it will cause prob in havoc. it should be the same for all aosp 10 violet. have u paste the original mixer file back? it will be fine again
ninken84 said:
i m sorry to hear that. im on PixelPlusUi, i didnt know it will cause prob in havoc. it should be the same for all aosp 10 violet. have u paste the original mixer file back? it will be fine again
Click to expand...
Click to collapse
Yes i have backed up my original one. Restore it now works. Try to fix it or need a good test. I will give you feedback again soon. Bye the way thanks. :good:
Thanks, manual method works
Not working for me on latest build of pixel experience plus rom tried to flash it 2 times but not happening for me and even after flashing this it's not showing in magisk
Both methods did not work for me. The mixer_paths_idp.xml file was indeed replaced by this one, but no difference. On Derpfest 0602 build.
CHETAN9 said:
Not working for me on latest build of pixel experience plus rom tried to flash it 2 times but not happening for me and even after flashing this it's not showing in magisk
Click to expand...
Click to collapse
yes, sometimes it doesnt working and also will not showing the module in magisk. i recommend the manual method more than flashing the module.
check this uploaded image, u need to have 96.10kb mixer_paths_idp.xml file in the file manager to make the dual speaker working
aleclim234 said:
Both methods did not work for me. The mixer_paths_idp.xml file was indeed replaced by this one, but no difference. On Derpfest 0602 build.
Click to expand...
Click to collapse
is it the latest rom? can u upload the original mixer file here please.
Not Working on PixelPlus UI
it did not worked for me PixelPlus UI latest rom. I tried both methods. I have attached original mixer file.
ninken84 said:
is it the latest rom? can u upload the original mixer file here please.
Click to expand...
Click to collapse
Here you go friend
varunangirash said:
it did not worked for me PixelPlus UI latest rom. I tried both methods. I have attached original mixer file.
Click to expand...
Click to collapse
bro, im on pixelplus ui too. its working and also you uploaded dual speaker mixer file. go check #2 comment thats the original file ive attached
aleclim234 said:
Here you go friend
Click to expand...
Click to collapse
checked it, its the same original file like mine. so the dual speaker file should be working. did u check mixer file size after rebooted? the mixer file should be 96.10kb in your root/system/vendor/etc/mixer_paths_idp.xml.
if it still didnt work, i cant help any bro. im so sorry
ninken84 said:
checked it, its the same original file like mine. so the dual speaker file should be working. did u check mixer file size after rebooted? the mixer file should be 96.10kb in your root/system/vendor/etc/mixer_paths_idp.xml.
if it still didnt work, i cant help any bro. im so sorry
Click to expand...
Click to collapse
It did not work with magisk. Replacing manually was successful. Sadly, no audio seems to be coming out of the earpiece still. Thank you for responsing tho
aleclim234 said:
It did not work with magisk. Replacing manually was successful. Sadly, no audio seems to be coming out of the earpiece still. Thank you for responsing tho
Click to expand...
Click to collapse
im sorry i cant help more bro
aleclim234 said:
It did not work with magisk. Replacing manually was successful. Sadly, no audio seems to be coming out of the earpiece still. Thank you for responsing tho
Click to expand...
Click to collapse
Use viperforfx best working on all roms with miui 12 as well as android 10. U can enjoy good quality sound in both speaker as well as earphone.
PixelPlus Ui
not working in pixelplus ui please find attached original mixer file.
thanks in advance
aleclim234 said:
It did not work with magisk. Replacing manually was successful. Sadly, no audio seems to be coming out of the earpiece still. Thank you for responsing tho
Click to expand...
Click to collapse
For everyone, please be aware that there are 2 similar paths at least in my android 10 aosp... The one working for me is root>vendor>etc
Since there is another path root>system>vendor>etc
---------- Post added at 06:26 AM ---------- Previous post was at 06:25 AM ----------
ninken84 said:
im sorry i cant help more bro
Click to expand...
Click to collapse
Thank you Deb for the file.. Is working but is kinda low, is there a way to rise the volume output 20% more?
rolear8 said:
Thank you Deb for the file.. Is working but is kinda low, is there a way to rise the volume output 20% more?
Click to expand...
Click to collapse
already put 90 for earpiece volume, max is 95. i dont want to take risk. u can try change the value to 95 if u want.
instruction
1. open the mixer file with code editor/text editor
2. use 'Find..' and type in 'earpiece'
3. change the value from 90 to 95
4. save it, reboot.
refer attached picture
https://drive.google.com/file/d/11Y-EV5H_LabDQZ0iEqv7xtY3iaHG2uCH/view?usp=drivesdk

Categories

Resources