Developed by @muneebwanee
DoomsdayMesh is the ultimate decentralized, offline survival communication and financial tool. Engineered for environments where cellular infrastructure, internet, and power grids have entirely collapsed.
It routes military-grade encrypted packets from device to device using Bluetooth Low Energy, Wi-Fi Direct, Acoustic Sound Waves, and 20km LoRa Radio hardware bridges.
- Hardware-Backed Encryption (TEE): AES-256-GCM keys are mathematically bound to the Android Trusted Execution Environment using Google Tink. Keys cannot be extracted.
- Geo-Fenced Decryption: Messages can be locked to exact GPS coordinates. They cannot be decrypted unless the receiver is physically standing at the safehouse.
- SQLCipher Database: All local messages are stored in an AES-256 encrypted SQLite database.
- Panic PIN & Nuclear Wipe: Entering a duress PIN instantly shreds the database, burns the cryptographic keys, and drops the user into a Fake Decoy OS populated by AI bots.
- Biometric Enforcement: Mandates Fingerprint/FaceID to access the encrypted mesh.
- Anti-Screenshot Environment: OS-level
FLAG_SECUREblocks all screen recording and screenshots.
- P2P Cluster Mesh: Uses Google Nearby Connections to invisibly hop packets across crowds of smartphones (300ft range per hop).
- LoRa Radio Bridge: Connect a cheap SX1278 LoRa antenna via USB-C OTG to blast encrypted packets up to 20 Kilometers away.
- Acoustic Data Modem: If radios are actively jammed, the app falls back to transmitting binary data via inaudible ultrasonic sound waves.
- Local Web Portal: Hosts an onboard NanoHTTPD web server. Anyone can connect to your phone's Wi-Fi hotspot to view the emergency bulletin board via their browser.
- USSD QR Payments: Scan offline QR codes to instantly trigger secure SIM-based financial transactions directly over cellular voice networks (e.g., *99#), completely bypassing the internet.
- UI Engine: Jetpack Compose (Material 3, iOS-inspired minimalist theme)
- Local Database: Room + SQLCipher
- Networking: Nearby Connections, NanoHTTPD, Hoho USB Serial
- Cryptography: Google Tink API
- Background Tasks: Kotlin Coroutines & Android Foreground Services
Note: Emulators do not possess the hardware radios (Bluetooth/Wi-Fi Direct) required to form the mesh. You must build to a minimum of TWO physical Android devices.
-
Clone the repository:
git clone https://github.com/muneebwanee/DoomsdayMesh.git
-
Open the project in Android Studio Koala (or newer).
-
Connect two physical Android devices (Android 10+ recommended).
-
Click Run (Shift + F10).
-
Grant the Biometric, Location, Camera, Phone, and Nearby Devices permissions on both devices.
-
The mesh will automatically form within 5-10 seconds.
This software contains experimental mesh-routing cryptography. While it uses industry-standard encryption primitives, the routing topology is designed for extreme offline scenarios. Use responsibly.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.