diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 16b234a..77e8850 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -659,6 +659,20 @@ on property:wc_transport.start_fmhci=true on property:wc_transport.start_fmhci=false stop fmhal_service +service hciattach system/vendor/bin/hci_qcomm_init -e + class late_start + user bluetooth + group bluetooth net_bt_admin + disabled + oneshot + +on property:vendor.bluetooth.hciattach=true + start hciattach + setprop vendor.bluetooth.status on + +on property:vendor.bluetooth.hciattach=false + setprop vendor.bluetooth.status off + service start_hci_filter /system/bin/wcnss_filter class late_start user bluetooth