This project is a revived version of the original headunit project by the great Michael Reid. The original project can be found here: https://github.com/mikereidis/headunit
- Connect your Android device (phone) to the tablet running Headunit Revived via USB cable.
- Make sure that Android Auto is installed on your phone.
- Set your phone to Host-Mode if nescessary and select Android Auto
- Click the USB Button in Headunit Revived, find your phone and click the right button to allow connection
- Click on your phone in the list and wait for Android Auto to start
- Open Android Auto Settings on your phone
- Click on Version and then on version and permission and click several to enable developer settings
- Go back to Android Auto, click the three dots on the top right and start the infotainment server
- Now you need to bring your phone and headunit(tablet) into the same network (WiFi). You can use mobile hotspot from phone, or from the headunit or use wifi direct. That doesn't matter
- Go to your phones wifi settings and search for your IP-Address eg: 192.168.1.25
- Open Headunit Revived and click on the wireless button
- Add the IP-Address of your phone and click on it to start Android Auto
- IMPORTANT: In my tests it only works, if your phone is unlocked AND shows the Android Auto settings page! Otherwise it won't connect
- Often the wireless connection won't start. I need more debugging why
- Handshake failed sometimes and the devices won't connect. You need to try again, restart phone or clear caches
- Added Exit button to app
- Added resolution settings back for better compatibility with different screen sizes
- Added Option for which texture to use. Some devices perform better on SurfaceView, some on TextureView
- Fixed keymapping
- Fixed a lot of color issues
- Fixed a bug where the app crashed on startup on some devices
- Fixed Layout on wider screens
- Some rewrite, and small bugfixes
- Changed the basic design to a modern look and bigger buttons
- Hopefully fixed audio-stutters with audio thread and some logs
- Removed some deprecations
- Updated dependencies to latest versions.
- Improved compatibility with newer Android versions.
- Added Multitouch-Support
- Some sort of wireless support with Headunit-Server on Phone
Creating release apk needs a keystore file. You can create your own keystore file using the following command in root folder:
keytool -genkey -v -keystore headunit-release-key.jks -alias headunit-revived -keyalg RSA -keysize 2048 -validity 10000
After that you need to set the env variables depending on your OS: MAC: open ~/.zshrc or ~/.bashrc
sudo nano ~/.zshrc or sudo nano ~/.bashrc
export HEADUNIT_KEYSTORE_PASSWORD="YOUR_KEYSTORE_PASSWORD" export HEADUNIT_KEY_PASSWORD="YOUR_KEY_PASSWORD"
Headunit for Android Auto (tm)
A new car or a $600+ headunit is NOT required to enjoy the integration and distraction reduced environment of Android Auto.
This headunit app can turn a Android 4.1+ tablet supporting USB Host mode into a basic Android Auto compatible headunit.
Android, Google Play, Google Maps, Google Play Music and Android Auto are trademarks of Google Inc.
