· 3 min read · Gaia Lab
From a 200 MB dump to a website that shows everything
We extended the debug mode to dump whole messages and built a viewer that runs entirely in the browser: map, timeline, ASN.1 and hex.
The first debug mode showed trace identifiers and names. Enough to know that something was happening, not enough to understand it. The second step was to dump the whole message: the PDU exactly as it leaves and enters the modem, plus the fields we know how to interpret.
The problem stops being capture #
When the dump carries whole messages, the problem moves elsewhere: a one-minute capture is hundreds of thousands of records and tens of megabytes. Opening them in an editor is not an option, and looking at them in a terminal is worse: the relationship between what happens over time and what the message says is lost.
A viewer without a server #
The solution was a static web application: it opens in the browser, you load the file into it and all the work happens in the tab. No backend, no CDN, nothing uploaded anywhere; the capture does not leave the laptop.
The interface has four areas that move together:
- Map with the trace and the accuracy circle.
- Timeline in WebGL with cell, PCI and TAC lanes, and event markers.
- Radio series: RSRP, SNR, speed and accuracy, with GPS gaps marked in red.
- Event detail: ASN.1 tree with names and values, hex dump and normalised fields.

With play, pause and speed you can replay a capture as if it were a video, and watch the radio and the protocol at the same time.

What it cost #
Two things above all. The first was performance: the Python dump took 21 seconds on a large capture; rewriting the hot part in Rust brought it down to 796 milliseconds, about 26 times less, with static binaries of some 400 KB that run on the phone itself. The second was the format: the modem’s records are packed and not always aligned, so validation is done by signature, not by length; a naive scan invents thousands of false records.
The result is that today you can go from “there is something odd in the log” to “this is the message, these are its fields and this is the cell” without leaving the browser.
Both tools in this chapter are on GitHub, with no published code yet: furimodem-debug , the modem’s debug mode, and mtk-debug-log-visor , the capture viewer.
Next instalment: talking through the baseband.
Glossary #
- RSRP (Reference Signal Received Power): the received power of the reference signals; the coverage measure the terminal uses.
- SNR (Signal-to-Noise Ratio): the ratio between signal and noise.
- PCI and TAC : the physical cell identity and the tracking area code.
- ASN.1 : the notation in which 3GPP defines its messages; hence the field tree.
- WebGL : the browser’s 3D drawing API; here, to paint the timeline.