{"slug": "pinnacle-on-the-fairphone-4", "title": "Pinnacle on the Fairphone 4", "summary": "Pinnacle, a phone operating system written by AI agents, went from running only in QEMU on 2 December to booting on a Fairphone 4 two days later with touch, Bluetooth, Wi-Fi internet access and loudspeaker sound working. The agents operate in Midas, a software factory that gives each session a build machine, access to the phone and required checks, and several sessions ran concurrently on the single device, taking turns. The project is a test of how fast AI agents can write phone software: an agent writes a driver, tries it on the phone, reads the log and revises until the chip responds, while a person chooses what to work on and approves what lands.", "body_md": "# Pinnacle on the Fairphone 4\n\nUntil 2 December Pinnacle had only run in QEMU. Two days later it runs on a Fairphone 4, with touch, Bluetooth, Wi-Fi to the internet and sound from the loudspeaker. The phone is the test of a process in which AI agents write phone software, try it on the device and improve it, round after round.\n\n## Agents and a software factory\n\nPinnacle tests how fast phone software can be written by AI agents. Drivers for a phone's chips have taken large teams years to write. Here an agent writes a driver, tries it on the phone, reads what goes wrong and changes it, round after round, until it works. A person chooses what to work on and decides what goes in.\n\nThe agents work in Midas, a software factory built for this. It gives each session a build machine, a way onto the phone and the checks a change must pass before it goes in, and runs many sessions at once. The Fairphone 4 is the first real phone the process was tried on: in two days it went from a logo that would not go away to a phone with Wi-Fi and sound.\n\n## The phone on the table\n\nThe Fairphone lies on the dining table, on a USB cable to a Mac mini, under a webcam on a wooden stand. The AI agents that write Pinnacle work in sessions in Midas, where [Cartopolis](https://about.cartopolis.org/) is made too. The Mac mini runs Midas's bench, through which a session reaches the phone.\n\nThe webcam is for what the phone cannot say itself: a screen that stays black, a logo that does not go away, colours that come out wrong.\n\nOn the cable Pinnacle shows up as two serial ports: one with the kernel's log from its first line, one that takes commands. Through that second port a session asks for a screenshot, taps, swipes and types, and sends a new kernel, which runs fourteen seconds later. The phone does not need a hand for any of it, only when it is off.\n\n## A session\n\nThe loop is what is being built, as much as the software. Each time a try needed a hand, the next work went into taking that hand away: the log over USB, the control port, a restart straight into fastboot.\n\nA session starts with one line, typed on a phone, such as \"can you get Bluetooth working on the Fairphone?\". The agent finds how the chip is driven, writes the driver, sends it to the phone, reads the log, and tries again until the chip answers. Several sessions worked at the same time, the modem, the graphics chip and Bluetooth each in their own, and took turns on the one phone. Before a change goes into Pinnacle its tests run in QEMU; on the phone the kernel tests itself at every start. At the end a session reports what it did and what it measured, and asks whether it may land.\n\n## The first day\n\nThe first tries ended on the Fairphone logo. After a restart the phone's bootloader had switched to its second system, whose leftovers stopped every image sent to it. Switching back before each start fixed that.\n\nThen the kernel ran, and the screen stayed black. The screen reads the fourth byte of every pixel as how opaque it is, and Pinnacle left it at zero; the display also reads past the processor's caches, so what was drawn has to be written out first. After that the log appeared. Writing to memory above a certain address stopped the phone without any error, so Pinnacle now uses 522 MB of the 8 GB. On the morning of 3 December the home screen came up.\n\n## What works now\n\nIn two days the loop brought up the screen, touch, Wi-Fi, Bluetooth, sound, the battery and the modem, mostly without a hand on the phone. It still needs one for a phone that is off, and for a driver that stops the phone so hard that its USB goes too: sound did that three times before it worked.\n\n- Touch, two-finger scrolling, the power and volume buttons, and an interface drawn at the size this dense screen needs.\n- Wi-Fi joins a WPA2 network and reaches the internet. Bluetooth lists the devices around.\n- Apps play sound through the two loudspeakers.\n- The battery and charger, with the Energy app; a short press on power locks the phone and turns the screen off.\n- The graphics chip copies each frame to the screen.\n- The modem starts and finds the mobile network.\n\nThe modem, Wi-Fi, Bluetooth, the graphics chip and the sound processor run Qualcomm's closed firmware, which Pinnacle loads; the drivers around it are Pinnacle's own, in Rust.\n\n## Not yet\n\nIt starts from the computer each time and keeps nothing at the next restart. It uses 522 MB of the 8 GB. No calls, text messages or mobile data, no microphones, earpiece, cameras or GPS. To try it you need a Fairphone 4 with an unlocked bootloader (unlocking wipes it); the steps are in `docs/hardware.md` in [Pinnacle's source](https://code.garage44.eu/jeroen/pinnacle).", "url": "https://wpnews.pro/news/pinnacle-on-the-fairphone-4", "canonical_source": "https://pinnacle-os.eu/blog/fairphone-4/", "published_at": "2026-12-04 09:09:16+00:00", "updated_at": "2026-12-04 09:15:58.997569+00:00", "lang": "en", "topics": ["ai-agents", "artificial-intelligence", "ai-tools", "developer-tools"], "entities": ["Pinnacle", "Fairphone 4", "Midas", "Cartopolis", "QEMU"], "also_reported_by": [], "takeaway": "Agents closed the loop by exposing the kernel log and a command port over USB, so a session could request screenshots, taps and swipes and push a new kernel that ran 14 seconds later, removing the need for a hand on the device.", "recommendation": {"advice": "Give each agent session a build machine, a control channel to the target device and automated checks, then let it iterate on real hardware logs; Pinnacle brought up screen, touch, Wi-Fi, Bluetooth and sound in two days this way.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/pinnacle-on-the-fairphone-4", "markdown": "https://wpnews.pro/news/pinnacle-on-the-fairphone-4.md", "text": "https://wpnews.pro/news/pinnacle-on-the-fairphone-4.txt", "jsonld": "https://wpnews.pro/news/pinnacle-on-the-fairphone-4.jsonld"}}