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,219 ·
Query Mazda 3 2014 Australia v56

Hi,

I was wondering if anyone has gotten the tweaks package working in Australia via USB auto-install? Just upgraded from v26 to v56 at the dealer and wasn't able to get the tweaks to install after plugging in the USB. Drive is a Sandisk Cruzer 16 GB and formatted to FAT32 (is the drive too large?). Anyone had any luck installing this?

On an entirely seperate note, the car (Mazda 3 2014) does a really annoying thing when going down hill. If you stop at a traffic light that's steep enough going down hill and engage i-stop, when you lift the pedal to restart the engine sometimes it fails to take the brake off and goes into some weird safety mode. Then the car goes into a hold and you need to quickly raise handbrake, drop into park, stop-and-restart the car without too many people honking behind you. Any ideas as to why this is the case? Have taken it into the dealer twice and they weren't able to replicate it, it only happens on slopes facing downhill at a certain angle (I'd estimate around 25 degrees)
 
#3,222 ·
I installed "addon-all-fixed-auto-install-v2" on software 31 according to the instructions. Run "application" and nothing appeared! I restart the system several times - there is no change, but everything (MZDconnect) worked correctly! After a while I returned to the car, start the system, and I have only shown the logo of Mazda on display and only radio plays! (((
I recorded "uninstall" on the flash drive, inserted into USB-port. A window will appear that everything is deleted, restart the system. I restarted and nothing has changed! I disconnect the battery, but it did not help!

Q: What can I do to fix this problem? Maybe there is some script? Please help

PS: Sorry for my English.
 
#3,223 ·
you can't did the installation according to the instructions, because the instructions say v51 minimum... so be so kind and read the thread carefully...

as so many others you stuck while loading the opera frontend... so use ssh, copy your backup of opera.ini and sm.conf to the system ready (mentioned every 2 days in this thread)

if you play with this thread and the "tools" provided here you need to know what you do... every developer invest in an instruction for their scripts and apps... honor it with reading :)

so we don't need to answer the same questions every 2 days
 
#3,225 ·
So now that we have Trookam's radio dial speedometer working correctly with MPH, I was wondering if it would be very hard to feed the radio dial the KPH so it displays correctly relative to the car speed and change the numbers around the dial to 10, 20, 30, 40, 50, etc. so it would reflect the car speed on the dial but the MPH in the digital readout. I don't think we will ever get up to 220 mph.

Trookam has put so much work into the needle dial working so well for KPH it should work the same for MPH with the dial numbers changed and the numeric display showing the MPH. At least that's what I think but it could be off based on the conversion.

If it is that easy, we just change the numbers around the dial, feed the KPH to the needle and let the rest of the MPH stuff stay the same.
 
#3,231 ·
I can change the numbers in the CSS but then I need to get a new counter from the .js file to change the needle back to showing KPH. It has the provision of KPH or MPH but we would need both to make this happen.

I just don't know enough about how it all works and JavaScript to change it myself.

At MPH the dial doesn't move very much since it is .621 of the speed of KPH and has the range up to 220 MPH instead of 220 KPH.

Any help would be appreciated, it works in KPH but needs just a little finesse to work correctly in MPH.
 
#3,237 ·
i don't get the point :)
when you drive 136mph and the system measurement is 220 kph it is the same needle position, so it won't be necessary to recreate the signal... 220kph is the max like 136mph.. the needle is at maximum factor so if you change the 220 to 136 (140) mph in the text part
so the css get 220 kph from the js file put the needle to maximum but the text displayed is 136/140 mph..

but you need to use the kph version (not the one with 0.621)
only thing, the part for avg and maximum on the right side of the app need a change because they still represent kph...
 
#3,243 ·
I had a thought and experimented a bit with mirroring an Android phone to the Infotainment display. This would include utilizing the touch-screen to send clicks, swipes, etc. back to Android. I made a little progress and think it is feasible, but I stalled and don't have much time to dig further, so wanted to see if anyone else had any thoughts. The basic idea is to run a VNC server (https://play.google.com/store/apps/details?id=com.vmlite.vncserver) on Android, and then let Opera be the VNC client in the car. This is possible since the VNC server for Android has a browser-mode that only utilizes HTML, Canvas and Web Sockets all of which (I think) that Opera supports.

As far as my progress, I installed the server on my Android phone and verified I could control and visualize my Android phone from my OSX browser. Then I hacked the URL to the Android server into the html for the "Player" add-on (just had to stick it somewhere). I connected the car to the same wifi network that my Android was on (should really be a tether from the car to the phone). Once connected, I clicked on the VNC url and was able to connect to the VNC "start" page from my Android. From this page, within Opera on the car, I clicked on the button to connect to the HTML version of the server, and then.... nothing. Without logging, I can't tell if there's a firewall issue, a websocket issue, an Opera "allow this type of thing" issue, etc.

Anyone have any thoughts or want to try and take it further?
 
#3,247 ·
#3,248 ·
imposing a firmware tweak 33 received only wallpaper Mazda. backup and never never connect via wifi to the car.
1) Can you now more than ever to podlkyuchitsya MZD Connect (SSH) using the WiFi and download opera.ini?
2) if the connection is working, you can drag with you another same car as mine opera.ini file and move into my or you can still download them somewhere ??
*I izvenyayus a silly question, but your help is very necessary to me.
 
#3,249 · (Edited)
I had a few more minutes to work on my Android mirror idea after I realized what the issue was as described in post 3243 . The "start" page for the VNC server was attempting to open a new window which Opera was evidently blocking. So I bypassed the start page and used the direct URL. And it worked! Sort of...

You can see the poorly-filmed results in the screen-shot and video below. It appears as if Opera has some issues as you'll see the image flip upside down frequently and you'll also see some "scrambling" which may be a result of Opera not keeping up with frequent screen updates. On the plus side, screen touches do get passed on to Android. This might work better with a natively compiled VNC client. I'm not sure I'll continue working this, but this shows that it may be a feasible way to get Android on the system.

Also note that there is an (sort of) Android-Auto app available for Android phones so it could be displayed on the Infotainment system using this method.

https://youtu.be/TkGApjClBzo
 

Attachments

#3,253 · (Edited)
I can appreciate what Trookam went through creating his radio dial speedometer for KPH. This is a new dial set up and some slight changes to the addon-speedometer files.
I went on and created a version for MPH based on his creation. The dial goes up to 140+ MPH and has the same top speed and average speed but based on MPH instead of KPH.

I removed the installer because there may be something wrong with the installation. I'm not having a problem but others seem to have some problems so until I find something it will have to wait.
 
#3,254 ·
I can appreciate what Trookam went through creating his radio dial speedometer for KPH. This is a new dial set up and some slight changes to the addon-speedometer files.
I went on and created a version for MPH based on his creation. The dial goes up to 140+ MPH and has the same top speed and average speed but based on MPH instead of KPH.
This is an updated self installer that is only for MPH only, I removed the option of KPH or MPH since it didn't really work. All the other options that were built in still apply. This also still includes the video player and reboot that were in the original file.
Extract the files to a thumb drive and let it self install. Wait for the message that it has installed then reboot.
@windwalker thanks for the great work.
I unzipped this folder and copied all the content in the root of my USB dongle, plugged the dongle in the top USB drive and removed SD card and other USB dongle. When I started the ignition after few sec it said copied to ..... thats when I removed the dongle and rebooted the infotainment (BACK+NAV+MUTE). Now I do not see any option that shows something is installed. Everything is as is. Please let me know how to access the speedometer.
I have installed "v55.753_Apply_Tweaks_USB_MASTER_BUNDLE.zip" from miket0429's post.
 
#3,262 · (Edited)
FYI -

Here's a USB tweak to enable the Wifi access point. It does NOT enable it permanently - just for this run (next 'reboot' it will be disabled again):

Mazda_USB_tweak_enable_wifiap.zip

This could be helpful to recover systems which don't already have Wifi enabled through the menu (and/or for people who don't have the correct USB-ethernet adapter, but want to ssh-in to the CMU).

This tweak will disable the watchdog, enable the Wifi AP, then show a message with the Wifi (and wired, if present) IP addresses. Normally these are 192.168.53.1 for Wifi and 192.168.42.1 for wired.

The Wifi AP name will be "CMU-XX:XX:XX:XX:XX:XX" (where the XX's are your Mazda's MAC address).

WARNING: This Wifi AP is "wide open" (no password), so keep that in mind when running this tweak (others could connect if close enough - probably not a real concern, but I'm warning you just in case).

EDIT: I've tested this on v55.0.750. I assume it works on other versions, but can't say for sure. It just runs standard scripts in the CMU's firmware (/jci/scripts/start_wifi.sh and /jci/scripts/jci-wifiap.sh) - if they are there in your firmware version, it should work.

EDIT 2: If you already have Wifi enabled in your CMU config (where you have a wifi option in the settings), this script will probably conflict with it (you probably don't want to enable both)
 
#3,272 ·
Hi oz_paulb!
Did you finish the recovery mode for MDZ.... Can you share it for us? Because i see lot of people have problem with boot loop, and some of the people can recover from it.... if you project finish, it will help us prevent boot loop happend...
Thank you!.... Sorry for my bad english skill, i'm live in Viet Nam...
 
#3,263 · (Edited)
Question for North American owners with WI-FI enabled via "v55.753_Apply_Tweaks_USB_MASTER_BUNDLE.zip":

After car restart is WI-FI still on and waiting for the hotspot? Do you see the WIFI icon next to the BT icon?

If I use WI-FI today and my Mazda3 is connected to my Android hotspot, the next day the WIFI is off no icon, I need to go to Devices and (re)check WI-FI icon will reappear next to BT and it remembers the connection eventually it connects automatically...
 
#3,265 · (Edited)
Is anyone getting a report that the Mazda Media Player has a Trojan?

I have a couple of friends trying the Android download that say they are getting reports of Trojan:AndroidOS/FakeLook.A from the .apk.

I ran different antivirus programs on my phone but didn't show anything. Also testing the file revealed nothing on my PC.

This is from post 3055. http://mazda3revolution.com/forums/1470033-post3055.html
 
#3,282 · (Edited)
If you mean the one from this post, I may have a copy of it that I can upload when I get home. HOWEVER, the master bundle (for v55) includes this tweak already, so you could just use that. It includes a ReadMe file for info on how to do so.

EDIT: I remoted into my PC and found what I think is the original tweak by @blakehaas. I've attached it below. I should add - I'm not sure what the version compatibility is for this tweak. If you do try it, please let me know!

Guys, where can I get the necessary things needed to setup a car-less MZD local development? Last I check the forum that has only the steps but the files needed is not provided.
You mean like this? @FricoRico or other users may also be able to help you.
 

Attachments

#3,284 ·
Sorry to hear they you've run into this problem.

You might want to try my USB tweak to enable the Wifi access point. If it works, then you can ssh-in and fix things. Here's a link to the post where I initially described it.

In your situation, you may never see the pop-up dialog that shows you the wifi AP's IP address (because your car is in a messed-up state). But *maybe* (hopefully) it will still start the wifi AP anyway.

So, try inserting the USB stick (with all of the files in the above post's ".zip" file in the main 'root' directory of the USB stick), wait around 2 minutes, then use your phone/laptop to see if there is a "CMU-XX:XX:XX:XX:XX:XX" wifi AP available. If so, then it worked, and you should be able to ssh-in.

Let me know if it works - I'm interested to know if this can be used to solve this problem.

Good luck!
 
#3,287 ·
I wrote this up using the limited knowledge from quick self-learning to restore the backups the original script made.
Code:
#!/bin/sh

mount -o rw,remount /

cp -a -f /jci/opera/opera_home/opera.ini.bak /jci/opera/opera_home/opera.ini
cp -a -f /jci/sm/sm.conf.bak /jci/sm/sm.conf

/jci/tools/jci-dialog --title="Restore Completed" --text="Please reboot your system now" --ok-label='OK' --no-cancel &
Now I should put it in the root directory with the folder "check" and these files:
  • cmu_dataretrieval.up
  • dataRetrieval_config.txt
  • jci-autoupdate
and name it "install.sh"

So that it would run automatically and restore the backed up files.

Anyone with knowledge can confirm this before I use it?
 
#3,289 · (Edited)
I wrote this up using the limited knowledge from quick self-learning to restore the backups the original script made.
Code:
#!/bin/sh

mount -o rw,remount /

cp -a -f /jci/opera/opera_home/opera.ini.bak /jci/opera/opera_home/opera.ini
cp -a -f /jci/sm/sm.conf.bak /jci/sm/sm.conf

/jci/tools/jci-dialog --title="Restore Completed" --text="Please reboot your system now" --ok-label='OK' --no-cancel &
Now I should put it in the root directory with the folder "check" and these files:

and name it "install.sh"

So that it would run automatically and restore the backed up files.

Anyone with knowledge can confirm this before I use it?
The Check folder is just an .mp3 file to stop the music when you play the video player. You won't need it. If you have tried installing the speedometer over and over then the original files may have been overwritten by the backup each time. You can try it to see.

What version of software are you at? I copied my JCI folder before I did anything to my car and have all original files, I'm at 55.00.750B NA.

For whatever reason the speedometer files seem to run better when you execute the file instead of trying to auto-install. I've had problems where it would not install but when I execute the file through SSH then it works fine. I think others have found the same to be true.

If you have a Windows computer (laptop) to attach to your car via WiFi or cable, Notepad++, WinSCP and PuTTY help. I can make changes to files on the laptop through WinSCP via Notepad++, save the file directly back to the car and test the change immediately. Relying on the auto installers can lead to problems but if you can get into the car through the laptop you can correct it easily. If you get a chance make a backup of the JCI directory to help recover from future problems.

If you need a good reference to Linux commands try this. http://archive.oreilly.com/linux/cmd/

I'm not a programmer either, I read what others have posted and try to understand how they make things happen.