<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Under the modem's hood on Gaia Lab · Blog</title><link>https://ants.inf.um.es/gaialab/blog/en/projects/bajo-el-capo-del-modem/</link><description>Recent content in Under the modem's hood on Gaia Lab · Blog</description><generator>Hugo</generator><language>en-GB</language><lastBuildDate>Sun, 29 Nov 2026 10:00:00 +0100</lastBuildDate><atom:link href="https://ants.inf.um.es/gaialab/blog/en/projects/bajo-el-capo-del-modem/index.xml" rel="self" type="application/rss+xml"/><item><title>An SDR that is already inside the phone</title><link>https://ants.inf.um.es/gaialab/blog/en/posts/un-sdr-que-ya-esta-dentro-del-movil/</link><pubDate>Sun, 29 Nov 2026 10:00:00 +0100</pubDate><guid>https://ants.inf.um.es/gaialab/blog/en/posts/un-sdr-que-ya-esta-dentro-del-movil/</guid><description>&lt;p&gt;A lab SDR is a board with a converter and a clock, and the computer provides everything else. A phone is the same, but with the computer inside: transceiver, front-end and a &lt;strong&gt;complete physical layer&lt;/strong&gt; implemented in the modem&amp;rsquo;s DSPs. The difference is that the phone is not designed for you to ask it for samples.&lt;/p&gt;</description></item><item><title>Guessing an instruction set blind</title><link>https://ants.inf.um.es/gaialab/blog/en/posts/adivinar-un-juego-de-instrucciones/</link><pubDate>Sat, 28 Nov 2026 10:00:00 +0100</pubDate><guid>https://ants.inf.um.es/gaialab/blog/en/posts/adivinar-un-juego-de-instrucciones/</guid><description>&lt;p&gt;Inside the modem, besides the main processor, there are several &lt;strong&gt;DSPs&lt;/strong&gt;. They do the heavy work of the physical layer: filtering, channel estimation, decoding. And for the largest of them there is no public instruction manual. Nor did we have a board on which to run its code.&lt;/p&gt;</description></item><item><title>Talking through the baseband: RRC and NAS injection</title><link>https://ants.inf.um.es/gaialab/blog/en/posts/hablar-por-la-baseband-inyeccion-rrc-y-nas/</link><pubDate>Fri, 27 Nov 2026 10:00:00 +0100</pubDate><guid>https://ants.inf.um.es/gaialab/blog/en/posts/hablar-por-la-baseband-inyeccion-rrc-y-nas/</guid><description>&lt;p&gt;Up to here the modem was an object of study: we looked at it. The next step was to turn it into an instrument: to make it emit messages it has not decided itself.&lt;/p&gt;&#10;&lt;h2 id="a-command-of-our-own-in-the-firmware"&gt;A command of our own in the firmware &lt;a class="hanchor" href="#a-command-of-our-own-in-the-firmware" aria-label="Enlace a esta sección"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The route was to add a custom AT command to the modem firmware. It takes a PDU in hexadecimal, hands it to the protocol stack and returns the result. Underneath there are two different paths:&lt;/p&gt;</description></item><item><title>From a 200 MB dump to a website that shows everything</title><link>https://ants.inf.um.es/gaialab/blog/en/posts/del-volcado-a-la-web-trazas-en-el-navegador/</link><pubDate>Thu, 26 Nov 2026 10:00:00 +0100</pubDate><guid>https://ants.inf.um.es/gaialab/blog/en/posts/del-volcado-a-la-web-trazas-en-el-navegador/</guid><description>&lt;p&gt;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 &lt;strong&gt;whole message&lt;/strong&gt;: the PDU exactly as it leaves and enters the modem, plus the fields we know how to interpret.&lt;/p&gt;</description></item><item><title>So they cannot find you: stopping the position request in the modem</title><link>https://ants.inf.um.es/gaialab/blog/en/posts/que-no-te-encuentren-parar-la-peticion-en-el-modem/</link><pubDate>Wed, 25 Nov 2026 10:00:00 +0100</pubDate><guid>https://ants.inf.um.es/gaialab/blog/en/posts/que-no-te-encuentren-parar-la-peticion-en-el-modem/</guid><description>&lt;p&gt;Once the request is visible, the question stops being technical and becomes one of design: what if the terminal does not want to answer? In our bench we tried it with patches to the modem firmware, always on our own phone and our own network.&lt;/p&gt;</description></item><item><title>Seeing what the modem does not tell: a debug mode in the MediaTek</title><link>https://ants.inf.um.es/gaialab/blog/en/posts/ver-lo-que-el-modem-no-cuenta/</link><pubDate>Tue, 24 Nov 2026 10:00:00 +0100</pubDate><guid>https://ants.inf.um.es/gaialab/blog/en/posts/ver-lo-que-el-modem-no-cuenta/</guid><description>&lt;p&gt;In a Linux phone, the modem is another computer. Our test bench is a &lt;a href="https://furilabs.com" target="_blank" rel="noopener"&gt;FuriPhone FLX1&lt;/a&gt;&#10;, a handset running FuriOS from Furi Labs whose modem is a MediaTek MT6877 with its own firmware and its own protocol stack. When the network sends a &lt;code&gt;RequestLocationInformation&lt;/code&gt;, the message comes in over NAS, the modem decodes it, decides the positioning method, talks to the GNSS and answers. The phone&amp;rsquo;s operating system sees none of that.&lt;/p&gt;</description></item><item><title>Where the network looks for you: SUPL, LPP and an n40 cell</title><link>https://ants.inf.um.es/gaialab/blog/en/posts/donde-te-busca-la-red-supl-lpp-y-una-celda-en-n40/</link><pubDate>Mon, 23 Nov 2026 10:00:00 +0100</pubDate><guid>https://ants.inf.um.es/gaialab/blog/en/posts/donde-te-busca-la-red-supl-lpp-y-una-celda-en-n40/</guid><description>&lt;p&gt;When we say that &amp;ldquo;the phone knows where it is&amp;rdquo;, it is worth qualifying: the phone may work it out, but the network is the one asking. And it asks over two paths that are worth keeping apart.&lt;/p&gt;&#10;&lt;h2 id="two-ways-to-ask-where-you-are"&gt;Two ways to ask where you are &lt;a class="hanchor" href="#two-ways-to-ask-where-you-are" aria-label="Enlace a esta sección"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The &lt;strong&gt;control plane&lt;/strong&gt; is called LPP (&lt;em&gt;LTE Positioning Protocol&lt;/em&gt;) and travels inside NAS signalling: the network sends a &lt;code&gt;RequestLocationInformation&lt;/code&gt; and the terminal replies with whatever it has managed to measure —a GNSS position, radio measurements or a typed error—. The &lt;strong&gt;user plane&lt;/strong&gt; is SUPL, from OMA: a protocol over IP against a location server that negotiates GNSS assistance and returns the position. Both end up in the same place, the terminal&amp;rsquo;s positioning engine, but they are deployed in different worlds: one is seen by the operator in its core, the other is data traffic like any other.&lt;/p&gt;</description></item></channel></rss>