Skip to content
Prash Prabhu edited this page Oct 4, 2019 · 9 revisions

Steps to compile current code using ubuntu 16.04

Install Ubuntu 16.04 as per https://docs.microsoft.com/en-us/windows/wsl/install-win10

Run the following commands

cd ~
sudo apt-get update
sudo apt-get install git adb bluetooth libbluetooth-dev tlp blueman bluemon bluez libsdl2-2.0-0 libsdl2-ttf-2.0-0 libportaudio2 gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-alsa
sudo apt-get install libssl-dev libusb-1.0-0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libsdl1.2-dev libgtk-3-dev libudev-dev libunwind-dev libsdl2-dev libgstreamer-plugins-bad1.0-dev protobuf-compiler libdbusxx
git clone --recursive https://github.com/gartnera/headunit.git
cd ~/headunit/mazda 
make

Go to the ubuntu directory on your PC as per https://www.howtogeek.com/261383/how-to-access-your-ubuntu-bash-files-in-windows-and-your-windows-system-drive-in-bash/

Copy over the compiled headunit file,headunit.json and headunit-wrapper to installer/config/androidauto/date_persist/dev/bin folder.

Copy installer folder to USB and plug it into your car

It should install automatically, restart navigation(nav button+mute) and follow the prompts if it doesn't

Clone this wiki locally