2004 to 2020 Mazda 3 Forum and Mazdaspeed 3 Forums banner
2,621 - 2,640 of 6,600 Posts
Good news for you, all hope is not lost.
TL; DR:
Leave an auto tweak USB in the USB slot to disable watchdog and swap corrupt file only.
Beat the shit out of your dash while it boot loops, cross your fingers, and hope it works.
>be kenny
>have a working infotainment
pick one :p
 
.. I started smacking the dash and yelling at the thing.
....IT BOOTED UP
we need a tutorial... what did you yell?? did you look the system in the eyes?? 0:)0:)

it's cool you got your system back... a few weeks ago i just changed the order of the startvids... it works... so i think the magic is the format... but i did not find a good converter... sometimes the converted video worked only with vlc sometimes it works with nothing :( maybe there is a checksum?
 
Hi guys, i decided to develop a digital speedometer on our infotainment screen.
I used dbus-send command to get vehicle speed from GPS and write it to a file.
Using Opera userjs i added speedometer button to Applications. And touching this button it opens fullscreen speedometer.
See video:
https://youtu.be/cp32e6lstt4
See code:
https://github.com/serezhka/mzd_speedometer/
Step by step instructions will be later :smile2:
hi serezhka, thank you very much for your great work out.

I used your script and add speed progress bar, hope you dont mind :)

the speed color bar grow as you go faster.

the video is blur but you can still see https://www.facebook.com/wong.wai.967/videos/10153396677984822/
 

Attachments

hi serezhka, thank you very much for your great work out.

I used your script and add speed progress bar, hope you dont mind :)

the speed color bar grow as you go faster.
Does this software work with v55.00.750+ and does it work in conjunction with already applied tweaks such as passenger can alter properties in the menu while driving and nag screen 0.1s

Awesome job, btw.

Basically what I'm asking is if I apply this script will it overwrite the other scrips?
 
>be kenny
>have a working infotainment
pick one :p
Hey, could be worse...
Could have a dead engine or dead tranny on a gen3.

we need a tutorial... what did you yell?? did you look the system in the eyes?? 0:)0:)

it's cool you got your system back... a few weeks ago i just changed the order of the startvids... it works... so i think the magic is the format... but i did not find a good converter... sometimes the converted video worked only with vlc sometimes it works with nothing :( maybe there is a checksum?
Some of which is not PG-13
And yes, its in the formatting. There's no good convertors out there.
I had a program that could run the files, but since deleted it.
 
Good news for you, all hope is not lost.
I did the same idiotic thing messing with the boot logo.
Note of caution to anyone else - DO NOT MESS WITH ANY POWER UP OR DOWN TRANSITION FILES.
...
Haha yeah, in retrospect when I thought "Hey, I wonder what happens if I change a transition image" I should have tested with the shutdown animation, not the boot animation :)

How did you mess up the file? I replaced mine with a 0-byte file. Did you remove it, or replace it with another file?

So I removed all coding from USB tweak, only leaving disable watchdog.
I've had this in for the past week, but I haven't been watching to see if it ever booted. I actually have a piece of cardboard over the screen, since the constant flashing from rebooting is distracting. I'll pay more attention to it.

... expecting a $1000 replacement bill. (Yes, that's how much your CMU costs...and it's only held on your dash by 1 12mm bolt)...
Yeah, I took it in and they said it'll likely be $750 for replacement if the tier 1 finds the modifications. I don't see how they won't, so I'm likely in for full replacement cost. What makes me angry is that they said even if I pay full replacement cost, I can't keep the old one. Their engineers will fix the boot loop in 15 seconds, and now they get to keep my perfectly good CMU while I had to pay full price for a new one. New ones are on backorder, so I have no idea how long I'm stuck with a silent car. Before I took it into the dealership at least I had my favorite radio station. They pulled the battery, though, so now I'm stuck on static :)

Also, I pulled the CMU after I took it into the dealership, and the one bolt wasn't there. I think when they pulled it they lost it. I'll mention it to them the next time I'm there, but I imagine they'll assume that I lost it, not them. :) However, a single bolt isn't too big of a deal.

TL; DR:
Leave an auto tweak USB in the USB slot to disable watchdog and swap corrupt file only.
Beat the shit out of your dash while it boot loops, cross your fingers, and hope it works.
It's definitely encouraging to hear that someone got out of this loop. What specific words did you yell at it? You mashed the screen or you actually beat the dash? Push buttons? Steering wheel controls? I've definitely tried quickly spinning the volume knob to try to keep it busy.

I can't imagine bumps in the road or pounding on the dash had any effect, but it'd still be good to know as much as possible about what all surrounded the 'it started working' boot. Did it start working first boot after being off all night? Start working at the end of your drive?

I can't imagine physical shock would have any effect at all on the unit. I don't think there are any moving parts in it. However, if you were smashing the touch screen maybe it kept sending interrupts to the CPU that changed some thread interleaving. I'll try going crazy on the touch screen.

Which USB port did you have the flash drive in? Do you remember anything about the access pattern (assuming your usb drive lights up when accessed). At the start of boot, mine lights up for a second, then turns off and doesn't turn back on until the device reboots after about 10 seconds.

Did you try plugging in a USB ethernet adapter? When I did that, it never even got far enough along to turn the link light on, much less actually attempt to pull an IP.


Sorry for the barrage of questions; hearing someone got out of this without paying $1000 has me hopeful so I want as much info as possible :)
 
Has anyone ever tried a bootable USB stick or SD card? I imagine they set the boot sequence to avoid those, but one never knows. If you can get the drive out you could fix it from another machine, but I have no idea how hard (or possible) that would be.
I've had a bootable USB stick left in there for the past week. No luck so far. Haven't tried putting bootable files on the SD card. Can it apply autotweaks from SD? Edit: Bootable in that if the device boots, it will run the scripts from it. Not bootable in that it has an entire OS on it. Might not be a bad idea to figure out if there is a way to set up an SD card that it actually boots from. Edit2: I actually work for a company that makes embedded devices that use Genivi. I'll ask around if there is any standard recovery method, or if it is manufacturer specific. That'd be awesome if there was a standard "put this binary on the USB drive" fix

There is no drive to get out of the thing. The flash memory is soldered to the board. At minimum you would need special equipment to read from it.

Chances are pretty good there is either a key combination or a simple 'pull this pin to ground' that can be done to boot the CMU into a recovery mode that will allow access. However, if there is, no one here knows what it is :) Once my CMU gets sent in, the engineers will use this combination and fix the device in 15 seconds. Then laugh that I paid full price for a replacement, and they get to re-use mine anyway :)
 
Does this software work with v55.00.750+ and does it work in conjunction with already applied tweaks such as passenger can alter properties in the menu while driving and nag screen 0.1s

Awesome job, btw.

Basically what I'm asking is if I apply this script will it overwrite the other scrips?
it should be working cause there are no files overlapping.

you need to download the full script done by @serezhka , what I did was just to add the speed color bar, and you need to download the 2 files and replace it.
 
  1. First, you need to disable watchdogs in /jci/sm/sm.conf to avoid boot loops if something goes wrong
    Code:
    .....
    <sm_server sched_policy="SCHED_OTHER" sched_priority="-5" watchdog_enable="[B]false[/B]" reports_timeout="60000" sigkill_wait_before_reboot="5"/>
    .....
    <service type="process" name="Opera" path="/jci/opera/opera" autorun="yes" reset_board="[B]no[/B]" retry_count="0" args="-u /jci/gui/index.html [B]--noWatchdogs[/B]" affinity_mask="0x02">
  2. Enable Opera User javascript and allow file XMLHttpRequest in /jci/opera/opera_home/opera.ini
    Code:
    [User Prefs]
    .....
    User JavaScript=[B]1[/B]
    [B]Allow File XMLHttpRequest=1[/B]
  3. Copy files https://github.com/serezhka/mzd_speedometer :
    Code:
    [LIST]
    [*]from [B]userjs/[/B] to [B]/jci/opera/opera_dir/userjs/[/B]
    [*]from [B]speedometer/[/B] to [B]/jci/gui/speedometer/[/B]
    [*]from [B]scripts/[/B] to [B]/jci/scripts/[/B]
    [/LIST]
  4. Make scripts executable
    Code:
    chmod 755 /jci/scripts/stage_wifi.sh
    chmod 755 /jci/scripts/get-vehicle-speed.sh
  5. Reboot.

Or you can use install.sh script.
Download files from github to usb flash, insert it into the car, ssh, cd to usb folder and run ./install.sh
And be careful! Try it at your own risk 0:)

ok. continue with what @serezhka has done the great job for us, I added speed color bar and speed graph (real time speed for the past 5 minutes).

all you need to do is;

1. download and copy the full script by @serezhka into your infotainment system
2. from the zip, copy the file jquery.flot.min.js to /jci/gui/speedometer/
3. from the zip, replace the file speedometer.js in /jci/opera/opera_dir/userjs/
4. from the zip, replace the file speedometer.css in /jci/gui/speedometer/

tested in my car working out fine, fine attached how it looks. later when I have time to record video I will post it up here.
 

Attachments

Haha yeah, in retrospect when I thought "Hey, I wonder what happens if I change a transition image" I should have tested with the shutdown animation, not the boot animation :)

How did you mess up the file? I replaced mine with a 0-byte file. Did you remove it, or replace it with another file?
I modified a .gif file, to convert it to the file format and sizing. Didn't take, even though the player seemed to play fine on the desktop.

I've had this in for the past week, but I haven't been watching to see if it ever booted. I actually have a piece of cardboard over the screen, since the constant flashing from rebooting is distracting. I'll pay more attention to it.


Yeah, I took it in and they said it'll likely be $750 for replacement if the tier 1 finds the modifications. I don't see how they won't, so I'm likely in for full replacement cost. What makes me angry is that they said even if I pay full replacement cost, I can't keep the old one. Their engineers will fix the boot loop in 15 seconds, and now they get to keep my perfectly good CMU while I had to pay full price for a new one. New ones are on backorder, so I have no idea how long I'm stuck with a silent car. Before I took it into the dealership at least I had my favorite radio station. They pulled the battery, though, so now I'm stuck on static :)

Also, I pulled the CMU after I took it into the dealership, and the one bolt wasn't there. I think when they pulled it they lost it. I'll mention it to them the next time I'm there, but I imagine they'll assume that I lost it, not them. :) However, a single bolt isn't too big of a deal.



It's definitely encouraging to hear that someone got out of this loop. What specific words did you yell at it? You mashed the screen or you actually beat the dash? Push buttons? Steering wheel controls? I've definitely tried quickly spinning the volume knob to try to keep it busy.

I can't imagine bumps in the road or pounding on the dash had any effect, but it'd still be good to know as much as possible about what all surrounded the 'it started working' boot. Did it start working first boot after being off all night? Start working at the end of your drive?

I can't imagine physical shock would have any effect at all on the unit. I don't think there are any moving parts in it. However, if you were smashing the touch screen maybe it kept sending interrupts to the CPU that changed some thread interleaving. I'll try going crazy on the touch screen.

Which USB port did you have the flash drive in? Do you remember anything about the access pattern (assuming your usb drive lights up when accessed). At the start of boot, mine lights up for a second, then turns off and doesn't turn back on until the device reboots after about 10 seconds.

Did you try plugging in a USB ethernet adapter? When I did that, it never even got far enough along to turn the link light on, much less actually attempt to pull an IP.


Sorry for the barrage of questions; hearing someone got out of this without paying $1000 has me hopeful so I want as much info as possible :)
Trust me. Like yourself, I've tried everything, from button mashing, screen tapping, USB tweaks, ethernet adapter, praying at night.
What I did find was that if I left the vehicle in reverse, I could get the screen to stay on a little longer than in nuetral or in gear. (Benefits of standard transmission)
So I left the vehicle on a battery maintainer, reverse gear, and USB tweaks for a few hours hoping it'd take the USB. No luck.
I'm not sure how it happened exactly, I just know one night as I was backing into the garage, it booted while in reverse. Noticed the drop down button for settings in reverse finally turned red, so I clicked it right away and the settings menu popped up for rear view camera.
Stopped the car, put it in nuetral and backup camera turned off, then the system booted. Dumb mistake I did....I turned off the vehicle after playing around with the system thinking that it finally worked. Booted it back up, and it reboot looped again.

So I figure maybe it was a chance encounter and it will boot again eventially and i'll just keep my laptop in my car in case it does boot so I can fix it as soon as possible. 1 week passes and no luck.
Driving home one day, while on freeway, I just decided to smack the portion on the dash right between the screen and hazard light a couple times and yell "WHY WONT YOU FREAKING WORK YOU POS?" and it just randomly booted up right then and there.

There is no drive to get out of the thing. The flash memory is soldered to the board. At minimum you would need special equipment to read from it.

Chances are pretty good there is either a key combination or a simple 'pull this pin to ground' that can be done to boot the CMU into a recovery mode that will allow access. However, if there is, no one here knows what it is :) Once my CMU gets sent in, the engineers will use this combination and fix the device in 15 seconds. Then laugh that I paid full price for a replacement, and they get to re-use mine anyway :)
Yeah, me and @yandreev3 pulled the system out to check. We werent able to figure anything out other than the chip doesn't exist on the internet, or that there is nothing publically listed about it.

Another option is to simply just buy a new CMU unit, IIRC there's an online retailer that sells it for around $600. There's a relearn proceedure, but it can be found in the service manual.

I wish you the best of luck. I was so freaking releived after my CMU booted, I vouched that I would not do any other more experimental projects on the one in the vehicle.
Pic: Me excited while driving home that it finally booted lol
 

Attachments

  • Like
Reactions: chis101
Nice. But I realised it is in Kilometres. Can someone change it to Miles please?
Code:
step: function (now) {
	$this.text(Math.ceil(now * 0.621));
	Cufon.replace('#spdVal');
},
in userjs/speedometer.js :smile2:

In case this of any use to anyone, I was successfully able to run arm binaries from the cmu on my pc using qemu following these instructions: https://wiki.debian.org/RaspberryPi/qemu-user-static.
1) You can skip all of the steps referring to downloading and mounting a raspbian image and instead unpack the cmu's rootfs somewhere on your hard drive.
2) cp /usr/bin/qemu-arm-static $rootfs/usr/bin,
3) cd $rootfs
4) chroot . bin/sh

If you own a raspberry pi you should in theory be able to run binaries there too. The cmu is compiled for armel, so make sure you're using an armel kernel and not armhf.
Has anyone else tried this?
 
Code:
step: function (now) {
	$this.text(Math.ceil(now * 0.621));
	Cufon.replace('#spdVal');
},
in userjs/speedometer.js :smile2:
Thank you. Maybe you don't know it yet, but you have achieved a breakthrough moment with this app. It opens up a lot of possibilities in terms of javascript apps. Pity that I know very little javascript myself right now. But I will learn and start contributing.

Has anyone looked at HERE maps javascript API? I know it says it does not support Opera , but its worth a try, because the underlying map and traffic data is the same as the Mazda Navigation (Here maps and Navteq are the same company).

Has anyone else tried this?
I tried. It didn't work. Maybe I am missing something or the instruction is missing something.
 
I wish you the best of luck. I was so freaking releived after my CMU booted, I vouched that I would not do any other more experimental projects on the one in the vehicle.l
I have spent a lot of time with the engine off, parking brake on and the gear in reverse (automatic transmission, but sounds like essentially what you did with the manual) so the screen always shows camera, and then the blue arrow in the corner for the last 2 seconds before reboot. Didn't think of hooking up to battery maintainer and leaving overnight :)

I wish I had time to give that a try, but Mazda just called and my replacement CMU is in after being on backorder for a few weeks. Going to go in and have them replace it. Hopefully by some miracle when it they send it in they don't notice the modifications and replace it under warranty :) Not holding my breath though.

Thanks for all the info. I'm happy for you that you managed to get out of it. A jealous kind of happy.
 
Can anyone help me with the above ^-----
if the Wi-Fi isn't appearing in the menu then you either didn't reboot the system after applying the tweaks, or the tweaks weren't applied. Remember they're for v55.00.753 (but im pretty sure they are fully compatible with all versions of 55)
 
I've been playing with the idea of getting KODI (previously XBMC) to run on our Infotainment unit. In theory, it should work. KODI supoorts the i.MX6 SOC.

LINK

It could be a good way for adding functionality like phone mirroring, movie playback from USB, access to Picture library, even audio/video streaming over WiFi could be possible.

Has anyone tried this? If yes, please share your experience.
 
Thank you. Maybe you don't know it yet, but you have achieved a breakthrough moment with this app. It opens up a lot of possibilities in terms of javascript apps. Pity that I know very little javascript myself right now. But I will learn and start contributing.
I know, and this moment was a few months ago :wink2:

I have a progress:
There is Opera settings (/jci/opera/opera_home/opera.ini) and you can enable user javascript in 'User Prefs' section of this file.
Code:
[User Prefs]
...
User JavaScript=[B]1[/B]
And now all .js scripts located in /jci/opera/opera_dir/userjs/ will be executed before loading web page (or after if whose names ends with '.user.js').
More about Opera user javascript: Opera: User JavaScript: Taking Control
[RUS]:UserJS. Part I
There is Mazda's /jci/opera/opera_dir/userjs/fps.js script that shows fps.
And you can modify it (i've added simple button 'Execute' :smile2: , see attachments)
I have found libjcivdm.so library with interesting methods that may allow to obtain OBD data. It remains to learn how to use them ...
 

Attachments

Anyone have any info on this...
I went into mazda the other day to get the infotainment updated to v55. The system shows that I'm running 33. After an hour the service guy came out and told me that they downloaded the update from mazda Canada only to find out that it told them I had the most recent update. This seems odd. Am I missing something? The car still shows OS version: 33.00.500.
 
2,621 - 2,640 of 6,600 Posts