stuclark

All firmwares above version 56.0.0 lock the CMU so that users 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. A serial connection will need to be made before updating or FW reinstall to regain root access.

Parts/Equipment Needed:

  • USB to TTL Serial Adapter -  (Any other CP2102 module should work. Other USB-TTL Adapters might work too.) Driver can be found Here.
  • Single-Stranded/Solid-core insulated wire.
  • USB Flash Drive
  • 10mm socket wrench with extender/ratchet
  • Putty or SecureCRT

Preparation:

USB Flash Drive:
  1. Format drive to FAT32
  2. Create folder called ‘XX’
  3. Add contents of this archive to folder ‘XX’
  4. 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:
  1. Use our instructions to access the back of the CMU
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)

  1. You will need to have 3 wires connected to the CMU: Transmit (TX), Receive (RX), and Ground (GND)
  2. 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). Back of the CMU Back of the CMU
  3. 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.
  4. Connect the other end of the wires to the CP2102 module in its corresponding port.
Serial Console App:
      1. 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.
      2. 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
      3. For Putty, you just need to select ‘Serial’ and then enter the COM Port # and set Baud to 115200
      4. You should start see text scroll by even if the car is off
      5. Plug in flash drive
      6. Turn the car to ACC mode by just pressing the On button without putting your foot on brake to fully turn car on
      7. 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.
      8. 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).
      9. 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)
      10. Reboot Mazda CMU by holding the Nav + Mute button for 10+ seconds.
      11. Input userand push Enter
      12. Input jci and push Enter

NOTE: After installing the autorun scripts you will be able to login as the root user with username: cmu pass: jci

      1. Run cp -r /mnt/sd*/XX/* /mnt/data_persist/dev/bin/; chmod +x /mnt/data_persist/dev/bin/autorun; /mnt/data_persist/dev/bin/autorun
      2. (Optional) To test if the files have been moved to the folder, run ls -l /mnt/data_persist/dev/bin
      3. 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.
Output
    1. Remove flash drive, turn off car, insert flash drive that has AIO tweaks installed, turn car on back in ACC mode
    2. 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
    1. Now that everything is installed you can put everything back together
    2. Remove the TX, RX, GND wires
    3. Slide CMU back in
    4. Attach bolt using 10mm socket wrench
    5. Connect hazard light connector cable to trim
    6. Push trim back in
    7. From here on out, you can just use a flashdrive to install tweaks

This information was useful?