Configuration options ​
In this chapter, I will go over the configuration options – not necessarily all at once, but gradually, focusing first on the most important or less straightforward ones.
Dongle Mode ​
Dongle Mode is a special mode introduced by Google for wireless Android Auto adapters such as the MA1. It allows Android Auto to start without requiring the dongle itself to support Bluetooth Hands-Free profiles (HFP/HSP).
How it works
- Android Auto checks the name of the Bluetooth device.
- If the device name matches the pattern
AndroidAuto-xxx, the connection is accepted even if the dongle does not expose a hands-free profile. - The system then binds the car’s hands-free connection to the dongle’s MAC address.
- As a result, Android Auto will only start when the phone is connected to the car’s Bluetooth hands-free system.
This mechanism is designed to prevent Android Auto from launching automatically in cars where the USB port remains powered even when the ignition is off.
Limitations ​
Dongle Mode is not a perfect solution. The dongle will still continuously attempt to connect to the phone, which may result in persistent notifications such as:
Looking for Android Auto
However, Android Auto itself will not start until the phone is connected to the car’s Bluetooth system.
A2DP Sink: keep the car's Bluetooth media audio untouched ​
By default, when Android Auto starts, the phone switches its Bluetooth audio into a "car kit" (HFP-only) mode and the head unit's own Bluetooth Media Audio (A2DP) connection with the phone gets disabled. If you want to keep listening to the car's Bluetooth media (and, for example, let music apps keep updating live lyrics through the A2DP endpoint) while Android Auto is running, enable the bt_a2dp_sink_enabled option.
bt_a2dp_sink_enabled = false # defaultWhat it does
- Registers a dummy A2DP Audio Sink SDP profile on the local Bluetooth adapter (via BlueZ
ProfileManager1), so the phone sees A2DP as available. - Strips the
BluetoothServiceentry from theservice discovery response, so Android Auto does not lock the session into Car-Kit/HFP-only audio routing. - As a result the vehicle's own Bluetooth media audio session stays untouched, while Android Auto voice/media still routes through the proxy.
WARNING
No audio is actually streamed through this A2DP profile: only the SDP record is advertised. The option is ignored in Dongle Mode and is marked as advanced in the web interface.
BlueZ main.conf ​
In the setup where this feature was first reported and tested (see issue #126) the following was also set in /etc/bluetooth/main.conf, in the [General] section:
[General]
Class = 0x200414
Enable = Source,Sink,Media,Socket
JustWorksRepairing = always
DeviceID = falseThese values come from a community report. Try bt_a2dp_sink_enabled first without touching main.conf, and only change it if the phone still disables the car's Media Audio. Restart bluetoothd (or reboot) after editing the file. If you build your own image, put the file into the rootfs overlay.
Troubleshooting ​
- Check the log (
/var/log/aa-proxy-rs.log) forA2DP Sink SDP profile registered– if you seeregistration failedinstead,bluetoothdis probably not reachable over the system D-Bus. - After enabling the option, forget the aa-proxy device on the phone and pair again, so the phone refreshes the cached SDP records.