APT-X flashable for LOS 14.1 from dh.harald - ZTE Axon 7 Themes, Apps, and Mods

I've flashed the aptx.zip from the thread https://forum.xda-developers.com/oneplus-3/themes/mod-aptx-codec-t3521228.
As far as I can see it's working fine with my UE 9000 headset on the a2017g with official LOS 14.1.

Unfortunately the Jaybirds X3 and Blubuds that I'm using does not support APTx, but this is great addition, thanks for posting it.
Did you check the logs to see if its really working?

I can't tell if it's working. I have some TaoTronics ear buds which say they do aptX.
I can't tell if it's working based on the logs and because I listened to a song before, installed via recovery, and when I played the song again it's to late to remember what it sounded like before.

jawz101 said:
I can't tell if it's working. I have some TaoTronics ear buds which say they do aptX.
I can't tell if it's working based on the logs and because I listened to a song before, installed via recovery, and when I played the song again it's to late to remember what it sounded like before.
Click to expand...
Click to collapse
It works like a charm! Each of these log lines tell you whether you're using aptX or SBC:
aptX = I bt_btif_media: btif_a2dp_encoder_init Selected Codec aptX
SBC = I bt_btif_media: btif_a2dp_encoder_init Selected Codec SBC
If you have ARISE sound mod installed aptX is already working.

Browns said:
It works like a charm! Each of these log lines tell you whether you're using aptX or SBC:
aptX = I bt_btif_media: btif_a2dp_encoder_init Selected Codec aptX
SBC = I bt_btif_media: btif_a2dp_encoder_init Selected Codec SBC
If you have ARISE sound mod installed aptX is already working.
Click to expand...
Click to collapse
Good news. Thanks.
I did try the ARISE sound mod Aroma installer yesterday for its other audio stuff but then I removed it. All it did was put 7 apps on my phone, the Dolby ATMOS one force closed, and V4A didn't sound any different. I'm sure it works but those guys spend so much time embellishing I can't read their threads to find troubleshooting steps... or clear instructions. Obviously still teenagers.

Hi,
Sorry if this is a stupid question, but how do I obtain a log to verify aptX is working? I am using a set of LG Tone Active (HBS-A80) headset that has aptX support. Sound is phenomenal, but I can't tell if it's due to the newest LOS update or this mod as I haven't listened to them in a few days.

For me the traditional linux way worked. Open a terminal and type "dmesg |grep apt" or "dmesg |grep apt-x". But first you have to start a audio session with your headset.

tron1 said:
For me the traditional linux way worked. Open a terminal and type "dmesg |grep apt" or "dmesg |grep apt-x". But first you have to start a audio session with your headset.
Click to expand...
Click to collapse
Thanks, I ended up installing MatLog. I assume it's working.

Related

MDR-1RBT bad sound with XPERIA Z2 over BT

hi, I've recently bought a pair of SONY's MDR-1RBT Bluetooth headphones. the sound over the bundled cable is very good, but when I connect them by bluetooth, things get much worse, it's like the FLAC files I listen to get compressed to some 128 or even 64 kbps... but on my friend's xperia z3 Compact they work just fine. so here's my question. is it possible that the custom rom that I use (existenz MM latest version) causes these problems? I also use Viper so that may be the case. if you don't have any solutions, I'll flash stock and see what happens.
I've no idea what the problem could be, sorry. You may find answers over at the eXistenZ thread. Even though the ROM is no longer being updated there's still many using it.
Probably the rom has no aptX and aptX HD support.
To check:
Start catlog (or an other logcat app)
Connect you Bluetooth device
Start playing music (probably not necessary)
Pause catlog
Search for aptX
If the libraries are missing you should fine some line that says so missing libraries.
Search for bt_btif_media
If the libraries are missing there will be a line that shows: Selected Codec SBC
If there libraries are not missing but the selected codec is still SBC I don't know what is wrong.
To fixed this on LineageOS I installed the aptX (and aptxHD) codec from here:
https://forum.xda-developers.com/oneplus-3/themes/mod-aptx-codec-t3521228
I used the Magisk module, but of course for that you need Magisk.
After that I also installed the aptX-HD module from here (again the magisk moduel):
https://forum.xda-developers.com/android/software/mod-aptx-hd-bluetooth-hi-res-audio-t3501991
Now do the same logcat procedure.
If there now is aptX support you should find something like Selected Codec aptX
Good luck!
Oww was this post that old... Still hope it helps (someone).

Oreo users, Any news on aptx or LDAC?

Dear users who already decided to try Oreo roms, have you seen any settings related to Bluetooth codecs? Any signs of aptx or LDAC codecs?
Yes, seen but not tried.
Rishabh1x said:
Yes, seen but not tried.
Click to expand...
Click to collapse
Thank you. Can you report later if it's working or not?
LDAC works
mehrshad.shafaghi said:
Dear users who already decided to try Oreo roms, have you seen any settings related to Bluetooth codecs? Any signs of aptx or LDAC codecs?
Click to expand...
Click to collapse
Don't know sure about aptX as i didn't feel the difference in quality, but i can confirm that LDAC is working on Nitrogen OS (in pretty much all versions since it came out with Oreo). I am using the Sony MDR 1000X and it uses LDAC by default now, after oreo update. You can also manually change the codec from Bluetooth settings (turn LDAC on off for that audio device) or through developer settings, where you can choose the codec and even the bitrate, sampling rate etc etc. And it changes on the fly, so you can really feel the difference. LDAC is well worth it. But I've seen that on the highest quality, you need to be close to your device, else the sound can drop out sometimes.
agambhandari said:
Don't know sure about aptX as i didn't feel the difference in quality, but i can confirm that LDAC is working on Nitrogen OS (in pretty much all versions since it came out with Oreo). I am using the Sony MDR 1000X and it uses LDAC by default now, after oreo update. You can also manually change the codec from Bluetooth settings (turn LDAC on off for that audio device) or through developer settings, where you can choose the codec and even the bitrate, sampling rate etc etc. And it changes on the fly, so you can really feel the difference. LDAC is well worth it. But I've seen that on the highest quality, you need to be close to your device, else the sound can drop out sometimes.
Click to expand...
Click to collapse
Thanks for making effort and clearing things up.
LDAC is working perfectly on my OP3T with OS Beta 16.
Viper4android doesnt work though when headphones are connected with LDAC. I am using MDR-100ABN. Thye have LDAC and OP3T is streaming perfectly on that codec.
When I use my Jaybird X2s, codec switches to SBC automatically. Viper4android works on my X2s. I am not seeing AptX option in developer settings.

No sound when using LDAC

I have read the the device is support LDAC Bluetooth.
But when I change Bluetooth codec in developer setting to LDAC it got no sound. Testing with my fiio btr3 the indicator light change to white thae mean I using LDAC but got no sound.
The only codec that work is just sbc, aac and aptx.
Anyone know how to enable LDAC or just tell me that it not supported LDAC yet.
PS. When using the other codec it has worst quality than it should tho compare to my Nokia8. Why this happen?
sadin911 said:
I have read the the device is support LDAC Bluetooth.
But when I change Bluetooth codec in developer setting to LDAC it got no sound. Testing with my fiio btr3 the indicator light change to white thae mean I using LDAC but got no sound.
The only codec that work is just sbc, aac and aptx.
Anyone know how to enable LDAC or just tell me that it not supported LDAC yet.
PS. When using the other codec it has worst quality than it should tho compare to my Nokia8. Why this happen?
Click to expand...
Click to collapse
Bluetooth speaker/device should support also LDAC. Not only the Smartphone that have a LDAC capability
philipjan26 said:
Bluetooth speaker/device should support also LDAC. Not only the Smartphone that have a LDAC capability
Click to expand...
Click to collapse
i have the same issue. I have Sony wh-1000xm3 headphones. When i switched the LDAC codec. Sound just gone. Is anyone found a solution for this?
I search for it and found the samsung s9 s8 etc. phones have similar kind of problem. They have a solution for this. They just turn off the "dual audio" feature. But i cant find that setting in A3.
kaelthasxx said:
i have the same issue. I have Sony wh-1000xm3 headphones. When i switched the LDAC codec. Sound just gone. Is anyone found a solution for this?
I search for it and found the samsung s9 s8 etc. phones have similar kind of problem. They have a solution for this. They just turn off the "dual audio" feature. But i cant find that setting in A3.
Click to expand...
Click to collapse
Same thing, @kaelthasxx. I'm also trying to setup my wh1000xm3 with the Mi A3 and there's just no way of making ldac work. Not to mention that using aptx gets me an awful quality. If I run a frequency response test I get a lot of crackling at frequencies around 17-20khz with aptx.
The best quality I managed to get out of this setup was using sbc, which is a shame since the headphones support all the way up to ldac.
I think this is some issue with the OS (I'm using the phone's native Android One), since in theory the BT soc of this phone should support these technologies. Hope they fix it for Android 10.
I had install custom rom and it work just fine. Can't wait for official release tho
Sent from my MI A3 using Tapatalk
sadin911 said:
I had install custom rom and it work just fine. Can't wait for official release tho
Sent from my MI A3 using Tapatalk
Click to expand...
Click to collapse
What ROM are you using? The official one doesn't even support aptx properly (I get a lot of distortion using it with Sony's WH-1000xm3). Not sure if I should flash a custom ROM or pray for a fix in Android 10.
Anyone have a solution for this, just got some Sony Bluetooth cans for xmas and bow have same issue...
Is it confirmed fixed in Android 10 (ie a month or so factory fix all going well) or should I just go custom rom and fix it now (although the whole reason I went a3 was to get a stock Android device)
If I was to go rom route what's the suggested rom? I'm assuming a3 and a3 lite use the same base rom package?
Thanks to all in advance
G.
does anyone know if this problem has been solved with android 10?
sitolupion said:
does anyone know if this problem has been solved with android 10?
Click to expand...
Click to collapse
I can't confirm for LDAC, but AAC doesn't work, it always revert to sbc. For now is better to try a custom as bluetooth codecs never worked for me.
here you go! was also waiting for long months to access any better then SBC...
A3 with A10 stock, April version + Sony XM3, latest app version
--> AptX is on!
checked developer settings and this confirms. AptX is shown on (its not AptX HD by the way). trying to select any better eg LDAC wont stick when return from setting, also no codec effect.
at least something... good luck guys!
No
sitolupion said:
does anyone know if this problem has been solved with android 10?
Click to expand...
Click to collapse
No
Any update on this? How does the phone do with the latest firmwares?
(I plan to get Sony headphones)
Mi A3 with Android 11 here. No LDAC option, best is aptX but the WH-1000-XM4 dont support it so... best codec is AAC.

Poor bluetooth audio quality

Hey guys,
I have connected my A3 to a roidmi in my car and i have noticed there's a very poor audio quality over a blurtooth. I have also checked it with a stereo in my living room. Does anyone else got a same problem? How to get over it?
jedrzej03 said:
Hey guys,
I have connected my A3 to a roidmi in my car and i have noticed there's a very poor audio quality over a blurtooth. I have also checked it with a stereo in my living room. Does anyone else got a same problem? How to get over it?
Click to expand...
Click to collapse
Ya i do have this problem, its a bug that hasn't been fixed yet. Turn volume down by 3 steps and you will be fine.
just enable developer options and set it to the highest quality, by default it is using the lowest bandwidth with the lowest quality
There is an even more serious bug with this phone and Bluetooth : if you get a call while streaming audio to a Bluetooth headset, music stops as expected, but then playback fails after the call has been ended. You need to reboot in most cases in order to get back music playback.
Tested with several Jabra and Plantronics headsets and different music players.
stopa10 said:
There is an even serious bug with this phone and Bluetooth : if you get a call while streaming audio to a Bluetooth headset, music stops as expected, but then playback fails after the call has been ended. You need to reboot in most cases in order to get back music playback.
Tested with several Jabra and Plantronics headsets and different music players.
Click to expand...
Click to collapse
Works fine for me. Try get a log of the issue to see if something can be diagnosed
Harakiri23 said:
just enable developer options and set it to the highest quality, by default it is using the lowest bandwidth with the lowest quality
Click to expand...
Click to collapse
Are you sure it's actually doing this? Because when I switch Bluetooth to using another codec or higher quality, then hit back button, then go back into dev options, all the settings are back to default, so I don't think it actually does anything. I have a Bose qc 35, which is supposed to support aac.
stopa10 said:
There is an even serious bug with this phone and Bluetooth : if you get a call while streaming audio to a Bluetooth headset, music stops as expected, but then playback fails after the call has been ended. You need to reboot in most cases in order to get back music playback.
Tested with several Jabra and Plantronics headsets and different music players.
Click to expand...
Click to collapse
It happens with me too
jedrzej03 said:
Hey guys,
I have connected my A3 to a roidmi in my car and i have noticed there's a very poor audio quality over a blurtooth. I have also checked it with a stereo in my living room. Does anyone else got a same problem? How to get over it?
Click to expand...
Click to collapse
Try this Magisk module and increase the bitrate of SBC codec. You might need to experiment a little to find the best value for your setup. Start at the max (or just use the recommended value) and gradually decrease until it's stable. High bit rate SBC can have higher quality than APT-X (HD) - you will need to disable "HD Audio" in Bluetooth device setting to force usage of SBC.
I was using it with Mi A1, but haven't tried with A3 yet.
https://github.com/Magisk-Modules-Repo/gjf_bt
Btw. changing BT codec in developer settings never worked for me, not sure what's the purpose of it
Same problem for me. My bluetooth headset sucks at this device. I hope we can find an easy solution immediately
_mysiak_ said:
Try this Magisk module and increase the bitrate of SBC codec. You might need to experiment a little to find the best value for your setup. Start at the max (or just use the recommended value) and gradually decrease until it's stable. High bit rate SBC can have higher quality than APT-X (HD) - you will need to disable "HD Audio" in Bluetooth device setting to force usage of SBC.
I was using it with Mi A1, but haven't tried with A3 yet.
https://github.com/Magisk-Modules-Repo/gjf_bt
Btw. changing BT codec in developer settings never worked for me, not sure what's the purpose of it
Click to expand...
Click to collapse
Its not the bitrate, it happened with me many times before so i can tell, phone boosts the volume past max for some reason which causes distortion, reducing volume fixes the issue
_mysiak_ said:
Try this Magisk module and increase the bitrate of SBC codec. You might need to experiment a little to find the best value for your setup. Start at the max (or just use the recommended value) and gradually decrease until it's stable. High bit rate SBC can have higher quality than APT-X (HD) - you will need to disable "HD Audio" in Bluetooth device setting to force usage of SBC.
I was using it with Mi A1, but haven't tried with A3 yet.
https://github.com/Magisk-Modules-Repo/gjf_bt
Btw. changing BT codec in developer settings never worked for me, not sure what's the purpose of it
Click to expand...
Click to collapse
I'm trying this module. I turned on Bluetooth snoop logging to see if I can see what bitrate I'm actually getting connected with. There is text .log file enough which is only few bytes and a larger binary file with
cfa extension. You don't happen to know what format this is, do you?
barth2 said:
I'm trying this module. I turned on Bluetooth snoop logging to see if I can see what bitrate I'm actually getting connected with. There is text .log file enough which is only few bytes and a larger binary file with
cfa extension. You don't happen to know what format this is, do you?
Click to expand...
Click to collapse
CFA is a binary btsnoop file containing all the packets related to BT connection. It should be possible to open it on a PC in Wireshark. I couldn't find a way to open it on Android directly.
_mysiak_ said:
Try this Magisk module and increase the bitrate of SBC codec. You might need to experiment a little to find the best value for your setup. Start at the max (or just use the recommended value) and gradually decrease until it's stable. High bit rate SBC can have higher quality than APT-X (HD) - you will need to disable "HD Audio" in Bluetooth device setting to force usage of SBC.
I was using it with Mi A1, but haven't tried with A3 yet.
https://github.com/Magisk-Modules-Repo/gjf_bt
Btw. changing BT codec in developer settings never worked for me, not sure what's the purpose of it
Click to expand...
Click to collapse
In my case (JBL Free X), this is not an solution, it's only quite better, when i set bitrate higher than 574
I think I have found solution for this problem. I have installed miui 11 on my mi a3. Then I have installed magisk and gjf_bt module. Noises no more. For some reason this module doesn't works on stock rom
stopa10 said:
There is an even more serious bug with this phone and Bluetooth : if you get a call while streaming audio to a Bluetooth headset, music stops as expected, but then playback fails after the call has been ended. You need to reboot in most cases in order to get back music playback.
Tested with several Jabra and Plantronics headsets and different music players.
Click to expand...
Click to collapse
I have the same problem... after a factory reset it worked for a week ... now the problem returned ... did anyone find a solution?

Question Does this device do apt-x?

I am almost ready to pull the trigger on buying this phone but just wanted to be sure of the audio options first.
If I pair my BT headphones and go into developer options then I can set the Bluetooth codec to aptx. Does this mean that the phone supports this? I have seen reports that aptx is not available on Samsungs but this seems to contradict that.
If I have to go into dev options and enable it myself - that is fine.
abaranov said:
I am almost ready to pull the trigger on buying this phone but just wanted to be sure of the audio options first.
If I pair my BT headphones and go into developer options then I can set the Bluetooth codec to aptx. Does this mean that the phone supports this? I have seen reports that aptx is not available on Samsungs but this seems to contradict that.
If I have to go into dev options and enable it myself - that is fine.
Click to expand...
Click to collapse
In the dev settings, there are these options:
SBC (active for me)
AAC
aptX
LDAC
Scalable Codec
But I'm not sure if aptx works. I'm using SBC with the Buds+
abaranov said:
I am almost ready to pull the trigger on buying this phone but just wanted to be sure of the audio options first.
If I pair my BT headphones and go into developer options then I can set the Bluetooth codec to aptx. Does this mean that the phone supports this? I have seen reports that aptx is not available on Samsungs but this seems to contradict that.
If I have to go into dev options and enable it myself - that is fine.
Click to expand...
Click to collapse
I tried it with my Haylou GT1 Xr that supports aptX recently and it worked just fine. Looked under dev settings and aptX was showing as currently used codec. You should be fine.

Categories

Resources