Pangu-Immortal/MagicWX
Android 17 local LLM prototype with Jetpack Compose and ONNX Runtime for offline AI inference experiments.
What it solves
MagicWX provides a private, fully offline environment for running AI models directly on Android devices. It eliminates the need for cloud connectivity by handling text chat and image generation locally, ensuring user data remains on the device.
How it works
The app uses a modular architecture built with Kotlin, Jetpack Compose, and Material3. It integrates multiple runtime engines—such as ONNX, MediaPipe, and MNN—to execute different AI models. Users can download verified models through a foreground service, which manages progress and ensures file integrity. For image generation, the app utilizes a dedicated native backend that processes Stable Diffusion 1.5 tasks directly on the device's CPU.
Who it’s for
This project is for Android developers and enthusiasts interested in on-device AI, local model inference, and privacy-focused application design. It serves as a research-oriented platform for testing how various language and image models perform on mobile hardware.
Highlights
- Fully offline text chat using various model architectures like RWKV and Transformer-based models.
- On-device Stable Diffusion 1.5 image generation (txt2img, img2img, and inpainting).
- Robust model management system with verified downloads, progress tracking, and persistent history.
- Modular runtime support including ONNX, LiteRT (MediaPipe), and MNN.
- Native image processing backend managed via a foreground service for stable performance.
Related
- Project
- Project
- Project
- Project
- Project