2004 to 2020 Mazda 3 Forum and Mazdaspeed 3 Forums banner
2,941 - 2,960 of 6,600 Posts
Do I have to go into the programming screen using the Audio,Fav and Vol keys to install the tweaks or just unplug the SD card and plug in the USB thumb drive?. Will the system detect the tumbdrive and automatically install the tweaks ? I'm nervous about messing up the software update 55.753 that was just installed ? Thank you
 
i'd upgrade in order to the latest even though latest update has all the fixes its not to say specific versions do not fix other issues as well... In the end of the day though it should matter if your upgrading from the same tree branch. ie 55 to 56.. etc.
 
i played around with the options @spadival throw in...

as far as i see.. in EU version we are missing hardware for IDM and hd traffic

vehicle telemetrie starts a counter of 60 minutes and i think you can save something on usb (testing tomorrow while driving) driver id allows you to create a profile (name) but i think it is for the IDM or maybe the telemetrie, wich is than saved with the correct driver name?!!? (see that tomorrow)

"fahrerauswahl" = Driver ID
 

Attachments

i played around with the options @spadival throw in...

as far as i see.. in EU version we are missing hardware for IDM and hd traffic
I am not sure we are missing hardware for IDM. The error message just indicated that that the DBUS service which provides the data is not running. Maybe we can run this process outside of sm.conf (because I am not ready to take risk adding another entry to sm.conf)

HD Traffic is North American equivalent of TMC and is available in US via HD radio. Completely useless, because it displays a low res map with hardly any information on it.
 
I am not sure we are missing hardware for IDM. The error message just indicated that that the DBUS service which provides the data is not running. Maybe we can run this process outside of sm.conf (because I am not ready to take risk adding another entry to sm.conf)

HD Traffic is North American equivalent of TMC and is available in US via HD radio. Completely useless, because it displays a low res map with hardly any information on it.
when i activate the IDM menu-item and restart the car... at first in the loading process it is light grey and then, when the other items loaded the IDM is gone..

i saw an image at mazda.co.jp where an LED in the speedometer shows the result of your driving...
?MAZDA?????????????
_______________________
the carplay item is always displayed but light grey... so without function
________________
i tested the vehicle telemetrie... the counter starts at 60 minutes but after driving 10 minutes it collapsed while saving the results... i waited nearly 5 minutes, i looked into the vdtapp.js but i not really found the location where the system try to save the files...

while searching thru the files, i find a string for the speed "ATspeed" "Speedvalue" etc pp also we have some apps in dependence of the speed (in the vehicle settings we find the HUD-settings only when the engine is on)
in systemapp.js is a part for speedrestricted apps... so i think we get the original speed of the car
also the display of the park distance controll finished when driving more then 15km/h... i don't think the get this over gps :)
 
How can we get this? This is what we should have now.
https://www.youtube.com/watch?v=NFGdCsO2Wbo
That would be nice. I doubt they'll ever change our infotainment system to that OpenAir system. They have a few videos that show a lot of awesome features, even some running on our infotainment system. It just seems like they never incorporate those changes in the updates we get. :\
 
this is a redo version of speedometer/video player, and probably no changes would be made in near future. I have replaced the files to its own folder and it's pretty clean now.

== Tested on v55. You should probably skip if your OS version older than v51 ==

what this package contains;

1. speedometer (started off by @serezhka), with following information:
- top speed
- average speed
- current speed
- speed bar
- plot graph (6 minutes drive speed history)

2. video player (started off by @sigma), with following functions:
- generate video list from all connected USB drive
- start playback (by click on the video name in the video list)
- stop playback
- play all option
- repeat option

DO READ information in "video player note" below

3. reboot system
- this feature come together with video player


installation - UPDATED

* if you have installed the earlier version speedometer by @serezhka or mySpeedometer by me, this installation will disable them, no conflict

method 1 - install via ssh

1. download addon-all-fixed.zip
2. unzip and copy all files to your USB root
3. plug it to the USB port
4. ssh into your CMU
5. go to your USB drive folder (e.g. /tmp/mnt/sdb1)
6. run ./install.sh
7. you will see "done" after installation complete, and now reboot

method 2 - auto install upon USB plug in

1. download addon-all-fixed-auto-install-v2.zip
2. unzip and copy all files to your USB root
3. start your CMU
4. plug it to the USB port and wait for about 30 seconds
5. if you see a dialog pop up on your screen, the installation should be completed


the installation will copy both speedometer/video player files into your system, and you have option to enable/disable any one of them (see below)


other than adding new files into the system, what current system files would be changed

changes would be made to the following 4 files, but installation will make backup first before applying the changes
- /jci/sm/sm.conf
- /jci/opera/opera_home/opera.ini
- /jci/scripts/stage_wifi.sh
- /jci/opera/opera_dir/userjs/fps.js (this one only backup, not changes)


uninstall - ADDED

auto uninstall upon USB plug in

1. download uninstall.zip
2. unzip and copy all files to your USB root
3. start your CMU
4. plug it to the USB port and wait for about 30 seconds
5. if you see a dialog pop up on your screen, the uninstallation should be completed


question (option & improvement)

Q. I only need speedometer (or video player/reboot), how to disable the other one?
A. the option is at the first 2 lines in /jci/opera/opera_dir/userjs/addon-startup.js

Q. [speedometer] I need mph instead of kph, how to change it?
A. the option is at the first line in /jci/gui/addon-speedometer/addon-speedometer.js

Q. [video player] what type of video file supported?
A. currently the player will only search through all your connected USB drive for *.mp4 files, and generate a video list for you

Q. [video player] can I add more video type other than *.mp4 appear in my video list, e.g. *.mkv,
A. yes, you can modify it at line 68 in /jci/gui/addon-player/playback-action.sh, provided you know bash scripting

Q. [video player] I managed to add more video type file, e.g. *.mkv, can the player play it?
A. should be. if the player doesn't play it and if you know gst-launch command, you can modify it at line 49 in /jci/gui/addon-player/playback-action.sh

Q. [video player] how the "Play All" and "Repeat" works?
A. 3 cases:
- if only "Play All" is checked, play all videos in the list till the end
- if only "Repeat" is checked, repeat your current playing video
- if both "Play All" and "Repeat" are checked, repeat all videos in the list


problem & possible solution

Q. [speedometer] all speed value remain 0 when my car is moving?
A. try reinstall again

Q. [reboot system] when I click on the reboot button, nothing happen?
A. try reinstall again

Q. [video player] when I click on the "Search Videos" button, nothing happen, also the reboot button don't work?
A. try reinstall again

Q. [video player] when I click on the "Search Videos" button, nothing happen, but the reboot button works?
A. unplug and replug your USB drive and click "Search Videos" again. if after 2~3 times still can not, reboot the system

Q. [video player] when I click on one of the videos, nothing happen, and I only see "Preparing..." at the right bottom
A. click "Stop", "Search Videos" and play again. if still can not, try the other video

Q. [video player] only 5 out of 10 videos in my list can play, why?
A. to have the player to play most of the videos you have, from experience the best video codec is h.264/aac or h.264/mp3 at resolution not higher than 480p

* kindly bookmark this post permalink and always refer back here for any problem you may come across. only throw question if you don't find the answer here :smiley:


video player note
this video player, rely on "gst-launch" to play video, and "gst-launch" is a command come with the system. currently there is no menu/button available in the system for you to play video as how you play audio, then this video player been created.

this video player is only to provide you a user-interface to let you play video as easy as how you play audio. it can generate video list, also with playback control button like stop/play all/repeat, but underneath it is the "gst-launch" do the playing and output the video to the screen.

from own experience and many feedback from other users, the "gst-launch" come with the system doesn't seem to be very "stable", not "stable" as in very high chances it refuses to play the video you expected it would play, and reason may vary, most is the error related to memory.

meaning, this video player may not work for you.

- to best interact with the video player, be patient and always allow 2~3 second for the player to response after you click any button
- do test with USB formatted in FAT32 and NOT larger than 8GB
- do test with video in codec h.264/aac or h.264/mp3 and resolution NOT larger than 480p

here are some short video you may try out;
https://drive.google.com/open?id=0Bz6ITFfwLRaqcmJ2VktSSEZlOGM
https://drive.google.com/open?id=0Bz6ITFfwLRaqU21kek1XZjM1UTA
https://drive.google.com/open?id=0Bz6ITFfwLRaqQlZ0RDV2Yk9fRVk


my note
this is so far the information I could provide. question or possible solution may be added along the time.

UPDATED:
- screenshot uploaded
- fixed and re-uploaded full script (fix speedbar no response)
- added auto install for non-ssh user
- added uninstall script

github url https://github.com/kwwong/mzd-addon
 

Attachments

this is a redo version of speedometer/video player, and probably no changes would be made in near future. I have replaced the files to its own folder and it's pretty clean now.
this is awesome. thank you for all your hard work. :smile2:
 
thanks @Albuyeh, fixed and re-uploaded.
Found some other issues afte I actually drove the car..

1) the speedbar is never filled. Reason for this is because you set
Code:
var barClassName = '.speedBar_' + i;
but in your code you have set `speedBarKph_###` or `speedBarMph_###`

2) I also had some weird issue with my current speed where it would fluctuate every second (i.e. if im going 60mph, every second it would start at ~37 and end at my current speed). I'm not sure why this is but I think it's because it multiplies my speed in mph by the mph factor again?

I think a good fix for converting speed to mph is to replace

Code:
if(isMph){
  var speedTemp = Math.ceil(data * 0.621);
} else {
  var speedTemp = Math.ceil(data);
}
and

Code:
if(isMph){
  $this.text(Math.ceil(now * 0.621));
} else {
  $this.text(Math.ceil(now));
}
with

Code:
var speedTemp = Math.ceil(data);
and
Code:
$this.text(Math.ceil(now));
and then just add,

Code:
if(isMph){
  data = data * 0.621;
}
right after
Code:
data = $.trim(data);
 
Awesome work waisky2! I was the one who started the video player usb script :) But as you can see your doing a better job than me :D

If you want to automate the install script of yours all you need to do is rename your install.sh script to my tweaks.sh and use the usb video player for it to install automaticly without sshing into the system

this is a redo version of speedometer/video player, and probably no changes would be made in near future. I have replaced the files to its own folder and it's pretty clean now.

what this package contains;

1. speedometer (started off by @serezhka), with following information:
- top speed
- average speed
- current speed
- speed bar
- plot graph (6 minutes drive speed history)

2. video player (started off with the USB tweaked project, sorry I forgot who contributed that), with following functions:
- generate video list from all connected USB drive
- start playback (by click on the video name in the video list)
- stop playback
- play all option
- repeat option

3. reboot system
- this feature come together with video player


installation

* if you have installed the earlier version speedometer by @serezhka or mySpeedometer by me, the installation will disable them, no conflict

1. unzip and copy all files to your USB root
2. plug it to the USB port
3. ssh into your CMU
4. go to your USB drive folder (e.g. /tmp/mnt/sdb1)
5. run ./install.sh
6. you will see "done" after installation complete, and now reboot

the installation will copy both speedometer/video player files into your system, and you have option to enable/disable any one of them (see below)


other than adding new files into the system, what current system files would be changed

changes would be made to the following 4 files, but installation will make backup first before applying the changes
- /jci/sm/sm.conf
- /jci/opera/opera_home/opera.ini
- /jci/scripts/stage_wifi.sh
- /jci/opera/opera_dir/userjs/fps.js (this one only backup, not changes)


question (option & improvement)

Q. I only need speedometer (or video player/reboot), how to disable the other one?
A. the option is at the first 2 lines in /jci/opera/opera_dir/userjs/addon-startup.js

Q. [speedometer] I need mph instead of kph, how to change it?
A. the option is at the first line in /jci/gui/addon-speedometer/addon-speedometer.js

Q. [video player] what type of video file supported?
A. currently the player will only search through all your connected USB drive for *.mp4 files, and generate a video list for you

Q. [video player] can I add more video type other than *.mp4 appear in my video list, e.g. *.mkv,
A. yes, you can modify it at line 68 in /jci/gui/addon-player/playback-action.sh, provided you know bash scripting

Q. [video player] I managed to add more video type file, e.g. *.mkv, can the player play it?
A. should be. if the player doesn't play it and if you know gst-launch command, you can modify it at line 49 in /jci/gui/addon-player/playback-action.sh

Q. [video player] how the "Play All" and "Repeat" works?
A. 3 cases:
- if only "Play All" is checked, play all videos in the list till the end
- if only "Repeat" is checked, repeat your current playing video
- if both "Play All" and "Repeat" are checked, repeat all videos in the list


problem & possible solution

Q. [speedometer] all speed value remain 0 when my car is moving?
A. try reinstall again

Q. [reboot system] when I click on the reboot button, nothing happen?
A. try reinstall again

Q. [video player] when I click on the "Search Videos" button, nothing happen, also the reboot button don't work?
A. try reinstall again

Q. [video player] when I click on the "Search Videos" button, nothing happen, but the reboot button works?
A. unplug and replug your USB drive and click "Search Videos" again. if after 2~3 times still can not, reboot the system

Q. [video player] when I click on one of the videos, nothing happen, and I only see "Preparing..." at the right bottom
A. click "Stop", "Search Videos" and play again. if still can not, try the other video

Q. [video player] only 5 out of 10 videos in my list can play, why?
A. to have the player to play most of the videos you have, from experience the best video codec is h.264/aac or h.264/mp3 at resolution not higher than 480p


video player note
to best interact with the video player, be patient and always allow 2~3 second for the player to response after you click any button


my note
this is so far the information I could provide. question or possible solution may be added along the time.

p/s: screenshot and video link will post later
 
@waisky2 you did an awsome job

i told you that the old player run once so i uninstalled it...

a few minutes ago i try your new one with the ssh install method.. it runs.. i try to play with different usb-sticks and it works everytime
so i drive a while, stopped the engine, start again and what should i say.. it runs :)

it is cool to seperate the apps
 
Problem Installing

this is a redo version of speedometer/video player, and probably no changes would be made in near future. I have replaced the files to its own folder and it's pretty clean now.

what this package contains;

1. speedometer (started off by @serezhka), with following information:
- top speed
- average speed
- current speed
- speed bar
- plot graph (6 minutes drive speed history)

2. video player (started off with the USB tweaked project, sorry I forgot who contributed that), with following functions:
- generate video list from all connected USB drive
- start playback (by click on the video name in the video list)
- stop playback
- play all option
- repeat option

3. reboot system
- this feature come together with video player


installation - UPDATED

* if you have installed the earlier version speedometer by @serezhka or mySpeedometer by me, this installation will disable them, no conflict

method 1 - install via ssh

1. download addon-all-fixed.zip
2. unzip and copy all files to your USB root
3. plug it to the USB port
4. ssh into your CMU
5. go to your USB drive folder (e.g. /tmp/mnt/sdb1)
6. run ./install.sh
7. you will see "done" after installation complete, and now reboot

method 2 - auto install upon USB plug in

1. download addon-all-fixed-auto-install.zip
2. unzip and copy all files to your USB root
3. start your CMU
4. plug it to the USB port and wait for about 30 seconds
5. if you see a dialog pop up on your screen, the installation should be completed


the installation will copy both speedometer/video player files into your system, and you have option to enable/disable any one of them (see below)


other than adding new files into the system, what current system files would be changed

changes would be made to the following 4 files, but installation will make backup first before applying the changes
- /jci/sm/sm.conf
- /jci/opera/opera_home/opera.ini
- /jci/scripts/stage_wifi.sh
- /jci/opera/opera_dir/userjs/fps.js (this one only backup, not changes)


question (option & improvement)

Q. I only need speedometer (or video player/reboot), how to disable the other one?
A. the option is at the first 2 lines in /jci/opera/opera_dir/userjs/addon-startup.js

Q. [speedometer] I need mph instead of kph, how to change it?
A. the option is at the first line in /jci/gui/addon-speedometer/addon-speedometer.js

Q. [video player] what type of video file supported?
A. currently the player will only search through all your connected USB drive for *.mp4 files, and generate a video list for you

Q. [video player] can I add more video type other than *.mp4 appear in my video list, e.g. *.mkv,
A. yes, you can modify it at line 68 in /jci/gui/addon-player/playback-action.sh, provided you know bash scripting

Q. [video player] I managed to add more video type file, e.g. *.mkv, can the player play it?
A. should be. if the player doesn't play it and if you know gst-launch command, you can modify it at line 49 in /jci/gui/addon-player/playback-action.sh

Q. [video player] how the "Play All" and "Repeat" works?
A. 3 cases:
- if only "Play All" is checked, play all videos in the list till the end
- if only "Repeat" is checked, repeat your current playing video
- if both "Play All" and "Repeat" are checked, repeat all videos in the list


problem & possible solution

Q. [speedometer] all speed value remain 0 when my car is moving?
A. try reinstall again

Q. [reboot system] when I click on the reboot button, nothing happen?
A. try reinstall again

Q. [video player] when I click on the "Search Videos" button, nothing happen, also the reboot button don't work?
A. try reinstall again

Q. [video player] when I click on the "Search Videos" button, nothing happen, but the reboot button works?
A. unplug and replug your USB drive and click "Search Videos" again. if after 2~3 times still can not, reboot the system

Q. [video player] when I click on one of the videos, nothing happen, and I only see "Preparing..." at the right bottom
A. click "Stop", "Search Videos" and play again. if still can not, try the other video

Q. [video player] only 5 out of 10 videos in my list can play, why?
A. to have the player to play most of the videos you have, from experience the best video codec is h.264/aac or h.264/mp3 at resolution not higher than 480p


video player note
to best interact with the video player, be patient and always allow 2~3 second for the player to response after you click any button


my note
this is so far the information I could provide. question or possible solution may be added along the time.

UPDATED:
- screenshot uploaded
- fixed and re-uploaded full script (fix speedbar no response)
- added auto install for non-ssh user
I followed your install via USB and after rebooting my CMU no icons are appearing on my applications list, any thoughts?
 
2,941 - 2,960 of 6,600 Posts