cawilliamson / treble_voltage

Patches used to build VoltageOS as Trebledroid GSI.
30 stars 15 forks source link

Bluetooth crashes/doesn't work #1

Closed tommynok closed 7 months ago

tommynok commented 7 months ago

Device -Tecno Camon 19Neo OS 12A MTK Helio G85 bluetooth.zip

cawilliamson commented 7 months ago

Does Bluetooth work properly on other TrebleDroid based GSI ROMs? If so, which?

tommynok commented 7 months ago

Does Bluetooth work properly on other TrebleDroid based GSI ROMs? If so, which?

Yes. Latest AOSP, TD

cawilliamson commented 7 months ago

Ok folks - can you try the folllowing WITHOUT rebooting?

adb shell
setprop bluetooth.hci.disabled_commands $(getprop persist.sys.bt.unsupported.commands)

Then try your bluetooth pairing again? It MAY need BT turning off and on again.

If that works let me know and I'll get a patch merged in.

tommynok commented 7 months ago
adb shell
setprop bluetooth.hci.disabled_commands $(getprop persist.sys.bt.unsupported.commands)

Then try your bluetooth pairing again? It MAY need BT turning off and on again.

no, that didn't help. Bluetooth also does not work on the latest version, VoltageOS 3.1-20240117

cawilliamson commented 7 months ago

Please try this build and report back:

[removed]

Either way - could you post back the output of the following command?

adb shell getprop bluetooth.hci.disabled_commands

EDIT: Actually - use this instead: https://github.com/cawilliamson/treble_voltage/releases/tag/3.1-20240117-3

Should solve the issue once and for all!

tommynok commented 7 months ago

Should solve the issue once and for all!

A quick test of the new build - after installation, a bluetooth error appears immediately on the initial installation screen (bluetooth has stopped....) As in previous builds But bluetooth works ok. Of course I had to turn on "bluetooth workarounds-mediatek" in phh settings

cawilliamson commented 7 months ago

Does it do that every boot?

Glad to hear things are working properly other than that though. That's certainly progress. :)

tommynok commented 7 months ago

Does it do that every boot?

You mean "bluetooth has stopped...." error ? If yes, then no. This appears only at the first start, initial system setup Thanks for the fixes