Enable previously added Bluetooth patches

This commit is contained in:
Tad 2018-08-24 13:52:34 -04:00
parent 9fb6c648d9
commit e078d37b82
3 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,16 @@
Without:
Service: Media Codec - Audio SBC (44100 | JointStereo | block: 16 | subbands: 8 | allocation: Loudness | bitpool: 2..53)
With:
Service: Media Codec - Audio SBC (44100 | DualChannel | block: 16 | subbands: 8 | allocation: Loudness not set | bitpool: 2..53)
How to check:
Enable developer options
Enable Bluetooth HCI logging
Connect a Bluetooth device
Play some music
Enable ADB
Generate bug report
Open FS/data/misc/bluetooth/logs/btsnoop_hci.log in Wireshark
Filter for btavdtp
Look at GetCapabilities and SetConfiguration lines

View File

@ -147,7 +147,7 @@ enterAndClear "packages/inputmethods/LatinIME";
patch -p1 < "$DOS_PATCHES_COMMON/android_packages_inputmethods_LatinIME/0001-Voice.patch"; #Remove voice input key
enterAndClear "system/bt";
patch -p1 < "$DOS_PATCHES/android_system_bt/Improve_Quality.patch"; #Improve Bluetooth audio quality, credit @ValdikSS
patch -p1 < "$DOS_PATCHES/android_system_bt/0001-Improve_Quality.patch"; #Improve Bluetooth audio quality, credit @ValdikSS
enterAndClear "system/core";
if [ "$DOS_HOSTS_BLOCKING" = true ]; then cat "$DOS_HOSTS_FILE" >> rootdir/etc/hosts; fi; #Merge in our HOSTS file

View File

@ -148,7 +148,7 @@ enterAndClear "packages/inputmethods/LatinIME";
patch -p1 < "$DOS_PATCHES_COMMON/android_packages_inputmethods_LatinIME/0001-Voice.patch"; #Remove voice input key
enterAndClear "system/bt";
patch -p1 < "$DOS_PATCHES/android_system_bt/Improve_Quality.patch"; #Improve Bluetooth audio quality, credit @ValdikSS
patch -p1 < "$DOS_PATCHES/android_system_bt/0001-Improve_Quality.patch"; #Improve Bluetooth audio quality, credit @ValdikSS
enterAndClear "system/core";
if [ "$DOS_HOSTS_BLOCKING" = true ]; then cat "$DOS_HOSTS_FILE" >> rootdir/etc/hosts; fi; #Merge in our HOSTS file