2004 to 2020 Mazda 3 Forum and Mazdaspeed 3 Forums banner

The Infotainment Project

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.
 
#4,487 ·
Phew! I finally did get 1.36 uninstalled. That beeping was driving me nuts.
I was able to install v55.753_Apply_Tweaks_USB_MASTER_BUNDLE without any issues. I think 'll just leave it like that for now. But, I do have a question. If some of these tweaks carry over after a firmware update, is there a command or script to reset it back to original preferences?
 
#4,498 ·
Once the message pops up on the screen saying that the install was successful, you can remove the USB drive. It's permanently installed.

After installation, then you hold Back+Nav+Mute for a few seconds and it will reboot.

I suggest starting the CastScreen app on your phone and pressing the "Start" button before connecting the USB cable the first time. If you have debugging enabled, when you connect the phone you might get a prompt to allow the new "computer" (or at least that's what I got). Accept the message and it should start sending. This is what I had to do to get it working to first time.

I'm also only on NA v55.00.750B, so I don't know if the CMU version will have any effect on the results.
 
#4,505 ·
Hello world....
Is there anyone that can make an explanation on his knowledge of the CMU architecture ?
What are the folder and what are used for ?

I think this can help lot of people to work on new development and make awesome modding.

this group is wonderfull and we can really make lot of job together !!!!

Thank to anyone that can make brief tutorial...
 
#4,517 ·
This looks super awesome! Is your SDK going to support modifications to header (date, etc)? For instance to work on "date to status bar" mod using SDK?

Also, is it possible overwrite default HMI button behavior? I would like the "Favorites" button" to launch a custom app instead of faviourites screen. Is that doable?

On separate note, I understand that ODB is not accessible directly from Infotainment system. But then I'm thinking, if I get a WIFI or Bluetooth ODB reader, plugin it and then write Android app to act as a proxy between Infotainment and ODB that would potentially work.
 
#4,521 ·
For the statusbar - it's just an element you can target, however I will provide a method that allows you to switch the statusbar to a compact mode which will be restored once the app gets closed. You could piggy back on that function and overwrite the method in your app.

The default HMI buttons could be overwritten and I can put that on the roadmap. However for this release I want have that.

Technically we should be able to access to ODB interface .. not through ODB but through the DBUS but someone has to hack that :)
 
#4,518 · (Edited)
Release day :clap

Speedometer v3.6 (before announced as 4.0)

Download USB Installer - English km/h speedometer (without video player)

Download USB Installer - English km/h speedometer (with video player)

The compass in this version is only working with inserted nav SD. The compass fix of 3.5 has to be modified for the new code. I will provide a fix in March.


(Click to zoom in)


New:
  • small needle for top speed in the analog part
  • animated overlay in statusbar with current GPS speed and direction, available on all MZD screens (touch on clock to toggle it on/off)
    with start of navigation it will auto appear
  • Multi language support

If someone wants another language, please send me all labels/texts as PM and I will expand the 3.6 continuously with more languages.

Language and units can be changed in following file:
jci/opera/opera_dir/userjs/addon-startup.js

Just edit it on you USB stick before installation.

For Englisch and km/h:
var isMPH = false;
var isEnglish = true;

For Englisch and mph:
var isMPH = true;
var isEnglish = true;

For German and km/h:
var isMPH = false;
var isEnglish = false;

The Installer of 3.6 cleans all old speedometer versions that ever exists. Also it reboots the system after finished installation. Just pull out the stick if the dialog appears or the screen is black.
 
#4,519 ·
Release day :clap

Speedometer v3.6 (afore announced as 4.0)

Download USB Installer - English km/h speedometer (without video player)

Download USB Installer - English km/h speedometer (with video player)


(Click to zoom in)


New:
  • small needle for top speed in the analog part
  • animated overlay in statusbar with current GPS speed and direction, available on all MZD screens (touch on clock to toggle it on/off)
    with start of navigation it will auto appear

Language and units can be changed in following file:
jci/opera/opera_dir/userjs/addon-startup.js

Just edit it on you USB stick before installation.

For Englisch and km/h:
var isMPH = false;
var isEnglish = true;

For Englisch and mph:
var isMPH = true;
var isEnglish = true;

For German and km/h:
var isMPH = false;
var isEnglish = false;
Great! just one question Diginix, this version still uses the buttons overlay and not the apps menu right?
 
#4,524 ·
The video player is untouched by me and will be. Because it's no html/js as I'm working with.
I would also appreciate, if the author would spend some time to improve the video player. I like the build in more than all Android apps

The Installer of 3.6 cleans all old speedometer versions that ever exists. Also it reboots the system after finished installation. Just pull out the stick if the dialog appears or the screen is black.

@CX5_Owner: It's nearly the same versions as your test version. But now it has multi language and multi unit support in one. It doesn't matter for you, because you need only EN+KPH, but it doesn't hurt if you update to the final one.
 
#4,527 ·
Before you even do any changes, you kill the watchdog by modifying the values in sm.conf .. than you will never have that issue.

However there is a serial interface on the main motherboard and I am using it (yeah .. I do crazy car projects - don't tell Mazda) but there is no listener in the actual OS - so it would be useless for you.
 
#4,540 ·
@Diginix have any of your scripts disabled the watchdog for us?

Secondly @Siutsch when do you expect to be able to integrate these speedometeres into the native applications section where we can control with the wheel and use the BACK key and so forth.

Third @xenosap1en can you comment more on the slow video player? Is the CMU system slow? Is Pandora/Navigation slow? Is the whole thing slow? Are videos slow?


THANKS GUYS FOR ALL YOUR HELP. We appreciate it.
 
#4,558 ·
@Diginix have any of your scripts disabled the watchdog for us?

Secondly @Siutsch when do you expect to be able to integrate these speedometeres into the native applications section where we can control with the wheel and use the BACK key and so forth.

Third @xenosap1en can you comment more on the slow video player? Is the CMU system slow? Is Pandora/Navigation slow? Is the whole thing slow? Are videos slow?


THANKS GUYS FOR ALL YOUR HELP. We appreciate it.
The watchdog is disabled permanently at beginning of every tweak, also with AIO.

Speedometer V3.6 will be with AIO 1.40, which will be released today, if some tests are going well.

The integration into the native applications menu comes with Speedometer V4.0 I think and then I male an update for AIO too.
 
#4,544 ·
Diginix,

In the version 4, did you pull data the same way (a script that write a file that you read in javascript)?

I will experiment a new way this weekend that can speed up a lot the process,

My idea is using websocketd to start a bash that can be directly open with websocket in javascript

ex : in stage_wifi.sh add -> "websocketd --port=9999 bash"

and in javascript


var ws = new WebSocket('ws://localhost:9999/');
ws.onopen = function() {
ws.send("smdb-read -n vdm_vdt_current_data -e VehicleSpeed");

};

ws.onmessage = function(event) {
var speed = ??something that convert it??(event.data);
ws.send("smdb-read -n vdm_vdt_current_data -e VehicleSpeed");
};

Note that we can use this in many place ...
 
#4,549 · (Edited)
You can probably just reinstall 3.5 over 3.6. I think someone mentioned that a few pages back

Edit: Yes they did, included screen shot.

----
@jdclay @epadillac @xbat -- very important question, did you use 3.6 with video player or 3.6 without video player?


I noticed a little initial lag in bootup with 3.6 but once the system was fully loaded it felt as smooth as ever.
 
#4,553 ·
You can probably just reinstall 3.5 over 3.6. I think someone mentioned that a few pages back

Edit: Yes they did, included screen shot.

----

@jdclay @epadillac @xbat -- very important question, did you use 3.6 with video player or 3.6 without video player?


I noticed a little initial lag in bootup with 3.6 but once the system was fully loaded it felt as smooth as ever.
I used the version WITH video player