From be276b00a3287e4e64e45bc2b7b50b71d74eebec Mon Sep 17 00:00:00 2001 From: SirHumza <204067870+SirHumza@users.noreply.github.com> Date: Fri, 25 Sep 2026 15:54:46 +0200 Subject: [PATCH] installer: drop the wifi check entirely --- README.md | 4 ++-- docs/INSTALLER.md | 22 ++++++++++++++-------- installer/installer.c | 31 ++++++------------------------- 3 files changed, 22 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 6e56332..36edd74 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ playing to Discord: name, cover art, timer. No PC at runtime.
[Releases page](https://github.com/SirHumza/orbisRPC/releases/tag/v1.0.0) and install it with Package Installer. 2. Open **orbisRPC Setup** → say Yes. It drops the daemon into GoldHEN's - `bin/elf`, checks WiFi, and saves your Discord token. + `bin/elf` and saves your Discord token. 3. Start **orbisrpc** from GoldHEN's payload menu, launch a game, watch Discord. After a reboot: re-jailbreak, then enable AutoRun for `orbisrpc` in GoldHEN's @@ -36,7 +36,7 @@ payload menu once — it starts itself on every jailbreak after that. | ⏱️ **True timers** | Survive reconnects and restarts, resume across quick game switches. | | 🧠 **Self-learning** | First-seen titles are remembered, so later boots resolve instantly. | | 🔄 **Self-updating** | Signed daemon updates with boot rollback. No reinstall treadmill. | -| 📦 **One-tap installer** | Setup PKG: install → WiFi check → token → payload in place. | +| 📦 **One-tap installer** | Setup PKG: install → token → payload in place. | ## How it works diff --git a/docs/INSTALLER.md b/docs/INSTALLER.md index 9a8e061..d6ba00c 100644 --- a/docs/INSTALLER.md +++ b/docs/INSTALLER.md @@ -3,9 +3,15 @@ ## What it does One linear flow, forward-only (every No skips ahead, nothing loops back): -confirm → copy `orbisrpc.bin` to `/data/GoldHEN/bin/elf/` (mkdir -p + size -read-back, one OK/denied line) → WiFi check → token prompt (skipped when -valid) → done. Declining install offers a read-only status screen instead. +confirm → copy `orbisrpc.bin` to `/data/GoldHEN/bin/elf/` (mkdir -p + +byte-count + hash read-back, one OK/denied line) → token prompt (skipped +when valid) → done. Declining install offers a read-only status screen +instead. + +There is no WiFi check. The installer runs sandboxed, so its socket probe +measures the app's network stack, not the payload's — and a FAILED line +reads like a verdict on Discord itself. The daemon reports real reachability +in its own log once started. The installer never boots anything. Starting the daemon is GoldHEN's payload menu or AutoRun — see below. No loopback ports, no eviction, no @@ -22,12 +28,12 @@ exits are Done, explicit close, or a payload write failure. 3 s foreground settle, or the first dialog flash-dismisses. - Dialog/IME/IME-backend sysmodules + internal SYSTEM/USER/COMMON modules load before use (unloaded calls panic). -- Network stack: internal NET module + `sceNetInit` + pool, verified with a - probe socket. All connects non-blocking with hard deadlines (blocking - connect ignores timeouts on filtered hosts — 75 s hole). +- `stat()`/`fstat()` lie about sizes inside the sandbox (observed 4096/4160 + for a 2071552-byte file), so install proof is byte count + FNV hash on + read-back, and status uses open-existence, never stat. - Config writes are atomic (tmp+fsync+rename) with read-back proof. -- IME wait is bounded; EAGAIN send retries are capped; asset key charset - validated (bad keys blank the activity). +- IME wait is bounded; asset key charset validated (bad keys blank the + activity). ## Auto-start diff --git a/installer/installer.c b/installer/installer.c index 49ebba8..bc90b1c 100644 --- a/installer/installer.c +++ b/installer/installer.c @@ -1,5 +1,5 @@ /* installer.c - orbisRPC Setup, stripped to the bone: - * install files -> wifi check -> token -> done. + * install files -> token -> done. * One confirm up front; everything after flows forward. * * Payload placement is the whole job: one copy of orbisrpc.bin into @@ -16,9 +16,7 @@ #include