Last active
June 2, 2022 03:37
-
-
Save jayv/8941338ee06cabdd77f55f98a73b8f93 to your computer and use it in GitHub Desktop.
bluez linux AirPods Pro low volume stuck patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: https://unix.stackexchange.com/questions/437468/bluetooth-headset-volume-too-low-only-in-arch/562381#562381 | |
> For those who don't want to compile the whole thing, the hex code of that method (in Ubuntu 20.04) is | |
> `48 8b 46 70 66 83 78 0a 7f` and if you replace the `7f` with `ff`, that method basically always returns TRUE. | |
> Just hexedit your /var/lib/bluetooth/bluetoothd and restart bluetooth. | |
`sudo vi /usr/lib/bluetooth/bluetoothd` (old: `sudo vi /var/lib/bluetooth/bluetoothd`) | |
-> `:%!xxd` | |
-> /488b 4670 6683 780a 7f | |
replace `7f` into `ff` | |
-> `:%!xxd -r` | |
-> :wq! | |
`sudo systemctl daemon-reload` | |
`sudo systemctl start bluetooth.service` | |
Volume controls on Airpods Pro should work now | |
related links: | |
- https://unix.stackexchange.com/questions/437468/bluetooth-headset-volume-too-low-only-in-arch/562381#562381 | |
- https://archived.forum.manjaro.org/t/airpods-pro-max-volume-too-low/146508 | |
- https://github.com/bluez/bluez/issues/17 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment