Skip to content

docs: factory reset reinstalls the factory image into both slots - #66

Merged
ng merged 1 commit into
mainfrom
docs/factory-reset-reinstalls-image
Nov 20, 2026
Merged

ng merged 1 commit into
mainfrom
docs/factory-reset-reinstalls-image

Conversation

@ng

@ng ng commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The factory-reset and Slot B guides described a hardware factory reset as booting Slot B ("the factory backup"), so a synchronized Slot B would boot its modified environment. The 2026-11-19 firmware audit of the recovery 59-reset script shows otherwise: the reset boots a recovery image that reformats both root filesystem slots and the persist partition, then reinstalls the factory image from the firmware partition into both slots. A synchronized Slot B is overwritten, not booted.

  • factory-reset.mdx: replace the "confirm Slot B is untouched, otherwise stop" warning with a note that the reset restores the factory image either way and erases persist; rewrite step 1 to describe the recovery image.
  • backup-slot.mdx: correct both "Weighing Slot B synchronization" bullets. Slot B is not the factory backup, and syncing it doesn't change what a reset restores.

This matches the "factory-reset button" bullet added in #64. No other claims changed.

Test plan

  • pnpm check passes locally (format, lint, build, 198 Playwright tests)
  • pnpm dev, open /core/firmware-updates/factory-reset/ and /core/firmware-updates/backup-slot/, confirm the edited text renders inside the callouts and the numbered list
  • Read both pages next to /core/firmware-updates/#why-turning-updates-off-on-the-pod-is-not-enough and confirm they agree

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Clarified that a hardware factory reset restores the factory image to both slots, regardless of Slot B synchronization.
    • Noted that the reset erases the persist partition, including settings, biometrics, and HomeKit pairing.
    • Clarified that Slot B is not the factory backup and synchronizing it does not affect the reset result.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 45 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d0871eb1-a5d8-4eab-9e06-6cba60e138d4
Commits

Reviewing files that changed from the base of the PR and between 90e61e4 and bad7a63.

Files selected for processing: 2

  • content/core/firmware-updates/backup-slot.mdx
  • content/core/firmware-updates/factory-reset.mdx

No actionable comments were generated in the recent review.

Walkthrough

The firmware update guides now state that a hardware factory reset reinstalls the factory image into both slots and erases persist. They clarify that Slot B synchronization does not change the reset result and remove instructions to verify Slot B’s state before reset.

Changes: Factory reset guidance

Layer / File(s) Summary
Reset behavior and Slot B guidance
content/core/firmware-updates/factory-reset.mdx, content/core/firmware-updates/backup-slot.mdx
The guides state that reset reinstalls the factory image into both root filesystem slots and erases persist and its settings, biometrics, and HomeKit pairing. They clarify that Slot B synchronization does not affect reset and remove the requirement to verify Slot B’s state.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Possibly related PRs

Suggested reviewers: onemec

Merge Risk: Minimal · previous review 90e61

The guides now say a hardware factory reset reinstalls the factory image into both slots and erases persist, whether or not Slot B was synchronized. The change is documentation-only and consistent across both pages. The claim rests on a firmware audit that the repository does not independently document for every hardware variant, so the maintainers may want to confirm that scope.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: the factory-reset guides now state that a hardware factory reset reinstalls the factory image into both slots. The raw summary and objectives confirm this is the centr…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the factory-reset guides now state that a hardware factory reset reinstalls the factory image into both slots. The raw summary and objectives confirm this is the central change, with the Slot B wording and the persist erase as supporting edits. The title is specific, concise, and not misleading. The 'docs:' prefix is a conventional type label and does not affect the assessment.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c501be88-972c-4363-82fa-349cf15096ff
Commits

Reviewing files that changed from the base of the PR and between 2e2fe9e and 90e61e4.

Files selected for processing: 2

  • content/core/firmware-updates/backup-slot.mdx
  • content/core/firmware-updates/factory-reset.mdx

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@ng
ng force-pushed the docs/factory-reset-reinstalls-image branch from 90e61e4 to bad7a63 Compare November 20, 2026 06:23
@ng
ng merged commit beb94d2 into main Nov 20, 2026
2 checks passed
@ng
ng deleted the docs/factory-reset-reinstalls-image branch November 20, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant