A lightweight, native client for Delta Chat built for Android 2.3+
It pairs the real upstream Delta Chat Rust Core (chatmail/core) with a zero-dependency Java UI written purely against the classic Android SDK. No AndroidX, no bloated support libraries, and no outdated system TLS headaches - just modern encrypted email-based messaging and voice calls running smoothly on 2011-era hardware.
Official Delta Chat for Android requires Android 5.0+, ships native binaries only for ARMv7/ARM64, and pulls in modern UI/media libraries (androidx.*, Material Components, Glide, Jackson, ExoPlayer, full WebRTC). That puts it far past what an Android 2.3 phone's 5 MB Dalvik LinearAlloc buffer and ~16–24 MB per-app heap can handle.
Yet almost all of Delta Chat's real intelligence - IMAP/SMTP networking, Chatmail onboarding, encryption, invites, storage, and TLS 1.3 - lives inside a single self-contained Rust library. By compiling that Rust core for ARMv6 and wrapping it in a clean, dependency-free Android SDK interface, old devices get modern messaging without the overhead.
- Chats - replies, editing, forwarding, Saved Messages, contact requests, chat search, multi-account switching.
- Images, voice notes & files - cached image thumbnails, full-screen image preview, voice message recording/playback, file attachments, Android Share, and Delta Chat deep links (
dcaccount:,dclogin:,mailto:, etc.) - Voice calls - built-in WebRTC audio calls with an Android 2.3-style swipe-to-answer screen, mute/speakerphone controls, proximity screen-off, and missed-call notifications
- Onboarding & sync - one-tap Chatmail signup, classic IMAP/SMTP login, second-device transfer, and backup import/export
- Built-in QR scanner & invites - camera QR code scanner and native QR rendering for SecureJoin verification
- Extra - Light/Dark native themes, SOCKS5/Shadowsocks proxies, background notifications, connectivity diagnostics, and live logs
Getting a modern Rust codebase running on a 2011 Android phone takes four key pieces:
-
Custom ARMv6 Rust Target (
jni/arm-linux-androideabi.json) Stock Rust'sarm-linux-androideabitarget assumes ARMv5 (no 64-bit atomics, which dependencies likemail-builderneed), whilearmv7-linux-androideabiemits ARMv7/NEON instructions that crash withSIGILLon an ARM1136 chip. A custom target spec enables+strict-align,+v6,+vfp2with 64-bit atomics and rebuildsstdvia Cargo-Z build-stdforarm1136jf-s. -
Android 2.3
libcCompatibility Layer (jni/android23_compat.c) Modern Ruststd,tokio,mio,rusqlite,openssl-sys, andringexpect POSIX and Linux functions added in Android 4.x–7.x that are absent from Android 2.3.7'slibc.so(even one missing symbol breaksdlopen).android23_compat.cbridges those gaps using Android 2.3's API-9 sysroot, POSIX fallbacks, and kernel syscalls (for examplepipe2,posix_memalign,ftruncate64,futimens, and agetauxvalstub that tellsring/OpenSSL to stay on safe ARMv6/C paths), while also pipingstdout/stderrinto Logcat (RustStdio). -
Lightweight C WebRTC Audio Engine (
jni/dc_webrtc.c) Google's officiallibwebrtcdoesn't support API 10 or ARMv6 and weighs tens of megabytes on its own. Instead, audio calls run on a focused ~1,500-line C engine linked directly against statically compiled fixed-pointlibopusand Rust core'sOpenSSL, paired with JavaAudioRecord/AudioTrack. -
Zero-Dependency Java UI & Minimal RPC (
src/main/java/deltachat/gingerbread/) All screens use standard Android 2.3–4.4 framework widgets. The JNI layer (com.b44t.messenger.*) matchesdc_wrapper.c, and JSON-RPC calls use a lightweight ~200-line client (SimpleRpc.java) built on Android's built-inorg.jsonrather thanjackson-databind.
Open the repository in VS Code with Dev Containers or in GitHub Codespaces. .devcontainer/devcontainer.json automatically runs scripts/setup-toolchain.sh to install:
- Rust
1.91.1(withrust-srcfor-Z build-std) - Android SDK (
android-10,android-19, Build Tools25.0.3and30.0.3) - Android NDK
25.2.9519653(Clang/LLVM toolchain) + Android NDKr10eAPI-9 ARM sysroot
If you decided not to use Dev Container, make sure to clone repository with submodules!
# Step 1: Compile Rust core (ARMv6), Opus, minimal ZXing JAR, and libnative-utils.so
bash scripts/ndk-make.sh
# Step 2: Compile Java/resources and produce the aligned, V1+V2 signed APK
bash scripts/build-apk.shBy default, build-apk.sh signs with your debug keystore (~/.android/debug.keystore, generating one if needed). To sign with your own release key:
KEYSTORE=/path/to/release.keystore KEYSTORE_PASS=secret KEY_ALIAS=mykey bash scripts/build-apk.shThe finished APK is written to deltachat-gingerbread.apk.
Because AndroidManifest.xml sets android:installLocation="auto", devices with limited internal storage can move the app to an SD card under Settings → Applications → Manage applications → Delta Chat → Move to SD card.

