Related
with this patch you can have multichannel output over hdmi, it is based on ffmpeg to decode the multichannel sound and send it as pcm. Also Apollo can bitstream the sound file (dts/ac3 wav files, maybe flac too as multichannel pcm).
on my AVR the center is swapped with LFE, please test and let me know if is working for you.
the sourcecode is on cyanogenmod gerrit but until now is no merged so I compiled the files, this patch also contains ffmpeg 2.2.2 vs 2.1.4
01.07.2014 - updated for cm nightlies 4.4.4, still LFE bug
Regards
Thanks lucize...amaizing!!! I'll try it this weekend!
Hello, I have a Motorola atrix 2 running an unofficial version of slimkat. based on android 4.4.3, and I have two questions
1. have you fixed the swapped center/lfe channels yet?
2. did you mean cyanogenmod that is 4.4.2 based or an older version.
I'm gonna test it now, I've got backups of my system already, gonna flash it seeing that the droid 4 is the same chipset and slightly faster. I'll report back whether or not multichannel partially works, if at all.
Gizoid1337 said:
Hello, I have a Motorola atrix 2 running an unofficial version of slimkat. based on android 4.4.3, and I have two questions
1. have you fixed the swapped center/lfe channels yet?
2. did you mean cyanogenmod that is 4.4.2 based or an older version.
I'm gonna test it now, I've got backups of my system already, gonna flash it seeing that the droid 4 is the same chipset and slightly faster. I'll report back whether or not multichannel partially works, if at all.
Click to expand...
Click to collapse
is for images that already have ffmpeg in them (i made the patch small, didn't include all the files so it would be functional for earlier versions), if hdmi is working the multichannel should work, didn't had the time to investigate further about center/LFE but I think ffmpeg extractor is the fault.
I'll make a 4.4.4 patch ASAP
Regards
lucize said:
is for images that already have ffmpeg in them (i made the patch small, didn't include all the files so it would be functional for earlier versions), if hdmi is working the multichannel should work, didn't had the time to investigate further about center/LFE but I think ffmpeg extractor is the fault.
I'll make a 4.4.4 patch ASAP
Regards
Click to expand...
Click to collapse
Thanks for great work
so based on this
http://www.spinics.net/lists/linux-omap/msg108750.html
quote: " Also there is still probably something wrong with
speaker mapping of multi-channel streams."
there is hope that channel mapping will be fixed sometime in the near future.
Regards
so will this patch let me use my hdmi cable from my droid 4 to my tv running a aosp rom?
the patch isnt required
edit: cm11 m12 has working hdmi already, didnt test cm12 but im assuming it does as well
Welp since Motorola apparently can't tell left from right I now have reversed stereo in both the headphones and speakers after updating OTA to marshmallow. Looking around it seems to be a common problem. My question is, is there a no-root fix for this? Or alternately is there an easy root fix, without flashing any custom roms?
EDIT: Okay, got ya fix right here if you're rooted: go here, say thanks, rename that file to mixer_paths.xml, copy it to /system/etc & reboot.
What's the build number of yur ota ? latest MM (at least ofr xt1072) build is 24.65-34, i ask that becouse i saw a screenshoot of the retGB ota and was behind that one from the full image. Maybe it's fixed in the latest build.
Wich phone you have ? xt????/ret??, can you check under settings-info please ?
dr.nic said:
What's the build number of yur ota ? latest MM (at least ofr xt1072) build is 24.65-34, i ask that becouse i saw a screenshoot of the retGB ota and was behind that one from the full image. Maybe it's fixed in the latest build.
Wich phone you have ? xt????/ret??, can you check under settings-info please ?
Click to expand...
Click to collapse
XT1072 reteu, Polish. Same build number as in your image. You mean there's another patch out there?
Confused the system version whit the build number /facepalm, my bad, they looks the same.
Ha, no worries. I found a fix tho, check OP.
Speaker and headphones stereo reversed (fix)
In case anyone is interested, the attached file includes both the original mixer_paths.xml and another one modified by me.
The latter is based on the file mentioned in the OP and also on the file included with the Official CM13.0 for our device.
I noticed that headphones stereo channels were also reversed and this is my attempt at fixing it, as I couldn't find any alternative to the post linked in the OP.
I am using this mod for a few days and everything seems fine.
I am on a spreadtrum sc7731 SoC and running a Custom Lollipop ROM ported by me, but I am getting reversed Stereo. And there is no mixer_path.xml in etc folder. How to fix this ? ☺
On my rooted "samsung galaxy S4 active" (GT-i9295) ... I have been happy with the cm-12.1-20160822-NIGHTLY-jactivelte.zip ... until I used it for telephoning now
The microphone level is really really low. The person on the other end can hardly understand me. And the soundrecorder also has very very low volume.
There are workarounds. I have googled a lot, and found instructions how to root-edit files in /system/ - which all did not help, because one file from the workaround wasn't even existing in my device.
There seems to be another way, using STweaks, but for the above mentioned cm-12.1-... it says "Sorry, no kernel support".
So I am looking for alternatives, please help. Some ideas:
a completely different ROM than the cm-12.1-20160822-NIGHTLY-jactivelte.zip - any chance for an Android 6.0.1 anytime soon?
a different kernel which is compatible with i9295 and my (seems to be newest?) CM12.1, with which I can use STweaks or something similar
another app which allows to change the mic boost level
an instructions manual for cm12.1 which tells me which system files to edit how
your way - what else could I do?
Thanks a lot!
Try CM13.1 https://drive.google.com/drive/u/0/mobile/folders/0B7vmsLnZghSUZ0o0aEtLNUdYR1E
Hi. It's just a simple edited file, just for daily use, nothing of extra famous things. I took this file from our good device source, and modified the audio bitrate from 96Kb/s to 128Kb/s (I think it's enough for aac). Also has stereo audio only for ROMs, "which records mono audio in video recording" (should be in only audio recording too). Tested on RR Luis, and Havoc Oreo Final.
Replace this file in -
/vendor/etc (if the file is here)
/system/etc (if the file is here)
Should work for any ROM made for Redmi 4X, not tested Android Pie.
I will not point any ROM with those issue here. Just remember that this is only for them, who have mono audio (some ROM) and/or want better bitrate in audio, and nothing more.
Backup your stock file in case something goes wrong. Also you can modify it any way you want, but it's up to you only.
[October]
Few things to be noted: Dolby bug on official LOS 15.1, and all the ROMs following that vendor(Chinese fingerprint in build.prop, to easily match). SW Dolby is working fine, normal HW bugs.
You can try Magisk 16.0 for Dolby in those builds, not sure. I hope all dev should use newest vendor sources or update existing source. Also, many modules and things have issues on that vendor.
You can check Dolby again after using this file, not tested.
Believe me or not, I've reported this first in several ways, seemed like no one cares. ?
The new LOS 17.1 for the P2 is amazing. However, the old aptX-HD Mod, which worked on LOS 16 doesn't seem to work on this rom. Is there any special Mod for Android 10, that enables it?
Warning! I did not test this myself as I did not yet upgrade to LOS17!
Based on devices that support aptx I think you have to place the blobs in /system/product/lib64 (instead of /system/vendor/lib64 in LOS 16).
I'm not sure if the blob itself changed.
Source: proprietary-files.txt of other devices
I'm not allowed to post links but search for proprietary-files.txt in LOS 17 repositories of devices that support aptx.
thanks,
so far i tried to copy the old mod files (aptx-enabler.zip) to the /system/product/lib64 folder. That did not work. I will try to search the LOS 17 repositories. But i am afraid that is a little beyond my capabilities. However, if i find something i will post here.
so i spent a lot of time to get this to work. copying the old aptx binaries to the /system/product/lib64 folder did in fact enable aptx hd for my headphones. however, the bluetooth app crashes when trying to play anything. i am not able to find any binaries for android 10 (LOS 17).. i searched on github without any success. if someone could provide a source for a binary for android 10, i guess it would work.
So far i will downgrade to LOS 16
Excuse me for my question but really what is aptx hd I didn't heard about it before
Some repositories use the aptx binary from crosshatch. You should be able to find them online. Maybe they work for our phone?
@HACKIMTOSH It is a Bluetooth audio codec by Qualcomm. Both the phone and the headset need to support it.
rayvw said:
Some repositories use the aptx binary from crosshatch. You should be able to find them online. Maybe they work for our phone?
@HACKIMTOSH It is a Bluetooth audio codec by Qualcomm. Both the phone and the headset need to support it.
Click to expand...
Click to collapse
Aha now i see , thank u
P2 friend said:
so i spent a lot of time to get this to work. copying the old aptx binaries to the /system/product/lib64 folder did in fact enable aptx hd for my headphones. however, the bluetooth app crashes when trying to play anything. i am not able to find any binaries for android 10 (LOS 17).. i searched on github without any success. if someone could provide a source for a binary for android 10, i guess it would work.
So far i will downgrade to LOS 16
Click to expand...
Click to collapse
Did you find a way to make it work? I'm searching for a rom / phone that actually has aptx hd functionality over Android 10. I'm curious if you ever found a way of making it work.
Thanks.
P2 friend said:
so i spent a lot of time to get this to work. copying the old aptx binaries to the /system/product/lib64 folder did in fact enable aptx hd for my headphones. however, the bluetooth app crashes when trying to play anything. i am not able to find any binaries for android 10 (LOS 17).. i searched on github without any success. if someone could provide a source for a binary for android 10, i guess it would work.
So far i will downgrade to LOS 16
Click to expand...
Click to collapse
I have duplicated this on my P2. AptX did not work at all and AptXHD linked to the Fiio but then wouldn't play - bluetooth kept crashing. Could this be an SELinux issue? I just copied the files across to the mounted system partition but I don't know how to set SELinux context from TWRP.
I bought tws Bluetooth with aptx support
I'm on havoc 2.9 android 9 , can you plz give me guide how to enable aptx suppirt in my p2 with the download link
HACKIMTOSH said:
I bought tws Bluetooth with aptx support
I'm on havoc 2.9 android 9 , can you plz give me guide how to enable aptx suppirt in my p2 with the download link
Click to expand...
Click to collapse
On Android 9 use this: https://forum.xda-developers.com/apps/magisk/port-aptx-aptxhd-oreo-8-0-update-jan-t3731151
rayvw said:
On Android 9 use this: https://forum.xda-developers.com/apps/magisk/port-aptx-aptxhd-oreo-8-0-update-jan-t3731151
Click to expand...
Click to collapse
Is it working on pie because he said its for oreo did u tested it on pie ? Does Bluetooth crashed?
Yes, I used the flashable zip on LOS 16 without any problems. I am on LOS 17.1 currently , but haven't found a working method for Android 10 yet.
rayvw said:
Yes, I used the flashable zip on LOS 16 without any problems. I am on LOS 17.1 currently , but haven't found a working method for Android 10 yet.
Click to expand...
Click to collapse
Thanks for the help , ok I'll go with flashable zip
I managed to enable AptX on LOS 17.1 using the binaries locaties here: https://github.com/Flex1911/aptx-libs-android10
The GitHub repo is actually a Magisk module, but I installed the binaries using ADB.
Just remount de system so that you can copy the two binaries to /system/product/lib64. Then change the permissions to 644 and restart the phone. AptX is now enabled.
Please be careful when remounting your system partition!
any recommended guide to follow? or if possible detail steps!
rayvw said:
I managed to enable AptX on LOS 17.1 using the binaries locaties here: https://github.com/Flex1911/aptx-libs-android10
The GitHub repo is actually a Magisk module, but I installed the binaries using ADB.
Just remount de system so that you can copy the two binaries to /system/product/lib64. Then change the permissions to 644 and restart the phone. AptX is now enabled.
Please be careful when remounting your system partition!
Click to expand...
Click to collapse
Does los 17.1 support LDAC codec?