Skip to content

docs: expand README install section (direct + adb) - #73

Merged
nmrenyi merged 2 commits into
mainfrom
docs/install-instructions
Jun 29, 2026
Merged

docs: expand README install section (direct + adb)#73
nmrenyi merged 2 commits into
mainfrom
docs/install-instructions

Conversation

@nmrenyi

@nmrenyi nmrenyi commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Adds clear two-method install instructions before the v0.4.0 release: (1) download the signed APK from Releases on the phone, (2) adb install sideload from a computer — plus first-launch download/requirements notes.

nmrenyi and others added 2 commits June 29, 2026 09:07
Adds clear end-user install instructions ahead of the v0.4.0 release:
- Method 1: download the APK from GitHub Releases on the phone + allow
  install-from-unknown-sources.
- Method 2: sideload via adb install from a computer.
Plus first-launch download note (~4.5 GB, Wi-Fi, then fully offline; pinned
checksums) and device/storage requirements.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…all methods

The README now documents two install methods, and the sideload path is genuinely
download-free (device-tested end-to-end on a clean-slate phone).

push_to_device.sh:
- --all-models: also push the Gemma LLM (filename read from app_config.json), not
  just the embedder — the full asset set.
- Write a `.verified` checksum marker for every pushed model (LLM, embedder,
  tokenizer), which the app's downloadsDone now requires; without them the app
  re-downloads even when files are present. Marker = the app's pinned SHA-256,
  written only after the staged file's hash is confirmed to match (fails loudly
  otherwise).
- --apk <path>: install the app as part of the same provisioning run.
- Result: `push_to_device.sh --all-models --apk <apk>` installs the app and pushes
  every asset so the phone opens ready with ZERO on-device downloads.

sync_models.sh:
- Fix `${auth[@]}` "unbound variable" crash under `set -u` on macOS bash 3.2 when
  no HF_TOKEN is set (the common case) — staging was broken.

README:
- Method 1 (online): install APK, ~4.5 GB first-launch download.
- Method 2 (fully offline): stage once on a computer, push app + all assets over
  USB; no phone internet. One certain command path each.

Verified on device (clean uninstall + wipe → stage → push → launch): app opens
straight to chat, EmbeddingGemma retrieves 3 guidelines, Gemma 4 answers — offline.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@nmrenyi
nmrenyi merged commit a70b0dd into main Jun 29, 2026
2 checks passed
@nmrenyi
nmrenyi deleted the docs/install-instructions branch June 29, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant