Bluetooth Issues on LineageOS 15.1 (on hero2lte) - LineageOS Questions & Answers

I have installed LineageOS 15.1 on Samsung S7 Edge (hero2lte) some time ago, today I encountered an issue with the bluetooth.
The problem is that the phone connects with the bluetooth device (bluetooth headphones, that are perfectly working on other smartphones), media sound is working, but in-call sound is completely garbled or muted on both ends.
I tried every common and possible solution (network settings reset, battery optimization on bluetotth apps, rebooted in safe mode (in wich the audio from the mic is present, but totally garbled), used bluetooth with wifi off, deleted cache and data of the bluetooth app, ecc...
Here on XDA I found what it can be a solution: in the topic https://forum.xda-developers.com/lineage/general/kb-article-troubleshooting-bluetooth-t3646969 the section 3b says:
"3b) Description: Garbled /mute incall sounds (Universal HAL)
Background: Unlike the klte, many Exynos devices have a shared audio HAL that supports 16k WBS however there was a small misuse of the sample rate constant resulting in garbled sound.
The usage of audio_hal.force_voice_config = (wide or narrow) is usually not required (add if needed)
If the fix from 3a has been applied or was previously set, remove any definitions of SCO_WBS_SAMPLERATE in the vendor config.
Fix: https://review.lineageos.org/#/c/182054/
Right now this in in testing. We are looking for more affected devices that are using android_hardware_samsung as audio HAL.
Update: See the detailed list of possible affected devices below, as far as I see all of them have not yet enabled WBS yet."
Wich directs to these fix https://review.lineageos.org/#/c/177996/ and https://review.lineageos.org/#/c/178371/
But how to apply them on my device?

Related

Bluetooth visibility automatically switched off

Hi. I've playing for several days with my new trinity and have installed AX3L 2.0.7.0. So far i'm pretty happy with it, apart from a couple of problems:
I cannot get wireless stereo to work. I can connect the pda to my car's stereo, it identifies the HTC as a bluetooth audio device but after a few seconds, it disconnects. If I start playing something while in Wireless Stereo connection, it plays it through the pda's internal speaker.
I can't figure out how to leave Bluetooth's "Make this device visible to other devices" on. I have switched it on a dozen times and a dozen times it has been disabled. I'm not sure if it is disabled whenever I turn bluetooth off or after a certain amount of time. The fact is that it becomes disabled.
I think my last problem has already been covered here, MMS. I've seen a couple of notifications about a MMS being downloaded but there's no MMS in the inbox, i guess there's something blocking it, but that's what worries me least.
Great job, AX3L!
javierin79 said:
Hi. I've playing for several days with my new trinity and have installed AX3L 2.0.7.0. So far i'm pretty happy with it, apart from a couple of problems:
I cannot get wireless stereo to work. I can connect the pda to my car's stereo, it identifies the HTC as a bluetooth audio device but after a few seconds, it disconnects. If I start playing something while in Wireless Stereo connection, it plays it through the pda's internal speaker.
I can't figure out how to leave Bluetooth's "Make this device visible to other devices" on. I have switched it on a dozen times and a dozen times it has been disabled. I'm not sure if it is disabled whenever I turn bluetooth off or after a certain amount of time. The fact is that it becomes disabled.
I think my last problem has already been covered here, MMS. I've seen a couple of notifications about a MMS being downloaded but there's no MMS in the inbox, i guess there's something blocking it, but that's what worries me least.
Great job, AX3L!
Click to expand...
Click to collapse
First, try to install my new rom (2.0.8)....i have cleaned the registry and added some tweaks....maybe bluetooth become working (for you!)...
If not, try to edit the setting using "TweakUI"'s AD2P tab (Settings -> System)
I'll give it a shot this weekend, when i can backup my data so nothing gets lost. (BTW, where is the backup device I used to have with activesync with my old ipaq3970?)
I have searched around to find documentation to understand TweakUI AD2P settings, but i didn't see it around. Any clue whether Joint Stereo Should be enabled, meaning of Bitpool, Audio Gateway numbers?
Try to:
REMOVE the following values from the registry at HKLM\Software\Microsoft\Bluetooth\A2DP\Settings if they are present:
- BitPool
- MaxSupportedBitPool
ADD the following value to the registry at HKLM\Software\Microsoft\Bluetooth\A2DP\Settings:
Name: SampleRate
Value (DWORD): 48000 (decimal)
SoftReset the device and try again
ONLY IN CASE not working....
install the Sleuth255's Patch http://forum.xda-developers.com/attachment.php?attachmentid=31755&d=1165092579
(after install, softreset your device)
Thanks, that did the trick of bluetooth visibility not auto-turning off. Anyhow, it seems there is some kind of incompatibility between Pioneer DEH-P75BT (my car receiver) and the HTC. As a hands free, I have to manually set it from the pda as Hands free so they pair each other, and BT Audio function connects as before, but sound is still played through pda's speaker.
Thanks for the tip, AX3L

Bluetooth Headset problem: The playback pitch is changed.

Bluetooth stereo headset: Sony DR-BT10CX
Problem: The playback pitch is changed after silence
The solutions form their support site http://www.sony.co.th/support/faq/189664/product/dr-bt10cx/modelfirst?site=hp_en_TH_i:
(1) Check interference with Wireless Lan or other Bluethooh connections.
(2) The communication condition may improve by sliding MODE switch to MODE 2
My question: what is MODE 2? How to switch to it? MODE 2=discoverable? MODE 1=connectable? Can someone answer, please?
Thanks in advance.
Regards,
Maarten
from the Netherlands
*My music is playing at different speeds, when connected to my bluetooth stereo headset (Sony, DR-BT10CX). Only when there's a silence, it is played at a higher speed and then at a slower speed, which is very annoying (it results in a false sounding song). It is a hardware-related problem discribed here: . General support site: http://www.sony.co.th/support/product/dr-bt10cx?site=hp_en_TH_i
i have something similar
mcva said:
Bluetooth stereo headset: Sony DR-BT10CX
Problem: The playback pitch is changed after silence
The solutions form their support site http://www.sony.co.th/support/faq/189664/product/dr-bt10cx/modelfirst?site=hp_en_TH_i:
(1) Check interference with Wireless Lan or other Bluethooh connections.
(2) The communication condition may improve by sliding MODE switch to MODE 2
My question: what is MODE 2? How to switch to it? MODE 2=discoverable? MODE 1=connectable? Can someone answer, please?
Thanks in advance.
Regards,
Maarten
from the Netherlands
*My music is playing at different speeds, when connected to my bluetooth stereo headset (Sony, DR-BT10CX). Only when there's a silence, it is played at a higher speed and then at a slower speed, which is very annoying (it results in a false sounding song). It is a hardware-related problem discribed here: . General support site: http://www.sony.co.th/support/product/dr-bt10cx?site=hp_en_TH_i
Click to expand...
Click to collapse
HTC artemis, Moto HT820 headphones, touch 4.01 rom. on resume, it sounds *fractionally* faster for a second. I though I was imagining it...!
Update: The silence and pitch change is caused by interference with other wireless connections. In this case that is WiFi ~ wireless LAN. At the university some points are sensitive. Now, there is very little to no interference anymore. Speculative, the battery status may also play a role here.
Next to this, switching to MODE 2 (where the reception stability takes priority) might be a hardware switch on the Bluetooth headset, according to the manual of some other similar products. I haven't found such switch on my Sony.
I have it too
I have noticed the same on my EXIBEL BT stereo headset when listening to music from my TYTN II. It lasts for periods of several seconds, and is quite annoying. BTW, this happens even when i'm out walking in the open, presumably at a fair distance from any WIFI transmitters.
Yes, I have the same problem with my HTC One S (villec2) and cheapo sports headset. I can't really talk about the state of the art, since this phone is stuck on Android 4.1.1 -- but it just beggars belief that any developer anywhere thought it was acceptable to deal with buffer under/over-runs by varying the sample rate, and hence the pitch and tempo, during stereo playback. Do these people never listen to music?
What probably happened was that the Bluetooth audio system was originally designed for hands-free telephony, where low latency is paramount and pitch changes are barely noticeable since the content is just speech. This system was then re-used for stereo, when what they should have done was allow a larger buffer and longer latency (which doesn't matter with music playback) to cope with data interruptions. Lazy engineers.
Anyway, turning off Wi-fi greatly reduces the incidence of pitch shifts, but does not eliminate it completely. I look forward to the day when there is a supported custom ROM for my device based on Andriod >= 4.2, which apparently has improvements to Bluetooth data delivery. Bt I'm not holding my breath.
Bluetooth issue
I have the same problem with the Bluetooth skipping as well. I heard that it may be a interference problem with WiFi but its most likely the ROM. This ROM has stopped me from constantly switching to other roms because it has all the features I want and the battery life is great. I just hope that the Bluetooth issue can be fixed in time. :good: :good: for this amazing ROM though.

Problem Audio ROADNAV S160

Hi, I wanted to ask you to help me if it is possible with a problem.
I try to explain everything briefly.
I have a s160 for Kia Sportage model M537-1 with Canbus, but I'm not good at both sound quality and low volume.
After months of testing (I also changed the woofer and tweeter of the car) I realize there is a chance to make the sound almost perfect.
Entering the factory settings (## 0323) by clicking "Select External Power Amplifier", you will see 4 options:
- Built-in adjustable
- External adjustable
- Build-in Fixed
- External Fixed
(My car has as standard a small amplifier on the back made by Kia's mother house)
Using the "External Fixed" option, low audio and poor quality. By switching to "Built-in adjustable" the sound becomes perfect for quality and volume !!
The problem is just that, once I turn off the car and restart, the audio disappears.
Contact Roadnav and tell me that the only option I can use is "External Fixed," because "Built-in Adjustable" is an option that unlike Built-in Fixed and External Fixed does not send the power-on command to my amplifier Series, this is why the sound is "silent".
Now I wanted to ask you, there is a way to change the "Build-in adjustable" option in the firmware, maybe by taking that string or code from "External Fixed" which allows the amplifier to turn on when the car is switched on.
It would be a great thing for me, but also for all those who have this car for Kia Sportage. If you have other tips to improve the situation I would be happy. Thanks

bluetooth audio issues in Pie?

After updating to Pie bluetooth audio turns useless because only for 10~30sec the audio is continous. after that short period harsh interruptions begin to happen until the audio stops. all this sequence in less than 1min.
my headset is JBL DUET Mini and work fine in other devices.. I verified this problem with spotify and YouTube.
I tried to change bluetooth audio setup in developer options but remains the same.
Anyone having the same issue? Any idea?
Thank you!
I've had the same issue in Oreo, and now in Pie. Though it's never gotten to the point where it stops; it just continues, horribly, 'til I stop it myself.
Tested with Vanilla Music, streaming via Bluetooth to an Amazon Echo, Echo Dot, and an Amazon Basics Bluetooth speaker. (jeez, never realised how much Amazon stuff I have lol)
Bluetooth is horribly broken on pie and its interferes with WiFi.
There is a new update for pie, can you check if it is still broken?
Poor playback to Anker portable bluetooth (4.0) speaker with crackling / stuttering noise interference when initiated from A2 Lite. Works fine from Laptop to Bluetooth speaker (A2 Lite disconnected), but v. poor from A2 Lite to speaker. NB. Same digital media.
Suspect Bluetooth problem with A2 Lite Pie 9.0 (OTA) version. V10.0.2.0.PDLMIFJ
Could be a CODEC issue?
Developer options show :
AVRCP 1.4 (Default)
Bluetooth audio codec streaming:SBC
audio sample rate: 44.1 khz
Audio bits per sample: 16 bits
Audio channel mode: Stereo
Playback quality: Best effort (adaptive bit rate)
updated: experiencing same issue when using Ausdom M04 Bluetooth headpones with A2 Lite
Javtor said:
After updating to Pie bluetooth audio turns useless because only for 10~30sec the audio is continous. after that short period harsh interruptions begin to happen until the audio stops. all this sequence in less than 1min.
my headset is JBL DUET Mini and work fine in other devices.. I verified this problem with spotify and YouTube.
I tried to change bluetooth audio setup in developer options but remains the same.
Anyone having the same issue? Any idea?
Thank you!
Click to expand...
Click to collapse
I have the same problem...
On Oreo there weren't problems, but since Pie it's really horrible
I hope this will be fixed or someone has an idea for that
whise1 said:
There is a new update for pie, can you check if it is still broken?
Click to expand...
Click to collapse
Newer than V10.0.2.0?
Bluetooth (audio streaming issue, lack of codecs) & WiFi (IPv6) is still broken.
ShadyTurtle334 said:
Newer than V10.0.2.0?
Bluetooth (audio streaming issue, lack of codecs) & WiFi (IPv6) is still broken.
Click to expand...
Click to collapse
Sorry i thought that there was a newer one.
I reverted back to oreo to fix my problems. My original post is here: https://forum.xda-developers.com/mi...pie-update-t3883829/post78532365#post78532365
AAC codec was removed in PIe, leaving only the low quality/high latency SBC codec. Hopefully the next update includes AAC as it is absolute bare minimum for a 2018 phone of this caliber.
kitaco said:
AAC codec was removed in PIe, leaving only the low quality/high latency SBC codec. Hopefully the next update includes AAC as it is absolute bare minimum for a 2018 phone of this caliber.
Click to expand...
Click to collapse
All codes were removed except that low quality low bandwidth sbc codec, it is reall low bandwidth broadcasting so you with have a lot of lag with Bluetooth, the aptx magisk module works but, you have to use Bluetooth headset for music, no loudspeaker or headphone jack will output music streams. I'm sure PIE is just a stable beta so hopefully the final version should qualcoms codec.
I also having this issue even already upgraded to:
Android version 9
Android security patch level January 5, 2019
Baseband version 953_GEN_PACK-1.182577.1.184854.2,953_GEN_PACK-1.182577.1.184854.2
Kernel version 3.18.120-perf-g783cd9f#1 Mon Jan 14 16:08:26 WIB 2019
Build number PKQ1.180917.001.10.0.3.0.PDLMIXM
Very annoying!
Previously on Oreo doesn't have this issue!
cronosmachine said:
I also having this issue even already upgraded to:
Android version 9
Android security patch level January 5, 2019
Baseband version 953_GEN_PACK-1.182577.1.184854.2,953_GEN_PACK-1.182577.1.184854.2
Kernel version 3.18.120-perf-g783cd9f#1 Mon Jan 14 16:08:26 WIB 2019
Build number PKQ1.180917.001.10.0.3.0.PDLMIXM
Very annoying!
Previously on Oreo doesn't have this issue!
Click to expand...
Click to collapse
That's bad to hear
I hoped that the january update would fix this bug.
I think, I will remain on Oreo till they fix it
Noticed a number of Bluetooth bugs logged with Google regarding Pie.
https://issuetracker.google.com/issues?q=bluetooth
Someone raised the A2 Lite issue, but it was rejected, saying it was up to xiaomi to sort.
https://issuetracker.google.com/issues/122369751
Just wondering if it could be a hardware issue, e.g. wifi and bluetooth using same frequency on same ariel and interrupting each other?
They (google) do seem to have assigned the SBC codec issue for investigation so that is positive.
https://issuetracker.google.com/issues/123179438
Had the same problem and went back to oreo.
Now everything works fine.
Ive repacked the aptx module in magisk, and bluetooth works loads better. i do get the odd jump where the equalizer switches on and off due to system optimizing, apart from that, all good. If anyone want to try heres link to the repack, with thanks to those who made the previous modules. https://1drv.ms/u/s!AqlJY73bUA7rholXS82XCuculBPhag . Use at own risk. Also, im not responsible for the link name lol.
boe323 said:
Ive repacked the aptx module in magisk, and bluetooth works loads better. i do get the odd jump where the equalizer switches on and off due to system optimizing, apart from that, all good. If anyone want to try heres link to the repack, with thanks to those who made the previous modules. https://1drv.ms/u/s!AqlJY73bUA7rholXS82XCuculBPhag . Use at own risk. Also, im not responsible for the link name lol.
Click to expand...
Click to collapse
How do you install und uninstall it? I've got breakups all the time when playing music from my a2 lite to the car stereo via bluetooth. Will using this codec fix the issue?
luno said:
How do you install und uninstall it? I've got breakups all the time when playing music from my a2 lite to the car stereo via bluetooth. Will using this codec fix the issue?
Click to expand...
Click to collapse
You need magisk v18, goto modules and click the plus sign, navigate to where the module is located and click on module, magisk will install it. Im not sure if it will fix issue but i can tell you thats it performs better and less latency than sbc.
Anyone with January update who doesn't have this problem?
grish said:
Anyone with January update who doesn't have this problem?
Click to expand...
Click to collapse
After installing january 5 update, the problem persist at the same way.
I have noticed in some situations that audio stay OK. For example, while at work, in my desktop using BT audio w/my headset, everything is ok. But if someone pass nearby my place, audio start working bad until the person went far enough. I think other devices BT affects audio, or antother type of EM signals, like WiFi, maybe...
I wish i could turn off "always visible" option in my device to test it. But that option is missed in PIE
I have the same problem

Audio still on speaker with connected Bluetooth A2DP sink

Hi All,
Even though I have a Bluetooth A2DP sink (a DAC) connected for media audio, my SM-320FL running current Android 8 Oreo stock ROM (XEU) still uses built-in loudspeaker, e.g. when using Youtube or Youtube music. Enabling the Samsung Separate Sound App feature and configuring Youtube app to send its audio to that sink there is the only way I've managed to force the audio there so far. So the feeling is that the OS won't treat connected sink as a higher priority audio destination. What might be the reasons? I have another 2 such phones (all 3 bought used in the UK), one at the current BTU and the other one at a rather old EVR as it's rooted and so won't autoupdate, and neither of them has such issue.
Many thanks in anticipation!

Categories

Resources