Skip to content

Emergency Factory Reset

github-actions[bot] edited this page Jul 1, 2026 · 3 revisions

Emergency Factory Reset

The OpenKE installer deploys a S58factoryreset init service (not present in stock Creality firmware) that gives you three ways to wipe the printer back to stock.

⚠️ This is destructive. A factory reset removes all mods, configuration, print files, and calibration data. WiFi credentials and the Creality cloud account are preserved. You will need to re-run the OpenKE installer afterwards.


Method 1 — USB drive (no SSH required)

This is the emergency path: works even if the screen is black, SSH is dead, or Klipper won't start.

  1. Format a USB drive — FAT32 is recommended for the widest compatibility with the printer's USB auto-mount support (unrecognized formats may not get mounted at all, so the trigger file would never be seen).
  2. Create an empty file named exactly emergency_factory_reset in the root of the drive (no extension).
  3. Safely eject the drive, then plug it into the printer while it is powered off.
  4. Power the printer on.
  5. At boot the service detects the file, renames it to emergency_factory_reset.old (so it won't loop), and runs the reset. The printer reboots into stock firmware.

The flag file is renamed before the wipe starts, so even if something interrupts the reset mid-way the printer will not loop on reboot.


Method 2 — GuppyScreen (Settings panel)

Open the sysinfo panel → tap Reset OptionsFactory Reset Printer → red Confirm button.


Method 3 — SSH (when you still have shell access)

If you can SSH in but want a clean slate:

/etc/init.d/S58factoryreset reset

What gets wiped

Path Outcome
/overlay/upper/ Wiped — all system-level modifications removed
/usr/data/guppyscreen/ Wiped — OpenKE binary, config, mods
/usr/data/printer_data/ Wiped — Klipper config, gcodes, timelapse
/usr/data/printer_data/logs/ Mostly wiped — only guppyscreen.log, grumpyscreen.log, and factoryreset.log survive for diagnosis; everything else in logs/ is deleted
/usr/data/wpa_supplicant.conf Kept — WiFi credentials survive
/usr/data/creality/ Partially kept — only specific identity files survive (system_config.json, user_data_not_deleted.json, user_agree_root); most other contents are wiped
/etc/init.d/S58factoryreset Kept — the reset service itself survives so USB resets work again after reinstalling

After the reset

The printer boots into stock Creality firmware. Re-run the OpenKE installer to get back up:

sh -c "$(wget --no-check-certificate -qO - https://raw.githubusercontent.com/coreflake1/guppyscreen/main/scripts/installer.sh)"

See Installation for the full guide.

Clone this wiki locally