BRAND CONCEPT / SHO V2Open version 1 ↗

Private & On-Device AI

Opora

A private mobile AI companion designed for life beyond the cloud.

Opora is an Android companion for situations where connectivity is unavailable or cloud AI is unacceptable. The model runs on the device, while sensitive context stays encrypted locally.

What is verified

Validated Android build. It is not presented as a public field release.

Davidʼs role

Product architecture, Flutter/Android delivery, local AI integration and validation.

01 / The problem

How can an AI companion remain useful when there is no connection and sensitive context cannot leave the device?

Constraints

  • No network dependency
  • Limited mobile memory and compute
  • Sensitive user context
  • Unpredictable Android process lifecycle
  • Time-critical safety interactions
  • Model and driver differences across devices

02 / Product approach

Run Gemma entirely on-device, protect persistent context locally and keep deterministic crisis and first-aid interfaces independent of generative inference.

03 / Key engineering decisions

The architecture follows the risk.

01

Deterministic before generative

High-risk categories route through local rules and versioned interfaces before an LLM is considered.

02

Integrity before inference

Selected GGUF models are checked by exact size and SHA-256 before loading; unknown or modified files are rejected.

03

Measured backend selection

CPU and Vulkan paths are selected from device-specific evidence, with an automatic clean CPU fallback instead of assuming GPU is faster.

04

Memory under user control

Persistent context is opt-in, inspectable and deletable, stored in authenticated encrypted containers with Android Keystore-backed key storage.

05

Recovery is product behavior

Crash-safe checkpoints and an encrypted extraction outbox recover work after force-stop or process death without relying on Android lifecycle callbacks.

05 / Validation and evidence

What was checked — and within which boundary.

  • 62 automated Flutter tests reported at the source commit
  • Clean static analysis and a signed arm64 APK reported at the source commit
  • Physical-device force-stop and relaunch validation on a POCO F5
  • Release manifest documented without INTERNET permission
  • Threat model documents bounded security goals and residual risks

Technology stack

  • Flutter
  • Android
  • Gemma 4 E2B/E4B
  • Quantized GGUF
  • Vendored Android llama.cpp fork
  • Kotlin / JNI / C++
  • CPU and Vulkan
  • AES-256-GCM
  • Android Keystore

06 / Current status and limitations

What this case does not claim.

  1. 01

    This is an advanced validation build, not a broad production rollout.

  2. 02

    Device performance observations apply only to the documented device, model and quantization.

  3. 03

    It is not a medical device and makes no clinical claim.

  4. 04

    Delimiter filtering is boundary hardening, not complete prompt-injection protection.

  5. 05

    Best-effort deletion does not claim physical erasure of flash storage.

  6. 06

    Rooted, compromised or already-unlocked devices are outside the documented primary threat model.

What this demonstrates

The capability behind the product.

On-device AI product developmentMobile LLM optimizationPrivacy-oriented architectureNative inference integrationSafety-aware product designAndroid recovery and lifecycle engineering

A useful next step

Your idea. Our next challenge.

Send the current process, the user and the main constraint. Iʼll suggest the most useful next step — discovery, architecture, a prototype or a simpler path.

Let’s talk