Help needed: Sovol Zero stuck on “System Booting” after hotend maintenance

Hi Cardoc,

Based on your latest diagnosis, I would like to follow option 1 and revert the main MCU to the original Sovol firmware, keeping the stock Sovol Klipper installation and the replacement toolhead firmware.

Could you please help me identify or provide the correct original firmware for the main MCU, compatible with the installed Sovol Klipper version and the stock toolhead firmware?

I would also appreciate the exact firmware build or repository link, along with the recommended flashing procedure.

My priority is to restore compatibility between the host, the main MCU, and the toolhead MCU without reinstalling the operating system or losing the original configuration, macros, and settings.

Thank you for your help and patience.

@rpcyan has a repo at GitHub - rpcyan586/zero-config: Repo for my mainlined Sovol Zero config · GitHub

I think he has a .bin to go back to stock.

Your main MCU is fine

14d7b18-dirty-20250210_015142 is the stock mainboard build. Both of mine and yours run that build, and no OTA has ever included mainboard firmware. Only the toolhead and host have varied.

The toolhead firmware is the mismatch

The replacement toolhead board has the older 1.3.8 toolhead firmware, cc8afd8-dirty-20250305_010730, while your eMMC host is already on the newer 1.4.x.

The 1.3.8 and 1.4.x toolhead images differ in exactly one command, the homing_method field on ldc1612_setup_home in your error. The 1.4.x image is cc8afd8-dirty-20250310_015728, the same file in every 1.4.x package I have.

Running the OTA again won’t fix it

The update package’s checking routine is inadequate - it assumes the toolhead is already updated if the host is already 1.4.1 or newer. It will only flash the toolhead when it is upgrading from something older than 1.4.1.

The fix itself is small

The 1.4.x toolhead image and Sovol’s flashing script should already be on your eMMC in ~/printer_data/build/, and running that script should fix it.

The real problem is not being able to log in

You need a shell, whether SSH or keyboard + HDMI screen.

If the previous owner changed the password, I know of two ways out:

  • An eMMC adapter and a fresh image. That resets the password but loses your config and calibration. Coming back up from the 1.3.7 image, the normal OTA should also flash the toolhead on the way.
  • Email Sovol at info@sovol3d.com with your serial number, from the barcode sticker on the inside bottom of the chamber by the door, and ask for a toolhead board with the 1.4.x firmware, quoting the two build strings above.

The recovery files in my fork of asnajder’s zero-config are 1.3.7 builds, so they won’t help here.

A way to flash the toolhead without logging in

Thought about it some more. Klipper can run Sovol’s flashing tool from the Mainsail console, but only when Klipper is ready, and yours stops at the toolhead. A temporary printer.cfg with only the mainboard gets Klipper to ready. Klipper is then running, but it is not connected to the toolhead, which is the board being flashed. Your real printer.cfg is renamed and put back afterwards, so your config, macros and calibration are not touched.

Your get_ip.cfg is the stock 1.4.7 one, so the 1.4.x install that put the toolhead image in ~/printer_data/build/ has run on your printer.

Everything up to the flash itself has been tested on my 1.4.7 Zero. The temporary config reaches ready, and the flashing tool runs from the console and finds only the toolhead on the CAN bus. My toolhead already has the 1.4.x firmware, so it was not flashed.

Steps, all in Mainsail

Edit: old config removed; see newer post below

@rpcyan Thank you for the information. I still don’t understand why the Zero requires newer firmware than the version of klippy running on the host. Apparently one (or more) of the “helper” scripts calls a function not in the older firmware.

@sovol3d Access to your “fork” of klipper is REQUIRED by the license under which klipper was realsed. Sooner or later an owner who has been screwed by being unable to repair their “open source” printer using official repositories is going to bring legal action against Sovol. It would be in your best interest to preemptively publish the information.

@ijsb20 Did your “new” board come from Sovol or you got it somewhere else?

The host isn’t the older side. The version strings match, but the code doesn’t. cc8afd8 is Sovol’s 1.3.7 release commit, and -dirty means the build had uncommitted changes on top, so the string doesn’t say which changes. ijsb20’s 1.4.7 host reports cc8afd8-dirty, and so do both the 1.3.8 and the 1.4.x toolhead images. Only the images’ build dates tell them apart: 20250305 is 1.3.8, 20250310 is 1.4.x.

It isn’t a helper script either. In 1.4.x Sovol added a touch homing mode to the eddy probe, and ldc1612_setup_home gained a seventh field, homing_method, on both sides: klippy/extras/ldc1612.py on the host and src/sensor_ldc1612.c in the toolhead firmware. When Klipper connects to an MCU it looks up each command it uses by its exact format, and stops with Command format mismatch if one differs (klippy/msgproto.py). That’s ijsb20’s error. So the host and toolhead have to come from the same release. The mainboard runs the same build, 14d7b18-dirty-20250210_015142, under both.

On the source: every package from 1.3.8 to 1.4.7 carries Sovol’s Klipper tree, C source included, into ~/klipper on the eMMC. Sovol’s GitHub doesn’t have it. In Sovol3d/SOVOL-ZERO, sovol/klipper is a submodule entry with no URL, so it leads nowhere. My fork, rpcyan586/SOVOL-ZERO, has the history rebuilt from Sovol’s own .git, which ships inside the SV08 Max package, and from every Zero update package, with a tag per shipped version. The command has 6 fields in 1.3.8 and 7 in 1.4.7.

Mensaje

Hi rpcyan,

Thank you for sharing your research and for reconstructing the history of Sovol’s Klipper source code. Your explanation helped me better understand the firmware compatibility issue.

I have a Sovol Zero running the original 1.4.7 system on its eMMC. The original mainboard and eMMC have never been replaced. I only replaced the toolhead PCB, which was purchased directly from Sovol. The original Sovol Eddy sensor is still installed.

Based on the information discussed in this thread, I would like to confirm the correct firmware versions for my printer before attempting any flashing.

Could you please help me clarify the following?

Which exact toolhead firmware image should I use with the original 1.4.7 host installation?

Does the original mainboard firmware (14d7b18-dirty-20250210_015142) need to remain unchanged?

Is the extruder_mcu_klipper.bin image dated 20250310 the correct one for a 1.4.7 installation?

Is your temporary printer.cfg method safe to use with my configuration to flash only the toolhead MCU?

My main priority is to restore compatibility without reinstalling the operating system, replacing the original mainboard, or losing my existing configuration, macros, and settings.

I would rather verify the exact firmware and procedure before making any changes.

Thank you very much for your work and for helping the Sovol Zero

cc8afd8-dirty-20250310_015728, the extruder_mcu_klipper.bin that the 1.4.x install left in ~/printer_data/build/. Every 1.4.x package I have (1.4.1, 1.4.2, 1.4.6 and 1.4.7) carries the same file, and so do my 1.4.7 Zero and Sovol’s GitHub. Its SHA-256 is
60f8fa71eddf0886f69abd998f0291a2fdf27ff056c5695063e61126e91a3b85

Yes, leave it. It’s the right build for 1.4.7, and my 1.4.7 Zero runs it too. Nothing below changes it. Klipper stays connected to the mainboard throughout, so the mainboard doesn’t answer when the flashing script asks which board to flash. The temporary config also leaves out get_ip.cfg, so _MCU_UP, Sovol’s mainboard flasher, isn’t loaded. Mine still reported 14d7b18-dirty-20250210_015142 after the test below.

Yes. 20250310 is the build date inside the image, and it’s what the Machine page will show for the toolhead afterwards. The file’s own date doesn’t matter. CHECK_TOOLHEAD below confirms the file before anything is written.

Yes, with one correction: the flash command in my post above doesn’t work. I’ve now run the whole thing on my 1.4.7 Zero, rewriting its toolhead with the same image. 61755fe321ac is the ID Sovol’s firmware answers on. Once the toolhead jumps to its bootloader, it answers on an ID of its own (4a6a93ed674e on mine), so that command can’t connect. It stops with Flash Error after about a minute, writes nothing, and leaves the toolhead waiting in its bootloader.

Sovol’s update script allows for that. It sends the jump, asks which bootloader answered, and flashes that one. The config below runs the script itself, extruder_mcu_update_fw.sh, so the flash is now exactly what the 1.4.x update does. On mine it worked from both starting points: the toolhead’s normal firmware, and its bootloader after the failed attempt. Each took 17 seconds. After I put printer.cfg back and sent FIRMWARE_RESTART, the toolhead came back on cc8afd8-dirty-20250310_015728 and everything else was as before.

Your configuration isn’t changed. printer.cfg is renamed, not edited, so everything in it, including the calibration saved at the bottom, comes back as it was, and no other file is touched.

The steps, all in Mainsail:

  1. On the Machine page, download printer.cfg to your phone as a backup.
  2. Rename printer.cfg to printer.cfg.orig.
  3. Create a new file called printer.cfg, paste in the text below, and choose Save & Restart. If you already made the earlier temporary file, replace its contents with this.
  4. Klipper should come up ready. Mainsail may warn about missing sections such as [virtual_sdcard], and the console shows Unknown command lines for timelapse. Both are harmless for now.
  5. Send CHECK_TOOLHEAD. It only reads the file, and the console should show the SHA-256 above. If it shows a different value or No such file or directory, stop and do step 7.
  6. Send FLASH_TOOLHEAD. The last lines should be Flash Success and Firmware update completed successfully!. Don’t switch the printer off while it runs.
  7. Delete the temporary printer.cfg, rename printer.cfg.orig back to printer.cfg, and send FIRMWARE_RESTART.
  8. The toolhead should connect, and the Machine page should show it as cc8afd8-dirty-20250310_015728.
# TEMPORARY: Klipper with the mainboard only, to flash the toolhead.
[mcu]
canbus_uuid: 0d1445047cdd

[printer]
kinematics: none
max_velocity: 1
max_accel: 1

[gcode_shell_command toolhead_image_check]
command: sha256sum /home/sovol/printer_data/build/extruder_mcu_klipper.bin
timeout: 10.
verbose: True

[gcode_macro CHECK_TOOLHEAD]
gcode:
    RUN_SHELL_COMMAND CMD=toolhead_image_check

[gcode_shell_command toolhead_flash]
command: bash /home/sovol/printer_data/build/extruder_mcu_update_fw.sh
timeout: 120.
verbose: True

[gcode_macro FLASH_TOOLHEAD]
gcode:
    RUN_SHELL_COMMAND CMD=toolhead_flash

If step 6 ends in an error, send FLASH_TOOLHEAD again before step 7. The script works from the bootloader too, and the bootloader isn’t the part that gets written. Either way, please post the console text here.

Hello. I have followed the troubleshooting steps, but I still cannot flash the toolhead MCU.

The problem is that I don’t have a working flashing procedure for my Sovol Zero 1.4.7. The RUN_SHELL_COMMAND command is not available in my Klipper installation, so the flashing macros we prepared cannot be executed.

I need a direct solution from your technical team.

Please tell me exactly how to flash the replacement toolhead PCB, or provide the correct alternative method and the required firmware files.

I don’t want to keep repeating diagnostic steps. I need clear, specific instructions to complete the firmware update and get my printer working again.

Thank you.

Hi,

@sovol3d maybe for you.

Just try to get it installed and working, you can add Macros later.

I’m another Zero owner, not Sovol.

It is in your installation. The get_ip.cfg you posted is Sovol’s stock 1.4.7 one. It defines six [gcode_shell_command] sections and runs each with RUN_SHELL_COMMAND, and in the klippy.log you posted, Klipper had loaded all of your config before it stopped at the toolhead.

So the reply to CHECK_TOOLHEAD in the console says which step didn’t take:

  • MCU Protocol error, with the same “older version of the firmware” text your screen showed: Klipper is still running your original printer.cfg, stopped at the toolhead as before, and it answers every command with that. Check that the Machine page lists both printer.cfg.orig and a new printer.cfg, open printer.cfg, check that its first line is # TEMPORARY, and choose Save & Restart.
  • Unknown command:"RUN_SHELL_COMMAND": the temporary printer.cfg is running, but without its [gcode_shell_command …] sections. Replace its contents with the whole block from my post above, from # TEMPORARY to the last line, and choose Save & Restart.
  • Anything else: Klipper didn’t accept the temporary file, and the message says why.

Then carry on from step 5.

Mensaje

Hello everyone. I urgently need help recovering my Sovol Zero. Unfortunately, after following a troubleshooting procedure, the printer is now stuck and I can no longer access the system.

Here is exactly what happened:

Original problem: My Sovol Zero was running firmware 1.4.7. I replaced only the toolhead PCB. The original mainboard, original eMMC and original Sovol Eddy sensor are still installed.

After replacing the toolhead PCB, Klipper reported an MCU protocol mismatch between the host and the toolhead MCU.

Troubleshooting procedure: I was advised to create a temporary printer.cfg configuration to start Klipper using only the mainboard, disconnecting the toolhead MCU from the configuration temporarily.

The original configuration was preserved as printer.cfg.orig, and the temporary configuration was saved separately as printer.cfg.temporal.

The temporary configuration included:

[mcu] with CAN UUID 0d1445047cdd

[printer] with kinematics: none, max_velocity: 1 and max_accel: 1

Shell command and macro sections intended to run the toolhead firmware update script.

However, my installation does not recognize RUN_SHELL_COMMAND.

What went wrong: After activating the temporary configuration, Klipper reported this error:

Option ‘max_velocity’ in section ‘printer’ must be specified.

After attempting to address that configuration error, the printer stopped booting correctly.

Current situation:

The printer’s screen remains permanently stuck on System Booting.

I cannot access Mainsail.

I cannot access the printer through its previous IP address.

SSH access is unavailable because the credentials are rejected.

I cannot access the configuration files through the web interface.

The original mainboard and eMMC have not been physically replaced or intentionally reflashed.

I urgently need help with the following:

How can I recover the original operating system and configuration?

Is it possible to access the eMMC externally and restore the original printer.cfg without reinstalling the entire system?

Can I recover the original eMMC contents without losing the printer’s calibration, settings and other files?

Is there an official recovery procedure or original 1.4.7 system image for the Sovol Zero?

I have spent several weeks trying to solve the original toolhead firmware compatibility problem. Now I need to recover the printer first.

I would really appreciate detailed, step-by-step guidance from someone who has experience recovering a Sovol Zero in this condition.

Thank you very much for any help.

@Lion can you help him?

This is something for the Sovol techs.
I’ll send a PM to @sovol3d pointing to this thread.

Sorry this has turned into such a mess. It’s an interesting problem though, so today I set up one of my Zeros the same way as yours: toolhead on the 1.3.8 firmware, your temporary printer.cfg with the max_velocity error, and printer.cfg.orig next to it. A USB stick fixed it, without the network and without opening the printer. Sovol support is still the official route and worth contacting too, but this should get you going in the meantime.

The screen said “System Booting” before as well (posts 20 to 27), while Mainsail was working. Only Klipper reads printer.cfg, so it cannot stop Linux or the network from starting. Your eMMC is most likely fine, and the printer probably just has a new IP address.

Yes. Your original file, with your calibration, is still there as printer.cfg.orig. When a USB stick is plugged in, the printer runs a file named test.sh from it. The script below puts printer.cfg.orig back and flashes the toolhead with the 1.4.x firmware that is already on the printer.

  1. Paste the script into Notepad and save it as test.sh on a FAT32 USB stick, not inside a folder. Choose “All files” as the file type, otherwise it becomes test.sh.txt.
  2. Turn the printer on and wait 2 minutes. Plug in the stick and wait 3 minutes.
  3. Remove the stick and open fix-toolhead.log from it. Near the end it should say Printer is ready. The printer address: line is the address for Mainsail.

On my printer it took less than a minute. The script checks everything first. If something is not as expected, it writes STOP and the reason in the log and flashes nothing. In that case, post the log here.

test.sh
[ "$1" = run ] || { sed 's/\r$//' "$0" > /tmp/fix-toolhead.sh; systemd-run --collect /bin/bash /tmp/fix-toolhead.sh run; exit 0; } #
# Sovol Zero 1.4.7: put printer.cfg.orig back and flash the toolhead with the
# 1.4.x image already on the printer. Sovol's USB automount runs this as root
# when the stick is plugged in. The line above copies it to /tmp and starts it
# as its own job, so it finishes even if the stick is pulled out early.
# Everything is logged to fix-toolhead.log on the stick and in printer_data/logs.

USB=/home/sovol/printer_data/gcodes/USB
LOGS=/home/sovol/printer_data/logs/fix-toolhead.log
C=/home/sovol/printer_data/config
B=/home/sovol/printer_data/build
F="$B/flash_can.py"
IMG="$B/extruder_mcu_klipper.bin"
WANT=60f8fa71eddf0886f69abd998f0291a2fdf27ff056c5695063e61126e91a3b85
APP=61755fe321ac     # toolhead, Sovol firmware
MAIN=0d1445047cdd    # mainboard
HEAT=58a72bb93aa4    # chamber heater module

log() { echo "$(date '+%F %T') $*" | tee -a "$LOGS" >> "$USB/fix-toolhead.log" 2>/dev/null; }
run() { "$@" 2>&1 | while IFS= read -r l; do log "  $l"; done; }
info() { curl -s -m 5 http://127.0.0.1:7125/printer/info | python3 -c 'import json,sys; r=json.load(sys.stdin)["result"]; print(r["state"]); print(r["state_message"].splitlines()[0])' 2>/dev/null; }
wait_klipper() {
    for i in $(seq 1 45); do
        s=$(info | head -1)
        [ "$s" = ready ] || [ "$s" = error ] || [ "$s" = shutdown ] && break
        sleep 2
    done
    log "Klipper: $(info | tr '\n' ' ')"
}
versions() { curl -s -m 5 'http://127.0.0.1:7125/printer/objects/query?mcu&mcu%20extruder_mcu' | python3 -c 'import json,sys; s=json.load(sys.stdin)["result"]["status"]; [print(k, s[k].get("mcu_version")) for k in s]' 2>/dev/null; }

log "=== start"
wait_klipper
log "printer address: $(hostname -I)"
if [ "$(info | head -1)" = ready ] && versions | grep -q 'extruder_mcu .*20250310_015728'; then
    log "Klipper is ready and the toolhead already has the 1.4.x image. Nothing to do."
    exit 0
fi

log "1. image check"
got=$(sha256sum "$IMG" | cut -d' ' -f1)
log "  $IMG $got"
if [ "$got" != "$WANT" ]; then log "STOP: not the 1.4.x toolhead image. Nothing changed."; exit 1; fi

log "2. printer.cfg"
if [ -f "$C/printer.cfg.orig" ]; then
    if [ -f "$C/printer.cfg" ] && ! cmp -s "$C/printer.cfg" "$C/printer.cfg.orig"; then
        mv "$C/printer.cfg" "$C/printer.cfg.before-usb-fix"
        log "  printer.cfg renamed to printer.cfg.before-usb-fix"
    fi
    mv "$C/printer.cfg.orig" "$C/printer.cfg"
    log "  printer.cfg.orig renamed to printer.cfg"
else
    log "  no printer.cfg.orig, printer.cfg left as it is"
fi

log "3. restart Klipper, so it holds the mainboard"
systemctl restart klipper
wait_klipper
run versions

log "4. boards answering before the jump (should be none, or the toolhead's bootloader)"
before=$(timeout 30 python3 "$F" -i can0 -q 2>&1)
run echo "$before"
if echo "$before" | grep -q "Application: Klipper"; then
    log "STOP: a board with Klipper firmware is not held by Klipper. Nothing flashed."
    exit 1
fi

log "5. toolhead to its bootloader"
run timeout 30 python3 "$F" -i can0 -u "$APP" -r
sleep 2
q=$(timeout 30 python3 "$F" -i can0 -q 2>&1)
run echo "$q"
U=$(echo "$q" | grep -E "Application: (Katapult|CanBoot)" | grep -oP 'Detected UUID: \K[a-f0-9]+' | grep -v -e "$MAIN" -e "$HEAT")
n=$(echo "$U" | grep -c .)
if [ "$n" != 1 ]; then log "STOP: expected one bootloader, found $n. Nothing flashed."; exit 1; fi
log "  toolhead bootloader: $U"

log "6. flash"
run timeout 120 python3 "$F" -i can0 -u "$U" -f "$IMG"

log "7. firmware restart"
sleep 3
curl -s -m 10 -X POST http://127.0.0.1:7125/printer/firmware_restart > /dev/null
sleep 5
wait_klipper
run versions
log "=== done"
sync

Sovol’s recovery image is 1.3.7. It is written to the eMMC with an adapter like the one cardoc linked, and then the 1.4.7 update flashes the toolhead by itself. That works too, but it resets all calibration and settings, so try the USB stick first.

Latest Update – Sovol Zero Firmware Troubleshooting

Hello everyone,

I would like to share the latest progress following our last attempt using a USB flash drive.

We prepared a diagnostic script (test.sh) intended to check the toolhead firmware file, verify its SHA256 checksum, and query the CAN bus devices without flashing or modifying any firmware.

The USB drive was inserted into the printer and we waited approximately three minutes. However, no visible activity or new files appeared. At this point, we cannot confirm that the script was executed. We understand that simply inserting the USB drive does not necessarily execute a shell script automatically.

The current situation remains:

The replacement toolhead PCB allows the printer to boot and access Mainsail.

The original mainboard and original eMMC are still installed.

The MCU protocol mismatch remains unresolved.

We still do not have access to a Linux terminal or SSH.

Connecting a USB keyboard directly to the printer has not allowed us to open a local terminal using Ctrl+Alt+F2.

What we need help with:

Confirm whether the Sovol Zero supports automatic execution of diagnostic scripts from a USB drive, and if so, what file structure or naming convention is required.

Provide a reliable way to access the printer’s Linux terminal or SSH.

Confirm the correct procedure to identify and update only the toolhead MCU, without affecting the original mainboard or eMMC.

Our goal is to resolve the firmware compatibility issue while preserving the original mainboard and system installation.

Thank you for your continued support.

Good that Mainsail is back!

Yes. Every time a USB stick is plugged in, Sovol’s USB handler runs a file named exactly test.sh from the top folder of the stick, as root. A FAT32 stick works. In Notepad, choose “All files” as the file type, otherwise the file becomes test.sh.txt.

Nothing appears on the screen, and the stick only gets new files if the script writes them there itself. Anything the script prints goes into usbmount.log, in the same logs folder in Mainsail as the klippy.log you uploaded before. So your script may have run after all.

Please post usbmount.log. It shows whether the printer saw the stick and whether the script ran.

The same USB method can reset the password. Make a test.sh with only this line, and keep the # at the end:

echo 'sovol:sovol' | chpasswd && date > /home/sovol/printer_data/gcodes/USB/password-reset.txt #

Plug the stick in for one minute. If password-reset.txt is on the stick afterwards, you can log in over SSH with user sovol and password sovol. Then delete that test.sh from the stick.

Yes. The script in my last post does exactly that, and it doesn’t need SSH.

Sovol gives each board a fixed ID in printer.cfg: 61755fe321ac for the toolhead and 0d1445047cdd for the mainboard. The script restarts Klipper first, so Klipper holds the mainboard and the mainboard cannot answer. Then it puts only the toolhead into its bootloader and flashes only that board, with Sovol’s toolhead file that is already on the printer. It does not write to the mainboard or reinstall anything. On the eMMC it only renames printer.cfg.orig back to printer.cfg, if that file is still there. It writes fix-toolhead.log to the stick, so you can see every step.

At this point, you will likely need to re-flash the eMMC module; please note that any existing data on the eMMC cannot be recovered or preserved.

We recommend re-flashing the eMMC module. If you also intend to update the MCU firmware for the printhead adapter board, it is best to use an ST-Link programmer to flash the MCU firmware we have provided.

Download the image file here: Image File - Google Drive
Tutorial for flashing the image file: https://www.youtube.com/watch?v=VkV-NY4MJU8&pp=0gcJCUEMAYcqIYzv
Tutorial for flashing the printhead adapter board MCU firmware: How to burn firmware to the motherboard/adapter board | Sovol 3D Printer Wiki

Nozzle Board.hex (84.3 KB) MCU firmware