Files
Abdurrahman Kaan DikeçandClaude Opus 5.5 0aa83038ce Retire kernel 7.2: releases ship 5.4, 6.18 and 7.3; devices on 7.2 move to 7.3
kernel.org ended the 7.2 series with 7.2.15. Releases no longer build or carry
mu300-kernel-7.2.tar.gz or the -k7.2 Magisk zips (release and mainline
workflows, make-release, make-magisk-zips), patches/7.2 is gone (7.3 has its
own 0028) and parity/mainline.list drops the 7.2 series.

Migration: mu300-update takes a 7.2 choice for 7.3 (never the 5.4 an unknown
choice means), says so in apply/boot/check/kernel, installs 7.3 through the
usual boot update (image before kept for rollback-boot, one-boot fallback
unchanged) and writes 7.3 down once an image of 7.3 is in place.
"mu300-update kernel 7.2" refuses and names 7.3. rollback-boot to a 7.2 image
still works and says the next update brings 7.3. Zips and directories of older
releases with 7.2 are still read. install.sh, install.ps1, the GUI, the web
installer and the Ubuntu panel take an answer or a choice of 7.2 as 7.3 with
a note; the kernel menu is 1) 5.4, 2) 6.18, 3) 7.3, and 4 still means 7.3.
mu300-api and the LuCI adapter no longer accept 7.2. Docs, wiki and site
(en/tr/zh) list three kernels and describe the retirement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-11-02 02:25:17 +03:00

6.9 KiB

Running other distributions

The boot path does not care which distribution it starts. The initramfs mounts the Linux filesystem (ext4 on an SD card labelled mu300sd, else the one in the free eMMC area), reads /.mu300/boot-os, and switch_roots into the directory named there. So a system is just a directory with a root filesystem in it, and mu300-os <name> picks the one to boot next.

What a distribution has to bring:

  • arm64 (aarch64) userspace.
  • It must work on the kernel you run. With ZTE's vendor 5.4 this is the limit in practice: the newest userspaces have started to depend on newer kernels. Ubuntu 26.04's tar resolves every path with openat2 (Linux 5.6) and fails on 5.4, which is why Ubuntu 26.04 is offered only with the mainline kernels (6.18, 7.3).
  • Nothing else. Drivers, firmware and the Android vendor chroot come from this repository's overlay, which is copied into every image.

Ready to build here

Distribution Build Notes
Ubuntu 24.04 LTS rootfs/ (default) the tested default, systemd 255
Ubuntu 26.04 LTS docker build --build-arg BASE=ubuntu:26.04 -t mu300-ubuntu:26.04 rootfs/ then rootfs/assemble.sh released; needs kernel 6.18 or 7.3
OpenWrt 25.12 openwrt/build-rootfs.sh router use, LuCI, ~140 MiB RAM
OpenWrt 25.12 with the MU300 panel MU300_SYSTEM=openwrt-luci openwrt/build-rootfs.sh released as openwrt-luci, see BUILD.md
ImmortalWrt 25.12 MU300_FLAVOUR=immortalwrt openwrt/build-rootfs.sh OpenWrt fork with more drivers and LuCI apps
Arch Linux ARM arch/build-rootfs.sh rolling, 258 MiB image / 922 MiB installed; built, not yet booted on hardware
Debian 13 docker build --build-arg BASE=debian:13 -t mu300-debian:13 rootfs/ then rootfs/assemble.sh same package names as Ubuntu
Kali Linux docker build --build-arg BASE=kalilinux/kali-rolling -t mu300-kali rootfs/ then rootfs/assemble.sh see below

The Arch build removes the linux-aarch64 kernel and linux-firmware packages that the generic Arch ARM image ships (about 1.5 GB): this device boots the vendor kernel from the boot image and takes its firmware from Android. pacman's Landlock sandbox is disabled for the build only, because it cannot work inside the build container.

Kali Linux, honestly

Kali is Debian, so it installs and runs exactly like the Debian image, with its tools available through apt. What it cannot do on this device:

  • No monitor mode or packet injection. The Wi-Fi chip is a Unisoc SC2355 with a vendor driver that offers station and access-point mode only. airmon-ng has nothing to switch, so the classic Wi-Fi attacks are out.
  • No external Wi-Fi adapter on the F50: its USB-C port runs as a gadget (the device pretends to be a network card for your computer) and is its power supply. The U30 Air has host mode on the mainline kernels (mu300-usb host), and those kernels carry MediaTek, Ralink and Realtek USB Wi-Fi drivers; an adapter has not been tried here.
  • No screen. Everything is over SSH; Kali's desktop tooling is pointless on this hardware.

What is left is still useful: a pocket-sized box with its own 5G modem that can run nmap, sqlmap, metasploit, proxies and scanners over the mobile connection or the Wi-Fi it is connected to.

Two things decide whether a distribution can run on this device's 5.4 kernel, and both are readable from its own binaries: the minimum kernel its glibc was compiled for (the ELF ABI note), and whether its userspace already uses syscalls 5.4 does not have — openat2 (5.6) in tar is the one that bit us with Ubuntu 26.04.

Distribution (arm64) glibc needs tar uses openat2 Verdict
Ubuntu 22.04 / 24.04 LTS 3.7 no ✅ works (24.04 is the tested default)
Debian 12 / 13 / sid 3.7 no ✅ works, built here
Kali rolling 3.7 no ✅ works, built here (see the Kali section)
Arch Linux ARM — no ✅ works, built here
OpenWrt / ImmortalWrt 25.12 musl no ✅ works, built here
Alpine 3.22 musl no ✅ userspace fine — but OpenRC, so the services need porting
Fedora 42 / 43 3.7 no ✅ userspace fine, not built yet
Rocky 9, AlmaLinux 10, Oracle Linux 9 3.7 no ✅ userspace fine, not built yet
Amazon Linux 2023 3.7 n/a ✅ userspace fine, not built yet
Gentoo stage3 arm64 3.7 no ✅ userspace fine; OpenRC unless the systemd stage3 is used
Void Linux — — ✅ rootfs tarball exists; runit, so the services need porting
Raspberry Pi OS arm64 Debian no ✅ Debian underneath; take the rootfs out of its image
openSUSE Tumbleweed 4.3 yes ⚠️ works only after replacing tar (same trap as Ubuntu 26.04)
Ubuntu 26.04+ 3.7 yes ⚠️ same on 5.4; fine on 6.18 and 7.3, where it is released
Arch (official image), Void (official image), Clear Linux — — ❌ no arm64 container image (Arch: use Arch Linux ARM)

No glibc on this list demands a kernel newer than 5.4, so the kernel is rarely the blocker; what breaks is individual programs reaching for new syscalls, and those can be swapped out one by one.

The part that is actual work

The MU300 services — modem bring-up, the Android vendor chroot, Wi-Fi, the LAN bridge, the hotspot, the toolkit — exist as systemd units (used by Ubuntu, Debian, Kali, Arch, Fedora and friends) and as procd init scripts for OpenWrt/ImmortalWrt. A distribution with a different init (Alpine's OpenRC, Void's runit) boots fine, but somebody has to write those ~15 service definitions again before the modem and Wi-Fi come up by themselves.

What does not fit

  • Anything that needs its own kernel (Fedora IoT, postmarketOS images, Home Assistant OS): they ship kernels built for other devices, and this one only boots this project's kernels (vendor 5.4, mainline 6.18 and 7.3) from the boot image.
  • On 5.4, distributions whose userspace requires a newer kernel: Ubuntu 26.04 and later, and eventually any rolling distribution; use 6.18 or 7.3 for those. Arch works today; a future glibc or systemd may end that, which is why it is the "fun" option and not the default.
  • x86 anything.

Installing a distribution you built

The installer knows ubuntu, openwrt and openwrt-luci by name. For anything else, unpack the tarball next to them and select it (from Android, with the Linux filesystem mounted as in tools/android-mount-mu300root.sh):

mkdir -p /data/local/tmp/mu300root/arch
tar -xzpf mu300-arch-rootfs.tar.gz -C /data/local/tmp/mu300root/arch
echo arch > /data/local/tmp/mu300root/.mu300/boot-os

From a running Linux on the device, the same thing under /mnt/mu300-disk/, then mu300-os arch and reboot. If it does not boot, the bootloader falls back to Android by itself, and mu300-os ubuntu brings the old system back.