Stock firmware
sleepypod runs as userspace software on top of the Pod’s underlying embedded Linux operating system. The sleepypod biometrics pipeline communicates with the bed via stock background daemons (frankenfirmware) and two onboard microcontroller subsystems:
- Hub thermal controller (
frozen): An STM32 microcontroller connected over/dev/ttyS1(at 38,400 baud) controlling pumps, TECs (thermoelectric coolers), digital potentiometers (AD5258), solenoid valves, and thermistor telemetry. - Cover sensor controller (
sensor): An STM32 microcontroller connected over/dev/ttyS2(at 921,600 baud) sampling capacitive presence grids (FDC), piezo sleep waveforms, accelerometers (LIS), and cover climate (SHT40).
While sleepypod Core updates itself with sp-update, the underlying stock firmware daemons and microcontroller binaries are not updated by sleepypod. Usually you do not need to touch stock firmware. However, there are scenarios where updating the stock subsystems is necessary.
Stock updates are off
sleepypod turns off Eight Sleep’s automatic firmware updater (swupdate) and its connectivity watchdog (defibrillator, eight-kernel) on every install and update, unless you’ve chosen to allow firmware updates (below). A stock over-the-air update replaces the whole operating system. Eight Sleep’s current firmware also patches the bootloader, which closes the serial root-access path: an update removes sleepypod and leaves no way to reinstall it. The watchdog can repeatedly reboot a Pod that can’t reach the internet, which is the normal state once internet access is blocked.
Firmware updates are a deliberate choice, never something that happens in the background. Check or change the setting over SSH:
sudo /home/dac/sleepypod-core/scripts/internet-control firmware-updates status # "blocked" by default
sudo /home/dac/sleepypod-core/scripts/internet-control firmware-updates allow # turn the stock updater and watchdog back on
sudo /home/dac/sleepypod-core/scripts/internet-control firmware-updates block # turn it off againallow also starts the watchdog (defibrillator). If internet access is blocked, it reboots the Pod about every five minutes, so allow internet access first, or run block once the update finishes. eight-kernel stays off either way.
sleepypod remembers an explicit allow and doesn’t turn the updater off again on later updates. Before allowing it, read Return to stock with official OTA: an official update patches the bootloader and ends root access.
Why turning updates off on the Pod is not enough
Everything above lives in the root filesystem the Pod is running from. The hub keeps two of them (Slot A and Slot B), plus a factory image on the firmware partition. Only the running slot has the updater masked and the name blocking installed. The other slot and the factory image are stock: updater on, watchdog on, no blocking.
Three ways the Pod ends up booting one of them:
- An unconfirmed slot. Every stock update marks the slot it installed into as unconfirmed (
boot_<slot>_success=0,retry_boot_<slot>=5in the U-Boot environment). Eight Sleep’s watchdog (defibrillator) is what confirms it after a successful boot. If that watchdog is turned off before it has done so, which is the normal case when you root a Pod right after an update, the slot stays unconfirmed and the bootloader counts down one retry per boot. After five boots or power cuts it switches to the other slot. That slot connects to Eight Sleep, installs the current firmware over the slot you rooted, and reboots into it. From the outside this looks like “updates were off, the power went out, and the Pod updated itself”. - The factory-reset button. Holding it at power-on boots a recovery image that reformats both slots and the
persistpartition (your settings, biometrics, HomeKit pairing), reinstalls the factory image into both, and resets the slot counters. The result is a stock Pod with updates on. - A failed boot. The same retry logic applies if the running slot ever fails to start five times for any other reason.
Check your Pod’s state over SSH (read-only):
cat /proc/cmdline | grep -o 'rootfs_[ab]' # the slot you are running from
sudo fw_printenv current_slot boot_a_success retry_boot_a boot_b_success retry_boot_bHow to read it, for a Pod running from rootfs_a:
| Value | Meaning |
|---|---|
current_slot=a | matches the running slot; if it differs, the bootloader will switch on the next boot |
boot_a_success=1 | slot A is confirmed; the bootloader never counts down and never writes the environment at boot |
boot_a_success=0 | the countdown is live; retry_boot_a is the number of boots left before the switch |
retry_boot_a=5 | full budget; anything lower means boots have already been counted |
ustate=0 | Eight Sleep’s update state is “OK” |
A healthy, confirmed Pod shows boot_a_success=1, retry_boot_a=5, boot_b_success=1, retry_boot_b=5, ustate=0.
If boot_<running slot>_success is 0, confirming it is one write (sudo fw_setenv boot_a_success 1 retry_boot_a 5, substituting your slot). sleepypod’s installer will do this itself in a future release. Confirming also removes a second hazard: while a slot is unconfirmed the bootloader rewrites the environment on every boot, into a single copy with no backup, so a power cut during boot is exactly when that environment is most likely to be corrupted. A confirmed slot has nothing to write.
A firewall on the Pod does not change any of this, and it protects only while its own rules are loaded. It cannot tell you when it has stopped working: a daemon stuck on a dropped packet looks the same as one that got through. Treat on-Pod blocking as a convenience layer, not a guarantee.
The only protection that survives a slot switch or a factory reset is on your network. Block 8slp.net (the whole zone) at your router, Pi-hole, or AdGuard Home so that no slot, stock or not, can reach Eight Sleep’s update service. If you later choose to allow a stock update, lift that block for the duration and restore it afterwards. See Synchronize Slot B for the optional, higher-risk step of carrying your configuration into the other slot.
When an update is needed
- Cross-generation hardware pairings: For example, pairing a Pod 3 hub with a Pod 4 cover (
pn 20600-0001-I12, hardware0812). Stock Pod 3 firmware only supports older STM32F0/F1 cover microcontrollers (0x08005000flash base). The Pod 4 cover uses an STM32G0 microcontroller with bootloaderv2.0.3.0(0x08008000flash base). Older firmware repeatedly sends a jump command to the wrong address, putting the cover into an infinite reboot loop (BL: Likely wrong Firmware address 8005000). Updating to STM32G0 cover firmware (v5.5.9orv5.5.22.0) allows the cover to boot and stream biometrics. - Missing NATS JetStream telemetry: Older hub firmware streams sensor data exclusively through legacy
.RAWfiles on disk. Modern Eight Sleep firmware publishes CBOR frames directly to a localnats-serverJetStream message bus (raw.sens.*andraw.frz.*), including batched piezo samples, a 2 Hz capacitive presence grid, and bed surface temperatures. - Hub thermal controller features: Updating
firmware-frozen.bbinto versionv1.5.156orv1.6.114addsraw.frz.healthandraw.frz.thermtelemetry for pump flow rates, fan RPMs, and TEC thermal power. Versionv1.6.114adds support for newer hardware while maintaining backward compatibility with Pod 3 hardware revision0x0504(F04,is_pod6=0).
Never flash a full .swu image to a MediaTek-based hub.
Stock Eight Sleep .swu packages (such as 3dd72bdefafbcfc202d6715fc45f9c7bbb3e02ff.swu) are full operating system image updates containing a complete root filesystem archive (eightsleep-nxp-image-imx8mm-var-dart-eight.tar.gz). This image is compiled exclusively for the NXP i.MX 8M Mini platform (Variscite DART-MX8M-MINI SoM) used on Pod 4 and Pod 5 hubs.
The Pod 3 hub verified for this guide runs on a MediaTek MT8365 Pumpkin SBC with a 5.15-mtk kernel. Check your board before doing anything else:
ssh -p 8822 root@POD_IP "cat /proc/device-tree/model; echo"If it prints MT8365 Pumpkin, your hub runs on a MediaTek SoC. Flashing the entire .swu file with swupdate or executing update.sh will overwrite partition tables and U-Boot, permanently bricking the board.
Rule: Never flash or install a .swu file directly as an OS update on a Pod 3 hub. Instead, use the manual extraction procedure to stage only the required userspace binaries and microcontroller payload files (.bbin).
Choose your hardware
Choose by hub platform and revision, then cover generation. A Pod model name or the release download channel alone does not establish compatibility.
| Hub | Cover | Guidance |
|---|---|---|
Pod 3, MediaTek MT8365, pn 20500, F04 / 0x0504 | Pod 4, pn 20600-0001-I12, 0812 / STM32G0 | The hardware combination verified in this guide. Start with compatibility, then follow the manual update. |
Pod 3, F03 | Pod 4 | The procedure includes F03 UART configuration, but the recorded flash verification is for F04. Do not treat the mapping as verification of every firmware payload on F03. |
| Pod 3 | Original Pod 3, STM32F0/F1 | Keep the original cover firmware and port mapping. Do not apply the G0 fallback substitutions. This section does not provide a separately verified end-to-end update for this pairing. |
| Pod 4 or Pod 5, or any other hub/cover combination | Any | No manual update procedure is verified here. The use of artifacts from newer releases does not establish support for updating those hubs. |
Firmware guides
- Compatibility and releases: platform details, tested artifacts, and source references.
- Pod 3 hub + Pod 4 cover update: backups, extraction, installation, and flashing in order.
- Verification and troubleshooting: check hardware health and live sensor data.
- Roll back subsystem files: restore the saved daemon, configuration, and payload files.
- Synchronize Slot B: optional maintenance for the verified eMMC layout only.
- Return to stock with official OTA: factory reset limitations and loss of root access.
Source reference: Firmware updates switch · Masked stock services · Startup repair