2026-11-27 16:21 UTC

Open reverse-engineering project adapts Frontera drone detector to low-cost SDR hardware

state: expiredheat: mediumuncertainty: mediumrelevance: mediummilitary-ai drone-detection reverse-engineering open-hardwareKonradITNPO Apogei

What is this?

Bandera is a GitHub project by KonradIT that says it reverse-engineers NPO Apogei’s Frontera Android drone detector, including its on-device spectrum-classification models, and adapts the app to open hardware backends: a LibreSDR B210 and an ESP32-C5. The project reports end-to-end detection of real drone links, including analog FPV video; these demonstrations and performance details are project claims, not independently validated in the supplied evidence.

Why it matters

Bandera makes a specialized drone-detection system more inspectable and adaptable: the project publishes the extracted on-device models and connects the detector to a low-cost ESP32-C5 SDR as well as a B210. If its reported demonstrations hold up in varied conditions, this could lower the cost and hardware barrier for experimenting with passive RF drone detection. The project itself cautions that performance is strongest with Arinst-style measurements and weaker on other radios. Its military-counter-drone context makes the work consequential, but the supplied evidence does not establish operational reliability or independent validation.

Current assessment

KonradIT’s GitHub project describes reverse-engineering NPO Apogei’s Frontera Android drone detector and publishing its LiteRT/TFLite models, a reimplementation, SDR backends, firmware, and an app patcher. According to the repository, Frontera classifies power-versus-frequency sweeps on-device rather than processing raw I/Q or requiring internet access; its model recognizes several drone-link categories alongside Wi-Fi, LTE, and GNSS classes intended to reduce false alarms. The project reports end-to-end detection of an analog 5.8 GHz FPV video link using both an ESP32-C5-based backend and a B210, and says the C5 can detect DJI Mavic 3 at 2.4 GHz. These are project-reported demonstrations, not independently corroborated results in the supplied sources. The repository also notes measurement-domain mismatch: classification is sharpest with Arinst-style sweeps and rougher on other radios, with calibration potentially helping. The ESP32-C5 implementation is presented as roughly $7 hardware, but real-world detection range, false-positive rates, robustness across environments and signals, and the model’s broader performance remain unestablished. The release is notable as an open, low-cost route to studying and adapting an existing counter-drone detector; it does not by itself show field-ready capability.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-26 15:32 (minted)⭐ origin echo-reconstructedThe repository itself is the original artifact: its README describes “Reverse engineering work of ‘Frontera’” and documents extracted on-dev
KonradIT (GitHub account; HN submitter is konraditurbe) on github (echo) · attributed from hn.story.50244343 · published time unknown
—
10-26 14:28first on hacker news · published · lag ?Reverse engineering a Russian ML driven drone detector
konraditurbe
—
10-26 14:28amplified on hacker news 👑hn.story.50244343
konraditurbe
peak 4 · 1 comments · 99% of case engagement
10-26 15:26our radar first saw it · lag ?discovery anchor: hn.story.50244343—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnReverse engineering a Russian ML driven drone detector
Retrieved article excerpt

Open article · Retrieved 2026-10-26T15:28:21.251620+00:00

# Bandera

[Bandera](https://github.com/KonradIT/bandera-sa/blob/main/images/bandera.png)

*Якщо ти справді покладаєшся на це лайно, щоб виживати щодня, — мені тебе шкода.*

Reverse engineering work of **"Frontera"**, an Android drone detector by **NPO Apogei**, as well as two open hardware backends that feed its
on-device ML: a LibreSDR **B210** and an **ESP32-C5**.

**For research, interoperability, and personal use.**

Thanks to amoswap and tt\_125!!

---

## Demo:

**Extracted models detecting a 5.8 GHz FM analog FPV video transmission**

**Modified ~~Front~~Bandera app detecting Analog FPV video using the ESP32-C5 based SDR over USB**

## Background: Frontera / NPO Apogei

**NPO Apogei** (НПО «Апогей») is a russian company that sells ["Frontera-ML": a free Android app that
turns a **cheap handheld spectrum analyzer**](https://t.me/kbrtb_uav/126) (Arinst SSA / SA6-class clones, or their own "Frontera"
unit, reaching ~10–12 GHz with an add-on downconverter Horizont-12) plus a phone into a drone detector.

> How it works: the analyzer sweeps RF and streams the spectrum over USB serial; the app runs an
> on-device neural net to flag drone video/control links and raise an alert (screen, smartwatch,
> Bluetooth audio). **No internet, no raw I/Q** — just power-vs-frequency sweeps. It never ingests SDR
> samples; it "sees" drones purely in the spectrum.

## The ML models (`models/`)

- `RY_0_1_6_s_soup8b_rowsums_w{8,10,12,16}_fp32.tflite`: Encoder that summarizes W sweeps. All four share the same weights; only the summarizing step differs per W.
- `RY_0_1_6_s_soup8b_detect_fp32.tflite`:

The detector is a small **LiteRT / TFLite** model (tag `RY_0_1_6_s_soup8b`, trained in PyTorch) in
two stages:

1. an **encoder** that summarizes W consecutive spectrum sweeps (mean / variance / max / burstiness), and
2. a **1-D detector** that outputs, per frequency, an objectness score plus **9 class scores**.

Classes: `analog, dji, autel, siyi, wifi, lte, other_signals, gnss, wfb_ng`. It alerts on the drone
ones — **analog FPV video, DJI, Autel, Siyi/Skydroid, and WFB-NG** (the open digital FPV link) — while
`lte`, `gnss`, and `wifi` act as "known, not a drone" so look-alikes don't false-alarm.

What's interesting about it:

- It works on a **3 MHz-binned, 1800 MHz-wide** power spectrum, not I/Q.
- It has **no absolute-frequency input** — it classifies by a signal's **spectral shape** and how it
  **flickers sweep-to-sweep** (a bursty TDD video link looks different from steady Wi-Fi). So a class
  can fire at any frequency.
- Everything is **floor-relative**, so absolute calibration barely matters; SNR does.

The pipeline here is a faithful re-implementation, verified against the app's own bundled "golden"
sample to `~1e-4`.

## What's in this repo

| Folder | What |
| --- | --- |
| `models/` | The extracted detector + the self-test golden file. |
| `sdr/` | Run the detector on a **PC with a LibreSDR/USRP B210**: a sweeper that emulates the analyzer, plus a **live web UI** (waterfall, detections, alarm). |
| `esp32-sdr-arinst/` | Firmware that makes a **Seeed XIAO ESP32-C5** act as the analyzer — it speaks the Arinst serial protocol natively, using the chip's hidden Wi-Fi-radio SDR mode (built on [esp-sdr](https://github.com/ESPARGOS/esp-sdr) / [widscan58](https://github.com/CapnBry/widscan58)). ~$7, self-powered, detects analog FPV at 5.8 GHz and DJI Mavic 3 at 2.4 GHz. |
| `patcher/` | Turn the stock Frontera APK into **Bandera** and publish it as a release. |

Each folder has its own README.

## Bandera App:

The patcher modifies the app to accept the **ESP32-C5** as its analyzer. A simple modification allows the app to see the ESP32 as an Arinst/Frontera SA.

The GitHub Action (`workflow_dispatch`) downloads the stock APK from a configured URL, patches it,
stamps the current `main` commit SHA as the app version, and publishes the result as a GitHub
release. Builds are debug-signed for sideloading.

## Status

- Both backends detect **real drones end to end**: the C5 flags an analog 5.8 GHz video link on the
  phone; the B210 does the same on a PC.
- Classification is sharpest on true Arinst-style sweeps; on other radios it's rougher (a
  measurement-domain mismatch) and improves with a power-calibration pass.
- Better handling of the models is needed, as well as distilation/tuning to extract per-drone values.

## Donate:

Fundraiser to help counter reactive shaheds: <https://www.sternenkofund.org/en/fundraisings/operaciya-perehoplennya>
konraditurbe41
🟧 echo.github ⭐The repository itself is the original artifact: its README describes “Reverse engineering work of ‘Frontera’” and documents extracted on-devKonradIT (GitHub account; HN submitter is konraditurbe)——

Interpretation history

Decision trace