-
Notifications
You must be signed in to change notification settings - Fork 1
XeCLI XellFetch
This page documents the shipped XeCLI-XellFetch workflow layer for managed XeLL bootstrap, endpoint detection, keyvault export, and read-only NAND backup handling.
XeCLI treats Xell, NAND, and KV as integrated scope in the main product line, with a defined PC-side workflow that launches or re-attaches to XeLL, inspects the active endpoint surface, exports keys, compares dump outputs, and reboots under operator control after the workflow completes. The shipped command surface below is the supported user-facing entry point.
XeCLI-XellFetch is the operator-facing name for the XeLL payload and workflow model used by these shipped commands:
rgh xell bootrgh xell inforgh xell kv exportrgh xell nand dump
There is no separate root-level nand dump command in the shipped tree; NAND dump lives under rgh xell 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
- read-only NAND backup
- managed reboot control after success
- optional use of the
XeCLI-XellFetchpayload bundle as the supporting asset set for the integrated XeCLI workflow
rgh xell boot
rgh xell info
rgh xell kv export
rgh xell kv export --raw
rgh xell nand dump
rgh xell 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
XeCLI-XellFetchrepo remains the supporting payload bundle for the integrated XeCLI path, while the command surface itself lives in XeCLI and is presented here as the shipped operator workflow.
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 v2.0.0, the shipped workflow keeps one operator model:
- the full XeCLI desktop package, where
rgh xell boot,rgh xell info,rgh xell kv export, andrgh xell nand dumpmanage the XeLL-side handoff inside the main CLI
The point of the payload layer is consistency. XeCLI and the active XeLL-side components report the same state transitions for dump start, comparison, and completion instead of leaving that coordination to manual timing.
All XeLL-integrated commands wait up to 30 seconds for the XeLL HTTP server on port 80. XeCLI probes the last dashboard IP first. When subnet scanning is enabled, it then probes that IPv4 subnet and the well-known XeLL fallback addresses 192.168.1.99 and 192.168.88.99.
Warning
XeLL HTTP is unencrypted and unauthenticated. Use these workflows only on a trusted private LAN, never port-forward the console or expose it to the internet, and disconnect untrusted devices while exporting data. NAND images, CPU keys, fuse data, and keyvault files are sensitive console secrets; store them securely and remove unnecessary copies.
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.
Reboot endpoints act immediately. Do not call them manually while an export or comparison is running.
rgh xell kv export downloads the XeLL keyvault output, performs an output comparison 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 comparison step and 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 checked by reopening it and comparing every entry against the source files byte-for-byte.
rgh xell nand dump is the read-only backup path. It does not write anything to NAND and is the PC-side command that drives the automated NAND workflow.
rgh xell nand dump
rgh xell nand dump --output .\nand_backup.bin
rgh xell nand dump --single
rgh xell nand dump --force-xellDefault comparison 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 comparison dump.
- On stock helper paths, XeCLI requests a XeLL reboot and waits for XeLL to come back before downloading the comparison dump.
- On the managed custom payload path, XeCLI can keep the console inside the same XeLL session for the comparison dump when dashboard round-trips would otherwise introduce NAND drift.
- Compare the comparison dump byte-for-byte against the reference dump.
- If the comparison dump differs, retry the second dump up to three more times.
- If a match is found, copy the matched 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 workflow 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 NAND image produced by the workflow
-
*.cpukey.txtwhen XeLL exposed the CPU key -
*.startup-log.txtwhen XeLL exposed the startup log *.sha256.txt- a
.zip
When the comparison path completes, XeCLI prints a completion message and the operator should review the resulting files before any flash workflow.
--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 review the output.
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 comparison never produces matching dumps, XeCLI stops with a hard failure and tells you not to flash the files.
rgh xell boot
rgh xell info
rgh xell kv export --output .\kv_backup.bin
rgh xell nand dump --output .\nand_backup.binThis gives you an inspected XeLL session, a packaged KV plus CPU key set, and a NAND backup set through the same XeCLI-XellFetch workflow.
XeCLI documentation for the rgh command. For release downloads, use the latest release.