r/coolgithubprojects • u/boringwriter2 • 1h ago
Made a fully offline Android LLM chat app (no internet permission, Vulkan + KleidiAI) — looking for feedback on other phones
galleryBeen messing around with llama.cpp on Android for a while and ended up building my own offline chat app called LittleBit Chat.
Repo + APK (v1.1.0):
https://github.com/aj5649169-svg/littlebit-chat/releases/latest
I mostly wanted something lightweight (~16 MB) with zero INTERNET permission in the manifest and Android cloud backup disabled so chats actually stay on the phone. It uses Vulkan GPU offload by default (with Arm KleidiAI CPU fallback) and has a quick benchmark button in settings so you can compare Vulkan vs CPU on your own chip.
On my Realme P3 Ultra (12GB RAM) running Qwen3-8B Q4_K_M, I'm getting around 5.5 t/s on Vulkan vs ~2.7 t/s on CPU. It also has a toggle for Qwen's think/fast mode, collapsible thought blocks, AMOLED pure black theme, basic markdown/code copy, and a small offline /calc tool.
A couple things that are still rough:
- Importing a local .gguf from Downloads currently copies the file into app storage instead of reading it in place (annoying for 5GB models, planning to switch to zero-copy SAF in the next update).
- Mobile Vulkan drivers are hit or miss. Older/weaker Mali GPUs might actually be faster with Vulkan turned off, so definitely test both in the benchmark.
I've only been able to test this on my own phone so far. If anyone tries it on Snapdragon, Exynos, Tensor, or MediaTek, let me know if it crashes or what t/s you're getting.
