aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2018-08-17 07:37:38 +0200
committerDavide Garberi <dade.garberi@gmail.com>2018-08-31 23:17:47 +0200
commit6c44a08e2c008eff46d68fbea7a701cfd74d530b (patch)
tree98e94a8831cb16ba6246d12f3f128b3bf26935ee
parent71ac1a8c99356fc9c5033a8697ba62c832b2c7cd (diff)
msm8996-common: Use QTI bluetooth stack
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
-rwxr-xr-xmsm8996.mk2
-rw-r--r--proprietary-files.txt15
-rw-r--r--rootdir/etc/init.qcom.rc6
3 files changed, 11 insertions, 12 deletions
diff --git a/msm8996.mk b/msm8996.mk
index d9ac051..94e548a 100755
--- a/msm8996.mk
+++ b/msm8996.mk
@@ -134,8 +134,6 @@ PRODUCT_COPY_FILES += \
# Bluetooth
PRODUCT_PACKAGES += \
- android.hardware.bluetooth@1.0-impl \
- android.hardware.bluetooth@1.0-service \
libbt-vendor
# Camera
diff --git a/proprietary-files.txt b/proprietary-files.txt
index a1dab58..cee4bac 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -62,10 +62,13 @@ vendor/lib/libmdsprpc.so
vendor/lib/libqtigef.so
vendor/etc/audio_tuning_mixer.txt
-# Bluetooth - from bardock-pro - OPM1.171019.026
-vendor/bin/wcnss_filter|68cc5d856e778446ae8753bcbf6e346f917754d7
-vendor/lib/libbtnv.so|33673920d11a1221d24f7ca89f3559946959ccfb
-vendor/lib64/libbtnv.so|198cc0d7129441bf8468ed92066fff179f79856c
+# Bluetooth
+vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti
+vendor/bin/wcnss_filter
+vendor/etc/init/android.hardware.bluetooth@1.0-service-qti.rc
+vendor/lib64/hw/android.hardware.bluetooth@1.0-impl-qti.so
+vendor/lib64/libbtnv.so
+vendor/lib64/libbt-hidlclient.so
# Bluetooth (aptX) - from marlin - OPM2.171019.029
vendor/lib64/libaptX_encoder.so|0cebad28afcf29f931bdc2d24fce2730dc882ecf
@@ -73,6 +76,10 @@ vendor/lib64/libaptXHD_encoder.so|90f47f10af28b3ead143200cb4370b847c513127
vendor/lib/libaptX_encoder.so|984739a0bc968e18f75ced205733fe3f51c2d4f0
vendor/lib/libaptXHD_encoder.so|974c486e4ca03faa0713553d9dfe2995ac93e01c
+# Bluetooth (shared dependencies)
+vendor/lib64/com.qualcomm.qti.ant@1.0_vendor.so
+vendor/lib64/vendor.qti.hardware.fm@1.0_vendor.so
+
# Camera
vendor/bin/mm-qcamera-daemon
vendor/lib/libchromaflash.so
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index b5eca3a..7d550d1 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -368,12 +368,6 @@ service tftp_server /vendor/bin/tftp_server
user root
writepid /dev/cpuset/system-background/tasks
-on property:wc_transport.start_hci=true
- start start_hci_filter
-
-on property:wc_transport.start_hci=false
- stop start_hci_filter
-
service start_hci_filter /vendor/bin/wcnss_filter
class late_start
user bluetooth