This repository was archived by the owner on Oct 30, 2026. It is now read-only.
Repository navigation
Stop checkra1n when a RAM boot abandons palera1n - #10
Merged
henrikklee merged 1 commit intoOct 29, 2026
Merged
Conversation
OrchardLinux#8 ran the install/launch Pongo bootstrap in its own process group, but `orchard run` has a separate palera1n call that still used subprocess.run. When it timed out, checkra1n kept running and would exploit the next DFU entry. Use run_process_group there too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#8 moved the install/launch Pongo bootstrap (
apple/boot.py) torun_process_group, so a timeout kills palera1n's spawned checkra1n too.orchard runhas its own palera1n call inboot.pythat still usedsubprocess.run(..., timeout=120), so a RAM boot leaves the same orphan behind.Seen today on a J71b RAM test of current
main. The cable replug came too late, the device fell back to iPadOS, andorchard runstopped with:/tmp/checkra1n.kFIaNG -Ep -k …/out/pongo.binwas still running afterwards, ready to exploit the next DFU entry.Change
boot_ramcallsrun_process_groupfromapple.bootwith the same arguments.test_mismatched_dfu_boot_tracks_actual_device_through_pongonow mocks it instead ofsubprocess.run.Testing
tests.test_rampasses.orchard runon the same J71b booted normally, and no checkra1n was left over afterwards.🤖 Generated with Claude Code