https://github.com/abhi5h3k/cellularlab
๐ฑ CellularLab โ iPerf3 Client for Android
https://github.com/abhi5h3k/cellularlab
best-iperf cellular-automaton cmakelists cpp gemini-api gemini-client iperf iperf-android iperf-android-app iperf-auto-run iperf3 iperf3-android iperf3-client jni kotlin-android kotlin-coroutines network network-analysis network-monitoring radio-frequency
Last synced: about 2 months ago
JSON representation
๐ฑ CellularLab โ iPerf3 Client for Android
- Host: GitHub
- URL: https://github.com/abhi5h3k/cellularlab
- Owner: Abhi5h3k
- License: other
- Created: 2025-06-19T17:13:03.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-08-08T12:31:46.000Z (about 2 months ago)
- Last Synced: 2025-08-08T14:34:02.415Z (about 2 months ago)
- Topics: best-iperf, cellular-automaton, cmakelists, cpp, gemini-api, gemini-client, iperf, iperf-android, iperf-android-app, iperf-auto-run, iperf3, iperf3-android, iperf3-client, jni, kotlin-android, kotlin-coroutines, network, network-analysis, network-monitoring, radio-frequency
- Language: C
- Homepage:
- Size: 998 KB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ก CellularLab โ Advanced iPerf3 Client for Android
[](https://www.linkedin.com/in/abhi5h3k/)
[](https://stackoverflow.com/users/6870223/abhi?tab=profile)๐ฑ Automated Mobile Network Testing Suite for RF Engineers, QA, and Devs
With JNI bindings to native iPerf3, it offers low-level control, intelligent test strategies, and a polished UI โ perfect for field diagnostics, automated lab tests, and performance validation on mobile.
> โญ๏ธ If you find CellularLab useful, please consider giving it a star โ it helps others discover the project and supports development!
---
## ๐ผ๏ธ UI Preview
> _A fast, native [iPerf3](https://github.com/esnet/iperf) Android client with TCP/UDP/AI log analysis support. Built with JNI + Android Studio._
## ๐ฅ Download APK
Latest signed release: [Download from GitHub Releases โ](https://github.com/Abhi5h3k/CellularLab/releases)
> โ ๏ธ Works on Android 10+ (API 29+).
> ๐ Logs are saved to your `Downloads/` folder.---
## ๐ Features & Capabilities
### โ Protocol Support
- ๐งช **TCP**
- ๐ก **UDP**
- ๐ **UDP Incremental Ramp-Up**
- ๐ **Hybrid TCP+UDP**
- ๐ค **Smart Adaptive Ramp-Up**### โ Test Directions
- ๐ค Upload
- ๐ฅ Download (`-R`)
- ๐ Bidirectional (`--bidir`)---
## ๐ง Command Mode
Take full control of your testing with **Command Mode** โ execute custom iPerf3 commands directly:
- ๐ป Enter any `iperf3` command (e.g. `-c 10.0.0.1 -u -b 10M`)
- ๐ฏ Perfect for advanced users needing custom bandwidth, interval, protocol
- ๐ Full live output visible and saved like regular tests
---
## ๐ค Gemini AI Analysis
Let your assistant do the heavy lifting!
- โจ Tap "AI Analyze" on any log from **History**
- ๐ Generates a structured **markdown report**:
- Summary of the test
- Performance issues (packet loss, jitter, etc.)
- Recommendations
- Quality rating (Excellent/Good/Fair/Poor)
- ๐ช Clean, formatted output with headlines, bolds, bullet points
- โก Powered by **Google Gemini Flash**
- ๐ Safe โ your API key is stored in `local.properties` and not committed> Great for reports, debugging, and sharing with your network team.
---
## ๐ง Smart Test Strategies
| ๐ Strategy | ๐ Description |
| -------------------------- | --------------------------------------------------------------------------------- |
| ๐ **Incremental Ramp-Up** | Gradually increases UDP bandwidth to simulate real-time scaling and detect limits |
| ๐ **Hybrid TCP+UDP** | Uses TCP to estimate capacity, then runs UDP at that level |
| ๐ง **Smart Ramp-Up** | Increases UDP load only if โฅ90% of packets succeed in previous step |These are ideal for **automated testing environments** or **dynamic network analysis**.
---
## โ๏ธ Additional Test Options
- Set custom durations (e.g., 10s, 60s)
- Configure parallel streams
- Customizable reporting interval
- Enable verbose/debug logging
- Auto-scroll control (double-tap to toggle)
- Wait between iterations---
## ๐ Output, Logs & History
- ๐ Real-time iPerf3-style logs (1s interval)
- ๐ Logs saved to `Downloads/` folder
- ๐งฒ Double-tap log view to toggle auto-scroll
- ๐ค Share logs via Mail, WhatsApp, Drive, etc.
- ๐ Clean formatting for easy analysis
- ๐ค AI analysis (v2.0) now supported for detailed summaries!---
## ๐ Public iPerf3 Servers
No iPerf server? Use these community-hosted ones:
- ๐ [iperf.fr](https://iperf.fr/iperf-servers.php)
- ๐ [R0GGER/public-iperf3-servers](https://github.com/R0GGER/public-iperf3-servers)> โ ๏ธ May be unstable or offline depending on maintenance.
---
## ๐ธ Demo Gallery
### 1. ๐ First-Time User Guide
New users get an in-app walkthrough of the key screens and controls.
---
### 2. ๐ฏ Run a Test
Just set up the parameters (IP, protocol, duration) and tap start.
---
### 3. ๐ History & Log Management
See previous results with clear pass/fail indicators:
- โ All tests passed
- โ ๏ธ Partial success
- โ Most failedYou can:
- Tap to open logs
- Share or delete from the UI
- โจ Analyze with Gemini AI
---
### 4. ๐ค AI Assistant
โจ Tap "AI Analyze" on any log from **History**
---
## ๐ ๏ธ Development Info
| Component | Details |
|------------------|--------------------------------------|
| **IDE** | Android Studio `Narwhal 2025.1.1` |
| **NDK Version** | `28.1.13356709` |
| **iPerf Version**| `3.19` (Native C via JNI) |
| **Min SDK** | API 29 |
| **Target SDK** | API 35 |
| **ABI Support** | `armeabi-v7a`, `arm64-v8a` |
| **Build Types** | Debug & Signed Release |---
## ๐ ๏ธ Updating iPerf3 Version
To upgrade to a newer iPerf3 version:
๐ See [`docs/updating-iperf.md`](docs/updating-iperf.md) for detailed steps.
---
## ๐ Articles & Guides
Want to dive deeper into how this app was built or learn how to compile iPerf3 for Android?
- ๐ [How I Accidentally Vibe-Coded an Android iPerf3 App with AI](https://iper3.hashnode.dev/how-i-accidentally-vibe-coded-an-android-iperf3-app-with-ai)
- ๐ ๏ธ [Compiling iPerf3 in Android with CMake and JNI โ A Practical Guide](https://iper3.hashnode.dev/compiling-iperf3-in-android-with-cmake-and-jni-a-practical-guide)
- ๐ [User Guide](https://android-iperf3.hashnode.space/cellular-lab/v1.0?t=1754656238992)Follow me on Hashnode for more deep dives:
๐ [@AbhishekIN on Hashnode](https://hashnode.com/@AbhishekIN)---
## ๐ LicenseThis project is open-source under a **custom MIT-style license**:
- โ Personal and non-commercial use allowed
- โ Uploading to Play Store or commercial use **requires permission**If you build on this, please give credit with a link to the original repo:
๐ [https://github.com/Abhi5h3k/CellularLab](https://github.com/Abhi5h3k/CellularLab)