Setup_en - ghzserg/zmod GitHub Wiki
Setup
- Restoring Printer to Factory Settings (Required for Mod Installation)
- Installing the Mod
- Updating the Mod
- Removing or Temporarily Disabling the Mod
- Updating Stock Firmware
- Using a Stable Release Branch
- Boot Recovery
Restoring Printer to Factory Settings (Required for Mod Installation)
- Uninstall KlipperMod if previously installed.
- Reset the printer to default settings.
- Format a USB drive to FAT/FAT16/FAT32.
- Copy the appropriate file from the Native firmware to the USB root directory:
Adventurer5M-3.1.3-2.2.3-20250107-Factory.tgz
for FF5MAdventurer5MPro-3.1.3-2.2.3-20250107-Factory.tgz
for FF5M ProAD5X-1.0.2-1.0.2-20250120-Factory.tgz
for AD5X
- Power off the printer.
- Insert the usb drive into printer usb port.
- Power on the printer.
- Wait for the stock firmware installation to complete.
- Configure Wi-Fi or Lan new beaver
- Install the latest printer updates.
Installing the Mod
- Restore the printer to factory settings.
- Format a USB drive to FAT/FAT16/FAT32.
- Copy the mod file to the USB root directory:
- For FF5M: Adventurer5M-zmod-*.tgz
- For FF5M Pro: Adventurer5MPro-zmod-*.tgz
- For AD5X: AD5X-zmod-*.tgz
- Power off the printer.
- Insert the USB drive.
- Power on the printer.
- Wait for the mod installation to complete.
- Remove the USB drive.
- Power cycle the printer.
- Go to Fluidd/Mainsail → Settings → Software Update. Click Check Updates and install the latest ZMOD updates.
Updating the Mod
If the mod displays Обновите ZMOD с флешки
("Update ZMOD via USB"), you must update via USB, even if recently updated.
Updating via USB preserves all data.
Simplest method: Use the ZFLASH macro. Insert the USB drive, reboot the printer, and run ZFLASH
. The macro will:
- Check for the latest version.
- Download the latest release for your printer model.
- Verify checksums.
- Reboot the printer.
- Automatically install the update (keep the USB drive inserted for future updates).
After installation:
- Go to Fluidd/Mainsail →
Settings
→Software Update
. - Click
Check Updates
and install the latest ZMOD updates.
Version Compatibility:
- The OS version (under
System
→Distribution
) must match the first two digits of the ZMOD version (Settings
→Updates
→ffm5/zmod
). - Mismatched versions cause instability.
Update Rules:
- USB required if the first or second version digit changes (e.g., 1.2.x → 1.3.x).
- Online update suffices for third/fourth digit changes (e.g., 1.2.6 → 1.2.7).
Manual USB Update:
- Format a USB drive to FAT/FAT16/FAT32.
- Copy the mod file to the USB root.
- Power off the printer.
- Insert the USB drive.
- Power on the printer.
- Wait for the reboot and installation.
- Remove the USB drive.
- Power cycle the printer.
Removing or Temporarily Disabling the Mod
- SKIP_ZMOD: Reboots without starting Moonraker/Fluidd.
- REMOVE_ZMOD: Fully uninstalls the mod.
Recommended method: Use the REMOVE_ZMOD
macro. Use USB removal only if macros are unavailable.
USB Removal:
- Format a USB drive to FAT/FAT16/FAT32.
- Copy flashforge_init.sh to the USB root.
- Power off the printer.
- Insert the USB drive.
- Power on the printer.
- Wait for three reboots.
- Remove the USB drive.
Updating Stock Firmware
If you have the latest ZMOD version:
- Update the stock firmware normally.
- Reboot the printer.
If ZMOD is outdated:
- Update ZMOD via USB first.
- Install online updates via Fluidd.
- Update the stock firmware.
Using a Stable Release Branch
To switch to a stable branch:
- Add to
mod_data/user.moonraker.conf
:[update_manager zmod] channel: stable
- Stable updates are released weekly.
- For bug reports or new features, switch back to the latest release by removing the above lines.
Boot Recovery
Guide by @darksimpson, Alexander, @Ikaros413, @SoloMen88
Symptoms: Printer freezes on boot screen and is unreachable via LAN.
Steps:
- Unplug the printer.
- Prepare a 3.3V UART/USB converter (ensure jumper is set to 3.3V).
- Open the printer’s rear panel.
- Connect to the UART pins (RX, TX, GND — do NOT connect 3.3V).
WARNING: 5V input will damage the motherboard!
- Connect the converter crosswise:
- Converter RX → Printer TX
- Converter TX → Printer RX
- Converter GND → Printer GND
- Identify the new COM port in your OS.
-
Open PuTTY:
- Connection type: Serial
- Speed: 115200
- COM port: (e.g., COM6)
-
Power on the printer.
-
When
Hit any key to stop autoboot
appears, press Enter. -
In U-Boot, run:
setenv init /bin/sh boot
-
After Linux boots, remount the filesystem as writable:
mount -t proc proc /proc mount -o remount,rw /
-
Fix corrupted files (e.g., delete faulty scripts):
rm -f /etc/init.d/S01bad_script rm -f /opt/config/mod/.shell/S98camera
-
Save changes and reboot:
sync reboot