AptX codecs on Android 10 - OnePlus 7 Pro Questions & Answers

Hi.
I've seen barely any mention of this issue.
I've tried several ROMs like Bliss, Havoc and Evolution, all of them Q.
I have an EarStudio E100 DAC which supports AptX and AptX HD, which were working perfectly well on Android 9.
I was able to select the right codec from Developer Options and the sound would be much better and SBC or AAC, but now on Android 10, there is no difference whatsoever. I can select AptX HD it does not stick and reverts back to the lowest quality codec.
Any idea on how to solve this?
EDIT:
On Reddit, from user CoolGeek71, I found out that selecting the capabilities FIRST and only after that selecting AptX HD inside Developer Options, Android will use the requested codec. So, instead of selecting AptX HD only as it was on Pie, I have to select before the "Bluetooth Audio Sample Rate" to 44.1kHz or 48kHz and "Bluetooth Audio Bits per Sample" to 24 bits. Only then, stupid Android 10 will use it.
Once again, Google making simple things harder to use.

I noticed that if I change the developer settings for Bluetooth codec it automatically changes it back to defaults after I close out of the settings.
Sent from my GM1917 using Tapatalk

This stupid problem is also present with LDAC quality settings as well. I use the Fiio BTR5.
Interestingly, Beta 8 fixed this issue. However this bug has reared its ugly head on the newest 1.0.3.1 again.

Related

Oreo - Developer Bluetooth options discussion

Hi all!
I wanted to open up a discussion about the new Oreo features for Bluetooth codecs in the developer section. I haven't been able to find a comprehensive guide or info anywhere that covers how it actually should work, and I don't believe it's working correctly - I would like to explore more with you.
I'm on a Google (carrier free) Pixel, using a fresh install of OPR6.170623.012 - which is working brilliantly by the way.
It seems to me that I can't make the settings stick, if I for example change the Bluetooth Audio Codec to aptX, or modify any of the other settings when I go back in it always reverts to the 'Use System Selection (Default)' option. I'm typically trying this with Bluetooth off, changing the setting and turning Bluetooth on. I've also tried rebooting in-between, as well as different variations. The developer toggle is set to on of course.
It may be my misunderstanding of how this works, but it even if I stay on the developers screen and change the codec, if I turn Bluetooth on and it connects to a device, for instance my in-car Bluetooth audio, which I believe supports aptX, it doesn't care what the codec setting is and displays 'Streaming: SBC', which is of course what I'd expect would be overridden.
The only thing that seems to stick is the AVRCP version. I'm wondering if the Bluetooth HCI snoop log will provide any information?
Have any of you had any experience with this, or have anything to add to the conversation?
Many thanks in advance,
OK so it seems this codec list doesn't allow you to set a 'default', it just allows for modifying the codec during playback?
What I've experienced so far is that it does work with 'Use System Selection' to use the best codec available on the device you are connected to. It also allows you to change the codec to another while streaming/playing. The sub-text under Bluetooth Audio Codec does dynamically change from SBC to AAC.
Example: My headphones support SBC and AAC, the Pixel defaults to AAC on establishing a Bluetooth connection but does allow downgrading to SBC by picking from the list (as a test).
It however doesn't retain whatever you pick in the list if bluetooth is turned off then back on, it basically always defaults to system selection, then auto-picks on every connection. Perhaps this is by design, it is developer tools after all.
I haven't been able to get this to work with aptX in my car yet with my Pixel, even though it is apparently supported?
Also of note: To achieve AAC on my Bluetooth headphones I had to put them into a 'Priority on sound quality' mode and also turn off the Bluetooth phone (i.e. call connectivity, music ONLY) on the Pixel connection to achieve AAC.
are you sure that your car supports aptx? before this developer option it was very hard to actually see the codec being used.
I believe so, the Bluetooth product states that it supports EDR and aptX, but yes, I cannot be 100% certain.
Are you suggesting it should be possible with Pixel and the Oreo build as-is?

[GUIDE][OREO][8.0]Enable custom Bluetooth audio codecs in Mi A1 Stock ROM

What is AptX?
Click here to find out
I noticed that the custom bluetooth codecs( like the aptX, aptX HD, LDAC, etc.) are not working even if we have devices that support it( like earphones, headphones, soundbars, etc.) For example, I own a Samsung Level U wireless headset, which is compatible of aptX codec, but whenever I connect it with my Mi A1, the codec in Developer options switches itself to SBC.
So, I found a workaround for it on OnePlus 3/3T Device Forum. @theduke7 has created a Magisk module which enables aptX/ aptX HD on One Plus 3. I flashed that module, and Voila! The codecs started working on my phone.
How will this help you?
AptX increases the quality of audio transmitting over bluetooth considerably. So you will be able to hear nearly lossless, CD quality audio from your device.
Just flash the below given Magisk module in Magisk 14.0+ and reboot.
For those who can't find the option,
Go to Settings >> System >> Developer Options >> Bluetooth Audio Codec
Link to the thread
Just thank @theduke7
Before posting, please check whether your wireless bluetooth device supports any of the above mentioned codecs.
Screenshots:
Doesn't works for me...
Codec stills revert to SBC every time I connect my BT headset.
It's a Driftin DBE-301BGY. But I don't know if it's apt-X or apt-X HD compatibe.
No matter wich codec I choose, always revert to SBC....
Gurx said:
Doesn't works for me...
Codec stills revert to SBC every time I connect my BT headset.
It's a Driftin DBE-301BGY. But I don't know if it's apt-X or apt-X HD compatibe.
No matter wich codec I choose, always revert to SBC....
Click to expand...
Click to collapse
Your wireless earphones are not aptX/aptX HD compatible, mate. I googled them just now.
Also, the module is sometimes unstable. It reverts back to SBC even when we choose aptX or aptX HD. A simple reboot should solve that problem. After rebooting, before connecting the wireless, go to developer options and manually select the supported codec, and then connect.
guy_infinity said:
Your wireless earphones are not aptX/aptX HD compatible, mate. I googled them just now.
Also, the module is sometimes unstable. It reverts back to SBC even when we choose aptX or aptX HD. A simple reboot should solve that problem. After rebooting, before connecting the wireless, go to developer options and manually select the supported codec, and then connect.
Click to expand...
Click to collapse
Oh, I see... Thanks!
guy_infinity said:
I noticed that the custom bluetooth codecs( like the aptX, aptX HD, LDAC, etc.) are not working even if we have devices that support it( like earphones, headphones, soundbars, etc.) For example, I own a Samsung Level U wireless headset, which is compatible of aptX codec, but whenever I connect it with my Mi A1, the codec in Developer options switches itself to SBC.
So, I found a workaround for it on OnePlus 3/3T Device Forum. @theduke7 has created a Magisk module which enables aptX/ aptX HD on One Plus 3. I flashed that module, and Voila! The codecs started working on my phone.
Just flash the below given Magisk module in Magisk 14.0+ and reboot.
For those who can't find the option,
Go to Settings>> System>> Developer Options>> Bluetooth Audio Codec
Link to the thread
Just thank @theduke7
Click to expand...
Click to collapse
can you solve earphone noise
projectkom said:
can you solve earphone noise
Click to expand...
Click to collapse
Dude, I'm not a developer. I just found out that this module works for our device, and so I posted it here, giving necessary credits.
And I don't get any noise in my earphones. Can you try a fastboot rom flash without wiping data?
Does it work on custom ROM?
On Oreo 8.0 all works fine, aptx and aptx HD.
At Oreo 8.1 (July Update) - only aptx is working. U can select aptx HD in the Developer/Audio settings, but dos not have any effect.
Any suggestions?
it only works if the xiaomi was rooted. Without root the APT doesn't work even more if you installed the drivers and modified the build.prop
What do U mean? Pls explain.
Magisk 16 Up and running....
Think ist's a 8.1 Bug, HD get -1 priority
//666kb.com/i/ dvpuaig5thf0xk7vi. Png
Cant Post Image from Cat log here - U know how toll View Pic
Roadwuzel said:
What do U mean? Pls explain.
Magisk 16 Up and running....
Think ist's a 8.1 Bug, HD get -1 priority
//666kb.com/i/ dvpuaig5thf0xk7vi. Png
Cant Post Image from Cat log here - U know how toll View Pic
Click to expand...
Click to collapse
I did it manually and I added into the build.prop located in system:
persist.bt.enableAptXHD=true
persist.service.btui.use_aptx=1
persistent.bt.a2dp_offload_cap=sbc-aptx-aptXHD
Regards.
sidbyron said:
I did it manually and I added into the build.prop located in system:
persist.bt.enableAptXHD=true
persist.service.btui.use_aptx=1
persistent.bt.a2dp_offload_cap=sbc-aptx-aptXHD
Regards.
Click to expand...
Click to collapse
This way you have to flash stock system.img before ota will work again. Just to keep in mind.
Does this work for Pie? I recently updated my MiA1 to Pie a few nights ago.
I'm trying to use this on my Sennheiser 4.5BTNC headset.
can anyone confirm whether it's working on latest Pie STOCK rom for mia1 or not? I want to install this, can anyone confirm & help me?
Xiaomi mi A1..aptx or ldac on Pie
Anyone got a guide for getting aptx or ldac working on Pie...

How to change Bluetooth Audio Bit rate, codec, Sample rate in developer option?

Hi. I use Bluetooth airbuds. recently i found in the developer option that i can change the following settings:
1. Disable Audio A2DP ( OPTIONS ARE: enable/ disable)
2. Bluetooth audio Codec (OPTIONS ARE: SBC/AAC/Qualcomm aptX HD/ Qualcomm aptX HD Adaptive Audio/ Qualcomm aptX TWS+ audio/ LHDC_V3/LHDC_V2/LHDC_V1)
3. Bluetooth audio SAMPLE rate (POTIONS ARE: 44.1kHz/48kHz/88.2kHz/96.0kHz)
4. Bluetooth audio Bits per sample (POTIONS ARE: 16/24/32 bits/sample)
5. Bluetooth Audio Channel mode (MONO/ STEREO)
6. Bluetooth Audio LDAC Codec ( 990kbps/660kbps/330kbps)
7. Bluetooth Audio LHDC ( 256Kbps/ 400kbps/ 500kbps/ 900kbps)
i want to change the settings but it doesnt. when i change the settings it changes but when i close the settings it returns to the default settings. now how to change it and make it working ? thank you for your help.
no one knows about this ? really ? :/
Same issue here
I think only supported setting for both bt tws and phone that can be applied, i've use dual codex tws (kz z1) that use ACC and sbc codec, with both codec only supported 44.1 khz sample rate and 16bits per sample.
When i select AAC/sbc then i close the setting and check it again, the codec is same at last time i selected, but when i select aptx the codec setting is revert back to AAC/SBC again.
1 year late. that cannot be changed. It depends on the compatibility of your phone and the headset.
Use (checker a2dp) apk from Google Play store. Use this link, https://play.google.com/store/apps/details?id=com.widget7.check.a2dp&hl=en ...
it worked for me, using it for years i have redmi k20 pro and used the same software in OnePlus too....
For bit per sample and audio sample rate, we can directly Change it under bluetooth codecs in
developer option as per the music file we are going to play

Lagging when connected to bluetooth speaker

MIUI Global 17.0.7 Stable (official)
I'm using JBL Charge 4 speaker (it's not JBL's problem). I don't have this problem when I connect Samsung J7 Pro (which is older, model from 2017) and other Samsung, Huawei, Apple devices... I had this problem on my older Poco F1 too.
When I play music on it, it's lagging. Every 20-30s there are lags, like "cut" for ~1 second and it's so annoying. I watched some videos about it, I saw that a lot people have same problem with different Xiaomi devices. In Developer options -> Bluetooth audio codec...whatever I pick, when I close settings, it's back to "Use system preference (Default)" even if there is a lot of other options, for example: SBC, AAC, Qualcomm® aptX™ audio, Qualcomm® aptX™ audio HD, LDAC...
Only option that I can change about Bluetooth there is Bluetooth AVRCP Version.
If someone has solution, I would be very grateful. If it's not possible to fix this on offical software, is there any Custom ROM with tested options about this problem?
Thanks in advance!

Question Ldac codec

Hi, Can i use LDAC codec with s22 ultra and Sony WF-1000XM4 ? In the developer options i can't, even if I select LDAC, it remains on AAC ? Any ideeas please ? Thanks a lot
You don't need to go to developer options. Open Bluetooth settings, find the XM4, tap the settings wheel and select LDAC codec (you need to have the headphones connected to activate this option)
That stumped me as well when I first tried activating LDAC as well on my Soundcore Liberty 3 earbuds. xsam123 is correct
Perfect, it works ! Thanks !
Hi!
If you have any other problems with LDAC, even with using developper option, don't waste you time any further.
(I've spent so much time to correct the issue in this way)
Developer solution's won't work.
And you'll not have the choice to enable LDAC in Bluetooth normal user setting
Reboot your Xiaomi with hard reset.
Everything will become clear and operational.
LDAC Choice will appear correctly again.
Best regards
Be sure HD audio is enabled as LDAC codec in the bluetooth device info, in the bluetooth connection app.

Categories

Resources