Open Ilia-yash opened 8 months ago
Provide logs.
I'm sorry for the dumb question, but what logs exactly? Where to get them? Here's the log folder from logs saved from LSposed https://dropmefiles.com/6nFLL
Another broken Xiaomi device.
On my phone both is_aidl_hal_available
and is_qc_hal_available
are 1, you seem to have only qc hal. Maintainer will have to fix it somehow.
Can you run sudo getprop persist.bluetooth.bluetooth_audio_hal.disabled
and post the output?
Sure! There's no output basically. Here: https://dropmefiles.com/B9IBV
The issue is device-specific (more like vendor-specific). I haven't seen any instances of this happening on non-Xiaomi devices. It's probably related to the fact that Xiaomi did implement LHDC HW offload. I have a feeling that just enabling AIDL will help. Alternatively, you might try disabling A2DP Hardware Offload for now.
I don't know who's the maintainer, can they ping me in PA telegram group to discuss this?
Disabled hardware offload, now the music is playing on the device speakers 😅 Previously there was no sound at all. @mickaelmendes50 (same in Tg) is Xiaomi 12X maintainer. He also suggested to ping Jake in PA group about that.
Run dumpsys media.audio_policy | awk ' /^ Config source: / { print $3 }'
and upload this file and full path.
Here: https://dropmefiles.com/EO4dH Path: /vendor/etc/audio/audio_policy_configuration.xml
Looks fine. Assuming you have Magisk companion module installed, it should be working almost fine (but switching between codecs needs to be done through LHDC, also aptX codecs will not work).
Does LHDC present in module app?
Does the line APM::HwModule: createDevice: could not find HW module for device 0080 address
present in logcat?
I have audio_policy_changer_magisk.zip installed, do I need some additional module? LHDC is present in ExtA2DP
There's no such line in logcat. There are these lines: " APM::HwModule: createDevice: adding dynamic device AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, @:SUPPRESSED to module primary
APM::HwModule: createDevice: adding dynamic device AUDIO_DEVICE_OUT_BLUETOOTH_SCO, @:SUPPRESSED to module primary " But if Hardware offload is disabled, the sound comes from speakers, and if it's enabled, there's no sound at all, silence.
Have you tried LHDC V4? Currently you seem to be using LLAC, try changing bitrate to 500 or 900 for LHDC V4
Yeah, I have tried all bitrates and Sample Rates combinations, nothing helps. Seems like it's really broken somewhere I don't know where 😢
Paranoid Android Topaz 13, CLO On MIUI it originally supported LHDC, earbuds support LHDC as well. But when LHDC is enabled, independently of bitrate or other parameters it doesn't work, there's no sound at all. LDAC seems to work fine if bitrate is selected manually.