Skip to content

Troubleshooting Guide โ€‹

This guide helps you diagnose and resolve common issues with aa-proxy connectivity and performance.


๐Ÿงญ How It Works (Ideal Scenario) โ€‹

Before troubleshooting connection problems, itโ€™s important to understand how things should work in a perfect setup.

In an ideal situation:

  1. Power up your device running aa-proxy and connect it to the carโ€™s head unit (HU).
    A freshly flashed image should boot up and wait for the first phone connection.

  2. You should see a visible Wiโ€‘Fi network named aa-proxy and a Bluetooth device named aa-proxy-*.
    If neither is visible, there may be a power issue โ€” check Power Problems.

  3. Before the first connection, itโ€™s a good idea to pair your phone directly with the car (HU) via Bluetooth โ€” this ensures your phone has the correct hands-free profile.

  4. On your phone, enable Bluetooth, search for new devices, and pair with aa-proxy.

  5. Once paired, Android Auto (AA) will begin the initial connection process.

  6. The phone receives Wiโ€‘Fi credentials and connects to the aa-proxy Wiโ€‘Fi network.

  7. Under the hood, aa-proxy simultaneously connects to the carโ€™s HU via Bluetooth, emulating a mobile device.

  8. The phone should then automatically connect its Bluetooth audio profile to the HU.

  9. After a successful connection, data packets flow in both directions โ€” typically in passthrough mode (no modification).

  10. The proxy saves the paired Bluetooth device in its configuration. On the next boot, aa-proxy automatically attempts to reconnect to that phone.


โšก Power and USB Cable Problems โ€‹

A poor-quality cable or incorrect port usage can cause unstable operation.

1. Cable Quality โ€‹

  • Use a good-quality USB cable โ€” not all cables are equal.
  • Better cables use thicker copper conductors and handle higher current.
  • Price isnโ€™t always a reliable indicator โ€” some cheap cables perform better than expensive ones.

2. Correct USB Port โ€‹

Ensure the device is powered from the correct OTG/data port.

Raspberry Pi Zero 2 W โ€‹

Raspberry Pi Zero 2 W ports

Radxa Zero 3W โ€‹

Radxa Zero 3W ports

3. LED Indicators (Radxa Only) โ€‹

You can determine the device status by the LED indicator:

  • Steady green โ†’ The device has power but cannot boot (check SD or eMMC image integrity).
  • Double green blink (repeating) โ†’ System booted and ready.

๐Ÿ’ฝ SD Card Issues โ€‹

It might sound odd, but many strange behaviors โ€” freezes, partial boots, or random hangs โ€” often trace back to a faulty SD card.

Try using a different SD card to eliminate this variable.

Based on user feedback, I've also seen quite a few issues related to flashing SD cards on Windows. Some common things worth checking:

  • Avoid connecting the SD card reader through a USB hub. Connect it directly to your computer instead.
  • If you're using balenaEtcher, try Rufus, or vice versa.
  • Don't assume that a successful flashing process (with no reported errors) guarantees a properly written image. Sometimes simply flashing the image again, or using a different SD card, resolves the issue.

In some cases, the flashing process completes without any errors, yet the resulting SD card turns out to be unusable. Reflashing the same card or using a different one can make all the difference.

And last but not least โ€” I know this might sound almost ridiculously obvious, but trust me, it has happened even to experienced users: double-check the SD card orientation and make sure it's fully inserted into the slot. Sometimes simply flipping the card around is all it takes to get everything working. Yes, I've actually received reports of this being the culprit! ๐Ÿ˜…


๐Ÿ” Connecting via SSH โ€‹

If you need to access the device shell for diagnostics, you can connect via SSH once the system is up and on the same network.


๐Ÿชต Enabling Persistent Logging โ€‹

By default, logs are only stored in memory for the current session (from boot to shutdown).
If issues occur while driving and you cannot access logs immediately, enable persistent logging to the SD card:

ini
logfile = /data/aa-proxy-rs.log

This appends logs across sessions.

Note: Raspberry Pi devices have no RTC clock, so timestamps start from zero.
However, logs are still valuable for diagnosing what went wrong.


๐Ÿ“ถ Bluetooth Connection Problems โ€‹

By default, aa-proxy automatically connects to known devices stored in its configuration.
However, on some hardware (especially Raspberry Pi), the Bluetooth chipset can be unreliable.

If automatic reconnection causes issues, disable it by editing the config:

ini
connect =

This forces manual pairing (as during the first setup) โ€” useful for verifying that Bluetooth works properly and isolating issues.


๐Ÿ”„ Resetting the Phoneโ€™s Android Auto Connection State โ€‹

Sometimes Android Auto gets into a stuck state. To fully reset it:

  1. Turn off Wiโ€‘Fi
  2. Turn off Bluetooth
  3. Clear all Android Auto notifications (e.g., โ€œConnecting to Android Auto...โ€)
  4. Turn Bluetooth back on

This often helps, especially after repeated failed connection attempts.


๐Ÿงน Forgetting Profiles โ€‹

If nothing else works, perform a full profile reset:

  • Forget aa-proxy Bluetooth profile on the phone
  • In Android Auto settings โ†’ forget your car profile
  • Forget the car (HU) Bluetooth profile on the phone
  • Forget the phone profile in the car (HU)
  • Factory reset aa-proxy (using WebUI/companion app) or manually:
    bash
    rm -rf /var/lib/bluetooth && sync && reboot

If the above procedure doesn't help, consider trying this more extensive recovery procedure. I've received feedback that it helped resolve issues that persisted after following the steps above.


๐ŸŽต Stuttering / Audio Dropouts โ€‹

Some users experience stuttering audio or lag.
The cause can vary โ€” hardware limits, interference, or phone performance.

Common causes and fixes: โ€‹

  • Overheating: Attach a small heatsink or use a ventilated case.
  • Interference: If issues occur in specific locations, change your Wiโ€‘Fi channel.
  • Poor mobile data: If music buffers but navigation is smooth, network quality is likely the issue.
  • Software updates: Occasionally, Android Auto updates introduce regressions โ€” see Android Authority article.

Thereโ€™s no single solution โ€” experiment with hardware, Wiโ€‘Fi settings, and phone choice to minimize stuttering.