X6833B: Configure Bluetooth stack

Refs: 8162996196

Co-authored-by: electimon <electimon@gmail.com>
Co-authored-by: bengris32 <bengris32@protonmail.ch>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
This commit is contained in:
dodyirawan85 2023-12-09 17:01:31 +07:00
parent f401f30c14
commit 2bd6390627
3 changed files with 24 additions and 0 deletions

View file

@ -2,6 +2,13 @@
aaudio.mmap_exclusive_policy=2
aaudio.mmap_policy=2
# Bluetooth
persist.bluetooth.a2dp_offload.cap=sbc-aac
persist.bluetooth.a2dp_offload.disabled=true
ro.bluetooth.a2dp_offload.supported=true
ro.vendor.bt.platform=connac1x
ro.vendor.mtk.bt_sap_enable=true
# Connsys
persist.vendor.connsys.chipid=-1
persist.vendor.connsys.dynamic.dump=0

View file

@ -70,6 +70,10 @@ PRODUCT_COPY_FILES += \
frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml
# Bluetooth
PRODUCT_PACKAGES += \
android.hardware.bluetooth@1.1.vendor
# Boot control HAL
PRODUCT_PACKAGES += \
android.hardware.boot@1.2-service \

View file

@ -184,6 +184,19 @@ vendor/etc/audio_param/preset_ringtone.bin
vendor/etc/audio_param/preset_voice.bin
vendor/etc/audio_param/preset_voip.bin
# Bluetooth
vendor/bin/hw/android.hardware.bluetooth@1.1-service-mediatek
vendor/etc/init/android.hardware.bluetooth@1.1-service-mediatek.rc
vendor/etc/init/init.bt_drv.rc
vendor/lib/hw/android.hardware.bluetooth@1.1-impl-mediatek.so
vendor/lib/libbluetooth_mtk.so
vendor/lib/libbluetooth_mtk_pure.so
vendor/lib/libbt-vendor.so
vendor/lib64/hw/android.hardware.bluetooth@1.1-impl-mediatek.so
vendor/lib64/libbluetooth_mtk.so
vendor/lib64/libbluetooth_mtk_pure.so
vendor/lib64/libbt-vendor.so
# Display
vendor/bin/hw/mt6789/android.hardware.graphics.allocator@4.0-service-mediatek.mt6789
vendor/bin/hw/vendor.mediatek.hardware.pq@2.2-service