2004 to 2020 Mazda 3 Forum and Mazdaspeed 3 Forums banner

The Infotainment Project

3 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.
 
#3,364 ·
Hi All

After some break (last two/three weeks I had a lot of duties at my full-time job and some business trips) I'm continuing my work on Mazda Media Player. Today I finally ran Screen Mirroring (please find attached photos) :) :) As you probably remember, my core requirement for Mazda Media Player is "no modification to car infrastructure and IVI software". So soon (I hope) it will be possible to cast your Android screen to Mazda's IVI system having only Android app - Mazda Media Player [*]. At this moment screen streaming is very slow, but I hope to fix it this week.

https://www.youtube.com/watch?v=yY9H4KwwqTA

What's next:

[1] 30-11-2015 - Mazda Media Player 0.2 release with new GUI (https://www.youtube.com/watch?v=caQKXGW2RSQ) and some small improvements

[2] 20-12-2015 - Mazda Media Player 0.3 release with alpha version of Screen Mirroring

[3] beginning of next year - first milestone release (1.0)

Thanks,
Lukasz Skalski
lukasz.skalski@op.pl
Lukasz Skalski | Homepage

[*] Mazda Media Player | Lukasz Skalski | Homepage
 

Attachments

#3,374 ·
syssettingsApp.js and systemApp.js question

From the other posts here, I'm sure this is a real "noobie" question, but if anyone can assist:

I have version 55 and have been working on the Audio Source list and WiFi modifications to syssettingsApp.js and systemApp.js, via ssh. I have gotten myself into a reboot loop which I can successfully get out of using the instructions here: http://mazda3revolution.com/forums/...ectronics/98074-how-hopefully-get-your-infotainment-system-out-reboot-loop.html

However, even after triple- and quadruple-checking, I cannot find my error in the .js files. I am somewhat experienced in JS and have checked all the line endings (commas, ^Ms, etc.) to no avail. I finally even tried reversing my changes, but the loop persists. My only theory is is that somehow, possibly due to inexperience in vi, I inadvertently added a character elsewhere in the code by trying to interact with the console while "insert" mode was activated.

I'm thinking my best bet is to just start fresh ; but I cannot locate intact (original) syssettingsApp.js and systemApp.js files anywhere. Does anyone have copies of these or know where I can find them? Alternatively, any advice on how to correct the situation that I might not be thinking of?
 
#3,375 · (Edited)
From the other posts here, I'm sure this is a real "noobie" question, but if anyone can assist:

I have version 55 and have been working on the Audio Source list and WiFi modifications to syssettingsApp.js and systemApp.js, via ssh. I have gotten myself into a reboot loop which I can successfully get out of using the instructions here: http://mazda3revolution.com/forums/...ectronics/98074-how-hopefully-get-your-infotainment-system-out-reboot-loop.html

However, even after triple- and quadruple-checking, I cannot find my error in the .js files. I am somewhat experienced in JS and have checked all the line endings (commas, ^Ms, etc.) to no avail. I finally even tried reversing my changes, but the loop persists. My only theory is is that somehow, possibly due to inexperience in vi, I inadvertently added a character elsewhere in the code by trying to interact with the console while "insert" mode was activated.

I'm thinking my best bet is to just start fresh ; but I cannot locate intact (original) syssettingsApp.js and systemApp.js files anywhere. Does anyone have copies of these or know where I can find them? Alternatively, any advice on how to correct the situation that I might not be thinking of?
Here are my copies of my original 55.00.750 files. Good luck. Keep the zip as a backup for original files.
I would copy both clean files back to get a starting point then turn on WiFi. Just SSH in if you can and change the NorthAmerica to Japan in the WiFi section.

If all goes well then you probably had a problem with the systemApp.js while changing things around for your audio.

On your PC, cut and paste line by line until you get it the way you want it to avoid typing something wrong then copy the new altered file into place. I did the same thing a few days ago and it's all good now.
 

Attachments

#3,379 ·
I'm going to the LA AutoShow and want to make sure we're on the same firmware as the cars at the show. I have a feeling they might be showing off Carplay or Android Auto if its coming soon.

With all these USB tweaks that we've been having. Can someone write a simple script to copy everything from the hard drive onto a flash stick? I want to see if there is anything different in the demo models then what we have in our cars.
 
#3,440 ·
no, android auto doesn't work yet. one guy claimed he got it to work but never really provided solid proof then he ended up getting himself banned for stupid reasons. for now our closest option is the screen mirroring efforts that a few users are trying.

Speaking of, anyone heard from @skalsiu88 lately? Last I heard he was planning on releasing the next version of his android app. EDIT: Nevermind, just checked his website - he postponed release once already, so I suspect he's run into some issues.

Made 2 USB scripts
Awesome! I'll add these to the index!
 
#3,398 · (Edited)
So, I'm on v55.0.753A and I've been trying to run the Tweaks Master Bundle for v55 with no success.

The 4 files and config folder were copied to a 1GB thumb drive, a 16GB thumb drive and an 8GB SD in a USB car reader. All 3 are FAT32. All cables and the nav SD card are removed from my car and I've tried all 3 drives with the same result.

I have tried having them plugged in upon ACC and I have tried plugging them in when already completely up and running.

In the end, absolutely nothing happens. No errors or success messages. No idea what is going on.

EDIT: The 16GB drive is the same one I used to successfully update to 753A.

EDIT2: Fixed it. For those on OS X, your driving being FAT32 isn't enough. OS X puts some hidden files on the drive that throws Connect for a loop I guess. I used a program called HiM Cleaner which deletes the OS X hidden files off of the drive then unmounts it. After that I went to the car and it worked perfect.
 
#3,400 ·
I am having similar problems with the track order. I am meeting with a Mazda rep (hopefully in the next few weeks) to go over this issue. I need to clearly display the problem to her and then determine if this is a software problem or a hardware problem. The interesting thing is that there was no order problem with V33.xx.xxx but since upgrading to V55.xx.xxx, the song order has been wrong.
Here is one interesting thing I found. If you display the tracks on a CD, pick the first track, let's call it track A. Go back to the default music window to watch the progress bar of track A playing. Now go back to the folder to display the tracks. The track you just selected is no longer the first track on the list. I have also seen situations where the tracks are in the correct order for a few days and than are not. So is this a software problem or a hardware problem. How can the system be so unstable?
 
#3,401 ·
I am having similar problems with the track order. I am meeting with a Mazda rep (hopefully in the next few weeks) to go over this issue. I need to clearly display the problem to her and then determine if this is a software problem or a hardware problem.
Is this someone that may actually have some ability to push for changes? I'd love to make them aware of the fact that large collections are slow to load, and I still occasionally get the issue where it forgets where it was and plays the first track on the disk.

It's pretty clear it's a software problem. The system is just not sorting the file list. Windows, Linux, and my mp3 player all display the files in order. The other list modes have sorting applied in specific ways, but not the folder view. (Of course another "bug" [to me at least] is that by default the Genre view is useless even if sorted correctly because Gracenote makes up its own genres and doesn't use what's in the id3 tags. And non-folder views often timeout with large collections.)

I have never noticed it changing the order randomly, but it should be easy enough to show the issue. Start with a newly formatted drive, then copy a few files over one at a time. Copy over track 3, then 8, then 1, etc. They should then display in the order you copied them instead of alphabetically. Make sure they are clearly named with a track number at the start of each file so it's blatantly obvious they are in the wrong order in the car.

How can the system be so unstable?
I'm not sure I'd call it unstable, but there are definitely some issues I'd be embarrassed about if I had shipped this software. A music system that can't play an album in order without help is a pretty major fail.
 
#3,406 ·
just ask your dealer for the part number, they have to provide it to you.
 
#3,412 ·
hi everyone, I hope you can help me.

I am using since 2014 a Mazda 3 with navi, now we get in 3 Weeks a new Mazda 6 with the new MZD System and i will use my Navi SD Card from my Mazda 3 in the System of the Mazda 6.

Now my Problem is, that the SD Card is locked with the Mazda 3.

It is possible to unlock the SD Card without the Image what rdriggett described with the linux steps:
"Steps:
-1) To make an image of an unlocked card use "dd if=/dev/disk[X] of=/img.img bs=1024" on a linux computer
0) To unlock the oem sdcard use "dd if=/img.img of=/dev/disk[X] bs=1024" on a linux computer"

It is only possible to get the SD card unlocked, when i have make a Image unless the 100 km when it´s new?

I hope you can help me, because when we get the M6 we don´t need the navi in the M3, but in the m6 and i will not buy another SD Card about 500€.

Greatings from Austria,

Markus
 
#3,415 ·
patches

Made 2 USB scripts:

date-to-status-bar - Inserts date ("4 Dec" format) before time into status bar, example photo

list-loop - improved list looping from here, skips disabled list items when jumping to the top or to the bottom of a list.

Made for EU firmware 56.00.230A. Before applying, script checks for md5 checksums, otherwise it refuses to apply.

Also, original versions of the files are in "resources-revert", if you want to return them to the system, create empty file "revert" in the root dir of your USB drive.
 
#3,680 · (Edited)
Made 2 USB scripts:

date-to-status-bar - Inserts date ("4 Dec" format) before time into status bar, example photo

list-loop - improved list looping from here, skips disabled list items when jumping to the top or to the bottom of a list.

Made for EU firmware 56.00.230A. Before applying, script checks for md5 checksums, otherwise it refuses to apply.

Also, original versions of the files are in "resources-revert", if you want to return them to the system, create empty file "revert" in the root dir of your USB drive.


Works great with 753 for USA. CMU reboot required before it becomes visible

Could you write one for us yanks so it says like "Jan 3 6:35" (January 3rd, 6:35)
 
#3,416 ·
Have you all seen this guy's hack?

???????(Ver.33.00.700) ??????????????????AXELA_SPORT_HATCHBACK/MAZDA?Maintenance Handbook?Sumire Racing?Minkara - The Car & Automobile SNS (Blog - Parts - Maintenance - Mileage)

Has anyone rolled this hack into an easy installer? I've been lurking here for months and watching all the progress on this. So cool...

Also saw how some have added airplay mirroring on the display. Do any of you have all of that stuff working at the same time?

I'm a huge Star Wars fan and wanted to add something like this as an animated background

https://www.dropbox.com/s/ytnwout2eekcu14/Xwing Views.mp4?dl=0

I also was mocking up some different Star Wars themed static background ideas

https://www.dropbox.com/s/vvs6slb77bxb80j/Mazda3 Hack.pdf?dl=0

Thoughts?
 
#3,418 ·
I'm a bit confused after doing lots of reading.

I am about to do the Tweak Bundle v55

I read the "read me" file, just to be clear. All I need to apply these tweaks is a properly formatted (Fat32) thumb drive with the 4 files and 1 folder. Correct?

I've read all of the posts about using a really long ethernet cable etc... is that for a different method?

I have a 2015 Mazda3 Grand Touring Hatch with a recently dealer upgraded ver. 55 system.

Also, is it a good idea to back up things the way they are so I can go back in case I have to? How do I do that?

Honestly, I've read probably 50 pages of posts and I'm still confused. Thanks for being gentle
 
#3,420 · (Edited)
Before someone wrote self-installing files for the thumb drives everyone had to link into their system either through a USB to Ethernet converter or they would link through WiFi. It is still my preferred method to link to the car.

Now you just copy the files to a Fat32 formatted USB drive preferably less than 16 Gb and let it install the few instructions or files that you want altered on your car. If you are uncomfortable make sure you also have the uninstaller before you start.

It is very easy to change the background, remove the speed restriction and turn on WiFi with the Master Tweaks.

If you were able to link in through a cable or WiFi then you could backup the JCI directory just in case. That's the first thing I do after an update so I have clean files to go back to. I think there is a Tweak that will back everything up to a USB drive also, just be sure and press the brake about every 15 minutes or so if it takes that long so the car won't turn off. My backup is about 300 Mb.
 
#3,442 · (Edited)
I have taken the great digital speedometer/video player & reboot app developed by @waisky2 and made some enhancements. Many thanks to everyone that have been enhancing the Infotainment system, for their findings and the code that they have developed to-date. As always the first place to reference in the case of problems are the appropriate places in the “Index for Infotainment Project” and the links there. All of the troubleshooting tips from Waisky2’s original post should be reviewed in the case of problems as they are still applicable for the most part.

All of these changes have been tested and work on a 2016 MX-5 running V55.00.750/753A system software that has had the “Tweaks Master Bundle (v55)” already applied.

The changes are as follows;

1. Changed the file location of where temporary variables are written to” /tmp/root” which is rw all of the time. Now the file system is left in read-only mode so if you have become used to ssh’ing into the system and editing files you will have to explicitly set the file system to rw each time after a reboot. I have no idea if this change will break any other Apps that may be relying on the file system being rw all the time. In addition this speedometer App would probably break/conflict with the other speedometer Apps that use the same data collection methods.
2. Updated the code to fix the metric/English speedometer reading fluctuation as per user @albuyeh,
3. Removed the alternate font as the GPS heading did not display properly in it,
4. Added the following additional parameters for display on the speedometer screen, note that they all attempt to update each second but system performance/responsiveness limits this and at times there may be several seconds before a change is registered:

• Use vehicle speed from “vdm_vdt_current_data” instead of GPS speed. See this post for more details,
• Display vehicle outside temperature and engine intake temperature. Note: the outside temperature may not match the dash display temperature on some vehicles – see HERE for INFO, UPDATE: Now that it has warmed back up here I've noticed both temperatures do not seem to be correct. It may be the comments in the Infotainment files are not correct and temperature reporting is not supported in some model cars. NOTE - updated version without the temperatures displayed as I never found a fix for the issue - http://mazda3revolution.com/forums/2014-2016-mazda-3-skyactiv-audio-electronics/57714-infotainment-project-355.html#post1522882
• Display GPS altitude, heading and velocity (speed). Note that for the heading to work the vehicle must be moving and the update may lag the actual heading depending on how fast the vehicle is turning,
• The default units are “English” (US English units that is - MPH/Deg F/Feet) but can be changed to metric by editing the second line in “addon-speedometer.js” to false (var isEnglish = false; ).

The video player App is the original from Waisky2’s App and I’ve noticed it sometimes does not respond to commands the first or second time. Other than changing the file system rw requirement there are no changes to it so I may not have applied later code fixes to it that have been done. Also the Android App @skalsiu88 developed will still work with this tweak installed.

All the usual disclaimers apply;
• Only tested on V55.00.750/753A North America (this and other similar mods can cause boot loops on older versions, update firmware or use at your own risk). Some boot loops are NOT recoverable and have to have the CMU replaced.,
• YMMV as to performance,
• This may break your Infotainment system depending on what you have done to it already or if you attempt to install it on a system version previous to V55.00.750/753A,
• Use a USB2 flash drive < 8GB in size (go as small as possible some people have had issues with 8GB drives) formatted as fat32 and unzip the files to the root of the drive,
• If using a Mac to create the flash drive install be sure and clean the extra files off of it before attempting installation,
• Movie files must only contain letters, numbers and underscores and unless you want dueling audio you have to run the silent MP3 song and pause it before playing a movie,
• Some values on the speedometer App will not display/update when the vehicle is in ACC mode and/or not moving,
• The vehicle speed and GPS speed are read asynchronously and may not match until the speed is constant for several seconds. The displayed speed is almost always 1MPH higher than my cruise control set-point for whatever reason.
• I’ve noticed the Infotainment system does a full restart/reboot after the car has been off for an extended period (say overnight). Since I started modifying the system almost from the time I bought the car I have no idea if this is normal or not. I have had no spontaneous reboots of the system while driving.
• On initial reboot it takes my system a couple of minutes to settle down especially if it is syncing my phone contacts.

As always if you have problems and post a question please include the following information with the question;
1. Infotainment system version,
2. Navigation SD card installed,
3. English or metric units (App as well as car configuration),
4. Other Apps installed,
5. Country of location

Again, thanks to everyone that created the original Apps and fixes this is based on.

Revised version here w/o temperatures.

 
#3,480 ·
I have taken the great digital speedometer/video player & reboot app developed by @waisky2 and made some enhancements. Many thanks to everyone that have been enhancing the Infotainment system, for their findings and the code that they have developed to-date. As always the first place to reference in the case of problems are the appropriate places in the “Index for Infotainment Project” and the links there. All of the troubleshooting tips from Waisky2’s original post should be reviewed in the case of problems as they are still applicable for the most part.

All of these changes have been tested and work on a 2016 MX-5 running V55.00.750/753A system software that has had the “Tweaks Master Bundle (v55)” already applied.

The changes are as follows;

1. Changed the file location of where temporary variables are written to” /tmp/root” which is rw all of the time. Now the file system is left in read-only mode so if you have become used to ssh’ing into the system and editing files you will have to explicitly set the file system to rw each time after a reboot. I have no idea if this change will break any other Apps that may be relying on the file system being rw all the time. In addition this speedometer App would probably break/conflict with the other speedometer Apps that use the same data collection methods.
2. Updated the code to fix the metric/English speedometer reading fluctuation as per user @albuyeh,
3. Removed the alternate font as the GPS heading did not display properly in it,
4. Added the following additional parameters for display on the speedometer screen, note that they all attempt to update each second but system performance/responsiveness limits this and at times there may be several seconds before a change is registered:

• Use vehicle speed from “vdm_vdt_current_data” instead of GPS speed. See this post for more details,
• Display vehicle outside temperature and engine intake temperature. Note: the outside temperature may not match the dash display temperature on some vehicles – see HERE for INFO, UPDATE: Now that it has warmed back up here I've noticed both temperatures do not seem to be correct. It may be the comments in the Infotainment files are not correct and temperature reporting is not supported in some model cars.
• Display GPS altitude, heading and velocity (speed). Note that for the heading to work the vehicle must be moving and the update may lag the actual heading depending on how fast the vehicle is turning,
• The default units are “English” (US English units that is - MPH/Deg F/Feet) but can be changed to metric by editing the second line in “addon-speedometer.js” to false (var isEnglish = false; ).

The video player App is the original from Waisky2’s App and I’ve noticed it sometimes does not respond to commands the first or second time. Other than changing the file system rw requirement there are no changes to it so I may not have applied later code fixes to it that have been done. Also the Android App @skalsiu88 developed will still work with this tweak installed.

All the usual disclaimers apply;
• Only tested on V55.00.750/753A,
• YMMV as to performance,
• This may break your Infotainment system depending on what you have done to it already or if you attempt to install it on a system version previous to V55.00.750/753A,
• Use a USB2 flash drive < 32GB in size (go as small as possible some people have had issues with 16GB drives) formatted as fat32 and unzip the files to the root of the drive,
• If using a Mac to create the flash drive install be sure and clean the extra files off of it before attempting installation,
• Movie files must only contain letters, numbers and underscores and unless you want dueling audio you have to run the silent MP3 song and pause it before playing a movie,
• Some values on the speedometer App will not display/update when the vehicle is in ACC mode and/or not moving,
• The vehicle speed and GPS speed are read asynchronously and may not match until the speed is constant for several seconds. The displayed speed is almost always 1MPH higher than my cruise control set-point for whatever reason.
• I’ve noticed the Infotainment system does a full restart/reboot after the car has been off for an extended period (say overnight). Since I started modifying the system almost from the time I bought the car I have no idea if this is normal or not. I have had no spontaneous reboots of the system while driving.
• On initial reboot it takes my system a couple of minutes to settle down especially if it is syncing my phone contacts.

As always if you have problems and post a question please include the following information with the question;
1. Infotainment system version,
2. Navigation SD card installed,
3. English or metric units (App as well as car configuration),
4. Other Apps installed,
5. Country of location

Again, thanks to everyone that created the original Apps and fixes this is based on.
first I would like to thank you for this:smile2: I was also wondering if you could make it where it was just the speedometer alone, without the video player. thx
 
#3,445 · (Edited)
In the case of upgrading the original from waisky's script you could use his uninstall script. I also think this one could be installed over his as the key items will get replaced, there may be some extra files left over but since they are not referenced and are not very large files it should not be a problem.

RIght - "English" is confusing !. Probably should have kept it as original but when I put temperature/elevation in I did not think hard about it. In this case isEnglish = true is MPH / Deg F / Feet.

Also note that I updated the original post with issues with the temperatures which I noticed today now that it warmed up to 80 Degrees F. This is puzzling as up to today it seemed to follow the ambient temperature well.
 
  • Like
Reactions: qbord