CMU Serial Access
In FW v59.00.502 and higher the CMU is locked down and users cannot access to their own systems and can no longer install tweaks. Currently the only way to circumvent this is to make a serial connection and follow these instructions very carefully. This process will allow you to run tweaks from USB. EXTRA INSTRUCTIONS FOR FW v70.00.335 and higher. Serial connection will need to be made before updating or FW reinstall to regain root access.
A huge Thank You to Albuyeh for writing these detailed instructions.
Parts/Equipment Needed:
- USB to TTL Serial Adapter - $6 (Any other CP2102 module should work. Other USB-TTL Adapters might work too.) Driver can be found Here. I like this module because it has LEDs when you are receiving or transmitting data
- Single-Stranded/Solid-core insulated wire. I personally like this because you can daisy-chain them together without needing to do any soldering.
- USB Flash Drive
- 10mm socket wrench with extender/ratchet
- Putty or SecureCRT
- Mazda AIO Tweaks
Preparation:
USB Flash Drive:
MZD AIO Method:
- Format drive to FAT32
- Using MZD-AIO v2.7.9+: Run “Autorun & Recovery” with “Recovery Via Serial Connection” & “Install ID_7 Recovery Scripts Pack” options checked
- AIO will create the ‘XX’ Folder and neccessary files in “_copy_to_usb” folder
- AIO will offer to copy files directly to the connected USB Drive
or
Manual Method:
- Format drive to FAT32
- Create folder called ‘XX’
- Add contents of this archive to folder ‘XX’
- If you want to have the car create its own Wifi Access Point, configure the
XX/00-start-wifiAP/wifiAP.config
file. Otherwise, delete the 00-start-wifiAP folder. If you are trying to remove Wifi AP after you have installed it, copy contents of Wifi Uninstall Script to flash drive and connect to CMU.
- (Optional) Use AIO to also install some selected tweaks on the same USB flash drive to run after completed.
Process:
Accessing the CMU: (Watch this video to see how its done)
Another Great Video:
- Open glove box
- Pull the trim. You will need to use more force than you expect. The front fan area is attached to the trim and will come off as well.
- Disconnect the hazard light connector cable
- Use the 10mm socket wrench to remove the bolt
- The headunit will slide out towards you
Wiring the CMU:
Do not modify any of the below commands If the commands do not work, then you have done something wrong (i.e. you’re not logged in, or RX/TX wires are not properly wired)
- You will need to have 3 wires connected to the CMU: Transmit (TX), Receive (RX), and Ground (GND)
- Here is a picture of the back of the CMU. We are going to be adding our cables to the ‘power&more’ connector. Here is a more detailed picture of where the RX and TX cables go. Note: The smaller 2x4logic.com diagram looks like it’s the opposite of the other picture but that’s because the CMU is using 2S to transmit (so the serial adapter will be receiving). For the sake of simplicity, connect the RX port of your Serial Adapter to 2S (top) and TX port to 2T (bottom).
- Be sure that the cable is going into the port. It must go in about an inch. The GND cable can go anywhere so long as it is touching the CMU. I recommend slightly unscrewing one of the Philips head screws and wedging the cable in there.
- Connect the other end of the wires to the CP2102 module in its corresponding port.
Serial Console App:
- Make sure you know what the paste command is for your Serial Console application. In Putty, you right click inside the terminal window and it will paste whatever command you had copied. For SecureCRT, you push Ctrl+Shift+V to paste. Remember that these shortcuts will only paste, you will have to push enter after to actually send the command.
- Windows will auto-assign a COM Port to the CP2102 module once its plugged in. Go to Device Manager > Ports (COM & LPT) to see what the COM Port # is
- For SecureCRT, under Options > Connection > Serial, set Port = COM#, Baud = 115200, Data Bits = 8, Parity = None, Stop Bits = 1
- For Putty, you just need to select ‘Serial’ and then enter the COM Port # and set Baud to 115200
- You should start see text scroll by even if the car is off
- Plug in flash drive
- Turn the car to ACC mode by just pressing the On button without putting your foot on brake to fully turn car on
- Now you are really going to be seeing text fly by, remember that the commands are working even though you cannot see what you are typing because of the text flying by.
- Press Enter in terminal and CMU will respond with ‘login’. For the next several steps make sure you do not make any spelling mistakes. It is probably best to copy and paste the commands (to paste you just need to right click in the terminal window).
- If text is flying by so fast it seems like you can’t type you are doing everything correctly, copy and paste each command and press enter! It will seem like your commands are not being sent to the Mazda but don’t worry they are (provided your wiring is right. If you got a module with LEDs you can check TX is Transmit/RX is Receive)
- Reboot Mazda CMU by holding the Nav + Mute button for 10+ seconds.
- Input
and push Enter Copy
- Input
and push Enter Copy
NOTE: After installing the autorun scripts you will be able to login as the root user with username: cmu pass: jci
- Run
-
- (Optional) To test if the files have been moved to the folder, run
-
- The files/folders should be colored in green/blue since they are folders/executable. You may have to run this a few times to see the Serial Console output.
-
- Remove flash drive, turn off car, insert flash drive that has AIO tweaks installed, turn car on back in ACC mode
- After a few minutes, you should see a message that indicates the mods are being installed. This process may take approximately 2 - 20 minutes.
Finishing Up
- Now that everything is installed you can put everything back together
- Remove the TX, RX, GND wires
- Slide CMU back in
- Attach bolt using 10mm socket wrench
- Connect hazard light connector cable to trim
- Push trim back in
- From here on out, you can just use a flashdrive to install tweaks
You’re Done!
If you have questions or need help visit this thread for more information.
If you love us so much you need to donate you can Buy Albuyeh a Hot Chocolate and/or you can Buy Trez Some Weed :D. Good Luck!