Possible to force BT audio to 8 KHz? - Magisk

Right now the biggest issue plaguing Nexus 5 Oreo ROMs is bluetooth call audio. amaces describes the issue here, but in summation, BT audio is sent at 16 KHz or higher, and that is causing the call audio on Nexus 5 to become robotic and glitchy.
amaces states in the post that this can only be done with hardcoded changes, but I'm curious if one of the big audio overhauls available for Magisk can override the default bluetooth settings to correct this issue.
It's just very frustrating because I've been wanting to make the switch to Oreo for months due to a number of features that Nougat does not have, but this is getting in the way of an upgrade. My car has an onboard system for taking calls and it uses Bluetooth, and if I go to Oreo I have to use the completely awful hands-free speaker it has.
Alternatively I could get a new phone, but lord knows there's always a complication no matter what model you get, and I tend to prefer the devil I know over the devil I don't.

Related

S5 bluetooth music skipping

Has anyone found an actual fix for this issue?
Clearing cache, unpairing, and resetting have not worked.
Someone please help!
This issue is driving me nuts!!!
S5 Bluetooth Potential Fix
I have an AT&T Samsung Galaxy S5 SM-G900A running Android 4.4.4 KitKat, and the bluetooth audio has been skipping constantly when it is paired with my car stereo. This issue has driven me absolutely crazy for months. I've literally come close to throwing my phone out the window.
I first thought it was an issue with buffering when streaming from Google Play since those files are all high-quality 320 kbps, but then I realized playing music directly off of my phone also skipped. Next, I thought it might have been the bluetooth receiver in my stock 2012 Toyota Tacoma radio, so I even upgraded my radio to a Pioneer FH-X720BT.
I've been searching and searching online forums for an answer but no luck yet. I also thought it might've been an issue with Android 4.4.2 and was anxiously anticipating AT&T coming out with a software update in the US. Well, it finally came yesterday and guess what? Bluetooth audio has STILL been skipping.
I figured it had to be something else like CPU availability -- like my phone just didn't have the oomph to stream audio via bluetooth. I downloaded the free GSam Battery Monitor from the app store to see what was using my phone's CPU the most. Once it was downloaded, I went to "App Usage" and then under the top menu "View CPU Minutes Used." I thought it was weird that my Alarm Clock Xtreme app was at the top along with Android System, Kernel (Android OS), and the Intellicast weather app. I uninstalled the Alarm Clock and Intellicast apps and so far the frequency of skips is much lower -- 4 whole songs with no skips on my drive home. Not sure if this will work for you, but try disabling or uninstalling apps that use the CPU the most.
Android should really come out with a better solution for this issue instead of me having to figure out which third-party apps (that I frequently use, btw) that I have to get rid of. I listen to music all the time from my phone via bluetooth, and I am almost frustrated enough to go back to the dreaded iPhone (at least its freaking bluetooth works seamlessly). You'd think there would be some kind of CPU task management prioritization that would put Bluetooth Sharing at the VERY TOP (sort of like task manager in Windows where you can increase/decrease CPU priority). Anyone else got any better ideas? I've considered rooting, but I'm stuck with stock since it's an AT&T phone. If only complex technologies would just WORK..
I was having skipping on both Bluetooth and via aux cable, although I primarily use aux. After much trouble shooting, I finally reflashed from scratch and haven't had the problem since...aux or the limited Bluetooth I use. Of course I'm rooted and thought it must have been something I screwed up, but my phone acted a little screwy even before I ever rooted.
Yeah, this issue has driven me absolutely crazy since I upgraded back in May from my S3, which never had this problem in the slightest. I've tried everything I can think of short of a fresh install from absolute scratch. I'm on unrooted stock (4.4.2 at the moment - 4.4.4 has failed to update the couple times I've tried today). I've been hoping AT&T would get Lollipop rolled out and that it would somehow help whatever annoying glitch is causing this issue, but the fact that 4.4.4 only JUST pushed out from them makes me doubt AT&T will get Lollipop out in any sane amount of time.
I've tried settings in apps like Poweramp for it to use highest priority, but that makes no difference. This is such a basic thing to be so screwed up. I've watched process monitors while it does it, and there's no obvious reason for it. CPU usage seems fine while it's glitching. Nothing is consistently showing in the log when it's happening. I have essentially given up hope of every figuring out what is causing this.
When (if) Lollipop rolls out from AT&T for the S5, I'll see if that upgrade somehow finally helps fix this glitch (assuming that upgrade doesn't keep failing like the 4.4.4 one does). If not, I'll do a fresh install. And if I'm doing that, I'll probably do a custom ROM if I'm gonna go through all that effort...
Bluetooth Audio Buzzing Noise on Pioneer Stereo
So I contacted Pioneer, Samsung, and Crutchfield regarding the issue of bluetooth audio skipping and/or making an extremely loud buzzing noise for 3-5 seconds while streaming from my Galaxy S5.
Pioneer alluded to requiring the ground cable needing to be directly grounded the chassis instead of the factory ground wire. This really didn't make sense because this issue only persists when playing via bluetooth -- not USB, radio, Aux, etc. Plus, the factory ground wire IS connected to the frame anyway, and Crutchfield, BestBuy, and local car audio installers all said they would ground it to the black factory ground wire.
Tonight, Samsung said that this was a known issue, but only related to Pioneer radios. I ended up finding a bluetooth firmware upgrade to my radio on Pioneer's website. My current Bluetooth Version listed on the head unit display is A820, and the firmware update is for A860. Samsung said this should resolve my issue, so I'm going to give it a shot. They also said that the Android Lollipop 5.0 update from AT&T would address this known issue. I saw on another android forum that AT&T reported the update will be release in February this year, but they didn't have a specific date.
If this doesn't work, I'll try putting my phone in Safe Mode and stream audio over bluetooth. If that fixes the issue, then I'll have to painstakingly narrow it down to one or more 3rd-party apps. Typically, I force stop all 3rd-party background processes and only run GSam Battery Monitor, Clean Master, Twilight, and Nova Launcher.
Bluetooth Audio Buzzing Noise on Pioneer Stereo
So I finally put my S5 in safe mode to rule out 3rd party apps, and the Pioneer HU still did that weird, intermittent buzz glitch for about 1 second. The same thing happened today when streaming from my iPad, so now it seems like the android bluetooth wasn't the culprit after all.. I think it must be the cheap SocBlue Bluetooth module Pioneer puts in their radios. Several reports on other forums point out these on-going issues with Pioneer. Sound quality is great for radio or CD, but I warn you: DO NOT buy a Pioneer car stereo if you plan on frequently using a Bluetooth audio connection. I contacted Crutchfield tonight and will be swapping out the Pioneer FH-X720BT for a Kenwood DPX500BT. Hopefully this is the last time I'll have to deal with this kind of issue.
I did this with my iPhone and it worked!!!
Goto settings > bluetooth
press the little info icon on the right side of the FH-X720 or FHX-820BS paired device tile
This will open up a settings view.
Turn Off the Sync Contact feature

OnePlus 3T Bluetooth Volume

Hello guys,
This will be my first post on XDA. I have been reading the forum for quite a while even though I am currently using an Apple device. I have used both Android and iOS devices, and acknowledge their pros and cons.
I have always liked to mod my devices (this goes as far back to my Sony Ericsson K550i). This includes jailbreaking iOS and fiddling with Cydia tweaks and Android rooting, flashing custom roms etc. I am posting this in the OnePlus 3T forum (because I am considering to buy it) but it applies generally to all Android devices. So my question is:
-Does the OnePlus 3T sync volume with bluetooth devices the way iOS devices do (the phone controls the volume on the device and the device can control back the volume of the phone)?
I am asking because I am using bluetooth devices all the time (bluetooth headphones and speakers) and the Android devices that I have tested so far do not support that feature. It usually goes like that: you have to set up the volume of the phone and the bluetooth device separately and with many devices this causes not only inconvenience, but also worse performance (i.e. if you set the device all the way up there is an audible hiss, or the DSP is not working properly depending on the volume level). If it isn't a built in feature, can it be added somehow (fiddling with system files, flashing something, installing something additional)?
So far this is one of the major things that is holding me back onto my old jailbroken 5c (iOS 8.4) . I really hope there is a nice solution
Most Android devices on Android 6.0 and above should natively supported Bluetooth volume syncing. Though I find that this only applies to reasonably modern Bluetooth devices. While my Bluetooth headphones (~3 years old on BT4.0) can control my phone's volume fine, my 4 year old Bluetooth speaker cannot (5 yo, BT2 or 3?).
Anova's Origin said:
Most Android devices on Android 6.0 and above should natively supported Bluetooth volume syncing. Though I find that this only applies to reasonably modern Bluetooth devices. While my Bluetooth headphones (~3 years old on BT4.0) can control my phone's volume fine, my 4 year old Bluetooth speaker cannot (5 yo, BT2 or 3?).
Click to expand...
Click to collapse
I read that they introduced the feature in 6.0.1 but then removed it in some version of Nougat + introduced volume reset (to 50%) when you connect to a known device. I tried my roommate's Galaxy A5 (running 6.0.1) with my Sony XB3 and it wasn't syncing the volume. Now I have replaced the XB3 for JBL Charge 3 and will check it out as well but I feel that the bluetooth implementation is a bit hit and miss. I mostly care about the JBL Charge 3 (Bluetooth v4.1) and Jabra Revo Wireless (Bluetooth v3.0) volume sync.
I use an app called Trigger (much weaker version of Tasker) to change the Bluetooth volume to the ideal level for each Bluetooth device I connect.
On two occasions now, my headset's volume fell out of sync. I'm not sure what caused it, but re-pairing fixed the issue.
Anova's Origin said:
I use an app called Trigger (much weaker version of Tasker) to change the Bluetooth volume to the ideal level for each Bluetooth device I connect.
On two occasions now, my headset's volume fell out of sync. I'm not sure what caused it, but re-pairing fixed the issue.
Click to expand...
Click to collapse
I did further research on the topic. It appears that the problem lies in AVRCP and more specifically the version that Google uses in Android (1.3). It hasn't been updated for years and it is still the same
even in the latest Nougat. This is a topic that I managed to find out: code google com/p/android/issues/detail?id=186433 (insert dots because I cannot post links before reaching 10 posts)
It is really a shame that Apple devices have been supporting the newer revisions for so many years and that Google doesn't give a damn about it. Since this is XDA Developers can someone come up
with a solution for the problem that can be implemented on different Android devices? Please
My Jaybird X3 adjusts the volume in sync on my 3T running OOS Nougat, but on my Moto X Pure running Marshmallow, I have to adjust the phone and Bluetooth volume separately, which was annoying.
I never tested it on OOS Marshmallow though.

Car Bluetooth Audio Metadata Issues

I have just got my P20 Pro, it seems like a great phone so far, but I have one nagging issue.
When I connect my phone to my car's (2015 BMW 3 Series) Bluetooth the now playing metadata of the audio being played is not being passed correctly. So if I play audio from Google Play Music or Pocketcasts the head unit on my car will show either Unknown Track or the track data of the first item on the album or the playlist. The audio itself sounds fine and I am able to skip tracks, select new albums from the car's controls, so it seems some information is being passed correctly, it is just that the info of the track that is currently playing seems to not be working.
Has anyone else encountered this?
At this point I have to assume it is the phone, as my Galaxy S6, S7 & S8's all worked, but I guess it is technically possible that could have been a workaround put in by BMW as they were such popular phones. Hopefully Huawei will sort this out, it may be an underlying Oreo issue as threads like this suggest that Bluetooth issues were around when 8.0 launched https://productforums.google.com/forum/#!topic/nexus/E9Q2lyFYRgI
I have done some more digging on this issue and I suspect that is might be something to do with the Bluetooth AVRCP version that the phone is using. Normally in Android (since 8.0) you could adjust the AVRCP version from within Developer Options, but for some reason this is not available on this phone. My Galaxy S8 was using AVRCP 1.4, so I suspect that this phone is using 1.5 or 1.6 and my car does not like it.
I have emailed Huawei to ask for clarification. At this point it is the only real issue I have with the phone, but it will annoy me if it isn't resolved quickly. I'm going to pester BMW too to see what versions of AVRCP they officially support.
Don't have these issues in the car, head display current track etc via Bluetooth ... Use this in a Nissan
Everything works as it should with my Pioneer headunit using Spotify
I just posted something related (possibly) in the RAM/Battery Management thread - I have issues with the Audi MMI Connect app, losing connectivity and so on.....does seem that the P20 Pro handles Bluetooth (no rsap?) and background process management quite differently to my previous phone (Galaxy S8+)....also hoping quick resolution, as love the phone!
Search facility not working in car
Hi
I've just put music onto my P20 pro and it plays fine on the device and the car, however, I can't use the search facility on the car (BMW, 3 series, 2017) to change track. I can do this on the phone. Any suggestions? I put the music onto the 'Music' app (dragged and dropped from my iTunes folder- don't know if this is relevant. Any help would be greatly appreciated as without being able to use the car's search facility and come in and out of albums/ artists is useless. Should I have put the music into somewhere else?
JQ
P20 PRO and BMW - bluetooth issue
Bojanglez, did you find a solution? I got the same issue with P20 PRO and BMW X4... so it seems a problem linked to that phone connected to the BMW multimedia system.
With my previous phone, an ASUS Zenfone, everything was fine.
It may be a BMW issue to, maby P20 pro isn't compatible with BMW or Audi. I know that some manufacturers put all in to be compatible with ios and some larger manufacturers of phones. It could be that car manufacturers don't test Huawei phones and don't support them.
Skickat från min CLT-L29 via Tapatalk
No Huawei Garbage bloatware issue, my is random something is normal, most times it plays music but gets stuck on providing music playing info.
Same issue here with my 2016 Toyota rav4. It plays the first track and shows the metadata but then as the tracks keep playing the metada remains the one of the first song. Definitely an issue with Huawei. Their music player works just fine. I think it has to do with the poor Google integration and their need to force that half baked apple wanna be emui down our throats. It should be Oreo but looks and feels like gingerbread.
Hi all, I have an update. I have resolved the issue, but not quite sure which of the following specifically fixed it.
Huawei software update
Renamed by phone in Bluetooth settings
Updated to the latest BMW firmware (from their site)
Messed with some of the Bluetooth settings in Developer Options on the phone
Unfortunately I did all these at pretty much the same time so I can't say for certain which one fixed it, I think it was the Huawei software update as after I updated my BMW firmware I still had the same issue and also in other BMWs I tried. I also noticed that the Bluetooth was dropping constantly in my wife's Puegeot 3008 so that's why I played with the Developer Options. For anyone interested I havethe following now set:
Codec: SBC
sample rate: 44.1khz
channel mode: Stereo
LDAC playback quality: 990kbps/909kbps (optimised for connectivity quality)
HWA playback quality: Best effort (400KB Optimised for connectivity)
HWA Latency: 50-100ms
So I now have track information and basic controls using Google Play Music and Pocketcasts. It does not seem to like letting me browse my library though, but it is at least functional.
Also I changed my car, this was not because the BT didn't work It worked in my 2015 3 series before I changed it. I now have a 2018 4 series and the behaviour is the same, track listing and skip functionality but no browsing.
I have installed the most recent firmware update on my 2 Series 2017, I see two fundamental issues. One is, by using your phone normally, no issues should arise most of the time but still random sync issues with metadata can occur. The second issue is, no matter how good your phone behave and how well synchronized the metadata is, once you open Android Auto app, everything goes to hell and you are back in square one.
To fix it, you should deactivate auto start when connected in the app (or not using it at all), erase your car from devices in bluetooth config within your phone. Erase your phone from the list in your car. Change the phone name. Start over with the synching process. Check for correct metadata in the car. If not working repeat. That should fix the problem eventually.
If you like very Android Auto very much, get used to see the songs information in your phone screen rather than the car.
I am also having the same problem, Huawei P20 Pro and Sony XAV-601BT head unit. I've tried enabling all the permissions in Spotify, cycling the connections, renaming the phone.
i have Pixel 3xl with Android 10, - Bluetooth connects fine there is no metadata - song info. this problem started with 8.1 Android version and I have not been able to get it to work. I really cant believe google cant fix this issue or even aware of it. plenty of threads on google. I think they all use Iphone, i am guessing ...this is very annoying. I have change the avrcp version from 1.4 to 1.6. no luck, also I read that turn off battery optimization on Bluetooth. no luck. anyone else here having similar issue??

Bluetooth dropouts when using stereo speakers

This is a long shot.
I have a pair of Bluetooth 4.1 Minirig speakers that can be set in stereo mode. However when in stereo mode one channel experiences dropouts. Running in mono mode is fine.
The issue is with the Nokia 7+'s Bluetooth transmission as when using other Bluetooth enabled devices to power the speakers the issue does not occur.
Anyone else had this issue when connecting stereo speakers or headphones and know of a solution?
I have checked: System > Developer Options > Bluetooth Audio Codecs and tried changing these setting but the changes did not "stick" and problem remained.
Maybe there is an alternative setting somewhere that can be tweaked.
Thanks in advance.
doowoppa65 said:
I have checked: System > Developer Options > Bluetooth Audio Codecs and tried changing these setting but the changes did not "stick" and problem remained.
.
Click to expand...
Click to collapse
I'm also having this issue: whenever I'm connecting my N7+ onto the car's audio system via Bluetooth I have to change the codecs to the correct one every single time to make it properly work (have sound/audio at all). The settings also don't stick or are not being saved. Also looking for a solution for this, unless an update miraculously fixes it.
Same problem here when connected to my car by bluetooth. Occasionally there is a dropout. This does not happen when my friends connect with their phones (oneplus 5, samsung, allview. or my old lg g4).
Changing the bluetooth audio codecs does not work as it does not remain selected and it switches to default. This, as i understood, happens on android 8 and has been resolved in the Pie beta and should be ok in the final Pie release.
When I raised the issue with the superbly talented nokia tech support they either act surprised as if its an unique issue to you or send you a list of compatible bluetooth protocols. Are we expected to change our cars and speakers to make the phone work?
I had this issue after installing garmin connect. Theres a thread over in the garmin forums (forums.garmin.com/forum/into-sports/garmin-connect-mobile-application/garmin-connect-mobile-android/1375800-audio-streaming-issues) about it. Also on the nokia forums (community.phones.nokia.com/support/discussions/topics/7000022239/). Seems to affect some phones on 8.1
Anyway, I'm on Pie beta now and the problem has gone away.

Dual Bluetooth Audio Output (Same audio playing on two Bluetooth devices)

I am hoping someone can take on the project to write a mod that allows Pixel 5, Android OS 12, to play audio on two separate Bluetooth devices at the same time like Samsung. I recently bought a Woojer Strap Edge for audio haptic feedback, it connects wired or via Bluetooth. I use Bluetooth headphones and Pixel 5 does not allow audio output to two Bluetooth devices at the same time even though the hardware is capable of it. Is there anyone that has the know how to reverse engineer Samsung's Dual Audio Playback and make a mod to unlock these features on Pixel 5 Android OS 12? Or is there a known fix for this already?
Nothing in developer options allows this to work, I have played with all of those functions already.
I greatly appreciate any help, I know that this is an issue for many people across many devices, a broad fix would be fantastic if possible. I am not a code engineer, so not even sure if this is possible. All info will be helpful. Please let me know if you need any further information from me.

Categories

Resources