Proof that it actually works: https://www.youtube.com/watch?v=GiDPYyJeSx4

Do know that this is currently not very stable, and I an not sure about how practical it is due to the following limitations

  1. The car’s infotainment system cannot connect to wifi until 2 minutes after the car is started
  2. Turning on wifi and bluetooth at the same time makes the wifi connection unstable enough that no android auto connection can be established. This might only be true for NA cars.
  3. You have to manually turn on the head unit service on your phone every time you want to use android auto wirelessly. Due to the last fact, it is unlikely that this will change in the future.
  4. Audio is unstable. This is due to some logical issues with the code that handles audio routing. I might be able to work on it soon.

If you are still interested after considering the above limitations, follow this guide.

Installing the tweaks

For firmware < v55, update to v55 first. The following steps are intended for v55 and v56. If yolu are using v7x, you may consider trying other vulnerabilities (see the section at the end), but you are on your own.

Follow the following steps sequentially:

  1. Clone https://github.com/yangwenbo99/Neo-MZD-AIO. Use my version, as it contains necessary fixes for Android > 9.x.

  2. Generate the config file

    1
    2
    npm ci --prefix cli
    node cli/bin/mzd-aio.js configure

    Make sure to install the followings

    • android auto (select enable wireless)
      • If your touchscreen is broken, also select disable_touchscreen, this would make the knob control more useful.
      • For my car, I need to set reverse_compass to get the navigation pointing at the correct direction
    • enable_wifi (if your car is not purchased in EU)

    It is also highly advised to install the swap file.

    You may also install other tweaks, but do not install wireless AP.

    If you touchscreen is broken, select “skip confirmation”. Otherwise you will have to confirm the installation on the touchscreen, which is not possible.

  3. Generating the installation files

    1
    node cli/bin/mzd-aio.js build path-to-your-config.yaml --output ./installation

    Copy everything inside installation to the root of a USB thumb drive that is formatted as FAT32. Turn your infotaiment system on, and insert the USB drive. Wait.

  4. It is advised to also install cmu-autorun (following similar steps as above)

Testing the connection

  • Disable bluetooth on the car, and enable wifi. Connect to your phone’s hotspot.
  • On your phone, turn on Android Auto’s developer settings, then in Settings –> Start head unit server

After this, the logo of Android Auto should flash a few times in your phone’s notification bar, and Android Auto should appear on your car’s infotainment system.

Automatic Connection

Many modern phones use randomized BSSID for wifi connections. However, the car only remembers APs by their BSSID. In addition, somehow, my car is unwilling to turn on wifi when it boots up. Therefore, I think it is better to write a run.sh that got executed by cmu-autorun to automatically connect to my phone’s hotspot. (See Here for an example. This example also make sure the power_save mode for the NIC is disabled).

Other vulnerabilities worth trying for newer firmwares