Baldur is an unlocked OnePlus 12 CPH2583, board name waffle, Qualcomm SM8650. The project was a diagnostic bring-up of mainline Linux 7.2 on that phone, not a daily-driver ROM. The first candidate was Linux 7.2.15, the final release in the 7.2 series. It compiled locally, passed offline package checks, and was packaged in the phone's Android v4 boot-image wrapper for review.
“Mainline” here means a kernel built from the 7.2 source and the board's device tree, with the phone-specific pieces kept narrow. It does not mean every phone subsystem was upstreamed or that the port is finished. The bring-up is the evidence: what booted, what did not, and which parts still depend on firmware.
The first candidate
The first image enabled the existing GENI UART console at 115200 8N1 and a tiny RAM init. USB, ADSP remoteproc, networking, block storage, and loadable modules were disabled at that milestone. The goal was one attributable line of 7.2 output, not a usable system.
The physical UART pad and signaling voltage were unknown, so that path stayed a checkpoint rather than a trial. The next stage moved to USB CDC ACM, which uses the existing USB port and a standard class driver. That removed the need for an unknown test pad and gave the bring-up a console over the cable.
What actually came up
The diagnostic image reached a read-only native ext4 root from UFS (Universal Flash Storage), discovered the partition layout, and started a BusyBox PID 1. USB CDC ACM (serial over USB) produced serial reports. USB Ethernet and authenticated SSH followed, along with a PTY. That is enough to inspect the running kernel and recover the phone without treating the display as the only interface.
The first source-first developer preview verified USB CDC ACM and USB Ethernet with SSH, a read-only UFS root, the audio and compute DSPs (ADSP and CDSP) running with inter-processor GLINK channels, a FastRPC (DSP remote-procedure-call) capability query, the WCN7850 Wi-Fi chip through the ath12k driver, battery and ADC (analog-to-digital) reads, and CPU thermal-trip recovery. A later trial moved from PHY registration to a real Wi-Fi association.
Wi-Fi came up over PCIe0 with all seven WLAN rails sequenced and DesignWare MSI. Warm and cold boots created wlan0, associated, obtained DHCP, and passed traffic to the local gateway. The session image reported the same per-boot UUID over authenticated SSH and ACM. An SSH lease renewal moved the expiry while preserving a 1,200-second hard limit. The diagnostic root stayed read-only.
The recovery cycle also worked end to end: normal VT3 (a Linux virtual console), Fastboot, a 7.2 RAM boot, and a return to VT3. That is one successful cycle after recovery, not a claim of unattended reliability.
What is still firmware-owned
The display is the clearest boundary. The graphics baseline showed Fastboot on the panel while the running 7.2 kernel was reachable over USB SSH. The panel was still owned by firmware in that image. A kernel-owned display milestone, live scanout geometry, and a persistent framebuffer handoff remain open.
Persistent boot is also not established. The diagnostic root is read-only, the boot path is a RAM image, and the USB ACM attach through the bootloader handoff was unverified at one stage. Camera, modem, and the rest of the phone stack were out of scope. This is a bring-up that can inspect UFS, network, and console; it is not a phone that can replace Android.
Why it is useful anyway
A mainline 7.2 kernel on a recent Qualcomm phone is a useful testbed. It gives a known kernel, a real UFS root, a real Wi-Fi path, and a real USB console. It also makes the remaining dependencies explicit: which rails must be sequenced, which firmware must be present, which display path is still borrowed, and which recovery step is manual.
The project is deliberately conservative. The package receipts, handoff replays, and boot artifacts are kept so a later change can be compared against a known state. The point is not to declare the port finished. The point is to make the next bring-up step testable.
Next gates
- A kernel-owned display milestone, with live scanout geometry rather than a borrowed firmware framebuffer.
- A persistent boot path, not only a RAM boot.
- Power, thermal, suspend/resume, and reconnect qualification.
- A repeatable recovery cycle with observable shutdown and a bounded session lease.
- Camera, modem, and other phone subsystems only after the core bring-up is stable.
Mainline Linux 7.2 runs on this OnePlus 12 far enough to inspect UFS, bring up Wi-Fi, and hold an SSH session over USB. That is a real milestone. It is also a narrow one: the display, persistent boot, and the rest of the phone are still ahead.