Repository navigation
Releases
Agora v2.3.13 — PRoot Sandbox & LiteRT-LM Context Guard Fixes
What's Changed
On-Device PRoot Sandbox
- Restored
useLegacyPackaging = truesolibproot_exec.so,libproot_loader.so, andlibtalloc.soextract tonativeLibraryDir(exec-allowed context), fixingerror=13, Permission deniedonid/whoamiand shell commands. - Self-healing binary resolver in
ProotProcessRunnerthat re-extracts non-executable binaries and logs resolved path/size/exec state.
LiteRT-LM Local Inference
- Context & tool overflow guards: conservative prompt-token estimation, history trimming to the model context window, KV engine recycling before accumulated context overflows, generation serialization, and a last-resort tool capacity guard (while keeping full tools governed by Low Context Mode).
- Max output tokens: clamped LiteRT output tokens to
ModelInfo.maxContextTokens(), kept continuous sliders, and scopedmaxTokens > nCtxvalidation to GGUF models.
Verification
- Verified on Pixel 10 Pro XL (Tensor G5, 16 KB pages): PRoot sandbox execution and local
gemma-4-E4B-it-abliterated.litertlmchat both pass.
Agora v2.3.9 — On-Device Chat Generation Fix (LiteRT-LM 0.20.0)
On-Device Chat Generation Fix
- LiteRT-LM 0.20.0 runtime pairing (
litertlm-android0.19.1 -> 0.20.0):- Resolves the dispatch-ABI version skew between
litertlm-android:0.19.1(Nov 5) and thelitert/litert-gpu/litert-npu-runtime-google-tensor:2.4.1(Nov 25) libraries shipped in the APK —LiteRtDispatchQueryInterfacebindings mismatched, corrupting decode on every backend (GPU, NPU, and CPU). - 0.20.0 is Google's documented pairing for the litert 2.4.x core line; samplers are now built into the runtime (jni 22.7 MB -> 10.6 MB).
- Resolves the dispatch-ABI version skew between
- Verified on Pixel 10 Pro XL (Tensor G5) with
lfm2.5-vl-450m:- Factual short answers ("What is the capital of France?" -> "Paris.").
- Correct counting and arithmetic ("Count from one to five", "2 + 2").
- Coherent freeform generation (haiku, multi-stanza poetry).
- No functional change from v2.3.8 beyond the runtime pairing fix; embedding NPU acceleration and the pure-Kotlin Gemma tokenizer are unchanged.
APK
Agora-2.3.9.apk (versionCode 42) — signed .fdroid variant, installable on Pixel 10 / Tensor G5.
Agora v2.3.8 — Hardware-Accelerated Embeddings & LiteRT NPU Engine
Hardware-Accelerated On-Device Embeddings & LiteRT Unified Runtime
- Google Tensor NPU Acceleration for Embeddings:
- Direct execution of monolithic
.tfliteembedding models (e.g.,embeddinggemma-300M_seq1024_mixed-precision.google.tensor_g5.tflite) via LiteRT 2.4.1CompiledModelAPI. - Dynamically extracts NPU runtime libraries (
libLiteRtDispatch_GoogleTensor.so, compiler plugins, and GPU accelerators) from uncompressed APK into private storage for hardware-accelerated dispatch on Pixel 10 / Google Tensor G5. - Automatic hardware fallback hierarchy:
Google Tensor NPU->GPU->CPU.
- Direct execution of monolithic
- Pure-Kotlin Gemma SentencePiece BPE Tokenizer:
- Built-in tokenizer reading the 262k-piece Gemma SentencePiece vocabulary directly from bundled assets.
- Supports byte fallback tokens (
<0x00>..<0xFF>), special control tokens, BOS/EOS framing, and sequence padding up to 1024 tokens.
- Robust Semantic Caching & Model Resolution:
- Fixed an issue where semantic embedding caching would flash progress and drop back to 0%.
- Added resilient local model file resolution, stripping/cleaning incompatible
.litertlmcontainer wrappers automatically.
- On-Device Chat Generation Fix (LiteRT-LM 0.20.0):
- Bumped
litertlm-android0.19.1 -> 0.20.0 to pair with thelitert2.4.x core line shipped in the APK, resolving the dispatch-ABI version skew (LiteRtDispatchQueryInterface) that corrupted decode on every backend. - Verified on Pixel 10 Pro XL (Tensor G5):
lfm2.5-vl-450mnow generates coherent output (factual short answers, counting, freeform poetry). All 26 embedding caches complete on NPU in ~6.9s.
- Bumped
APK
Agora-2.3.8.apk (versionCode 41) — signed .fdroid variant, installable on Pixel 10 / Tensor G5.
Agora v2.3.6
LiteRT-LM Multimodal Backend & Diagnostic Enhancements
- Engine Configuration Fixes:
- Provided
cacheDirtoEngineConfig, resolving crashes where Tensor NPU and GPU shader compilation could not write cache artifacts. - Added support for multimodal bundles (
visionBackend,audioBackend, andmaxNumImages) with automated fallback to minimal text engine configs. - Integrated dynamic
ModelInfoinspection to bound context window requests within the model's supportedmaxContextTokens.
- Provided
- Diagnostic Logging:
- Replaced gated release debug logs with direct
android.util.Logentries across all load phases. - Returned detailed error messages and exception classes per attempted backend directly in
GenerationError.LocalModel.
- Replaced gated release debug logs with direct
- 16KB Aligned & Master Signed: Built with 16KB page alignment and signed with the Master XNet production key.
Agora v2.3.5
Dedicated LiteRT-LM Local Provider Flow
- First-Class LiteRT-LM Flow: Added full runtime engine selection (LiteRT-LM vs. Legacy GGUF) and hardware acceleration backend selection (
AUTO,GOOGLE_TENSORNPU,GPU,CPU) in Local Model configuration. - Hardware Acceleration Status: Settings > Providers > Local now displays the active LiteRT-LM hardware acceleration banner (Tensor NPU, GPU, CPU) and badges on individual model cards.
- Dual Import Actions: Distinct, clear import flows for LiteRT-LM model bundles (
.litertlm,.litert,.bin,.tflite) and legacy GGUF models. - Integrated Multimodality: Native vision/audio bundle support replaces legacy separate
mmprojfiles for LiteRT-LM. - Onboarding File Picker: Welcome screen onboarding local model import now accepts both LiteRT-LM and GGUF models.
- 16KB Aligned & Master Signed: Built with 16KB page alignment and signed with the Master XNet production release key.
Agora (XNet Fork) v2.3.4 — Sovereign LiteRT & LiteRT-LM Engine
Agora (XNet Fork) v2.3.4 — Sovereign LiteRT & LiteRT-LM Engine
This release upgrades Agora's on-device AI runtime to Google AI Edge LiteRT and LiteRT-LM, replacing legacy GGUF dependencies across RAG, semantic conversation search, the local chat provider, and speech recognition:
-
LiteRtEmbeddingEngine (On-Device Embeddings):
• Built dedicatedLiteRtEmbeddingEnginerunning on Google AI Edge LiteRT.
• Backed by Google Tensor NPU acceleration (with GPU and CPU fallbacks).
• Fully powers Document RAG indexing/search (DocumentRagEngine.kt).
• Powers Semantic Conversation Search & Caching (EmbeddingCacheWorker.ktandRagToolProvider.kt). -
LiteRtLmEngine (Local LLM Provider):
• UpgradedLocalProvider.ktto run LiteRT-LM models (.litertlm,.litert,.tflite,.bin) directly on hardware backends.
• Full streaming text deltas, thinking token channels (thought), and bidirectional native tool calling.
• Automatic conversion of Agora tool definitions into OpenAPI schemas for LiteRT tools. -
Multi-Format Model Importer:
• UpdatedLocalChatModelImports.ktto support importing LiteRT, LiteRT-LM, TFLite, and GGUF model formats without restrictive header checks. -
Whisper Tiny (LiteRT) STT Preset:
• Added Whisper Tiny (LiteRT) (whisper_tiny_30s_i8.litertlm) preset underLocalSpeechModels.
• At only 41.8 MB (INT8 quantized), it delivers compact, fast on-device multilingual speech-to-text directly via LiteRT.
Master XNet App-Signing Verification
• Signer #1 Certificate DN: CN=Joshua Doucette, OU=Executives, O=XNet Inc, L=Boise, ST=Idaho, C=US
• Certificate SHA-256: 1E:80:0F:BD:28:0F:9C:AC:DB:43:ED:F4:B3:09:01:75:8C:98:25:5D:7A:30:71:7E:2C:B0:5C:54:4A:CB:65:97
• APK SHA-256 Checksum: 6c2fb14d05bf5bdac7dd9da4d46e7a680f2d07f771dad9818d8cd57b5758649f
• Device Verified: Installed and confirmed running on emulator-5554 (Pixel 10 Pro XL).
Agora (XNet Fork) v2.3.3 — PRoot Sandbox, Document RAG & LiteRT-LM
Agora (XNet Fork) v2.3.3 — PRoot Sandbox, Document RAG & LiteRT-LM
This release addresses four major enhancements and restorations for Agora on X-NIX:
-
PRoot Binary Self-Extraction & Execution:
• ResolvesCannot run program libproot_exec.so: error=2, No such file or directorycaused by modern 16KB uncompressed APK packaging (useLegacyPackaging = false).
•ProotProcessRunnerautomatically unpacks and manageslibproot_exec.so,libproot_loader.so, andlibtalloc.sodirectly from the APK intocontext.filesDir/bin/with proper755executable permissions. -
Interactive Terminal Command Prompt & Extra Keys:
• Restored the typeable command prompt in Settings > Sandbox with live execution output and scrollback.
• Features an interactive extra keys toolbar (ESC, TAB, CTRL, ALT, ~, -, /, |, UP, DOWN).
• Includes quick utility chips for package management and diagnostics (apk update,apk add python3,apk add git,apk add curl,neofetch,htop). -
Document RAG System & PDFBox Android Extraction:
• Ported document ingestion and semantic search with isolated Room database (document_embeddings.dbin:data:databasemodule).
• Full support for TXT, MD, source code files, and PDF document extraction using Apache PDFBox Android.
• Registeredsearch_documentsandintrospecttools enabling models to search imported documents and Agora's manual/source corpora.
• Dedicated Document Management UI in Settings with complete 12-locale string support. -
Google AI Edge LiteRT & LiteRT-LM Engine:
• Integratedcom.google.ai.edge.litertlm:litertlm-android:0.19.1on-device runtime.
• Native Google Tensor NPU acceleration on Pixel devices, with GPU and CPU fallback backends.
• Full support for LiteRT-LM model execution, native tool calling, and streaming token flows.
Master XNet App-Signing Verification
• Signer #1 Certificate DN: CN=Joshua Doucette, OU=Executives, O=XNet Inc, L=Boise, ST=Idaho, C=US
• Certificate SHA-256: 1E:80:0F:BD:28:0F:9C:AC:DB:43:ED:F4:B3:09:01:75:8C:98:25:5D:7A:30:71:7E:2C:B0:5C:54:4A:CB:65:97
• APK SHA-256 Checksum: 7fa99874c63a193020cfba95e07915641a676a71efef81793a04593f287b27fd
• Compatibility: Verified with v2 and v3 signature schemes and 16KB/4KB page alignment for clean updates over existing installs.
Agora v2.3.2
Agora (XNet Fork) v2.3.2 — Upstream Synchronization & Multimodal Release
This release synchronizes our fork with upstream Agora v2.3.2, adopting the modular engine structure (core:model, core:contracts, core:presentation, data:database, provider:cloud) and upstream enhancements, while preserving all XNet sovereign capabilities:
• Upstream v2.3.2 Architecture: Modularized core engine, Room DB v48, Shizuku background virtual display, WebUI tools sheet, and ChatGPT/DeepSeek provider accounts.
• Gemini Live Realtime Multimodal Voice & Video: Direct bidirectional WebSocket streaming to Google's BidiGenerateContent endpoint with AEC, speakerphone routing, camera/screen video frames, and mid-turn agent tool execution.
• Assistant Layer 1 & Overlay: Standard AOSP VoiceInteractionService + optional floating multi-tasking overlay (SYSTEM_ALERT_WINDOW) with touch pass-through.
• On-Device Speech-to-Text: Offline neural speech recognition via pinned sherpa-onnx 2.0.3 with persistent model caching and warm preloading.
• Integrated Sovereign Tool Suite: Embedded HTTP/TLS local file server with PIN authentication, LAN network scanner (ARP/ND tables + OUI discovery), and device tools.
• 16KB Page Alignment: Uncompressed JNI packaging (useLegacyPackaging = false) for Android 15+ compatibility on modern arm64 kernels.
• Master XNet Signature: Digitally signed with the official master XNet production app-signing key (CN=Joshua Doucette, OU=Executives, O=XNet Inc, L=Boise, ST=Idaho, C=US). Compatible with existing XNet first-party app installs and X-NIX OS.
Signer #1 Certificate:
- DN:
CN=Joshua Doucette, OU=Executives, O=XNet Inc, L=Boise, ST=Idaho, C=US - Certificate SHA-256:
1E:80:0F:BD:28:0F:9C:AC:DB:43:ED:F4:B3:09:01:75:8C:98:25:5D:7A:30:71:7E:2C:B0:5C:54:4A:CB:65:97
APK SHA-256 Checksum:
e545ddfc035e0f47e5ef86f9b7884b8ec852d3c9537539230e0b37a05e667c1d
Agora v2.2.0
Agora v2.2.0 - Standalone AOSP Release
- Reverted X-NIX OS system integrations and restored standalone non-system AOSP application architecture.
- 16KB uncompressed JNI packaging and page-alignment for Android 15+.
- On-device speech-to-text (sherpa-onnx) and local embedding models.
- Layer 1 Assistant integration with standard VoiceInteractionService and SYSTEM_ALERT_WINDOW overlay.
- Signed with the official XNet release key.
Agora v2.1.0-xnet.27
XNet Agora v2.1.0-xnet.27
Live Voice
- Transcripts persist into the chat as real messages (auto, plain-text; creates a conversation if none is open).
- Agent tools + MCP exposed to the live model with tool round-trip.
- Live models fetch dynamically from the Live Voice page.
- Playback fix (no mid-session AudioTrack rebuild / underrun stutter) + half-duplex mic gating to stop speakerphone echo self-interruption.
- Live transcript bar shows only the in-progress turn (no double-render with persisted messages).
Embedding model selection (AIOPE parity)
- Remote lists all OpenAI-compatible embedding providers: OpenAI, Google (via /v1beta/openai), Mistral, Voyage AI, SiliconFlow, OpenRouter, Ollama, + Custom.
- Dynamic embedding models load (fingerprint-gated fetch); fetched model ids normalized (prefix stripped) so connections succeed.
- Local option is on-device ONNX with a download button that bootstraps the Bekko model from XNET-NGO/deps (replaces GGUF import).
Model sync
- Forced clean resync (schema v3); stop wiping availableModels for providers not currently key-configured.
Build
- Skip release lintVital, configuration cache, parallel workers; R8 daemon heap 6g.
APK sha256: 52d8889bac7ddc0f2277bc005d94697db98e727bf1313c71444c6e16ad5df409
Signed: CN=XNET, OU=Dev, O=XNET (cert SHA-256 cce51567...)