ESP32 + Termux + USB OTG
NRSuite turns a $3 ESP32 into a wireless research toolkit for Termux. Wi-Fi capture and injection, beacon spam, captive portal, BLE HID, BadUSB, and mass storage — no rooted phone, no custom kernel, no expensive hardware.
Capabilities
The ESP32 handles everything at the radio layer. The firmware and bridge protocol are modular — new backends register their own commands without touching the transport. Termux talks over USB CDC — no root, no kernel modules, no custom ROM.
nrsuite devices lists boards; -d picks by index or path. Auto-detects when only one is plugged in.Setup
Works on any stock Android phone with a USB OTG port. No root. No custom ROM. No kernel modules — the same setup carries forward as new radio modules ship.
pkg install python termux-api libusb and pip install pyusb../nrsuite scan.
Or use the automated installer:
curl -sSL https://raw.githubusercontent.com/7wp81x/nrsuite/main/install.sh | bash
Hardware
C3 / S3 / S2 use native USB (CDC or OTG) and appear as 303A:xxxx. Classic ESP32 devkits work via an external USB-UART bridge (CP2102/CH340/…).
Bridge Protocol
Termux and the ESP32 talk over USB CDC bulk transfer using a fixed binary frame with sliding-window flow control — fast enough for live pcap streaming.
| Type | Direction | Payload |
|---|---|---|
| CMD 0x01 | Termux → ESP32 | JSON command + args |
| RESP 0x02 | ESP32 → Termux | JSON response, matched by ID |
| EVENT 0x03 | ESP32 → Termux | Async JSON — scan results, heartbeat |
| PCAP 0x04 | ESP32 → Termux | Raw radiotap header + 802.11 frame |
| ACK 0x05 | Termux → ESP32 | Chunk acknowledgment — flow control |
Roadmap
Wi-Fi, portal, beacon spam, BLE HID, BadUSB, and mass storage have shipped. The CMD dispatcher and bridge protocol keep growing — BLE scan/spam and hardware add-ons are next.
Comparison
The no-root path is the unique capability. It turns any stock Android phone into a wireless research platform with zero setup beyond Termux and a $5 chip — one that keeps growing as new radio modules ship.
| NRSuite (no root) | NRSuite (root) | NetHunter + ext. adapter | |
|---|---|---|---|
| Root required | No | Yes | Yes |
| Custom kernel / ROM | No | No | Yes |
| Hardware cost | ~$5 | ~$5 | $150–400+ |
| Supported Android devices | Any | Any | NetHunter-supported only |
| Monitor mode | Yes | Yes | Yes |
| Packet injection | Yes | Yes | Yes |
| Live Wireshark via FIFO | Yes | Yes | Yes |
| IR / RF expansion | Planned | Planned | No |