Skip to content

Abhi5h3k/CellularLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

39 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“‘ CellularLab – Advanced iPerf3 Client for Android

Abhishek LinkedIn Abhishek StackOverflow

πŸ“± Automated Mobile Network Testing Suite for RF Engineers, QA, and Devs

CellularLab

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

Options

A fast, native iPerf3 Android client with TCP/UDP/AI log analysis support. Built with JNI + Android Studio.

πŸ“₯ Download APK

Latest signed release: Download from GitHub 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

Test Direction
  • πŸ“€ 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
Command Mode

πŸ€– 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.

Gemini AI

🧠 Smart Test Strategies

Strategy
πŸš€ 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

Output
  • πŸ“‰ 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:

⚠️ 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.

Intro Guide

2. 🎯 Run a Test

Just set up the parameters (IP, protocol, duration) and tap start.

Run Test

3. πŸ“Š History & Log Management

See previous results with clear pass/fail indicators:

  • βœ… All tests passed
  • ⚠️ Partial success
  • ❌ Most failed

You can:

  • Tap to open logs
  • Share or delete from the UI
  • ✨ Analyze with Gemini AI
Result History

4. πŸ€– AI Assistant

✨ Tap "AI Analyze" on any log from History

NEW AI

πŸ› οΈ 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 for detailed steps.


πŸ“š Articles & Guides

Want to dive deeper into how this app was built or learn how to compile iPerf3 for Android?

Follow me on Hashnode for more deep dives:
🌐 @AbhishekIN on Hashnode


πŸ“œ License

This 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