772 ·GitHub
What is this?
MLM VPN is an Android app that bundles many independent connectivity engines — Xray-core (VLESS/VMess/Trojan), AmneziaWG, WARP, Psiphon, Tor, Geph, OpenVPN and a custom MASQUE-based engine — behind one UI, plus an adaptive per-app router, a Cloudflare Worker control panel, and a game-latency booster, aimed at bypassing network restrictions.
Is this one VPN app, or a bundle of separate apps for each protocol?
It's a single Android app where every engine (Xray, AmneziaWG, WARP, Psiphon, Tor, Geph, OpenVPN, Aether) gets its own home-screen tile, plus an experimental MLM Adaptive Engine (MAE) that can route different apps through different engines automatically on one tunnel.
How do I build and run this app?
Open the project in Android Studio with the Android SDK (compileSdk 34) and a matching JDK for the Android Gradle Plugin; building produces a debug APK at app/build/outputs/apk/debug/.
Do I need anything beyond Android Studio to build this?
Yes — Git LFS. Native .so libraries under jniLibs/ and the geoip.dat/geosite.dat files are tracked with Git LFS, so you must install it and run git lfs pull after cloning or those files will just be small pointer stubs.
What's experimental or fiddly about this app?
The MLM Adaptive Engine (MAE) is explicitly marked experimental. Also, the server-less domain-fronting feature needs a locally generated TLS certificate installed, and on Android 11+ the OS no longer lets an app install its own certificate silently, so the user has to walk through Settings manually.
Where does the domain-fronting certificate go?
It's generated on-device (RSA-2048, raw DER/X.509, no third-party crypto library) and stays on that device only, used to terminate TLS locally before re-connecting to the real host under a different SNI.
What is the MLM Adaptive Engine (MAE)?
MAE is an experimental per-app router: you pick which apps/sites you use, and it learns per network which path each one actually needs — direct, serverless, WARP, or a proven foreign exit — routing everything over one Xray tunnel, with a 5-step repair ladder when something 'didn't open'.
What does the Game Booster do?
It races Cloudflare/UAE Dedicated DNS against the built-in Aether engine by real ping, and uses a lightweight DNS-only local VPN instead of a full tunnel when possible, to cut in-game latency.
What can I do from the Cloudflare Cloud panel?
Connect your own Cloudflare account and, without touching the Cloudflare dashboard, one-tap deploy self-hosted Worker backends (BPB, EDG, Nahan), auto-create subdomains, fetch nodes your own worker generates, and track usage against the 100,000-requests/day free quota.
How does server-less domain fronting bypass blocks without a server?
The app generates an on-device root certificate, terminates TLS locally against it, and re-establishes the connection to the real host (e.g. YouTube, WhatsApp, Instagram) under a different, unblocked SNI — no proxy server or Cloudflare Worker is involved at all.
What are similar projects?
v2rayNG, fanqiang, CFNext, rethink-app, edgetunnel, amnezia-client, ClashMetaForAndroid, Xray-core
Which topics is it in?
iran, openvpn, dns-server, tor, censorship, mitm, vpn-client, xray, wireguard, jetpack-compose, trojan, tunnel