-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A2DP broken after updating to Motorola's Android 10 stock ROM #1404
Comments
Here is the output of What sticks out to me is that it states that the A2DP sink is disabled:
Edit: |
And here is the output of |
Here is also a log of connecting a headset to the device. Although I don't see anything in there I'd consider unexpected, maybe it's revealing some clue. |
I have the same issue. |
For what it's worth, reflashing the original ROM (and then reinstalling the custom one) fixes it for me. |
I guess you booted into the stock ROM at least once as well, right? |
I tried it twice now with reflashing the stock Android 10 ROM from Motorola, but no success. With the stock ROM A2DP works, with the GSI it doesn't. Did you flash the Android 10 stock ROM or the Android 9 stock ROM? |
I flashed 9, then immediately reflashed the custom ROM and rebooted (without ever booting into nine). |
Well yes, that's known to work. However other things are broken this way (microphone in calls needs a workaround, automatic screen brightness doesn't work). I updated the wiki page earlier today to reflect the differences when coming from the Android 9 stock ROM vs. the Android 10 stock ROM: https://github.com/phhusson/treble_experimentations/wiki/Moto-G7-Play |
Unfortunately the problem is still present after updating to AOSP 11.0 v300.l. I tried the following Phh Treble Settings to no avail:
|
Hi, had same issue on motorola one zoom after installing GSI 10 v.222 Solved in this way:
Then, i probably did even too many things together, btw, it works now. Tested as audio media on
Hope it helps And let's say thank-you to this guys sometimes. |
Even with these settings the problems persists for me. Can you get your phone into a situation again where it doesn't work to figure out what setting or combination of setting gets it to work? |
No, absolutely. Btw,
Also, under bluetooth (system app), i cleaned all cache/data and re-paired. |
This seems to be the canonical issue for Motorola bluetooth issues, so just piling on to say that this seems to affect Motorola g10 (capri) as well. For completeness the following has been tried:
EDIT Disabling SELinux fixes this Potentially relevant logcat output:
getprop.txt |
Took these steps on 400.c (Android 12 pre-release) on a g fast (aka g8) and it caused audio to finally come through my bluetooth headphones. |
Still not working for me with AOSP 12.0 v400.h on a Motorola Moto G7 Play, no matter what settings I select. |
Same as @Dunedan. AOSP 12.0 v400.h on a Moto G8 Plus. Tried the "5 settings" suggested earlier here. |
Only "force disable A2DP offload" is required now (and probably was all that was ever necessary). Once you change the setting, restart the phone then you should be all set. You must restart. I paired the headset before checking the check box for the setting above. I don't think that has any bearing on success, though. Again, I'm on RAV (g fast), but it should work on similar moto phones. |
Nope, that still doesn't work, at least not for the Moto G7 Play. |
@FrenchToucan Did you ever flash any other ROM aside from the stock ROM and phh's GSI's or did something else which could be related to it working now? |
@Dunedan I've flashed many other ROMs but not recently and not since flashing back to stock many times. Are you flashing from stock Android 10 or 11? Maybe try the opposite of whatever you're doing (assuming 11 was ever released for the G7 Play). @mrazzari the G8 is the same phone as the g fast so this should work for you. I never had Bluetooth cause a crash, it just would say something about the connected device not working and to restart it. Maybe flash the bluetooth.img file from the g fast firmware? |
@FrenchToucan thanks for following up. Somehow it started working. Maybe after a reboot, idk. What's still happening is the car Bluetooth now shows a static "Streaming" message, instead of the track/artist name. This worked OK on stock A9. Tried downgrading to AVRCP 1.3 but that didn't work. Thought maybe you have any pointers for things to try? |
There is only stock Android 9 and 10 for the G7 Play. It never got Android 11. With Android 9 as base A2DP works, however there are other things which don't work, but work on stock 10 (automatic brightness, fingerprint reader, ...). What's working with which ROM as a base is documented in the wiki: https://github.com/phhusson/treble_experimentations/wiki/Moto-G7-Play |
AOSP 12.1 v412 fixes this issue, probably thanks to this commit. To get working A2DP with v412 the following two settings and an reboot are necessary on a Motorola Moto G7 Play:
|
Well it's ratheer thanks to phhusson/platform_frameworks_av@44d39de IIRC that's the info mentioned in this thread that helped me with this, so thanks |
This Fixed it also for me On Moto G8 Plus with the Unoffical Lineage OS Build based on PHH Treble from Andy (Android 12) |
I'm running the Android 10 vanilla GSI on a Motorola Moto G7 Play since February, while it was previous running Motorola's stock Android 9 ROM. To get A2DP working on the Moto G7 Play we had to disable audio effects back then (phhusson/device_phh_treble#159), but after doing so it worked pretty flawless ever since.
Earlier today I updated all non-system partitions to the code provided by Motorola's recently released Android 10 ROM (https://mirrors.lolinet.com/firmware/moto/channel/official/RETEU/XT1952-1_CHANNEL_RETEU_10_QPYS30.52-22-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip) to get the latest firmware etc. I'm still running it with the Android 10 vanilla GSI v221.
All hardware behaves the same as before, except for Bluetooth with A2DP: Pairing a headset works. AVRCP works. HSP works. A2DP doesn't and sound instead immediately goes to the speaker. I can't wrap my head around why. I already tried a bunch of things:
Attached are two logcats from pressing the play/pause on the headset once to start audio playback to pressing it a second time to stop it again. One of the logs got the audio effect workaround disabled while the other doesn't. Attached are also diffs of the audio policy configuration between the 9.0 and 10.0 ROMs.
Any idea what the issue could be?
logcat-ignore-effects-true.txt
logcat-ignore-effects-false.txt
audio_policy_configuration.diff.txt
bluetooth_audio_policy_configuration.diff.txt
The text was updated successfully, but these errors were encountered: