For a complete disassembly video, please refer to this link:
X axis cable replace video
Below are the detailed steps:


After removal, the setup should look like the image below:


As shown in the image below, remove the screws on the cover plate of the control box:


Note: Before unplugging, take a photo of the wiring with your phone for reference during reassembly. The X-axis cable plug includes two connectors: one for the X-axis encoder (as shown below):

The other plug is for the X-axis motor power cable. You need to unplug the connector indicated as #1 in the image below before removing it:



Here, remove the cables one by one from the printer; do not attempt to pull out multiple cables at once.

After removal:

After loosening the X-axis cable, remove the cable from the braided mesh:


After loosening the screw, the entire drag chain cable can be removed from the machine:

After replacing the cable, please refer to this wiki to re-initialize the parameters of the X-axis motor:
https://wiki.peopoly.net/en/magneto/magneto-x/linearmotor-Identification