nisargjhaveri / WirelessAndroidAutoDongle

Use Wireless Android Auto with a car that supports only wired Android Auto using a Raspberry Pi.
MIT License
743 stars 86 forks source link
android-auto android-automotive headunit wireless-android-auto

Wireless Android Auto Dongle

DIY Wireless Android Auto adapter to use with a car that supports only wired Android Auto using a Raspberry Pi.

This repository consists of the buildroot setup to generate an sd card image to create your own Wireless Android Auto adapter.

Features

Supported Hardware

This is currently tested and built for the following Raspberry Pi boards supporting USB OTG.

In theory, this can be extended to more hardware in future with these basic requirements.

Install and run

Download a pre-built sd card image for your board. You can also build one yourself. Install the image on the SD card using your favorite tool.

You may want to update the country_code in the /etc/hostapd.conf file.

First-time connection

Subsequent connections

From the next time, it should automatically connect to the phone and start Android Auto.

Make sure your Bluetooth and Wifi are enabled on the phone.

Troubleshoot

Common issues

Bluetooth and Wifi seems connected, but the phone stuck at "Looking for Android Auto"

The most common issue behind this is either bad USB cable or use of wrong USB port on the device. Make sure:

  1. The cable is good quality data cable and not power-only cable
  2. You're using the OTG enabled usb port on the board, and not the power-only port.

Getting logs

Once you've already tried multiple times and it still does not work, you can ssh into the device and try to get some logs.

Contribute

Find or create a new issue for any bugs or improvements.

Feel free to Create a PR to fix any issues. Refer BUILDING.md for instructions on how to build locally.

Support

Please consider sponsoring if you find the project useful. Even a small donation helps. This will help continuing fixing issues and getting support for more devices and headunit in future.

In any case, don't forget to star on github and spread the word if you think this project might be useful to someone else as well.

Limitations

This is currently tested with very limited set of headunits and cars. Let me know if it does not work with your headunit.