No description
  • Java 76.5%
  • Python 17.7%
  • Shell 4.2%
  • C 1.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Qwest Dev 9270d04fed
Some checks failed
Android / build (push) Has been cancelled
Prepare audit remediation prerelease 1.0.5-preview.37
2026-11-18 17:58:22 +03:00
.github/workflows fix: cache Quest root inputs offline and retain Fugu diagnostics 2026-11-14 17:38:48 +03:00
app Prepare audit remediation prerelease 1.0.5-preview.37 2026-11-18 17:58:22 +03:00
docs Prepare audit remediation prerelease 1.0.5-preview.37 2026-11-18 17:58:22 +03:00
frida fix: repair root report and bundle Frida under Pegasko app identity 2026-11-13 21:59:17 +03:00
gradle/wrapper build: establish tested Android toolchain 2026-09-15 21:23:57 +00:00
history fix: cache Quest root inputs offline and retain Fugu diagnostics 2026-11-14 17:38:48 +03:00
native Add authenticated source-built local command broker for existing root 2026-11-15 19:04:05 +03:00
scripts fix: route legacy setup scripts through verified opt-in install workflow 2026-11-13 19:53:52 +03:00
third_party fix: bound Quest ADB stream open and shell EOF waits 2026-11-14 16:14:28 +03:00
toolkit feat: derive exact 2023 Quest 2 Fugu split-flow target from original OTA 2026-11-14 17:11:16 +03:00
tools Prepare audit remediation prerelease 1.0.5-preview.37 2026-11-18 17:58:22 +03:00
.gitignore Add authenticated source-built local command broker for existing root 2026-11-15 19:04:05 +03:00
build.gradle feat: add Quest-local wireless ADB pairing and guarded Root Now 2026-11-14 14:54:26 +03:00
build.sh Add authenticated source-built local command broker for existing root 2026-11-15 19:04:05 +03:00
gradle.properties build: establish tested Android toolchain 2026-09-15 21:23:57 +00:00
gradlew Initial commit: clean-room GPL-3.0 re-implementation of Singularity for Meta Quest 2026-09-10 22:17:14 +00:00
icon.png Initial commit: clean-room GPL-3.0 re-implementation of Singularity for Meta Quest 2026-09-10 22:17:14 +00:00
LICENSE Initial commit: clean-room GPL-3.0 re-implementation of Singularity for Meta Quest 2026-09-10 22:17:14 +00:00
PROJECT_CONTEXT.md Address Preview36 audit with gated privileges and verifiable diagnostics 2026-11-18 14:11:35 +03:00
README.md Prepare audit remediation prerelease 1.0.5-preview.37 2026-11-18 17:58:22 +03:00
RESEARCH_BACKLOG.md feat: ship tested Qwest Quest 2 preservation preview and verified APK workflow 2026-11-13 19:53:27 +03:00
settings.gradle fix: bound Quest ADB stream open and shell EOF waits 2026-11-14 16:14:28 +03:00

Qwest Singularity

Qwest is a clean-room, open-source reimplementation of the Lumince Singularity operations app for Meta Quest. The first target is Quest 2 (hollywood). It does not contain code, scripts, keys, or native binaries copied from the original APK.

Development status: the Android app includes an experimental, exact-firmware-gated, owner-authorized local ADB Root Now flow, backed by independently source-built MIT Fugu and a pre-vendor scratch check. The user's previous actual Quest 2 test returned UID 2000 (NOT root). Preview 36 began with a source-backed analysis of the original Singularity 1.0.8.7 DEX/Fugu script and its actual supported Quest2 service/library/kernel pair. The original APK has no Fugu target for this old 2023 firmware. The owner previously observed NO constructor-side post-carrier ESP canary despite verified shell-side injection and a tracking service PID restart. The read-only mapping inspector now surveys BOTH original and experimental tracking entry points. The generated Rust native helper refuses vendor poisoning when a stable readable old tracking PID explicitly lacks its selected library, but records denied maps as UNKNOWN. Existing ENTRY/END canary and restoration gates remain. No kernel module load is attempted without verified canary effects. Root success is still not demonstrated. The optional private root-command broker requires a separately established UID-0 session (or existing approved root), and is not itself an exploit or persistent boot-root method.

Analysis and plan

The audit distinguishes confirmed static evidence, inferred behavior, upstream claims, and unresolved questions. Reference APK hashes in docs/toolkit-hashes.txt are forensic identifiers, not approved dependencies.

Intended feature surface

Area Direction
Root readiness Exact Quest2 OTA-verified candidate and authorized local ADB Root Now flow; device root success unverified.
Root operations Verified su or authenticated UID0 broker for short commands; broker-only long commands explicitly unavailable. No privilege is created by this executor.
Boot persistence Opt-in restoration of independently enabled features through scheduled Android work.
Network control Owner-consented VPN for all or selected visible user/system apps; separate root hosts blocker. Not verified as fail-closed firewall.
Privacy/update control Individually documented, reversible actions; no opaque original no-op binaries.
Packages User-confirmed installation from a pinned, licensed catalog with SHA-256 verification.
Frida Official SHA-pinned upstream ARM64 tool included in signed APK; launch requires existing root.
System tools Discovered Quest paths/components for CPU/GPU, controllers, ADB, UI, LED, calibration, reboot, and recovery diagnostics.

Existing source predates the audit and contains incomplete or unsafe implementations. A matching button label is not considered parity. The work replaces false-success paths task by task and adds tests before claiming an operation is supported. The source-built experimental native Fugu helper is shipped, but runs only after an explicit owner request, exact firmware and source verification and authorized ADB. Hardware root success remains unverified.

Open-source-only rule

Every distributed third-party component must have an immutable source revision, an explicit license, a distribution policy, and an integrity policy in toolkit/components.tsv. Validate it with:

tools/verify-toolkit-metadata.sh toolkit/components.tsv

Original Pancake binaries, universal ADB private keys, opaque native payloads, MiXplorer, and proprietary Meta Guidebook/Loft packages are not distributed. Public repositories without a license grant, currently including Quest Home Switcher, DockEditor, and FreeXR safe-root-things, are references only and their code is not copied.

Build

Requirements:

  • JDK 17 or newer
  • Android SDK platform 36 and build-tools 36
  • Gradle wrapper distribution 9.7.1 (normally downloaded by the wrapper)

Run the same verification used by CI:

./build.sh --stacktrace

The validated debug APK is written to app/build/outputs/apk/debug/app-debug.apk. Never install older files under build/outputs: the former custom build omitted Android target SDK metadata. Verify with tools/verify-built-apk.sh before install.

Additional open-source controls

The Network/Hosts page now opens a selected-app network policy editor. It uses Android's local VpnService and can show system and headless packages visible to Android PackageManager in an explicit expert view. The sideload manifest declares QUERY_ALL_PACKAGES. Shared UID collateral and package visibility limits are displayed; Meta traffic coverage is unproven. A saved policy is inactive until you explicitly start it after Android VPN consent. Full-device and selected-app modes share one VPN slot; changing the selection stops the active VPN. Versioned policies can be shared/imported and strictly validated. Android shared UIDs and headset networking behavior still require device testing.

The System page opens a read-only diagnostics screen showing publicly exposed firmware, connectivity, candidate updater package names, and input devices. A separate opt-in Android JobScheduler watch can record observed fingerprint changes; it never blocks updates or contacts the network.

The APK picker now shows a streamed SHA-256 and file size before asking for approval to open Android's package installer, which performs the actual signature and install checks.

Offline inventory

For a Quest 2 that already has authorized ADB, collect firmware and package metadata without changing package state:

tools/quest2-inventory.sh --output inventory-first
# Repeat after a normal reboot or authorized settings change:
tools/quest2-inventory.sh --output inventory-second
tools/compare-inventories.py inventory-first inventory-second
tools/quest2-package-matrix.py --inventory inventory-first --output matrix.tsv

A single reviewed, owner-authorized package state change can be requested with the companion tool described in docs/quest2-preservation.md; it requires an exact-firmware review and preserves before/after evidence.

No blanket Meta package removal list is provided: dependencies and recovery must be validated on the exact firmware before making changes.

The old setup/quick-install scripts now delegate to the verified Gradle build and opt-in install tool. Without an explicit --install, no ADB connection is made by the install wrapper.

Safety model

  • Quest 2 is the only device accepted by the read-only inventory and native validator.
  • Product, device, kernel release, firmware incremental, and exact source hashes must match; native execution requires an explicitly owner-approved attempt through the one compiled legacy Quest 2 experimental backend. It is not proof of working root on this Quest.
  • State-changing actions require a successful command and a verified postcondition; Java's lack of an exception is not success.
  • Risky features are opt-in and track enough prior state to restore or explain why restoration was impossible.
  • CI validates source, parsing, packaging, and dry-run behavior. Live root must be reported separately from build success.
  • Maintain a recovery path before changing a headset. Kernel exploitation can panic, hang, or damage device state.

License

Qwest is licensed under GPL-3.0. Third-party components retain their own licenses; see the toolkit audit and release notices.

Versioned preview

The previous parity build was 1.0.1-preview.2 (versionCode 2). The current source declares art.pegasko.qwest (versionCode 37, version 1.0.5-preview.37). This is a debug/prerelease of the Preview 36 audit remediation, not hardware-validated Singularity parity. It installs as a separate app from the older com.qwest.singularity previews. From version 1.0.2-preview.3 onward, the art.pegasko.qwest previews update one another with the same debug signature. The previous v1.0.0-preview.1 Forgejo release remains an immutable build; use its tag and checksum when comparing old and new behavior.

Root reports, Fugu research and bundled Frida

The source-built Quest registry now has real tab-delimited syntax. The report separates the headset model and firmware from Qwest's availability and the current Singularity developer's claimed supported models and firmware. It does not mistake a published build number for a Qwest-tested method.

Original Singularity moved to the open-source MIT-licensed Fugu research project; the earlier Pancake/IonStack target is no longer the present method. Fugu's documented firmware requirement and post-June-2026 patch limitations are in docs/root-support-2026.md. No hardware-validated Qwest acquisition method is shipped in the app.

Frida 17.17.0 ARM64 is restored inside the APK from an official checked release. The Frida screen can prepare it after verification. Launch still requires existing, owner-approved root and never happens automatically. See docs/frida-bundling.md for full source and binary hashes.

Root candidate inspection (Linux companion)

A Qwest APK cannot perform Fugu's shell-domain operation from the ordinary Android app process. On an owner-authorized ADB connection, use the source checkout's read-only compatibility report:

python3 tools/fugu-preflight.py --serial YOUR_ADB_SERIAL

The default and explicit --mode verify are read-only. A root attempt is never triggered by merely opening a Qwest screen or running the report. Only an eligible older, exact-matching firmware can be considered for the source-backed Linux workflow; later patched builds cannot be enabled by rebuilding Qwest. See docs/root-support-2026.md for explicit owner controls, verification, reboot and recovery limitations.

Completed offline-tested usability work (Preview 5)

  • Live log viewer: logcat lines appear while recording is active; filtering, stop/start, bounded capture history and owner-controlled sharing. Android restricts what a normal app may read from system logs.
  • Terminal: unprivileged local commands work without root. An explicit checkbox requests an already-approved root manager for a particular command. Captured command streams and the transcript have size limits.
  • Read-only performance and input diagnostics: a 250ms CPU sample, available GPU/thermal/battery information, discovered kernel paths, Android-delivered controller key/joystick events, and manual package/firmware inventory sharing. None of these panels mutates controller settings.
  • Network controls: full-device or selected-app owner-consented local no-forwarding VPN, a link to Android VPN settings, and restoration requests for a previously enabled mode after reboot. Always-on/lockdown behavior must be configured in the OS if supported and checked on a Quest.
  • Ordinary Android interfaces: installed app launch/settings/uninstall, document-based APK installation, official open-source catalog links, Android default home/settings screens when supplied by the firmware.
  • Standalone Linux companion: source-only, pinned-Fugu host archive assembled by tools/package-host-companion.sh. It contains no proprietary reference APK contents, ADB credentials or firmware carrier blobs. Users fetch/build upstream MIT source only after their own review.

The reference APK is re-audited non-invasively with tools/audit-reference-apk.py --apk Lumince_Singularity.apk. Its older Pancake, telemetry, framework and proprietary assets are recorded as evidence, never copied into Qwest. See docs/feature-completion-review.md for the remaining firmware- and permission-dependent work.

1.0.4-preview.6 root companion and app features

  • Owner-authorized root procedure: the Android app contains a separate, source-built ARM64 Fugu helper without bundled Magisk APKs. The root page exports the ELF and displays a Linux command, but does not execute it from the ordinary app security domain. On a supported older Quest firmware, the Linux companion can validate the exact target, obtain owner approval, stage the signed-source helper through an existing ADB shell, and require an actual UID 0 result before declaring that session rooted. Kernels updated since 2026-06-04 are not supported by this root method.
  • Magisk modules: explicitly inspect and reversibly enable/disable existing Magisk modules in Qwest (only with an already-approved root manager); an optional separately confirmed Linux recovery tool can request a standard Magisk emergency module clear.
  • Battery reminder: optional Android unplug notification below a selected battery percentage. Android notification permission applies.
  • Refresh modes: view modes advertised by Android, and optionally request an advertised near-100 Hz mode for only the Qwest settings window. This is not a global VR refresh-rate override.

Two companion archives are produced by tools/package-host-companion.sh and tools/package-root-companion.sh; the latter includes the checked Android ARM64 helper. Read docs/modern-singularity-parity.md for what remains unavailable pending Quest hardware and firmware evidence.

1.0.5-preview.7 — root started from this Quest

The Root tab now opens an Android-local root setup flow. Qwest can create a private ADB key, pair directly to the same headset's modern Wireless debugging TLS service via the current six-digit Android pairing code, or use a previously authorized legacy localhost ADB TCP port. It then inspects the ADB shell identity, exact firmware, both patch dates and pinned Fugu catalog, optionally obtains exactly matched, SHA-verified source inputs from the upstream pinned commit when the user taps Fetch, then offers a direct Root Now button on an eligible firmware. The source-built ARM64 helper is invoked over the approved ADB shell domain, not as an unauthorized Android app process.

The upstream Fugu method was fixed on security patches from 2026-06-04, so this feature cannot root a fully updated Quest by pretending an old source target still works. ADB TLS pairing and Fugu execution must be tested on an actual Quest. This is an on-headset root attempt flow, not independently verified full Singularity parity or persistent Magisk root. See docs/on-quest-root.md for setup and limitations.

1.0.5-preview.8 — TLS pairing RSA repair

Preview 7 could reject a correct on-headset Wireless ADB pairing code with an OpenSSL RSA internal error. The cause was an incompatible AndroidKeyStore non-exportable RSA key used by a custom Conscrypt/LibADB TLS path that needs software RSA operations. Preview 8 replaces that TLS key with a unique per-installation RSA-2048 software identity encrypted at rest with AndroidKeyStore-managed AES-256-GCM, adds real RSA/certificate/envelope tests, and preserves localhost-only pairing and exact firmware gates.

Users upgrading from Preview 7 must enter a fresh pairing code and pairing port, then the separate TLS connection port. This is not a password error. Details: docs/on-quest-root.md.

1.0.5-preview.9 — simple app-private ADB key storage

Fixed the Preview 8 pairing error "Provider AndroidKeyStore does not provide AES/GCM/NoPadding" by removing the wrapping cipher and AndroidKeyStore from the local TLS identity path. Qwest now generates one RSA-2048 TLS identity per installation and writes its PKCS#8 private key to a private no-backup application file. The file is reused across runs; no shared Singularity key is bundled. The matching certificate is generated from that key when needed.

The older Singularity 1.0.5.6 reference APK includes native libadb.so, an APK-embedded adbkey pair and references an .android/adbkey file. Qwest uses the same file-based ADB-key concept without copying the shared credential from that APK.

The pairing screen no longer puts a redundant prompt in front of the explicit HTTPS source-file download or Root Now button. Android's own ADB pairing request and Qwest's exact-source, firmware and shell-domain checks still apply. Users should pair with a fresh code after upgrading. See docs/on-quest-root.md.

1.0.5-preview.10 — fix indefinite ADB Connect status

The on-Quest Wireless ADB pairing flow is unchanged and uses the existing per-installation private RSA key from Preview 9. The prior third-party LibADB Android 3.1.1 stream implementation could lose an immediate ADB OPEN acknowledgement or wait forever after receiving the final WRTE/CLSE output. Qwest now builds a small licensed maintenance fork in third_party/libadb-android/, with race-safe bounded stream opens, correct end-of-output behavior, and timed shell reads. The Root screen displays the current TLS/ADB shell probe stage and reports a meaningful error if the connection or a query does not complete.

The source revision and unmodified upstream files are verified offline with tools/verify-libadb-fork.sh; mock ADB socket regressions exercise quick responses, completed output, rejected opens and missing acknowledgements. The new paired APK does not require key rotation or repeating Wireless Debugging pairing. See docs/on-quest-root.md for details.

1.0.5-preview.11 — old Quest 2 firmware root research target

Owners using Quest 2 (hollywood) on exact kernel 4.19.157+, firmware incremental 50670960047500150, and old pre-2026-06-04 security patch levels now have a source-derived in-headset Fugu split-flow candidate. The exact original 2023 OTA was downloaded and completely verified offline, then used with the pinned MIT Fugu porting code to derive its OWN kernel offsets, carrier and injection layout. The standard merged stub DOES NOT fit this build, but the split flow's enforcing-only Phase A stub passed a source-built Rust size check.

After the existing owner-approved Wireless ADB connection succeeds, the Root report identifies this exact OTA-derived candidate. Fetch retrieves only two SHA-verified compressed byte ranges (553,712 bytes total) from the original archived OTA; no proprietary original vendor binaries are bundled or committed. The Root Now button stages the exact verified inputs via the approved ADB shell and runs the source-built Fugu split flow. A new ADB shell UID 0 is required to claim temporary root.

Hardware root success is not verified. Do not assume kernel memory changes will work just because static porting and file checks passed. See docs/quest2-50670960047500150-port.md for exact OTA provenance, kernel offsets, split-fit evidence, risks and unresolved on-device prerequisites.

1.0.5-preview.12 — offline Root Now and Fugu error diagnostics

Qwest now reuses verified Fugu source files from app-private no-backup storage. After one successful fetch, Root Now can run without internet through an existing locally paired Wireless ADB connection. On upgrading from Preview 11, the app also tries to recover its already-staged exact files under /data/local/tmp over read-only ADB, verifies their SHA-256s, and saves them for future offline use.

Preview 11 discarded its Fugu helper output and ignored the shell command's exit status, so it could only report that a subsequent ADB shell wasn't root. Preview 12 fixes this by capturing the original helper's stdout/stderr and exit marker, showing its failure stage and checking SELinux/module state when a fresh ADB shell is still UID 2000. The Root tab can copy the diagnostic text directly.

The same per-installation TLS key and APK signing identity are retained: no new pairing is normally required when updating. Root acquisition is still NOT proven on physical Quest 2 build 50670960047500150; real runtime logs are required to identify whether its Fugu split flow can complete. No new kernel exploit or Magisk persistence is claimed. See docs/on-quest-root.md and docs/quest2-50670960047500150-port.md.

1.0.5-preview.13 — Wireless ADB Console

Qwest's WiFi ADB tab and Root setup now open a practical on-headset ADB command console. Pair with the standard Android Wireless Debugging pairing code/port if needed, or reuse the existing Qwest RSA TLS identity from earlier previews. Enter the separate current connection port, tap Connect, and verify the reported ADB-shell UID and SELinux domain. Enter a shell command and tap Run; the result includes the actual shell exit code rather than assuming success when a stream closes. Copy/share the bounded transcript for further investigations. A local legacy TCP transport is also supported when already authorized. No computer, external network host, root, or further Qwest confirmation screens are required; current Wi-Fi debugging must remain enabled.

The original Qwest Root Now workflow and Fugu offsets are unchanged pending the next actual Quest 2 diagnostic. As before, the owner-reported UID 2000 means root has not yet been achieved. This console passed host-only unit and POSIX execution tests and an Android build; Quest 2 runtime validation is still pending.

1.0.5-preview.14 — show the actual Android IpSec stager failure

The owner tested Fugu again on Quest 2 build 50670960047500150 and reported a real failed startup: after e2e.dex staging, Fugu printed stager failed (stale SA? reboot to clear xfrm), exited 1, and a new ADB shell remained UID 2000; SELinux was Enforcing, no rdbg module was listed and adbd PID was 1035. This failure occurred BEFORE the split-flow carrier, patched config, injection or credential operations. A stale SA was only a generic guess, not a demonstrated cause.

Preview 14 updates the source-built Android ARM64 Fugu companion while leaving pinned upstream source and exact firmware kernel offsets untouched. The generated-only stager orchestration now merges the Android app_process Java exception into the captured log, includes process exit status and the last 12 bounded diagnostic lines, and uses a real 30-second startup timeout even if no output arrives. The new ELF digest is checked against APK metadata and the in-app staging verifier, with a source reproducibility test ensuring the original MIT checkout stays unchanged.

Preview 14 remains a diagnostic release, not a verified root fix. An on-headset retry will show the actual IpSecService/Java exception or other process failure stage so the next implementation change can be based on evidence. Use Root → Root from this Quest → Connect → offline Root Now → Copy diagnostics; previous SHA-verified source inputs can be reused and the ADB pairing identity/signing certificate is unchanged.

1.0.5-preview.15 — correlate Android stager SIGKILL with OS logs

Preview 14 exposed the old Quest 2's real pre-carrier failure: app_process was terminated (the shell returned 137 / SIGKILL) while starting Fugu's IpSec staging component. Qwest has not yet established which system component issued that termination.

Preview 15 removes the extra shell wrapper around the generated Fugu stager, so its process status and PID refer to app_process directly. After the specific stager SIGKILL, Root Now automatically collects bounded read-only ActivityManager/LMKD process logs, permitted kernel messages, a post-run memory snapshot, and the current phantom-process limit through the same owner-approved local ADB shell. The resulting evidence appears in the existing Copy ADB / Fugu diagnostic text report; it is not a device setting change or a second root attempt. The original MIT source pin, Quest 2 firmware offsets, exact SHA-verified source files, existing paired ADB key and experimental root flow are preserved.

This improvement is diagnostic. Real hardware root remains unverified; there is no basis yet for changing memory limits or Fugu kernel offsets.

1.0.5-preview.16 — distinguish early stager EOF from a timeout

The owner tested the exact 2023 Quest 2 (hollywood, incremental 50670960047500150) on Preview 15. Fugu reported app_process PID 4361; no valid ENCAPPORT before the 30-second deadline; Android stager output: (none) after 0.3 seconds. That is not evidence of a true 30-second expiry. Source review found that the Rust output reader treated a closed stdout pipe like a timeout while a child process may still be running.

Preview 16 distinguishes stdout EOF from a real 30-second deadline, briefly checks whether the Java process actually exited, and captures a bounded read-only snapshot of its /proc/<pid>/status and stdout/stderr file descriptors before Qwest stops the failed stager. The launched shell also emits a small PID marker before exec app_process, making it easier to identify startup and early output loss. No kernel parameters or privilege payloads are changed.

The root flow now gathers bounded read-only process, memory and logcat context on every stager failure, not only when SIGKILL is observed. A new Inspect recent Android process logs (read-only) button on the Root screen can collect the same evidence without running Fugu at all. Copied diagnostics have terminal color codes removed. The same Qwest ADB pairing identity, verified offline source cache and exact firmware eligibility rules are retained.

This is an observable diagnostic improvement, not physical root verification. A fresh ADB shell returning UID 0 is still required before root is reported as obtained. The original Singularity APK in this source tree is a reference for outward behavior: its packaged Pancake/IonStack root executables differ from Qwest's pinned MIT Fugu implementation, so merely copying their command labels does not make these exploit pipelines equivalent.

1.0.5-preview.17 — Quest 2 IPsec Binder and SELinux compatibility evidence

A fresh owner-supplied Qwest Preview 16 report pinpoints the first blocked step on the old Quest 2 (hollywood, 4.19.157+, incremental 50670960047500150): q3.Stager called IpSecService.openUdpEncapsulationSocket and received DeadObjectException. An enforced SELinux audit denial appeared at the same time, denying shell-domain read/write access to a UDP socket labeled with system_server's security context. Android's uncaught- exception handler then sent signal 9 to the crashed stager. A fresh ADB shell remained UID 2000 and SELinux Enforcing; there was no loaded rdbg carrier. An AndroidRuntime SIGKILL after an uncaught exception is not evidence of a phantom-process or low-memory kill. The remote-process- probably-died wording of DeadObjectException alone does not establish that the system server actually died.

Android's AOSP IpSecService.openUdpEncapsulationSocket creates and returns a UDP encapsulation socket file descriptor via Binder. The combination of an enforced socket AVC and the method's Binder failure strongly suggests a socket descriptor access incompatibility between shell and system_server on this firmware. Qwest's FuguStagerEvidence now recognizes this specific pair of runtime observations, includes its causal limits, and adds a read-only post-run pidof system_server observation for differentiating a service crash from a Binder reply failure. The Android API reference is at: https://android.googlesource.com/platform/frameworks/base/+/794d2108543cabd372e2abcb527a028c0bdc0ea9/packages/ConnectivityT/service/src/com/android/server/IpSecService.java

The Root screen adds Check Android app IPsec socket access, a real public API test running from Qwest's own Android app UID, independent of ADB/Fugu. It attempts IpSecManager.openUdpEncapsulationSocket(), reports whether the ordinary app may acquire an encapsulation socket, then closes the temporary resource immediately. This does not create a kernel IPsec association, alter SELinux policy or obtain root. The existing Inspect recent Android process logs remains separate.

Preview 17 keeps the original pinned MIT Fugu helper and exact OTA-derived kernel metadata, SHA-verified source cache, per-installation ADB key, and app signing identity unchanged. The experimental Root Now route is still blocked on the user's headset; root success requires a fresh UID-0 ADB shell. The reference Singularity APK's separate Pancake/IonStack root method is not imported or claimed equivalent.

1.0.5-preview.18 — app-owned Fugu IPsec association bridge

The owner tested Preview 17 on an exact original Quest 2, firmware 50670960047500150: the root attempt consistently stopped when shell UID 2000 called IpSecService.openUdpEncapsulationSocket; an enforced SELinux udp_socket read/write denial in the Binder response led to the stager's DeadObjectException and self-directed SIGKILL. The independent public Android API check succeeded from Qwest app UID 10137, opening and closing a temporary UDP encapsulation socket (port 36250 during this test). SELinux stayed Enforcing, a fresh ADB shell remained UID 2000, no rdbg module loaded, and system_server remained present as PID 1155.

Preview 18 implements the next actual source-backed functional step:

  • IpSecAppStager uses the Android public IpSecManager/IpSecTransform APIs under Qwest's normal app UID to open a UDP encapsulation socket, reserve the exact Fugu SPI 0xdeadbe10 at IPv4 loopback, and build its AES-128-GCM/128-bit ICV transport-mode transform using the pinned MIT Fugu key material 0x41..0x54. The resources remain strongly held for the entire owner-authorized Root Now invocation and are released in reverse dependency order; errors release partially allocated resources.
  • A source-generated patch to the Android ARM64 MIT Fugu companion accepts a strictly numeric QWEST_APP_IPSEC_PORT from Qwest's exact- firmware-gated local ADB launch. With it, Fugu uses the app-owned transform's encapsulation port and does not launch the previously SELinux-blocked shell-context q3.Stager. The shell-only staging mode remains available in standalone host/shell use. The Fugu output explicitly marks external app-owned staging as not independently kernel-verified.
  • The Root screen adds Test exact Fugu IPsec SA (no root). On the matching headset build it opens the full app-context transform and releases it immediately, without running the Fugu exploit. The earlier simple socket-access test is preserved. Failures show whether opening the socket, reserving the fixed SPI, or building the transform failed.
  • Root Now still requires a fresh, authorized localhost ADB connection, an exact old Quest 2 firmware/kernel match, cached SHA-verified original OTA source bytes and source-built helper integrity. The app fails closed instead of falling back to a shell-context IPsec request on this target. Only a subsequent fresh ADB shell UID 0 can count as root obtained.

The standalone external IPsec association is an experimental way to cross the app/shell security-context boundary using documented Android APIs. The app's successful basic socket test does not yet prove SPI reservation, transform creation, cross-process kernel packet behavior, Dirty-Frag impact or durable root. Once the transform is accepted, later Fugu phases may still fail or crash/reboot the headset; full Singularity feature parity is not claimed. No original Singularity proprietary keys/binaries/scripts are used.

1.0.5-preview.19 — Singularity behavior crosswalk and functional UI wiring

This release studies the local original Singularity 1.0.5.6 APK as a behavior reference, then connects the corresponding independently implemented Qwest features instead of copying proprietary payloads or claiming that matching buttons establish vendor compatibility. The original manifest separates AIO Tweaks, ADB/root, Install Apps, Custom LED Color, Root Terminal, Domain Blocker, Controllers and services.jar patching; its DnsBlockerService is a distinct VpnService kill switch. Qwest already has consented full-device and selected-app no-forwarding VPN modes, so a second false “DNS VPN” was not created.

New functionality:

  • Feature Center reachable from the main Qwest header and menu. It links all implemented Root/IPsec tests/ADB console, domain/hosts, VPN, Frida, package browser/installer, Magisk modules, controller tester, system reports, battery alerts, display, LED and service tools. Every interactive entry opens a registered activity or main tab; blocked OEM-only features are identified as such and not offered as fake actions.
  • Custom Domain Blocker editor: add/delete hostname entries, validate and preview the merged default+custom hosts block without root, save crash-safely to Qwest app-private files, and import/export owner text documents. Rule input is IDNA-normalized, sorted, duplicate-free, bounded to 48 KiB / 1,024 owner hostnames, with a 2,048 combined cap. Save does not edit device hosts. Applying requires an explicit separate tap, existing approved root and actual byte-for-byte post-write verification; a corrupt/managed “original” backup is never trusted.
  • System > Offline firmware build watch now uses the pre-existing JobScheduler feature rather than an inert switch. It records public Android build changes locally after the owner's opt-in; it does not disable OTA, spoof firmware or change update_engine. More detailed observations remain in the Diagnostics screen.
  • RGB LED UI is reachable from System only if all three discovered red/green/blue sysfs controls actually exist. A generic unrelated LED cannot enable a nonfunctional RGB picker; privileged writes still require existing root and postcondition verification.

Source provenance correction: The archived Singularity APK's assets/module/system/etc/hosts contains only two localhost aliases, not the curated telemetry/auth/CDN list bundled separately in Qwest. Qwest's default list has 74 distinct hostnames, is optional, and may interfere with Quest sign-in or content. It is not copied from the proprietary APK. No original Singularity private ADB keys, binaries, Magisk APK, kernel modules or scripts are imported.

The previously released experimental app-owned IPsec/Fugu root bridge remains unchanged in Preview 19, still awaiting owner headset evidence for full SPI/transform and kernel packet behavior. A fresh UID-0 ADB shell is necessary to verify root. See docs/reference-behavior-crosswalk-preview.19.md and the Preview 19 verification report. The original's persistent root, vendor services, controller firmware, global VR compositor and services.jar patches are not implemented by simply displaying their names.

Preview 20: Quest 2-wide performance controls (source-auditable)

All tools → Quest 2 global FPS / resolution / GPU / foveation now opens a real on-headset ADB-based tuner for documented debug.oculus properties: Quest 2 refresh rate (60/72/80/90/120Hz, not an invented 100Hz), per-eye render texture dimensions, CPU/GPU performance levels, fixed/dynamic foveation and swap interval. It reuses the existing owner-authorized localhost TLS/legacy ADB identity; preview shows literal commands with no writes, Apply checks fresh build identity/exit/readback and retains a crash-safe original-state journal, and Restore is conflict-aware and build-specific. Reports include executed ADB commands and may be copied. The existing Android window-only display mode viewer is still separate.

These are temporary Meta developer overrides. Android property readback is not proof that the VR compositor/game honored an override, and a change is not a permanent kernel clock lock. Quest 2 runtime validation, working root and full Singularity equivalence are still pending. Original Singularity's unlicensed/private binaries, scripts and common ADB credentials are never included. See docs/quest2-adb-performance-overrides.md, docs/singularity-tools-source-audit-preview.20.md, and the Preview 20 verification report for actual sources, remaining gaps and tests.

Preview 21: inspecting original Singularity binaries and porting actual Fugu process recovery

Rather than equating similar-looking UI/settings with Singularity parity, Preview 21 inspects the actual original 1.0.5.6 and current 1.0.8 APKs. The new independent, read-only tools/audit-singularity-native.py identifies binary/ELF hashes, native tool families, source-independent behavior markers and exact firmware target availability without executing or redistributing any original binary, script or private key. The current 1.0.8 root flow uses MIT-source Fugu with native dfpoison, q3.Stager, and an orphan-stager cleanup stage; older 1.0.5.6 uses Pancake/IonStack. The latest original includes 42 Quest 2 Fugu JSON targets but no match for the actual old Quest 2 50670960047500150.

New Root → Inspect Fugu stager processes reports exact command-line identity, PID, parent, UID and start time from the already-authorized localhost ADB shell. New separate Release orphaned Fugu stagers implements a source-readable equivalent of an original step: after strict Quest 2 firmware/UID verification, only truly orphaned shell-owned q3.Stager processes can be requested to exit, with PID-reuse protection and post-request re-inspection. Active stagers and unrelated processes are never signalled; this is not an automatic root step.

See docs/reference-native-reverse-engineering-preview.21.md for the reference hashes, Fugu source correspondence, exact scripts/markers, remaining unported native functions, process lifecycle behavior, and audit commands. The Qwest root postcondition remains not verified, last observed fresh ADB UID 2000. This is independently authored behavior porting, not proprietary code import or complete Singularity parity.

Preview 22 — actual MIT Fugu native writer, not an opaque Singularity clone

After examining the real 1.0.8 Singularity APK's Fugu launcher, Qwest's experimental old Quest 2 Root Now now uses the source-built MIT Fugu dfpoison native writer for every app-owned-IPsec split-flow poison and code-restoration step. Qwest previously invoked the older Java q3.Writer in those phases even though it embedded native Fugu source. The exact hollywood / 4.19.157+ / 50670960047500150 OTA target is still used, and the source-built Fugu helper revalidates that identity before any vendor operation. The user-approved local ADB connection and app-held AES-GCM/IPsec SA are retained. The native writer first attempts a one-byte page-cache change in a disposable Qwest-owned 128-byte scratch file; if actual readback fails it aborts before touching Quest vendor files. For this app-owned path, Qwest requests the three-second settle actually used by original Singularity 1.0.8 and avoids the unnecessary global phantom-process settings edit.

The Fugu source is the same publicly MIT-licensed upstream used by the original app. Qwest does not copy or distribute Singularity's opaque native executables, scripts or shared private ADB key. This remains an experimental root path and must not be called working on the owner's firmware until a fresh authorized ADB shell actually returns UID 0. Source and step-by-step verification: docs/fugu-native-root-preview.22.md.

Preview 23 — manifest-based Fugu repair + rooted recovery and offline Wi-Fi

Qwest's on-device Root Now and Fugu export paths now verify the real signed APK's source-built MIT Fugu companion using one version-independent FuguCompanionVerifier instead of the stale Preview 21 SHA-256 retained in Preview 22. This repairs an actual Preview 22 verification failure before execution. Unit tests directly verify the real bundled ELF, license, mode, source revision and manifest SHA. No hardware root success is yet claimed.

The Magisk module manager now supports an existing-root Emergency disable all and Restore saved enabled states, gated by owner confirmation, real UID0, durable journal and readbacks. It never silently uninstalls Magisk or reboots. The Quest 2 ADB performance tool also provides a documented Android captive_portal_mode read/preview/write/restore flow for Wi-Fi networks without Internet. Real firmware behavior remains to be tested.

Singularity 1.0.8.7 adds an opaque native Kugel Quest 2/Pro method. Qwest now identifies its exact ARM64 asset in a non-executing original APK audit but does not redistribute unlicensed binaries or expose an unverified root shell listener. Exact old Quest 2 Kugel compatibility remains unknown. See docs/verification-report-1.0.5-preview.23.md.

Preview 24 — independently source-built private command broker

The Terminal now exposes an optional Singularity-like root command service implemented as fresh Qwest GPL C/Java, not original binary code and not a rooting exploit. Start is explicit and first requires a real existing root-manager UID0 shell. The resulting ARM64 native service uses a private Unix-domain socket, exact Android app UID and per-installation 32-byte secret on EVERY connection; commands are bounded to 30 seconds and 96KB output, and the helper expires after 10 inactive minutes or 2 hours. There is no TCP listener, shared private key, startup automation or Magisk installation. Normal Terminal and ordinary su mode remain available. Offline verification includes a real root-host/foreign UID IPC test, source- reproducible ELF build, and signed APK integrity checks. Actual Quest SELinux and existing-root behavior need physical confirmation. Details: docs/root-broker.md and docs/verification-report-1.0.5-preview.24.md.

Preview 25 — offline split APK backup/restore

In Apps, select an installed package and choose Backup selected app, or choose Restore APK bundle to import a Qwest .qwest.apks code archive. All installed base/split APK files are streamed through Storage Access Framework, hash-validated and restored by Android PackageInstaller with its own signature and installation approval. This does not back up app data or constitute firmware root. See archive design.

Preview 26: Fugu-root-to-terminal bridge

When a fresh authorized local ADB shell actually returns UID 0 after the experimental source-built Fugu flow, Qwest now launches its independently source-built Unix root broker via that rooted ADB session. This does not depend on Magisk su. The source-built helper accepts only Qwest's exact app UID and private installation token, then the Terminal can use the existing-root broker mode. No boot persistence is implied.

The Quest 2 kernel exploit itself remains unverified on physical hardware; the previous owner-supplied outcome was fresh ADB UID 2000, not root. See docs/fugu-root-handoff-preview.26.md.

Preview 27: native Fugu root-stage parity correction

The experimental old Quest 2 Root Now flow runs the source-built MIT Fugu engine, not a label-only imitator. Comparison with the original Singularity 1.0.8.7 binary package identified a functional native-stage difference: Qwest's split Phase A used two separate dfpoison launches for the inject library and libandroid_servers, versus one batch in the original. The generated Fugu Rust now runs them together in one native agent process while retaining the small-stub split required by the exact 2023 OTA. The disposable Native scratch page is now synced/closed before being opened read-only for the same page-cache primitive, removing a misleading dirty-cache condition in the earlier probe. Exact input and helper hashes, app-owned IPsec scope, native Phase A/B, real adbd credential check and fresh UID0 result remain. No physical Quest confirmation of the kernel exploit is asserted. Read docs/fugu-native-parity-preview.27.md.

Preview 28 — Magisk module ZIP install, remove and boot-chain evidence

Qwest's existing-root Magisk module manager now supports Install local Magisk module ZIP using Android's document picker. It inspects the real module.prop, ZIP member paths and bounds, hashes the selected archive, then uses installed Magisk's official magisk --install-module command through verified UID-0 su, checking the resulting Magisk module directory. Selected installed modules can be marked for removal on the next Magisk boot. The original emergency disable-all and state-restore flows remain.

Root → Root from this Quest also offers Inspect bootloader / Magisk persistence (read-only) over authorized localhost ADB, reporting device, build, bootloader and verified-boot properties, A/B boot nodes and Magisk version if accessible. This checks preconditions but never flashes boot partitions or claims that transient Fugu root has become permanent. See docs/magisk-boot-preview.28.md.

Preview 29: owner-enabled Fugu boot attempt + source-based live Magisk

In Root from this Quest an owner can opt into a single exact-OTA Fugu root attempt per Android boot. The JobScheduler task reuses the existing authorized localhost Wireless Debugging TLS identity and SHA-verified offline source cache. Bounded connection retries never invoke the exploit. The actual helper only runs after exact firmware and source/ELF checks. A new ADB shell UID 0 is the only root success condition. Two successive unverified/interrupted boot attempts disable the automatic attempt until owner re-enables it.

After fresh UID0, Qwest can optionally stage a user-imported, GPL Singularity-Magisk v30.7.3 ARM64 runtime from the genuine SHA256-pinned upstream download. Source-based live activation invokes the actual Magisk CLI current-boot stages. A real magiskd PID and version query are required for its reported success. No Magisk APK or vendor root binary is bundled into Qwest. This is NOT boot-image Magisk installation or permanent root. See docs/fugu-boot-live-magisk-preview.29.md for precise implementation and hardware limits.