MZD-AIO-TI PRO Tips
WARNING: These are called ‘Pro Tips’ for a reason. I take no responsibility for the missuse of any of these instructions. If you are going to attempt anything on your car system you should have the proper knowlege and experience to recover if something were to go wrong.
SSH
SSH ACCESS IS THE MOST IMPORTANT TOOL FOR DEVELOPMENT ON THE MZD INFOTAINMENT SYSTEM.
The are 3 main ways to gain SSH access:
- USB-Ethernet Adapter
- Wifi
- SSH over ADB (Android Phone)
In FW v56.00.5XX+ SSH access was disabled, It can be re-enabled with AIO
After restoring SSH you root user/pass will be cmu/jci. With AIO a second root user/pass is added: jci/jci
Why?
I wanted to make a definitive way that AIO could recognize that it had previously modified the passwd file. Since we do not want to put any erroneous information into that file a user in the Mazda3Revolution Forum suggested to rename the existing cmu (or root) user (with unknown password) to jci and add the new cmu user above that (making it the new root user). That would work except the jci user would be useless since we don’t know the password, solution: create a new jci/jci user/pass and add in place of the original giving us a unique user that can be easily checked programmatically and is usable for SSH access.
I will post a tutorial on how to add any user/pass combination to the passwd file to be used for SSH access, at the moment I have 4 root users: cmu, jci, root, and trez (all my passwords are jci for simplicity but you can make them anything). I would remove the root user name if I was going to perform a firmware update and my other 3 root users would persist through the update. THIS IS NOT THE ONLY WAY, THE EASIEST WAY, OR EVEN THE BEST WAY TO DO THIS. IT IS JUST A WAY TO DO IT. Using Ubuntu(16.04):