Unofficial Mazda Connect Android Auto Headunit App
This is highly experimental - Use at your own risk and no warranties provided.
UPDATE - I will no longer be able to support this app as I am selling my Mazda. However, @agartner and others should be able to continue the good work that they have been doing.
Please use the chatroom for discussions/support: https://gitter.im/gartnera/headunit
Unofficial port of Android Auto Headunit App to Mazda Connect CMU. The app makes extensive use of jni functions that were originally developed by Mike Reid as part of his Android app.
If you are happy with the result, please donate to Mike Reid (mikereidis AT gmail.com).
CREDITS: Mike Reid, Konsulko, A Gartner, @Siutsch
--------------
INSTALL
----------
Only use with CMU Firmware Version >= V55 . Do not use with V31/33! I suggest that you read through the Index thread to understand what exactly are you doing and for any troubleshooting.
Download the latest zip file from Github Release page AND FOLLOW THE INSTRUCTIONS NOTED ON THE RELEASE PAGE.
VIDEO
-------
https://youtu.be/sJZKQGGUl0w
https://youtu.be/ypxSDt2I_bo
--------
Version 0.8 Change log
----------------------------------
1. Performance improvements via sequential operation and removal of mutex locks - provided by @agartner
2. Changed Video sink to mfw_isink - supposed to be faster and also now opera status (volume) bar can be overlayed if required - need some javascript expertise to make it a floating bar.
Version 0.7 Change log
----------------------------------
1. USB Audio is enabled - to actually use this, you need a separate USB thumb drive in one of the slots, as this is the only way for you to be able to select USB audio in the CMU. Please do not try to use MTP option on your android phone, as it is not going to work.. Also, you need at least one mp3 or any music file in the USB thumb drive (I used http://www.xamuel.com/blank-mp3-files/point1sec.mp3)
2. Since there was a severe case of audio stuttering once for me, I have included an option to disable USB audio and switch back to AUX. You can do this by placing a file called hu_disable_audio_out in the SD CARD (which, of course, means you now need an SD card
). I haven't actually tested this out as USB Audio worked fine at all times except that one instance.
3. Nexus fix provided by @agartner
4. Debug version of the app - to be run from ssh only - download from here . Copy to /data_persist/dev/bin, chmod 755 and run after executing the following command:
Version 0.6 Change log
----------------------------------
1. Voice control should not cause app to quit
2. More VIDs added, including a possible fix for Nexus phones with VID 0x18D1
Version 0.5 Change log
----------------------------------
1. Voice control enabled
2. More VIDs added, including a possible fix for Nexus phones with VID 0x18D1
3. Graceful kill when reverse gear engaged - App will restart when reverse gear is disengaged. However, reverse camera is still dark (because same V4L device?) as app isn't killed fast enough.
Version 0.4 Change log
----------------------------------
1. Performance improvement to the gstreamer pipeline - testing shows no issues with Nav now. However, need some feedback to check if it is the same for everyone.
2. Removed auto switch to Bluetooth as it causes problems with the UI. Need to switch manually now.
3. Added a bunch of other Vendor id to Android USB Device VID list
4. Removed aaserver and switched to websocketd.
5. New gstreamer plugin h264parse compiled and added.
6. UI now has USB/Gstreamer debug message window
Version 0.3 Change log
----------------------------------
1. Night Mode - Simple logic for now - 6AM to 6PM is day .. Night afterwards
2. First attempt at making libssl/libusb calls thread safe (Voice control will crash otherwise ocassionally).
3. Increased USB send timeouts for better screen refresh.
4. Added LG's Vendor id to Android USB Device VID list
Version 0.2 Change log
----------------------------------
1. Code sync with Mikereidis/Master
2. aaserver - microhttpd server to launch and pass status back to UI - no more messy sh, watch and other hoops.
3. UI integration using Herko ter Horst's method.
4. Exit AA using on screen menu (last screen with speedo icon)
This is highly experimental - Use at your own risk and no warranties provided.
UPDATE - I will no longer be able to support this app as I am selling my Mazda. However, @agartner and others should be able to continue the good work that they have been doing.
Please use the chatroom for discussions/support: https://gitter.im/gartnera/headunit
Unofficial port of Android Auto Headunit App to Mazda Connect CMU. The app makes extensive use of jni functions that were originally developed by Mike Reid as part of his Android app.
If you are happy with the result, please donate to Mike Reid (mikereidis AT gmail.com).
CREDITS: Mike Reid, Konsulko, A Gartner, @Siutsch
--------------
INSTALL
----------
Only use with CMU Firmware Version >= V55 . Do not use with V31/33! I suggest that you read through the Index thread to understand what exactly are you doing and for any troubleshooting.
Download the latest zip file from Github Release page AND FOLLOW THE INSTRUCTIONS NOTED ON THE RELEASE PAGE.
VIDEO
-------
https://youtu.be/sJZKQGGUl0w
https://youtu.be/ypxSDt2I_bo
--------
Version 0.8 Change log
----------------------------------
1. Performance improvements via sequential operation and removal of mutex locks - provided by @agartner
2. Changed Video sink to mfw_isink - supposed to be faster and also now opera status (volume) bar can be overlayed if required - need some javascript expertise to make it a floating bar.
Version 0.7 Change log
----------------------------------
1. USB Audio is enabled - to actually use this, you need a separate USB thumb drive in one of the slots, as this is the only way for you to be able to select USB audio in the CMU. Please do not try to use MTP option on your android phone, as it is not going to work.. Also, you need at least one mp3 or any music file in the USB thumb drive (I used http://www.xamuel.com/blank-mp3-files/point1sec.mp3)
2. Since there was a severe case of audio stuttering once for me, I have included an option to disable USB audio and switch back to AUX. You can do this by placing a file called hu_disable_audio_out in the SD CARD (which, of course, means you now need an SD card
3. Nexus fix provided by @agartner
4. Debug version of the app - to be run from ssh only - download from here . Copy to /data_persist/dev/bin, chmod 755 and run after executing the following command:
Code:
export LD_LIBRARY_PATH=/data_persist/dev/androidauto/custlib:/jci/lib:/jci/opera/3rdpartylibs/freetype:/usr/lib/imx-mm/audio-codec:/usr/lib/imx-mm/parser:/data_persist/dev/lib:
Version 0.6 Change log
----------------------------------
1. Voice control should not cause app to quit
2. More VIDs added, including a possible fix for Nexus phones with VID 0x18D1
Version 0.5 Change log
----------------------------------
1. Voice control enabled
2. More VIDs added, including a possible fix for Nexus phones with VID 0x18D1
3. Graceful kill when reverse gear engaged - App will restart when reverse gear is disengaged. However, reverse camera is still dark (because same V4L device?) as app isn't killed fast enough.
Version 0.4 Change log
----------------------------------
1. Performance improvement to the gstreamer pipeline - testing shows no issues with Nav now. However, need some feedback to check if it is the same for everyone.
2. Removed auto switch to Bluetooth as it causes problems with the UI. Need to switch manually now.
3. Added a bunch of other Vendor id to Android USB Device VID list
4. Removed aaserver and switched to websocketd.
5. New gstreamer plugin h264parse compiled and added.
6. UI now has USB/Gstreamer debug message window
Version 0.3 Change log
----------------------------------
1. Night Mode - Simple logic for now - 6AM to 6PM is day .. Night afterwards
2. First attempt at making libssl/libusb calls thread safe (Voice control will crash otherwise ocassionally).
3. Increased USB send timeouts for better screen refresh.
4. Added LG's Vendor id to Android USB Device VID list
Version 0.2 Change log
----------------------------------
1. Code sync with Mikereidis/Master
2. aaserver - microhttpd server to launch and pass status back to UI - no more messy sh, watch and other hoops.
3. UI integration using Herko ter Horst's method.
4. Exit AA using on screen menu (last screen with speedo icon)