Bluetooth no media audio sound AAC, SBC codec -Redmi Note 5 Global 9.5.6.0 & 9.5.13.0 - Xiaomi Redmi Note 5 Pro Questions & Answers

Bluetooth no media audio sound AAC, SBC codec -Redmi Note 5 Global 9.5.6.0 & 9.5.13.0
Redmi Note 5 Global 9.5.6.0 & 9.5.13.0 ROMS:
The media player plays the song, but there is no audio sound when I connect via Bluetooth the Redmi Note 5 phone to my Kenwood KMM-BT304 car headunit (Kenwood 2018 modell year, supoorts AAC and SBC codecs).
The car radio works fine with Redmi Note 5A, Samsung Galaxy S7, etc.
At the developer options AAC is the default codec.
If I manually change it to SBC, then works perfect.
But at the next time, when I connect to the car radio, there will be no media audio sound again... I have to set manually the SBC codec.
Is there any media patch what fixs this problem?

I have the same issue where no sound comes through my bluetooth headset on my RN5P Global 4/64, running AOSP Extended v5.5 Oreo 8.1.0, hope there is a fix for this soon Also haven't tried changing the audio codec, will try now
---------- Post added at 03:00 AM ---------- Previous post was at 02:07 AM ----------
Seems changing the codec etc doesn't help for me

absulutebeginner said:
Redmi Note 5 Global 9.5.6.0 & 9.5.13.0 ROMS:
The media player plays the song, but there is no audio sound when I connect via Bluetooth the Redmi Note 5 phone to my Kenwood KMM-BT304 car headunit (Kenwood 2018 modell year, supoorts AAC and SBC codecs).
The car radio works fine with Redmi Note 5A, Samsung Galaxy S7, etc.
At the developer options AAC is the default codec.
If I manually change it to SBC, then works perfect.
But at the next time, when I connect to the car radio, there will be no media audio sound again... I have to set manually the SBC codec.
Is there any media patch what fixs this problem?
Click to expand...
Click to collapse
what codec does the redmi note 5a and s7 use when you connect it with your kenwood?

devcon69 said:
what codec does the redmi note 5a and s7 use when you connect it with your kenwood?
Click to expand...
Click to collapse
Samsung Galaxy S7 Edge -Android 7.1 - bluetooth media audio works fine
Redmi Note 5A - Android 7.1 (MIUI 9.5.9.0) - bluetooth media audio works fine
Redmi Note 5 Global with Andorid 7.1 based ROM (MIUI 9.2.13.0) - bluetooth media audio works fine
Redmi Note 5 Global with Andorid 8.1 based ROMs (MIUI 9.5.6.0 & 9.5.13.0) - no media audio
Unfortunately in the Nougat based ROMS gives no information about the used codecs, in the developer options.
At the 8.1 based 9.5.13.0 ROM the media audios works temporary (until next BT connection restart) if I "Disable optional codes" (Developoer options / Bluetooth audio codec).

devcon69 said:
what codec does the redmi note 5a and s7 use when you connect it with your kenwood?
Click to expand...
Click to collapse
Mi6 and Pioneer car radio with bluetooth problem:
https://forum.xda-developers.com/mi-6/help/miui-9-5-3-0-bluetooth-audio-codec-t3774888
They says the codecs order is the problem, but I cant fix it, because in my build.prof there is no such a line:
persist.bt.a2dp_offload_cap=sbc-aptx-aptxhd-aac

absulutebeginner said:
Mi6 and Pioneer car radio with bluetooth problem:
https://forum.xda-developers.com/mi-6/help/miui-9-5-3-0-bluetooth-audio-codec-t3774888
They says the codecs order is the problem, but I cant fix it, because in my build.prof there is no such a line:
persist.bt.a2dp_offload_cap=sbc-aptx-aptxhd-aac
Click to expand...
Click to collapse
then add the line.

absulutebeginner said:
Samsung Galaxy S7 Edge -Android 7.1 - bluetooth media audio works fine
Redmi Note 5A - Android 7.1 (MIUI 9.5.9.0) - bluetooth media audio works fine
Redmi Note 5 Global with Andorid 7.1 based ROM (MIUI 9.2.13.0) - bluetooth media audio works fine
Redmi Note 5 Global with Andorid 8.1 based ROMs (MIUI 9.5.6.0 & 9.5.13.0) - no media audio
Unfortunately in the Nougat based ROMS gives no information about the used codecs, in the developer options.
At the 8.1 based 9.5.13.0 ROM the media audios works temporary (until next BT connection restart) if I "Disable optional codes" (Developoer options / Bluetooth audio codec).
Click to expand...
Click to collapse
---------- Post added at 03:09 AM ---------- Previous post was at 03:00 AM ----------
absulutebeginner said:
Mi6 and Pioneer car radio with bluetooth problem:
https://forum.xda-developers.com/mi-6/help/miui-9-5-3-0-bluetooth-audio-codec-t3774888
They says the codecs order is the problem, but I cant fix it, because in my build.prof there is no such a line:
persist.bt.a2dp_offload_cap=sbc-aptx-aptxhd-aac
Click to expand...
Click to collapse
This is present on build.prop located on vendor partition
persist.vendor.bt.a2dp_offload_cap=sbc-aac

Unfortunately doesn't help this lines in build.prof:
persist.bt.a2dp_offload_cap=sbc-aptx-aptxhd-aac
or
persist.vendor.bt.a2dp_offload_cap=sbc-aac
The Bluetooth media audio problem still present in the new 8.6.14. MIUI10 ROM.

added screenshot from MIUI 10 global beta
MIUI 10 global beta exposes all codecs under Developer options.
I am, however, unable to set my streaming codec to AAC when using allegedly AAC-supporting bluetooth headphones: https://www.soundcore.com/products/variant/spirit-x/A3451011
I can change the setting to AAC but it automatically switches to SBC 48 KHz when I start playing music. I'd need to check with other headphones to see if it's Xiaomi or Anker that's bamboozling me.

sagematt said:
MIUI 10 global beta exposes all codecs under Developer options.
I am, however, unable to set my streaming codec to AAC when using allegedly AAC-supporting bluetooth headphones: https://www.soundcore.com/products/variant/spirit-x/A3451011
I can change the setting to AAC but it automatically switches to SBC 48 KHz when I start playing music. I'd need to check with other headphones to see if it's Xiaomi or Anker that's bamboozling me.
Click to expand...
Click to collapse
It doesn't help us. In MIUI 10 there is no bluetooth changes.
https://xiaomi.eu/community/threads...-alpine-jvc-kenwood-pioneer-car-radios.44546/
https://forum.xda-developers.com/mi-6/help/miui-9-5-3-0-bluetooth-audio-codec-t3774888
tpaulussen xda user wrote:
I want to use my Mi6 on my car radio (Pioneer MVH-S300BT) by connecting via bluetooth. The connection is successful, but the bluetooth audio codec that the phone selects by default (AAC) doesn't give a sound. It only works when I go into the developer options and select the SBC codec by hand. This is annoying, since I need to follow all the steps everytime I want to connect both devices (it always starts the default AAC). I was wonderig if it is possibe to change some setting so the phone stays perminentsly on the SBC instead of going back to the AAC codec with every new connection?
I found this on a forum about changing the priority use of bluetooth audio codec, and ik comes close to what I am looking for:
Devices running Android 8.0 that support A2DP automatically gain the additional codec support. Device manufacturers may need to obtain separate licenses and binary blobs for some proprietary audio codecs. In addition to SBC, Android 8.0 supports the following codecs:
AAC
aptX
aptX HD
LDAC
Device manufacturers can choose which codecs their devices attempt to use first. Set the codec priorities by changing the following values in the file res/values/config.xml:
<!-- Configuring priorities of A2DP source codecs. Larger value means
higher priority. Value -1 means the codec is disabled.
Value 0 is reserved and should not be used here. Enabled codecs
should have priorities in the interval [1, 999999], and each
priority value should be unique. -->
<integer name="a2dp_source_codec_priority_sbc">1001</integer>
<integer name="a2dp_source_codec_priority_aac">2001</integer>
<integer name="a2dp_source_codec_priority_aptx">3001</integer>
<integer name="a2dp_source_codec_priority_aptx_hd">4001</integer>
<integer name="a2dp_source_codec_priority_ldac">5001</integer>
However, I could not apply this option since I was unable to find the file having these settings.
Therefore I hope someone here on the forum can help me finding the solution

absulutebeginner said:
It doesn't help us. In MIUI 10 there is no bluetooth changes.
https://xiaomi.eu/community/threads...-alpine-jvc-kenwood-pioneer-car-radios.44546/
https://forum.xda-developers.com/mi-6/help/miui-9-5-3-0-bluetooth-audio-codec-t3774888
tpaulussen xda user wrote:
I want to use my Mi6 on my car radio (Pioneer MVH-S300BT) by connecting via bluetooth. The connection is successful, but the bluetooth audio codec that the phone selects by default (AAC) doesn't give a sound. It only works when I go into the developer options and select the SBC codec by hand. This is annoying, since I need to follow all the steps everytime I want to connect both devices (it always starts the default AAC). I was wonderig if it is possibe to change some setting so the phone stays perminentsly on the SBC instead of going back to the AAC codec with every new connection?
I found this on a forum about changing the priority use of bluetooth audio codec, and ik comes close to what I am looking for:
Devices running Android 8.0 that support A2DP automatically gain the additional codec support. Device manufacturers may need to obtain separate licenses and binary blobs for some proprietary audio codecs. In addition to SBC, Android 8.0 supports the following codecs:
AAC
aptX
aptX HD
LDAC
Device manufacturers can choose which codecs their devices attempt to use first. Set the codec priorities by changing the following values in the file res/values/config.xml:
<!-- Configuring priorities of A2DP source codecs. Larger value means
higher priority. Value -1 means the codec is disabled.
Value 0 is reserved and should not be used here. Enabled codecs
should have priorities in the interval [1, 999999], and each
priority value should be unique. -->
<integer name="a2dp_source_codec_priority_sbc">1001</integer>
<integer name="a2dp_source_codec_priority_aac">2001</integer>
<integer name="a2dp_source_codec_priority_aptx">3001</integer>
<integer name="a2dp_source_codec_priority_aptx_hd">4001</integer>
<integer name="a2dp_source_codec_priority_ldac">5001</integer>
However, I could not apply this option since I was unable to find the file having these settings.
Therefore I hope someone here on the forum can help me finding the solution
Click to expand...
Click to collapse
Try using Soundabout or Mono mono-BT mono router from playstore.

Hi,
I have the same issue but these app not working with oreo.
Thanks.

devcon69 said:
Try using Soundabout or Mono mono-BT mono router from playstore.
Click to expand...
Click to collapse
Soundabout app: crash, doesn't start the app on MIUI 9.5.13.0
Mono-mono app: we would like to use stereo media audio sound (for example: listen stereo music via BT)

absulutebeginner said:
Soundabout app: crash, doesn't start the app on MIUI 9.5.13.0
Mono-mono app: we would like to use stereo media audio sound (for example: listen stereo music via BT)
Click to expand...
Click to collapse
+1

absulutebeginner said:
Redmi Note 5 Global 9.5.6.0 & 9.5.13.0 ROMS:
The media player plays the song, but there is no audio sound when I connect via Bluetooth the Redmi Note 5 phone to my Kenwood KMM-BT304 car headunit (Kenwood 2018 modell year, supoorts AAC and SBC codecs).
The car radio works fine with Redmi Note 5A, Samsung Galaxy S7, etc.
At the developer options AAC is the default codec.
If I manually change it to SBC, then works perfect.
But at the next time, when I connect to the car radio, there will be no media audio sound again... I have to set manually the SBC codec.
Is there any media patch what fixs this problem?
Click to expand...
Click to collapse
On my RN5 Pro with 9.5.13.0 rom am able to play music and calls on my Harman car infotainment without any problems.

I'm running into the same problem with a Kenwood DPX303 unit. Track information comes through, but no audio. Global model, firmware v9.5.17.0.

Same problem here on a Kenwood dpx 7000DAB.
Other phones zich as Motorola no problem.
Redmi note 5 global.

Maybe sismilar problem, bluetooth audio stuttering with my embedded Golf VII Bluetooth audio sound system.
I reported the bug on the MI website, you can confirm it if you have the same problem.
http://en.miui.com/thread-3230620-1-1.html
Tom.

I have no problem with various of Bluetooth headset, headphone, earphone and speaker. All play the sound properly and use SBC codec by default. It seems this is bug from Oreo itself. I remember someone ask the similar things in Automagic forum, and I just realize it now. I have flash RR 6.1. But the codec also reseted to default when we exit the developer option, same as in MIUI.
It seems there is no viable solution currently. I would use workaround if I encounter this problem. You will need automation app, which detect bluetooth connected event to certain device. Launch the developer option and use accessibility to scroll and change that codec option back to sbc. I prooftest the concept in Automagic, but you can use tasker + autoinput or other Automation app which support accessibility to do it. But yeah, it is too hassle for most users here, as not everyone use automation app.

Yeah you're right. However in my case I already tried a lot a tricks like change codec and so on. But at the end of the day nothing works better...
I'm very disappointed...

Related

Bluetooth "HD Audio: AAC" doesn't work?

On my 6.1 plus running android Pie, connecting my bluetooth headphones that supports AAC doesn't seem to work.
In the bluetooth device options, the HD Audio: AAC is shown and enabled after the initial pairing, but disappears after reconnecting.
In addition, the codec in use as shown in developer options shows SBC and refuses to change to AAC.
And poweramp also says it's using SBC.
I know my bluetooth headphones do support AAC because on another device, that was the codec in use.
Is anyone else having this issue?
Android 9 Pie
ruifung said:
On my 6.1 plus running android Pie, connecting my bluetooth headphones that supports AAC doesn't seem to work.
In the bluetooth device options, the HD Audio: AAC is shown and enabled after the initial pairing, but disappears after reconnecting.
In addition, the codec in use as shown in developer options shows SBC and refuses to change to AAC.
And poweramp also says it's using SBC.
I know my bluetooth headphones do support AAC because on another device, that was the codec in use.
Is anyone else having this issue?
Click to expand...
Click to collapse
On my Moto X4 also have this same problem after upgrading to Android 9
I tried with my Nokia 6.1, it connects and keep the connection as AAC with a Sony XB40 and a Pioneer NEX5200, at every connection. However the Sony supports LDAC, and even if the ldac libraries are on the phone, it only uses AAC
Bluetooth on pie is 100% f**ked. Google broke it after the first beta release. It affects all devices, including their flagship pixel line.
Flash an 8.1 rom or get an iPhone. That's your options unfortunately.

Xiaomi Mi A2 Lite Bluetooth Headset with APT-X HD or LDAC Codecs Pairing

Hi,
I have a Bagotte Stereo Bluetooth Headset, which works in Stereo Mode in Music Listening only mode in good quality...
See:
https://amzn.to/2V8bAdg
which claims to have a HD Microphone and supports Apt-X Codecs...
But now I wanted to try to change the Audio codecs to see, what are the best sounding Audio Codecs...
So I found this Android app:
https://play.google.com/store/apps/details?id=com.wikimediacom.aptx.checker
the Apt-X checker,
but after watching this video, which shows, how to change the audio codecs in the phone:
https://www.youtube.com/watch?v=zVK4UIHOEGE
And I can also change this in my phone....
But the Apt-X checker APP does not detect, when I have enabled the Apt-X codecs...
And I also hear no difference....
Also this app has bad review and saying it is a bogus App.... Hmm....
So how can I enable these codecs and test them out the best way with this headset ?
Are there any better Bluetooth testing Apps, that really tell me the used codecs and its settings ?
Or how can I find this out ?
Many thanks.
Regards, Stefan.
Xiaomi provides poor codecs support. Right now, Mi A2 Lite is using SBC codec only, while on Oreo we at least have had access to AAC too.
ShadyTurtle334 said:
Xiaomi provides poor codecs support. Right now, Mi A2 Lite is using SBC codec only, while on Oreo we at least have had access to AAC too.
Click to expand...
Click to collapse
Many thanks for these infos.
I just installed a good Audio player today and then went into the Developer mode setup and set the Bluetooth Audio codecs to Apt-X 48 Khz and 32 Bit
and then started the player. but after each stop it switched back to SBC 16 Bits 44 Khz....
So no luck with switching the Bluetooth Headset to APT-X, which my headset supports... Damn..
Also my BT Headset supports under Skype only 8 KHz sampling rate... I really can hear the difference between it and and normal
wired headset when I call the the test-echo Service of Skype... with the wired Microphone it is much clearer, than with the Narrowband
SBC codec with my Bagotte BT Headset...
So is there any other solution to get the headset to work with a Wideband Codec also in Skype and other Audio applications like Audio recorders,
which at least use a sampling frequency of 16 or better 44 or 48 KHz via Bluetooth ?
https://forum.xda-developers.com/mi-a2-lite/how-to/basic-aptx-bluetooth-audio-pie-t3891715
So, if you install Magisk on Andoid 9 Pie you will get ALL the Bluetooth codecs to work or what ??
I already considder installing a custom ROM , which does fully support the Wideband codecs under Skype Audio calls and other audio applications..
I would like my BT Stereo Headphone with APT-X to work with Skype with Wideband codec and also use my BT Headset for
Audio recordings with at least 44 or 48 Khz sampling frequency and not just the 8 Khz Mono SBC Codec that is really crappy....
Which custom Rom does this allow on the Mi-A2 Lite ?
How about the Lineage OS versions or MUI versions ?
Many thanks.
Regards. Stefan.

LDAC codec not working after update Samsung S9+ to Android Pie

After update Samsung Galaxy S9+ to Pie, LDAC codec not working..When i try to play music on the phone or yotube the aplication not working..If i select SBC codec everything it's ok...i try this with my wife phone(S9+) and the same problem..the phone is pairing with a HiBy R3 player with support LDAC codec and it works before update the phone to Android Pie..please sugestion..thanks
Table74 said:
After update Samsung Galaxy S9+ to Pie, LDAC codec not working..When i try to play music on the phone or yotube the aplication not working..If i select SBC codec everything it's ok...i try this with my wife phone(S9+) and the same problem..the phone is pairing with a HiBy R3 player with support LDAC codec and it works before update the phone to Android Pie..please sugestion..thanks
Click to expand...
Click to collapse
This is the same issue I have described below "Bluetooth with SBC only?". It looks we have just to wait until/if they sort out the issue in a new Android patch.
Wanted to report that I'm having the same issue however it at least only drops down to aptX.
Posting here since I found this thread by googling and it doesn't have a clear answer.
They added an LDAC Toggle on the device page in bluetooth settings, you have to make sure that's toggled on, then your phone should negotiate an LDAC connection with your headphones (or in my case a Radsone EarStudio)

Androdi Pie and BT problems

Hi everyone!
When connect my phone to car radio pioneer mvh-s300bt via Bluetooth phone set automatically sbc codec. I have latest radio firmware, so AAC worked correctly on android 8.1. After update to 9.0 work only with SBC. When i try change it in developer options, setting are constantly return to SBC codec. I feel different between this codec and it is little annoying for my ears.
Please, help how can i fix it.
Of course, xiaomi developers doesn't read any notification from users, so i must do it on one's own.
Thanks for help.
No solution so far, afaik.
Facing the same problem, Mercedes 2019 and Volvo 2019 both default to SBC.
YouTube is out of sync when streaming via A2DP, video is lagging, audio working fine.
Stock MIUI 8.1 was even worse, playback was slow and distorted.

Audio Codec Settings

Does anybody know how to get the audio codecs to change from sbc to any other setting and have them stick?no matter what I do it reverts back to sbc.
The device say if you are using a bluetooth headset should support other codecs like aptx, LDAC etc.,
I use Sony XB series bluetooth headphone, the audio codec in developer options sticks to LDAC only if I choose the headphones connection for quality in the Sony app.....else by default it reverts to SBC.
JAMRZ69 said:
Does anybody know how to get the audio codecs to change from sbc to any other setting and have them stick?no matter what I do it reverts back to sbc.
Click to expand...
Click to collapse
It will revert to SBC when nothing is connected. It will switch as soon as you connect an audio device. When I connect my Bluedio Victory, it switches to APTX on it´s own. The same applies to my car (also APTX) and to Galaxy Buds+ which use the Samsung Scalable Codec.
There's a setting within Developer mode to switch which codec to use
buddy66 said:
It will revert to SBC when nothing is connected. It will switch as soon as you connect an audio device. When I connect my Bluedio Victory, it switches to APTX on it´s own. The same applies to my car (also APTX) and to Galaxy Buds+ which use the Samsung Scalable Codec.
Click to expand...
Click to collapse
I had 2 harmon kardon Onyx 3 Bluetooth speakers connected and no matter what I did it switched back to sbc tried every codec nothing stuck,I would change it and as soon as I brought up the section in developer options it was back to sbc.
JAMRZ69 said:
I had 2 harmon kardon Onyx 3 Bluetooth speakers connected and no matter what I did it switched back to sbc tried every codec nothing stuck,I would change it and as soon as I brought up the section in developer options it was back to sbc.
Click to expand...
Click to collapse
It seems that the Harman/Kardon Onyx 3 does not support any other codec than SBC. The phone won´t let you change the codec and revert back to SBC if the speaker does not support it.
Well Thank you for that information I did not know that.

Categories

Resources