ZeroTrace HID
Self-Destruct
Erase the entire flash chip and reboot
Self-destruct performs a full chip-erase of the ESP32-S3's flash — firmware, configuration, and the LittleFS user filesystem all go at once — then reboots the device. Nothing is left behind.
Trigger
This cannot be undone
Self-destruct erases everything on the device. There is no confirmation prompt at the firmware level and no software recovery. Store nothing on the device you can't tolerate losing.
- Mobile app → the
selfdestruct.triggeraction (Settings), over BLE. - Script command:
selfDestruct(no arguments).
selfDestruct
What it erases
- The firmware partition
- The configuration partition (device name, WiFi/BLE identity, power mode, TraceNetwork passphrase, USB spoof settings)
- The LittleFS filesystem (all scripts, payloads, and the autostart marker)
Recovery
After self-destruct the chip is blank. Bring the device back by re-flashing it with the browser-based Web Flasher over a USB-C data connection. All prior scripts and configuration are gone and must be re-provisioned from the mobile app.
Related
formatStorage— a script command that formats only the filesystem, leaving firmware and config intact. Use it when you want to wipe scripts and payloads without destroying the device.- The
wipe_execconfig key formats the filesystem automatically after each script run.