Files
mu300-linux/wiki/Hardware-Notes.md
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

11 KiB

Hardware Notes

In one sentence: the F50 and the U30 Air (and the experimental V50) are the same small Unisoc computer inside, and getting Linux to run on it meant borrowing a few of Android's own programs and working around some quirky hardware.

This is a friendly summary of docs/FINDINGS.md, the project's lab notebook (symptom, cause, fix for every problem met). Section numbers below (§) point into it.

The device

The parts

Item Value
SoC Unisoc T760 (UMS9620, "qogirn6pro"), board ums9620_2h10_feimao
RAM 2 GiB, about 1.4 GiB visible to Linux
Storage eMMC, about 58.25 GiB on the 64 GB device
Wi-Fi / Bluetooth SC2355 "Marlin3" on PCIe
GPU Mali-G57
Bootloader Unisoc LK, Trusty TEE, A/B slots
U30 Air extras 4050 mAh battery, SGM41511 (bq25601) charger, fuel gauge, NFC tag, Wi-Fi key
V50 extras (experimental, §95) two SIM slots, NFC, AW9523B LED controller; no battery

Where the memory goes (§27)

Of the 2 GiB, the device tree reserves 464 MiB for the modem firmware (needed for 4G/5G), 24 MiB for the trusted OS and some smaller areas; the kernel and its page tables take the rest. Linux sees about 1473 MiB. Two areas Linux does not need (the boot logo buffer and bootloader crash dumps) are given back by a kernel patch. zram swap of half the RAM helps.

Where Linux lives (§9, §9b)

flowchart LR
    subgraph eMMC["64 GB device: ~58 GiB eMMC"]
      direction LR
      A["Android partitions"] --> B["userdata (20 GiB)<br/>encrypted"] --> C["~32.4 GiB that belongs<br/>to no partition<br/>ext4 mu300root"]
    end
  • On the 64 GB device about 32.4 GiB after userdata belongs to no partition and reads back empty. Linux puts an ext4 filesystem there, reached through a loop device at a fixed offset. The partition table and Android are unchanged.
  • Why not a file inside Android's storage? userdata is encrypted as a whole (metadata encryption, with the key held by Android), so from Linux it reads as noise.
  • Why not another spare-looking partition? blackbox and fulldumpdb look unused, but the firmware writes crash dumps into them.
  • So the gap is all there is. On the 32 GB variant there is no gap; shrinking userdata (the last partition, so nothing else moves) is the experimental way to make one, done by hand on one device so far. The SD card (F50) is the other way (§31k).

The modem needs Android's helpers (§5, §18)

The modem and a power-management co-processor are started by Android's own modem_control program, which checks its own process name and expects Android's surroundings. Linux runs it, with refnotify and cp_diskserver, in a small Android sandbox (a chroot) with Android's libraries copied from your device.

Their own account (§41, v2026.10.20). Android's system user is uid 1000, which on Ubuntu is the ubuntu login user: the daemons used to run as that user, and the modem's calibration partitions (nr_fixnv*, persist), which nothing can restore, were writable by it without sudo. Now modem_control and refnotify run as the system account mu300vnd, with only the capabilities they keep on Android, the device nodes they need belong to that account, the GPU nodes to root:video, and nothing in /dev is world-writable or owned by the login user.

The 290-second power cut. Early on, Linux ran fine and then the power simply went off about 290 s after boot. A watchdog in the power co-processor was never told to stand down, because that message can only be sent after modem_control has started it. Running modem_control fixed it (§5).

Wi-Fi: one job at a time (§14b, §23)

  • The chip offers one access point: 5 GHz or 2.4 GHz, not both.
  • It is either a hotspot or a client of another network. The mode is chosen at boot, so switching to client mode needs a reboot; going back to the hotspot does not.
  • 5 GHz hotspot mode needed a patch: the firmware takes the channel from a beacon element that standard hostapd only adds on 2.4 GHz.
  • WPA3-only networks cannot be joined: the driver has no SAE.

No sound, no screen

  • Sound: the board has no speaker or microphone. Voice calls are not supported.
  • Screen: HDMI over USB-C does not work, because the USB-C power-delivery chip never answers. The device is headless.

A rare boot hang on 6.18 (§31m, open)

On one board about 2 boots in 50 under 6.18 stop dead in the first seconds (another F50: 0 in 100, as for 7.2). The whole chip stops without a message, the watchdog resets it, and the bootloader's crash-dump handling uses up several tries, so the device lands in Android about 20 minutes later. The cause is still open.

U30 Air: battery, buttons, NFC, USB host

  • Battery (§33d, §36): level, voltage, current, temperature and charging state in mu300-toolkit, the panel and /sys/class/power_supply on every kernel. Charging: on 5.4 by the vendor charger stack; on 6.18 and 7.3 by the bq256xx driver from v2026.10.12 on. mu300-power adds profiles (plugged, battery, saver, auto), idle radios and a charge limit (from v2026.10.20: any value from 0 to 100 %, sudo mu300-power charge-limit 80 or CHARGE_TO; charging stops at the limit and resumes 5 points below it, 0 never charges, and the battery is never held under 5 %; before: 100 or 80); charging pauses above 45 °C. Also (U30 Air): RESUME_AT (charging starts again only under that level), mu300-power charge pause|resume and charge full (once to 100 %, then back to the limit); System > Power has them too (FINDINGS 226).
  • Type-C current (§40, v2026.10.20, mainline kernels): the charger used to take 500 mA from every port. Now the PMIC's Type-C block is read and the larger of the BC1.2 and the Type-C (Rp) current is taken, 3 A capped to 2 A: on a 1.5 or 3 A port the battery charges at about 1.6 A instead of 0.36 A.
  • Host mode on outside power: sudo mu300-usb host with something on VBUS (a powered hub) keeps the 5 V boost off; on battery alone the boost supplies the 5 V as before.
  • Charging boot: a start caused by plugging in a charger stays a charging boot (LED blinking, hotspot and modem down) until the Wi-Fi key is pressed.
  • LEDs (§33f, §151): battery as ZTE's firmware (white from 60 %, blue from 10 %, red below 10 %; steady on the battery, breathing while it charges, steady white when full on the charger; on the charger no LED times out, and the red does not either), network (the SIM in use as ZTE's firmware, §154: white the nano-SIM, blue the eSIM, blinking while a live switch goes to it; red no service), Wi-Fi (white 5 GHz, blue 2.4 GHz, as ZTE's firmware and its guide, §152). sudo mu300-led test shows which is which.
  • Heat alarm: the battery LED flashes red, white, blue in turn when the chip reaches 85 °C or the battery 50 °C (thermal-guard). On the F50 the network LED does this.
  • LED settings (every board): each lamp on or off, the dimmable ones' brightness (§227), the timeout, a boot indicator (the RGB LED's colours in turn while the system starts) and the heat alarm as the siren, a red blink or nothing: mu300-led set ..., System -> LEDs on openwrt-luci, the panel's LEDs card on Ubuntu. Off by default.
  • Buttons: power: a short press wakes the LEDs, held 3 s shuts down. Wi-Fi key: switches 2.4 / 5 GHz, held 3 s turns the hotspot off or on.
  • NFC (§33g): a phone held to the device can join the hotspot: sudo mu300-nfc wifi writes the hotspot's name and password into the tag (also url, text, clear, on/off). The V50 has the same tag (§229).
  • USB host (§33e): sudo mu300-usb host with an OTG adapter, on the mainline kernels: flash drives (FAT, exFAT), keyboards, mice, USB modems and Ethernet adapters. sudo mu300-usb device goes back (the default at every boot).
  • USB-C power delivery (§150, EXPERIMENTAL, off by default): sudo mu300-usb pd on (mainline kernels) hands the port to the kernel's Type-C/PD stack (TCPM, the ump9620-tcpc module, after kano's port): a computer makes it a device, an OTG adapter or a USB device a host with 5 V out, and a PD dock with its own charger charges it while sudo mu300-usb host asks the dock for the host role (USB ports and Ethernet on the dock). Only 5 V, at most 2 A in and 400 mA out; the charger refuses 5 V out while anything else supplies VBUS. sudo mu300-usb pd off goes back to the manual host mode; mu300-usb pd status shows the roles. Not tested on a device yet.
  • Address: 192.168.78.1, so an F50 (192.168.77.1) and a U30 Air can be plugged into one computer (§33b).

F50 specifics

  • USB only (no battery); its USB port is its power supply, so no USB host mode.
  • LEDs: network (blue 4G, white 5G, red no service) and Wi-Fi (on while the hotspot is up).
  • An SD card slot that can hold the Linux filesystem.

ZTE V50 (MU3351): experimental (§95)

The V50 is the F50's platform (ums9620_2h10_feimao, T760) with two SIM slots, NFC and three front lamps. kano (kanoqwq) ported the project to it in his line; nobody here has a V50 or has tested one.

  • How Linux tells it: its device tree has an AW9523B LED controller at 0x5b on I2C3, which no F50's or U30 Air's has (both checked: no such node). The installers take only model V50, device MU3351, platform ums9620.
  • Kernel: mainline (6.18 or 7.3) of a release whose bundle names the V50; never 5.4. It runs as an F50 does otherwise, USB-powered, no battery: no charger is bound (patch 0016 binds the 0x1a charger only with the U30 Air's charger policy service, which the V50 lacks).
  • LEDs: NET1 is the network lamp (blue 4G, white 5G, red no service), the Wi-Fi lamp white on 5 GHz and blue on 2.4 GHz, NET2 dark; sudo mu300-led test lights each, the raw channels are aw9523b:pin0-15.
  • eMMC: its host is kept awake (patch 0017): kano lost files under mainline until he did that.
  • Not yet: the second SIM (the dual-SIM code is the U30 Air's), NFC (another reset line than the U30 Air's), SIM selection.
  • Address: 192.168.79.1.

Odd numbers that are normal

  • Load average around 12 on 5.4 (§6): vendor kernel threads waiting in D state are counted; top shows the CPU about 98 % idle.
  • Kernel warnings on 6.18 were traced to three vendor bugs and fixed (§31g).

For anything deeper, the FINDINGS contents table lists every section with its state (current, superseded, open).