Flatnic

Linux · Utilities

DiagNG

Client for mobile baseband Diag interfaces

by P1 Security

Download

Official site: flathub.org

About DiagNG

DiagNG is a general purpose client purpose for the diagnostic interface of Qualcomm Snapdragon basebands, present on a large part of Android phones and various USB modems.

It can be considered as a sequel for QCSuper, and also takes large inspiration from SCAT. Like these tools, it allows to capture 2G/3G/4G/5G air interface network traces and save them to the GSMTAP/PCAP format, so that you can visualize these in Wireshark.

It is an experimental, Linux-first, open-source, interoperable, brand-new way to connect to baseband USB diagnostic interfaces; whether for pedagogic or security research purposes.

It should eventually support other basebands such as Samsung Exynos processors, and why not other protocols such as AT commands.

Features:

Connect a Linux raw SPI port.

Connect a Linux raw USB interface.

A sleek GTK 4/Adwaita-based UI.

SPI and USB connections are safely connected to the Python UI through a privileged Rust daemon, using a Polkit/DBus-based interface to secure privileged actions, to ensure good integration with Flatpak.

Wireshark plug-in management and automated installation for GSMTAP v3/5G RRC decoding (taken from SCAT).

Gather phone-related information through ADB, with shortcuts to enable the QCDM USB interface easily.

Import DLF or QMDL files in order to enable interoperability with other software.

Support basic QCDM (Qualcomm diagnostic monitor) log registration.

Support basic QCDM 2G/3G/4G/5G log conversion to GSMTAP/PCAP (without advanced features such as SIB decoding, reassembly).

Flatpak packaging for good integration to the Linux desktop.

How to install DiagNG

  1. Click Download — the developer's official website opens in a new tab.
  2. Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
  3. Prefer the command line? With Flatpak you can install and update it with: flatpak install flathub com.p1security.diagng
  4. Open DiagNG once it finishes installing.
How to install Linux apps with Flatpak

Frequently asked questions

Is DiagNG free to download?

Yes. The Download button sends you to flathub.org, the developer's official site, where DiagNG is available to download. Flatnic doesn't host or modify any files.

How do I install DiagNG from the command line?

With Flatpak, run: flatpak install flathub com.p1security.diagng. This installs it from the official source and keeps it updated.

Is DiagNG safe?

DiagNG downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.

Alternatives to DiagNG

More