-
Notifications
You must be signed in to change notification settings - Fork 1
XeCLI XellFetch
This page documents the XeCLI-XellFetch workflow layer: XeCLI's managed XeLL bootstrap, endpoint detection, keyvault export path, and verified read-only NAND dump flow.
XeCLI does not treat XeLL as a loose external handoff. It uses a defined PC-side workflow that can launch or re-attach to XeLL, inspect the active endpoint surface, export keys, drive repeated dump verification, and only reboot automatically after the safety checks pass.
XeCLI-XellFetch is the operator-facing name for the XeLL payload and workflow model used by:
rgh xell bootrgh xell inforgh xell kv exportrgh nand dump
That surface covers:
- guided transition from dashboard to XeLL
- XeLL HTTP endpoint inspection and compatibility detection
- packaged keyvault export with CPU key capture
- verified read-only NAND backup
- managed reboot control after success
- optional use of the standalone
XeCLI-XellFetchpayload bundle outside the full desktop package
rgh xell boot
rgh xell info
rgh xell kv export
rgh xell kv export --raw
rgh nand dump
rgh nand dump --singleXeCLI does not assume the console is already in XeLL.
- It first detects whether the console is on the dashboard or already in XeLL.
- If the console is already in XeLL, the command attaches to the detected XeLL IP and continues.
- If the console is on the dashboard, XeCLI asks for confirmation before the first automatic transition into XeLL.
- When available, XeCLI prefers the XellLaunch shortcut path.
--force-xellskips that preference and forces the direct reboot path. - If the session is non-interactive, or if automatic launch is not available, XeCLI prints the manual eject-button fallback instead of rebooting without confirmation.
- The standalone
XeCLI-XellFetchrepo can be used when you want the same custom XeLL-side bootstrap without the broader desktop bundle.
The managed workflow can stage and use the helper/linker assets needed by the automated dump path instead of requiring the operator to assemble them manually before starting.
In practical terms, the release line now supports two operator models:
- the full XeCLI desktop package, where
rgh nand dumpmanages the XeLL-side handoff itself - the standalone
XeCLI-XellFetchpackage, where you want the payload stack available separately for the same XeCLI-managed XeLL tasks
The point of the payload layer is consistency. XeCLI and the active XeLL-side components report the same state transitions for dump start, verification, and completion instead of leaving that coordination to manual timing.
All XeLL-backed commands wait up to 30 seconds for the XeLL HTTP server on port 80. If the dashboard IP changes after the reboot, XeCLI also scans the local subnet and common XeLL fallback addresses such as 192.168.88.99.
XeCLI supports both older and current XeLL Reloaded HTTP layouts.
- Flash dump:
/rawflashand/FLASH - CPU key and fuse text:
/cpukey.txtand/FUSE - Keyvault:
/KV - Raw keyvault:
/KVRAWand/KVRAW2 - Startup log:
/logand/LOG - Reboot:
/rebootand/REBOOT
Use rgh xell info when you want to see which of those endpoints the active XeLL build exposes.
rgh xell kv export downloads the XeLL keyvault output, verifies repeated reads by default, and refuses to finish unless a CPU key is also available.
rgh xell kv export
rgh xell kv export --output .\kv_backup.bin
rgh xell kv export --rawDefault mode exports the decrypted keyvault from /KV. --raw switches to the raw keyvault block.
By default, XeCLI performs a second same-session keyvault read and compares it byte-for-byte before it reports success or allows the payload to leave XeLL. --single and --no-verify skip that verification loop and intentionally disable auto-reboot.
Host-side output includes:
- your selected KV filename
KV+CPU KEY.txt- a sibling
*.CPUKEY.txt - optional
*.fuses.txt *.sha256.txt- a
.ziparchive
Inside the archive, XeCLI uses stable names:
-
KV.binorKV_RAW.bin CPUKEY.txtKV+CPU KEY.txt-
fuses.txtwhen available manifest.sha256.txt
The final zip is verified by reopening it and comparing every entry against the source files byte-for-byte.
rgh nand dump is the high-safety backup path. It does not write anything to NAND and, in v1.0.6, is the single PC-side command that drives the automated NAND workflow.
rgh nand dump
rgh nand dump --output .\nand_backup.bin
rgh nand dump --single
rgh nand dump --force-xellDefault verification flow:
- Detect the current mode and prompt before the first automatic XeLL launch.
- Wait for XeLL HTTP and download the reference dump.
- Attempt a second verification dump.
- On stock helper paths, XeCLI requests a XeLL reboot and waits for XeLL to come back before downloading the verification dump.
- On the managed custom payload path, XeCLI can keep the console inside the same XeLL session for the verification dump when dashboard round-trips would otherwise introduce NAND drift.
- Compare the verification dump byte-for-byte against the reference dump.
- If the verification dump differs, retry the second dump up to three more times.
- If a match is found, copy the verified dump to the final output path and compare that copy again.
- Write a SHA-256 manifest, build a zip archive, and verify the archive contents byte-for-byte.
The release now stages the helper/linker assets that the automated path expects, so the operator does not need to assemble the PC-side tooling manually before starting the dump.
Successful output can include:
- the verified NAND image
-
*.cpukey.txtwhen XeLL exposed the CPU key -
*.startup-log.txtwhen XeLL exposed the startup log *.sha256.txt- a verified
.zip
When the verified path completes, XeCLI prints NAND verified — safe to flash.
--single and --no-verify skip the repeated second-dump loop, but XeCLI still validates the copied output, manifest, and zip archive. Auto-reboot stays disabled in those modes so the console does not leave XeLL before the operator can see that verification was skipped.
XeCLI-XellFetch is intentionally a read-only workflow surface.
It does not claim to be:
- a NAND flashing path
- a XeBuild replacement
- a dashboard patching flow
- a glitch-chip programming tool
The shipped path is for inspection, export, verification, and packaging.
XeCLI fails closed for backup work.
- If no XeLL HTTP server appears within 30 seconds, the command stops and tells you to check Ethernet and boot XeLL manually.
- If the keyvault export does not include a CPU key, XeCLI aborts rather than packaging an incomplete set.
- If NAND verification never produces matching dumps, XeCLI stops with a hard failure and tells you not to flash the files.
rgh xell info
rgh xell kv export --output .\kv_backup.bin
rgh nand dump --output .\nand_backup.binThis gives you an inspected XeLL session, a packaged KV plus CPU key set, and a verified NAND backup set through the same XeCLI-XellFetch workflow.
XeCLI documentation for the rgh command. For release downloads, use the latest release.