TrebleDroid / treble_experimentations

Scripts to automatically build/CI/Release TrebleDroid GSI
Other
203 stars 26 forks source link

Bluetooth Audio Pairing Issue (MT6895Z) #69

Closed Yejia995 closed 7 months ago

Yejia995 commented 7 months ago

Current Behavior:

Describe the bug

To Reproduce

  1. Install A13/A14 GSI builds
  2. Go to bluetooth settings
  3. Pair with an audio device

Expected behavior

Smartphone:

Additional context

phhusson commented 7 months ago

What happens when you try? Got logs in that case?

Yejia995 commented 7 months ago

Here's a GIF, there's a pop-up window saying "Bluetooth keeps stopping". 86voeu

ponces commented 7 months ago

Logs would be helpful. GIFs not so much...

Yejia995 commented 7 months ago

Full log is here if needed. Error logs are here, bluetooth crashes and restarts when connecting headphones. Is LDAC causing the problem? There seems to be no LDAC problem on the device that is not MTK.

ponces commented 7 months ago

Disable "Use System Wide BT HAL" toggle, reboot and try again. If not ok, send logs again please.

Yejia995 commented 7 months ago

Error logs with HAL disabled: here.

ponces commented 7 months ago

Can you please apply the following commands and test again after reboot?

adb shell
su
setprop persist.sys.bt.unsupported.commands 27
reboot
Yejia995 commented 7 months ago

Error logs with HAL enabled: here. Error logs with HAL disabled: here.

ponces commented 7 months ago

Send me a message on telegram and I'll send you a test build with a potential fix for your issue. No need for these props even.

Yejia995 commented 7 months ago

Problem fixed with this commit. Thank you so much for helping!