title: Bluetooth doesn't turn on AOSP 6.0 + Nexus 5X
body: <p>I am not able to get Bluetooth to turn on with AOSP built from source (for  both MMB29V and MTC19T)</p>
  
  <p>I downloaded both versions of AOSP (android-6.0.1_r17 and android-6.0.1_r25 respectively), I built both and tried to load  system, userdata and cache built from aosp on Nexus 5X device.</p>
  
  <p>I also load the vendor image from corresponding factory binaries.</p>
  
  <p>Device boots, other functions work (camera, wifi etc. Not exhaustively tested) but Bluetooth doesn't turn on. </p>
  
  <p>On switching on BT, lot of logs are printed, I think these lines might have some significance:</p>
  
  <pre><code>01-04 03:22:33.043 2441-2462/? E/bt_vendor: connect_to_local_socket: ACCEPT 
  01-04 03:22:33.045 2441-2462/? E/bt_vendor: failed to connect (Connection refused)
  01-04 03:22:33.046 2441-2462/? E/bt_hci_h4: hal_open opened the wrong number of ports: got -1, expected 1.
  </code></pre>
  
  <p>What can I do to get Bluetooth to work on this device?</p>
  
  <p>I can get more parts of logs if required.</p>