2004 to 2020 Mazda 3 Forum and Mazdaspeed 3 Forums banner

The Infotainment Project

2 reading
4.2M views 6.6K replies 1.1K participants last post by  bsliv  
#1 · (Edited by Moderator)
MOD EDIT 8/12/15:

INDEX FOR THE INFOTAINMENT PROECT can be found here:

http://mazda3revolution.com/forums/2014-mazda-3-skyactiv-audio-electronics/104730-index-infotainment-project.html

ONLY USE IT AS A REFERENCE. ALL QUESTIONS AND COMMENTS REGARDING THE INFOTAINMENT PROJECT SHOULD BE POSTED HERE.

----------------------------------------

So, the Infotainment system is great, but it has me thinking how much greater it could be. There's so much potential wasted right now, and I would like to untap some of that.

The original post: http://mazda3revolution.com/forums/...-mazda-3-skyactiv-discussion/39650-infotainment-system-software-components.html.
This got me thinking. This is obviously a linux-based OS running on an ARM chip. This was seen on this post as well: http://mazda3revolution.com/forums/...3-skyactiv-audio-electronics/54722-accessing-infotainment-diagnostics-menu.html

I'm a software engineer, but don't have any experience dealing with low-level linux based systems. I would love to be able to either install custom, modified linux operating systems in the car or just be able to alter parts of the system to enable hidden or disabled parts of the system.

For instance, every european market has the ability to buy connected services (live traffic, weather, etc), and the Japanese market even can play DVD's and watch live TV!

This may at least give us the ability to upgrade our own systems without visiting the dealer, or use other applications through our phones such as Waze.

What I think may help here is getting the update code dump. This would be solved easiest if someone knows a dealer that can get the update software on a USB stick. If someone could upload that somewhere, we could then start analyzing the update procedure and the software and hopefully fine some way to hijack onto that process.
 
#6,395 · (Edited)
#6,397 ·
Hello folks - I am hoping this is an easy question, but I have been away so long I am not sure and trying to keep up through the hundreds of pages since my last work... well I beg your forgiveness if this is summarized somewhere already:

I applied AIO to 2016 6 Touring back in 2015/16. So car has been awesome running on 55.00.760

I purchased the parts to add AA/CP to the car and I understand I have to flash up to 70 first.

My question is - can I still apply AIO to 70? I see that it is possible, but I am not 100% sure if I need to uninstall AIO before I do any upgrades. [thats first concern]

Secondly, I see that folks have made AIO work with 70 now, but I am not sure if it can be done without having to do the serial method first, or if there is another way since I am coming from 55. All I really want with the hacks is to apply touchscreen, skip warning, and apply a custom wallpaper for when I am not in CP.

Finally, does ANY of this cause issues with the NAV?

I don't want doing the work, but I am struggling to find the path of instructions to go from 55 to 70, keeping AIO as simple as possible so I can install and activate CarPlay. Of course, if I have to sacrifice AIO to get CP working I will, but then I am unsure about having to uninstall AIO before doing the 70 upgrade or not. Thanks in advance!
 
#6,398 ·
@Rozey66 First go into AIO and install the ID7 Recovery Scripts per: https://mazda3revolution.com/forums...v-audio-electronics/200450-aio-tweaks-firmware-ver-502-read-95.html#post2426167

This will allow you to update the firmware while preserving the ability to install tweaks via USB.

Then follow the instructions for the firmware to V70 here: https://mazda3revolution.com/forums...o-electronics/230249-genuine-carplay-android-auto-all-here-now.html#post2405669

You don't need to uninstall your tweaks first; they will disappear as a result of the upgrade (but your recovery scripts will remain).

Next, install the hub and cables.

Finally, reinstall the AIO tweaks you like.
 
  • Like
Reactions: Rozey66
#6,400 · (Edited)
Thank you kind sir! A couple of questions to clarify before I do something dumb:



1. I no longer have the windows computer or software install/USB/SD etc that I used originally. I do not even remember WHAT tweaks I turned on/off. Is it possible for me to create a new USB with only the ID7 and it will preserve everything else? Does this even matter if my intention is to add ID7 (to retain UB updates after FM70 upgrade) since I have to reinstall later? [I only ask this because I want to understand how the compiler works more - I had to do manual script edits the first time around. :)] . <-- of course you can, just try it. Sometimes I forget that I am compiling via a software app and USB on my laptop and NOT the car; so no harm in playing around with the setup. So before I stick this USB into my car; my real question is does this leave everything else as is and only adds the ID7 scripts? [[Edit 2 - yes, as FAQ in AIO states, each drive compiled is an update and only overwrites what you are installing. Will only uninstall something marked for uninstall. ]]

2. I swear I saw a list of which tweaks didn't work with 70, but I can't find it now - anyone care to share?

PS - Did I say Thank You? I did, but thank you again.
 
#6,399 ·
first make an update of AIO to AIO 2.8.3 and then install the tweak "ID7 recovery", this will allow you to install tweaks without the need of serial connection.
most tweaks are compatible with version 70 00 100.
note that the touchscreen at all times is not compatible with the official version of Android Auto, but works with Carplay
 
#6,401 ·
OK, I was able to install the ID7 (first) and then completed 55-->70 upgrade and finally applied a set of AIO tweaks with autorun USB.

Total time for everything was under 40 minutes. Best part was washing the car during the long(er) FM update. :)

So only concern so far - my Nav SD is "invalid" now. My original install of tweaks back in 2016 was to enable CID to get Nav to work. Is that broken with FM_70 or am I missing something now?
 
#6,403 ·
AIO 2.8.3 issues identified

Gents,

Just a quick post to mention some small issues I saw with the recent AIO 2.8.3, in case anyone from the team wants to take a look at them to fix them.

My setup:
FW: V70.00.100A EU
Gracenote: EU_June2018 (V9.000)
Tweeks from AIO 2.8.3

From the log file of the installation I've noticed the following:

USB Audiomod is not compatible with V70.
On the AIO there is no version resctriction mentioned for the Audiomod. There is however a mention that FLAC support is only compatible with FW version up to 59.00.443C-EU.

Can anyone provide support for USBAudiomod for V70? If not possible, maybe add a warning on the AIO interface saying it will not be possible to add the tweak on versions higher than 59? It is briefly shown on the CMU while installing that there was an error with no detail.
Code:
===***USBAudioMod Not Compatible With v59.00.500+... Install Skipped**===
There is an error while installing the Videoplayer as seen below in bold, but it does not prevent videos from playing, which is good!
Code:
============***********   INSTALL VIDEOPLAYER   ************=============
===             Begin Installation of VideoPlayer V3.7                ===
===                   Removed Old VideoPlayer Files                   ===
===                        Copied  aio.js                             ===
===   /tmp/mnt/sdb1/config/bin/node add_app_json.js Video Play        ===
===                    Modified Stage_wifi.sh                         ===
===                    Copy VideoPlayer Files                         ===
===                   Set Video Player Options                        ===
===              Copy libs to usr/lib/gstreamer-0.10                  ===
[B]sh: 2: unknown operand[/B]
===                  Updated gstreamer registry                       ===
========********** END INSTALLATION OF VIDEOPLAYER ***********===========
From what I can tell it is on the following block, but I was not able to debug or troubleshoot this as I don't have the dev environment set up.
Code:
count=$(grep -c '/imx-mm/video-codec' /etc/profile || echo 2)
if [ $count -eq 0 ]
then
  backup_org /etc/profile
  sed -i 's/\/imx-mm\/parser/\/imx-mm\/parser:\/usr\/lib\/imx-mm\/video-codec/g' /etc/profile
  log_message "===                      Fix exports / codecs                         ==="
fi

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/imx-mm/video-codec

rm -f /tmp/root/.gstreamer-0.10/registry.arm.bin
/usr/bin/gst-inspect > ${MYDIR}/gst-inspect.log 2>&1
Regarding FLAC support on the audio player, on the gst-inspect.log I see that flac encoder/decoder are installed, but the audio player does not play FLACs properly.

Code:
flac:  flactag: FLAC tagger
flac:  flacdec: FLAC audio decoder
flac:  flacenc: FLAC audio encoder
Also, on the beggining of this log file I see the following messages, but cannot tell how critical they are.
Code:
(gst-plugin-scanner:23994): GStreamer-CRITICAL **: gst_pad_template_new: assertion `caps != NULL' failed

(gst-plugin-scanner:23994): GStreamer-CRITICAL **: gst_element_class_add_pad_template: assertion `GST_IS_PAD_TEMPLATE (templ)' failed
That is all I saw on the log files. Everything else worked properly.

Good job AIO team!
 
#6,404 ·
Hello everyone,

Long story short, my car had v55, so I installed the autorun/id7 recovery scripts. Ran the dry-run. Everything was okay. Brought to dealer for the v70 upgrade. Car comes back with a v70 failsafe, and a v31 OS. They reverted the system, somehow. Checked autorun was still present, it was, brought the car back. They go to update. CMU is bricked - black screen only. They have a warranty CMU coming in soon that will be delivered likely at v70.

Any thoughts on the following?
A) How did the system revert to v31 during a v55->v70 update? Could the scripts have caused this?
B) How does the failsafe succeed, but the actual OS is reverted?
C) How would the dealer have bricked it during an upgrade, barring the usual shutting the car off, pulling the plug, etc?

Thanks in advance all.
 
#6,405 ·
I'm not a coder or html expert by any means, but I'd love to have a feature where the MZD Connect loads data from a .json online (using cellphone as hotspot) and displays them permanently, i.e. in the same spot as the date mod.
This is a somewhat specific use case I guess, but it's the blood sugar values of a diabetic, read by a constant glucose monitor and uploaded to the net. The json contents look like this:
value 80
time "4:23PM"
x 1549808603
trend 4
trend_symbol "→"
trend_words "FLAT"
delta -4
units "mg/dL"
mmol 4.4
reading "80 → -4"
timestamp "2019-02-10T14:23:23.000Z"
full "80 → -4 4:23PM"
The "reading" value would be enough. Anyone know of any way to make this possible?

One problem is that it also needs a one-time login and cookie to match the readings to the user.
 
#6,406 ·
Hi just a noob question, I have bought an imported mazda 3 from Japan and came with an OS Ver. 59.00.448 JP M. I have been reading a lot on how to change the firmware to ADR version. Will it be safe just to directly convert it to 59.00.502A? or do I need to install the lower version of ADR OS first prior moving to version 59? Any tips will be greatly appreciated, specially if there would just be a tweak with how to change region without reinstalling the whole firmware. TIA.
 
#6,407 ·
Hello guys

I have recently started working on a custom app for our CMU and have got to the point where I can display values read through websocketd, but I found myself somewhat limited by smdb-provided values.
So, here I am asking if anyone has had any success yet in communicating with the CAN bus to read OBD PIDs.

Looking at 2x4logic's CMU board photos and analysis, I understand that the CAN bus is not directly connected to the main CPU, but instead goes through another microcontroller.
This other microcontroller must be communicating with the main CPU through some hardware protocol which I would expect to be I2C or SPI.

I understand that there may be some limitations, after all who whould want an infotainment system that is able to send potentially malicious commands to the PCM?
But I think we could still get something valuable out of it.

I have not yet had time to check inside my CMU nor I have a spare one to work on, but I have some ideas about how to get more information on this.

Thank you :)
 
  • Like
Reactions: Torben
#6,428 ·
Hello guys

I have recently started working on a custom app for our CMU and have got to the point where I can display values read through websocketd, but I found myself somewhat limited by smdb-provided values.
So, here I am asking if anyone has had any success yet in communicating with the CAN bus to read OBD PIDs.
Had any luck yet? I'm working on some custom apps, too. And I have a car with the MZD infotainment system but a different engine and some other smdb-provided values (or at least, some are missing). I'd also like to query some OBD2 PIDs.

#smdb-read -n database -e value
# Vehicle Speed
smdb-read -n vdm_vdt_current_data -e VehicleSpeed
Do I have to guess database and value names or is there an option "show all" or a way to loop through all entries?

Thanks.

Oh, and any idea why I get "system is read-only" when I'm trying to copy a custom app.folder to CASDK's /apps/ even after mount -o rw,remount / ?
 
#6,410 ·
Take a look at site:
mazdatweaks dot com/faq/

he says at the end:

By now I have studied the inner workings of the Infotainment System so well I could probably go work for Johnson Controls or Visteon. There are still things that are very tricky, dangerous and/or impossible to pull off but if you have an idea Shoot me an email and I will give it a shot.
 
#6,421 ·
Hi guys, I've bought Mazda 3 Sat Nav 2016 with following software:

os: 70.00.100 EU N
music db: 00.08.000
fail safe: 70.00.100

unfortunately system restarts when navigation works (SD card is inserted), do you know if update to the newest software can help me? I don't have warranty any more, what can I do to solve that issue?
 
#6,422 ·
Hey all thanks for providing such great resources with these forums! I hope this thread is the right place for my question as I did not feel it warranted creating a new thread.


I have just successfully upgraded from 55.00.753 NA to 70.00.100 NA with ID7 tested and autorun still working.

My car will no longer properly play mp3's off of my USB drive as it did on 55.00.753 and I am starting to tear out my hair trying to troubleshoot this issue.

I am running a fresh install of 70.00.100 without any AIO tweaks installed, just ID7 in place.

I have a 64GB samsung usb drive storing my mp3's which worked perfectly prior to updating to 70.00.100. When I start the car the USB drive is detected normally and begins playing music as usual however it seems to fail and revert back to radio if I try navigating the folders or pressing the music button. If I press the music button the car will switch over to FM radio and stop playing from USB. Once this happens I am unable to select the USB drive from the audio sources list. The drive is still listed as normal but I am unable to access the music.

If I unplug the USB drive then plug it in again I am able to regain access for a brief period of time before the issue reoccurs.

My suspicion is the system is struggling to keep up with the processing required to navigate and play from the drive and eventually runs out of memory or something and defaults to radio. Is this system really that limited to the point where it can not even scroll through a list of folders without crashing? Why was this working and performing without issue prior to updating to firmware v70.00.100?

I have tested with a 16GB drive with only a few mp3's on it and was unable to reproduce this issue. Will I need to use smaller USB drives for the future?

While I was on 55.00.753 I was using the AIO tweaks which really sped up list navigation and scrolling and did not have as many performance issues.

Thank you to anyone who can offer insight to this. Playing music off of a mp3 seems like such a simple task which worked flawlessly prior to updating and I am really getting frustrated with the infotainment limitations at this point.
 
#6,423 ·
#6,425 ·
@ameridan Thank you for the suggestion. I have removed the NNG file but am still having memory issues it seems. I can live with splitting up the music to multiple drives as long as AA functions properly with the new firmware/hardware.
You could also run the CPU gauge to see if memory or CPU is being strained. Music + Back + Mute
 
#6,427 ·
Greetings!

I have bought a 2014 Sedan Mazda 3, and I'm trying to catch up with the tweaks and options that I can make with the car to work better.
And two question come up to me.

Where can I find a .lyc file for the EU Map, which can be found on the HiDrive? I'd really like to make and SD card with the fresh maps.
And is it worth to upgrade from V56 To V59? I know v70 would be the optimal but until a workaround I'd like to use V59 with AA.

Thanks forward!