Rusty Kiosk is a small public Meta Quest launcher example built with Meta Spatial SDK. It renders one native Android panel over system passthrough, browses launchable apps installed on the headset, assigns searchable tags, and offers normal or soft-kiosk launch.
New-user setup and behavior are explained on the Rusty Kiosk onboarding site. Friends testing the co-installable pre-release should instead follow the Labs tester setup, which binds the exact Meta Alpha, guided Windows installer, and Kiosk Labs release.
The project is intentionally not a Home replacement or managed-device kiosk. The separate Quest shell recenter developer utility consumes the pinned reusable Quest adapter through an explicitly privileged host path. It is outside the Kiosk APKs and Launcher Lite's Store behavior. User controls now offers an explicit Visibility menu closing option alongside the default Accessibility recovery. It uses the exact shared Quest observer and keeps Kiosk's target, escape and fixed-broadcast policy in the app. It requires compatible Horizon linkage and the live Accessibility service; unavailable or unresolved state blocks a new guard without fallback. Normal launch, mode change and explicit exit disarm it. See Visibility mode.
The optional Shell menu closing mode uses an explicitly bootstrapped Android shell companion, the pinned shared Quest factory and one fixed Navigator operation. Ordinary APK permissions cannot provide its authority. Unresolved originals block new guards across modes. See Shell mode.
Its optional Accessibility service is a foreground watchdog:
- Normal launch disarms the watchdog and opens the selected app.
- Kiosk launch starts a fresh task and arms the watchdog for the selected explicit activity. Watchdog recovery resumes that fresh kiosk session. A target-scoped five-second handoff window prevents a trailing launcher window event from immediately disarming that new target.
- The first two distinct Meta Home invocations restore the selected app.
- The third Home invocation within five seconds disarms the watchdog and returns to Rusty Kiosk.
- The watchdog is inactive in Rusty Kiosk, so Home then opens Meta Home normally.
For reusable Quest utility composition, see the example catalogue and the utility distribution guide. The examples have separate builds and package identities.
- one Spatial SDK native Android panel;
- Spatial SDK-owned system passthrough with no room model or skybox, natural color by default, and an optional contour-revealing color LUT;
- launchable-app discovery for ordinary Android, 2D, Leanback, and Quest VR front doors;
- separator-tolerant multi-term and quoted-phrase installed-app search across labels, packages, and tags;
- tag filtering;
- search text, active tag filter, and selected visible app retained across fresh Kiosk returns until the wearer changes or clears them;
- tag editing from the panel;
- an explicit per-app Any / Wi-Fi on / Wi-Fi off launch requirement, checked before both Normal and Kiosk launch without changing Wi-Fi;
- bounded, read-only app-provided launch options that bind the selected package, exclusive UID, signer, provider, and existing public front door before passing one opaque option ID under one fixed extra key;
- hot reload of an externally editable JSON tag file;
- unresolved name-only entries shown as Not installed;
- normal and soft-kiosk launch actions;
- package/window-only Accessibility monitoring with UI retrieval disabled;
- an optional authenticated protocol-v2 foreground-loss advisory from the currently armed target, with Accessibility retained as the fallback and sole Home/Triple-Home authority;
- an always-visible status strip for passthrough, the direct link, and Accessibility;
- an explicit, reversible user-control center backed by a dedicated fixed-operation setup helper;
- native Android text inputs using an explicit Quest keyboard path;
- a typed, ADB-shell-protected debug CLI for stable wearer-equivalent testing.
- a release-safe,
DUMP-protected typed host adapter for optional desktop management through QuestIonAble File Manager. - short-lived Direct Link session bootstrap for an already authorized, exact-serial USB host, without exporting the on-headset pairing code;
- an explicitly wearer-enabled local PC link for the same typed commands, tag file, bounded app-owned staging, and Android-confirmed APK sessions without routine ADB.
Requirements:
- Android Studio / Android SDK 34;
- JDK 17;
- a Meta Quest device on a compatible Horizon OS version;
- Meta Spatial SDK dependencies available through the configured Maven repositories.
.\gradlew.bat testDebugUnitTest lintDebug :app:assembleDebug :setup-helper:assembleDebugThe main debug APK is generated under app/build/outputs/apk/debug/; the
non-launchable setup helper is generated under
setup-helper/build/outputs/apk/debug/. Both remain ignored by Git and must be
signed with the same key.
The separate Rusty Kiosk Launcher is a conventional native 2D Android app. It contains no Spatial SDK dependency and declares no Android permissions:
.\gradlew.bat :launcher:testDebugUnitTest :launcher:lintDebug :launcher:assembleDebugLaunching it immediately opens Rusty Kiosk when the expected package, provenance-bound public release signer, and normal front door are present. Otherwise it shows the official installation guide and GitHub release locations. One source implementation produces two closed release identities: separate stable Store and Labs Store packages plus a distinct Quest Private App package for Meta for Business. Rusty Kiosk remains a separately installed APK. See Rusty Kiosk Launcher.
Tagged public releases build and verify a same-signer release pair, then attach
the two APKs, their hashes/source manifest, the AGPL license, and source pointer
using the stable filenames consumed by QuestIonAble File Manager. Release signing
material stays in GitHub Actions secrets and is never committed. Release assets
are versioned and are never overwritten; publish a new version for any change.
The opt-in Labs product channel initially uses exact vX.Y.Z-alpha.N tags, GitHub
prereleases, and those same immutable asset names inside the exact tag. Labs
contains the complete current product rather than a reduced feature build.
It uses distinct Kiosk, setup-helper, provider-authority, permission, and Store
launcher identities, so stable and Labs can be installed together. Removing
Labs follows uninstall-labs-without-changing-stable; it never requires a
stable downgrade or replacement.
Release version codes make that exit route explicit:
major*1,000,000 + minor*10,000 + patch*100 + alphaN, with alpha ordinals
limited to 1 through 98 and suffix 99 reserved for the later stable release.
Historical stable builds keep their historical codes. The release manifest
binds product channel, maturity, distribution track, exact tag, source commit/tree, signer, APK package/version
identity, and asset hashes. The local release-pipeline test uses a temporary
fixture signer and is not production-signing evidence.
Every Labs release also carries rusty-kiosk-labs-owner-release.json, a
Kiosk-owned closed-shape contract for strict live-readback consumers. It names
rusty-kiosk.apk directly as the complete-product primary artifact and binds
its lowercase SHA-256 and byte count to the exact repository, product, Labs
tag/version, source commit/tree, and installation package. It also hash-binds
the exact bundle-manifest.json bytes and directly records the co-installable package,
signer, version name/code, and isolated uninstall exit policy. The bundle manifest
remains multi-file bundle evidence; its array order is never primary-artifact
authority.
The reviewed release/kiosk-release-signer-policy.v1.json file is the
production signer authority for both channels; a release candidate cannot
authorize its own signer.
The recommended installation route remains
QuestIonAble File Manager,
while advanced operators can inspect the standalone bundle on
GitHub Releases.
The published stable bundle is 0.6.5. The latest co-installable Labs prerelease
is 0.6.6-alpha.10. The Labs tester guide pins the
guided QFM installer to the 0.6.6-alpha.9 bundle it includes. Version 0.6.4
is the watchdog-recovery reliability release and 0.6.3 is the first published bundle.
The earlier v0.6.0, v0.6.1, and v0.6.2 tags are retained as
pre-publication workflow-failure checkpoints and have no release assets.
Manual release dispatch is intentionally an exact-tag recovery path. Invoke it
with gh workflow run <workflow> --ref <tag> -f version=<version>; dispatching
from the default branch fails closed.
Debug builds include a bounded CLI entrypoint for repeatable headset tests without display-coordinate touch injection. It invokes the same catalogue, tag, launch, and user-control handlers as the panel and returns a structured JSON state receipt.
pwsh -NoProfile -ExecutionPolicy Bypass `
-File .\tools\Invoke-RustyKioskCli.ps1 `
-Serial <quest-serial> `
-Command set-search `
-Value browserThe component is present only in debug builds and requires the sender-held
Android DUMP permission, which allows ADB shell while excluding ordinary
headset applications. It is an allowlisted app-control protocol, not a raw
shell, generic intent bridge, controller emulator, or protected-prompt bypass.
An additional debug-only guard CLI applies exactly one logical watchdog Home
transition per command, so the two-recovery/third-return state machine can be
tested deterministically without touch or key injection. Android HOME activity
and physical Meta-button runs remain separate integration witnesses.
See Typed debug CLI.
An app that embeds the engine-neutral foreground-signal-client module may
advise Rusty Kiosk after an app-owned lifecycle or engine integration confirms
application-level foreground loss. A raw Activity top-resumed callback is
deliberately insufficient because it also fires during same-package Activity
handoffs. The client defaults to the stable provider; Labs integrations build
the same source with -PrustyKioskProductChannel=labs, which selects the fixed
Labs provider authority without allowing an arbitrary endpoint. Kiosk accepts
the signal only while that exact package is armed and
its exclusive Binder UID, protocol metadata, complete signing-certificate
lineage, and installation identity still match the launch-time observation.
The advisory can request the same bounded recovery episode as Accessibility. It never proves that Home was pressed, never advances Triple-Home, and never disables Accessibility. Targets without the module behave exactly as before. See Foreground signal.
Rusty Kiosk includes the same three-tier panel workflow used for precise Spatial SDK iteration:
- an interactive browser projection for fast design work;
- a source-bound native Android design render for typography, clipping, and alignment checks;
- the Quest APK as final authority for compositor output, apparent size, pointer input, keyboard behavior, and spatial placement.
Start the synthetic browser designer:
pwsh -NoProfile -File .\tools\Start-RustyKioskPanelBrowserPreview.ps1Then open
http://127.0.0.1:8767/tools/rusty-kiosk-panel-browser-preview/. It supports
search, tag filters, tag editing, installed and missing-app states, guard setup,
launch simulations, deterministic state import/export, and clean capture URLs
for onboarding visuals.
Generate native design renders from the source-bound RustyKioskPanel projection:
pwsh -NoProfile -File .\tools\Export-RustyKioskNativePanelPreview.ps1Refresh the browser designer and choose Native Android or the aligned
comparison view. Generated PNGs and their source-binding manifest stay under
ignored artifacts/ paths. See Panel preview workflow.
Wi-Fi ADB, Accessibility, the direct PC link, and local APK installation are
independent opt-ins. Rusty Kiosk does not enable any of them automatically.
The main APK never holds WRITE_SECURE_SETTINGS, and neither APK contains a
shell, terminal UI, raw command surface, or arbitrary intent/path bridge. The
setup helper opens no network connection.
For a new headset, enable developer USB debugging outside Rusty Kiosk, connect USB-C, then install and provision both APKs in one serial-scoped step:
pwsh -NoProfile -ExecutionPolicy Bypass `
-File .\tools\Provision-RustyKiosk.ps1 `
-Serial <quest-serial>Use -ProductChannel labs for the co-installable Labs pair. The developer
provisioning step also authorizes Android's restricted-settings gate for that
exact Kiosk package, but it still does not enable Accessibility. If a Kiosk APK
was installed by the on-device Package Installer instead, Android may require
the wearer to open the app-details menu and choose Allow restricted settings
before enabling its Accessibility service.
The script grants WRITE_SECURE_SETTINGS only to the dedicated, same-signer
setup helper. It launches Rusty Kiosk but enables neither Wi-Fi ADB nor
Accessibility.
Open User controls in the panel to:
- verify that the dedicated setup helper is provisioned;
- request Wi-Fi ADB and respond to Meta's visible system prompt;
- opt in or out of requesting Wi-Fi ADB again after restart;
- enable or disable only Rusty Kiosk's Accessibility service;
- enable or disable the authenticated direct PC link and rotate its pairing code;
- open Android's visible per-app permission for local APK installation;
- disable Wi-Fi ADB again;
- exit directly to Meta Home.
The Accessibility service can disable itself even when the setup helper is unavailable. Once the helper has been provisioned, Rusty Kiosk can request Wi-Fi ADB again later even when the previous transport is off. Horizon OS still owns the approval UI; the app and CLI cannot approve it.
See Transparent user controls for setup, status, reboot recovery, privacy, and complete revocation instructions.
After the one-time installation/provisioning step, routine Kiosk commands,
tags, bounded file staging, and wearer-confirmed APK installation can use the
local direct link instead of USB or Wi-Fi ADB. Enable it in User controls,
then enter the displayed http:// address and pairing code in Meta Quest File
Manager. The pairing code is generated on-headset, masked by default behind an
explicit local Show / Hide control, and can be rotated locally.
QuestIonAble File Manager uses its PC ADB installer as the default APK route once that PC is authorized. It supports unattended and batch installation without an in-headset decision for every package. The direct local installer is an attended fallback: allowing Rusty Kiosk as an install source is a one-time grant, but Android can still request one confirmation for each app installation session. A base APK and its splits are combined into one session.
The direct protocol accepts only fixed endpoints. Requests expire, replay IDs
are retained, request bodies are SHA-256 checked, and requests and responses
are HMAC-SHA-256 signed on the existing /v1 command/file/install routes.
Those HTTP bodies remain unencrypted; use a trusted local network or the PC's
private hotspot. Separately, the wearer can enable Share catalogue summary
for the encrypted /v2 catalogue protocol. It shares labels, tags and opaque app
identities; detail and catalogue launch remain unavailable. USB bootstrap and
direct-link enablement never grant catalogue consent. See
Direct operator link.
An already authorized USB ADB shell may ask the fixed provider-v4 adapter to
enable the listener and issue one 32-byte, five-minute session credential bound
to the current app channel and bridge generation. The desktop wrapper owns the
exact serial and must consume raw provider output only in a redacted, in-memory
child-process parser. Rusty Kiosk never claims to know the host serial, never
returns the persistent pairing code, and exposes separate status and
generation-bound cleanup calls. Cleanup authority is a separate bounded,
non-secret record, so a long attended operation can still turn off a link that
bootstrap enabled after the network secret expires. A DUMP-only recovery call
using the original operation ID can re-dispatch STOP after a lost response
without returning either credential. Direct install requests commit each
staged APK's exact name, byte count, and SHA-256, which are verified from the
same opened handle copied into PackageInstaller. Bootstrap operation IDs remain
one-time in a fixed non-evicting bootstrap-issuance-epoch ledger; saturation or malformed
state fails closed instead of making old IDs reusable. If Android cannot confirm
cleanup of a failed installer session, its receipt stays cleanup-required and
incomplete until the same install body retries cleanup with a fresh authenticated
transport request ID. That retry must match the stored ordered APK commitments and
canonical digest exactly. Existing malformed receipt or replay-ledger state is
damage, never absence, and cannot admit another session.
Rusty Kiosk creates this file on first launch:
/sdcard/Android/data/io.github.mesmerprism.rustykiosk/files/tags/app-tags.v1.json
Edit or replace it while the app is running; a directory observer reloads it. The panel also has a manual reload action. Entries may identify an app only by its displayed name. Missing entries remain searchable and filterable.
See Tag file for the schema and matching rules.
- Installed-app inventory is sensitive data. This example declares
QUERY_ALL_PACKAGESbecause browsing installed apps is its primary purpose. Review current Meta distribution and privacy requirements before publishing a binary. - The watchdog is not lock task, device owner, or managed Shared Mode. Meta Home can appear briefly, and the service can be disabled or force-stopped.
- Home detection relies on observed Horizon package/activity signals and must be revalidated after Horizon updates.
- The optional setup-helper/Wi-Fi ADB path is an attended developer-headset feature, not a consumer permission flow, device-management plane, or unattended boot bypass. Horizon may require visible Meta approval after any request, including the opt-in restart request.
- Some installed packages do not expose a public launchable activity and therefore cannot appear as launch targets.
- Local PackageInstaller sessions cannot silently approve themselves. Android and Horizon own the per-app installer permission and the install/cancel UI.
- Direct file operations are intentionally confined to Rusty Kiosk's app-owned staging area. General shell-visible filesystem browsing remains an optional ADB function in QuestIonAble File Manager.
- The separate launcher knows only Rusty Kiosk's exact package and the signer from its checked-in public release manifest. It cannot install, update, configure, inspect, or manage the target and deliberately refuses debug-signed, multi-signed, or otherwise mismatched builds.
AGPL-3.0-or-later. See LICENSE.
Meta Spatial SDK and other dependencies retain their own licenses and terms.
See THIRD_PARTY_NOTICES.md.
Rusty Launcher Lite
is published at version 0.2.0 (public listing checked 2026-10-05). The
launcher-lite module
preserves its existing package, signer and local preferences. The current
0.3.0 / version-code 3 hybrid candidate adds a window and an immersive
Spatial SDK host sharing the same catalogue panel, search and launch handlers.
It is an unpublished update candidate, not evidence of a Store release or
headset-qualified hybrid behavior. It retains standalone operation and does
not acquire the full Kiosk helper, Accessibility, direct-link or installer.
See Launcher Lite for boundaries and update validation.