Xiaomi 15S Pro (dijun)
Reference Stage 3 (Hardware Adaptation) target for UniOHOS powered by Xiaomi XRING O1. Boots Linux 6.18.32 (optional 6.18.65 LTS backports) with 1440x3200 LTPO 1-120Hz display, DP-1 4K60, dual-engine Immortalis-G925 / Mesa PanVK graphics, VC9000D/E video codec, USB 3.2 Gen 2 (10Gbps), 5G NR RIL, and 90W charging while collecting SELinux Permissive=0 AVC audits ahead of Phase 2 Day-0 Enforcing=1.
Xiaomi 15S Pro
Xiaomi XRING O1 (2x Cortex-X925 + 4x A725 + 2x A725 + 2x A520)
Model Number
25042PN24C
Kernel Baseline
Linux 6.18.32 (opt. 6.18.65 LTS)
Display & DP
1440x3200 LTPO 1-120Hz + DP-1 4K60
GPU Engines
Immortalis-G925 MC16 + Mesa PanVK
Video & USB
VC9000D/E + USB 3.2 Gen 2 (10Gbps)
SELinux Status
Permissive AVC → Day-0 Enforcing
Repositories & Matrix
1. Hardware & Driver Status Matrix
Synchronized with profiles/xiaomi/dijun/HARDWARE.md and grouped by the Linux 6.18 DeviceTree (Hi-Jiajun/xiaomi-dijun-devicetree + OpenHarmony / HarmonyOS incremental overlays in xiaomi-xring-o1-kernel).
| Subsystem | Hardware Component | DeviceTree Compatible / Node | Status | Notes |
|---|---|---|---|---|
| SoC & Core | CPU / L3 / DDR DVFS | XiaoMi,Xring_o1-o2s-phone, xring,xr-cpufreq, xring,l3_devfreq, xring,ddr_devfreq | Working | Linux 6.18.32 baseline (optional 6.18.65 LTS backports) boots cleanly with full cluster DVFS |
| SoC & Core | UFS Storage Controller | xring,ufs | Working | Dynamic super + 8/8 modem/calibration partitions mounted ro,norecovery |
| SoC & Core | PMIC, Power Key & RTC | xring,pmic-regulator, xring,pmic-pwrkey, xring,pmic-rtc | Working | Regulators, power key, and RTC operational |
| SoC & Core | Watchdog, Buses & Pinctrl | snps,dw-wdt, xring,adsp-wdt, xring,dw-apb-uart, xring,dw-apb-ssi, xring,pinctrl | Working | Watchdog closure, UART/SPI/I2C, and GPIO pinctrl working |
| Display & Video | Display Processor (DPU KMS) | xring,dpu-kms, xring,dpu-cmdlist, xring,dpu-wb | Working | DRM/KMS Atomic composition across 8 hardware planes |
| Display & Video | Primary Panel (MIPI DSI LTPO) | xring,dsi-ctrl, xring,dsi-phy, xring,dsi-display, wp,wp_panel | Working | 1440x3200 LTPO 1-120Hz and 1Hz AOD working |
| Display & Video | External Video (DP Alt-Mode) | xring,dp-display | Working | Type-C DP-1 4K60 output working |
| GPU, Media & NPU | GPU (Immortalis-G925 MC16) | arm,mali-midgard, xring,gpufreq | Working | In-process TPIDR_EL0 EGL/GLES/Vulkan bridge + open-source Mesa PanVK fallback |
| GPU, Media & NPU | Video Codec (VC9000D/E) | xring,vpu-dec, xring,vpu-enc | Working | Hardware AVC/HEVC/VP9/AV1 decode & 10-bit P010 4K60 encode via zero-copy DMA-BUF |
| GPU, Media & NPU | 6-Core NPU | xring,npu_freq, xring,npu_dym, xring,hpc | Working | Cross-namespace NPU RPC bridge operational |
| Camera ISP | Multi-Camera ISP & Flash | xring,cam-device-manager, xring,csi-phy, xring,cam-sensor, xring,cam-i2c-flash, xring,cam-remote-proc | Working | Multi-lens photo & 10-bit P010 4K60 video working |
| Camera ISP | Laser Focus ToF | xring,stmvl53l8 | Working | ToF ranging operational |
| Audio & Haptics | Audio DSP & Sound Card | xring,xr-asoc-snd, xring,xr-pcm-dsp, xring,xr-voip-dsp | Working | Speaker, earpiece, Bluetooth audio, and USB audio routing working |
| Audio & Haptics | Dual Speaker Amplifiers | cirrus,cs35l43, cirrus,cs35l45 | Working | Stereo dual-speaker output with hardware DSP protection |
| Audio & Haptics | USB Audio Offload | xring,xr-audio-usb | Working | USB-C DAC & headset audio working |
| Audio & Haptics | Linear Haptics Motor | cirrus,cs40l26a, xring,xr-haptic | Working | System haptic feedback working |
| Connectivity & GNSS | Wi-Fi & Bluetooth (MT6639) | xring,f1-connv3, xring,f1-wifi | Working | Wi-Fi 6GHz 320MHz, SoftAP hotspot, and high-bitrate BT audio working |
| Connectivity & GNSS | Cellular 5G Modem (T800 PCIe) | xring,dw-pcie0, xring,dw-pcie1, xr,pcie-rawchan | Working | 5G NR data, VoLTE calls, and SMS/MMS working |
| Connectivity & GNSS | GNSS Satellite Positioning | xring,f1-connv3 (GNSS sub-channel) | Partial | Native GNSS bridge & ephemeris channel online; cold-boot location settings whitelist sync in progress |
| Touch, Bio & Sensors | Touchscreen & Touch Boost | xiaomi-touch-dijun, xring,touch_boost | Working | Multi-touch input and touch boost operational |
| Touch, Bio & Sensors | Ultrasonic Fingerprint & TEE | xring,xrse, xsee (Goodix ultrasonic) | Working | Enrollment & lockscreen unlock verified (Fail-Closed) |
| Touch, Bio & Sensors | SensorHub (ALS/IMU/Baro/Mag/SAR) | synaptics,sensorhub (sensorhub,als, amg, bar, mag, flicker, sar) | Partial | Basic ALS & orientation fallback online; full SCP sub-sensor catalog recovery in progress |
| Touch, Bio & Sensors | NFC & Embedded Secure Element | nxp,sn-nci | Working | NFC reader/writer working (Fail-Closed hardware path) |
| Touch, Bio & Sensors | Ultra-Wideband (UWB) | nxp,sr200 | Working | Kernel node and userland service ready |
| Touch, Bio & Sensors | Infrared Blaster (IR) | ir-spi | Partial | Kernel SPI IR driver node ready; cold-boot service autostart in progress |
| USB Type-C & Power | USB 3.2 Controller & Type-C PHY | xring,o1,usb, xring,snps,dwc3, xring,o1,usb-combophy, usb-c-connector, usb-repeater,PTN3222 | Working | Reversible USB 3.2 Gen 2 (10Gbps), hdc, OTG, and DP Alt-Mode working |
| USB Type-C & Power | Charging & Fuel Gauge | mca,buckchg_jeita, mca,protocol_pd, mca,quick_wireless, mca,wireless_revchg, ti,bq27z561_master | Working | 90W PD_PPS, 50W wireless, 10W reverse wireless, and 80% thermal bypass working |
| Security & Virt | SELinux Access Control | Linux Security Module (SELinux) | Partial | Running Permissive=0 AVC collection during Stage 3 bring-up; Day-0 Enforcing=1 transition planned for Phase 2 |
| Security & Virt | Hardware Virtualization (KVM) | xring,xhee-xrvm | Unsupported | OEM EL2 hypervisor (xhee) occupies EL2; /dev/kvm unavailable |
2. Protected Partitions & Local BYOF Inputs
Declared in devices/xiaomi/dijun/device.yaml:
- Critical Read-Only (
ro,norecovery) Partitions:persist,modem_a,modem_b,nvram,nvdata,nvcfg,protect1,protect2. - Untouched Low-Level Bootchain (Keep Stock Recommended):
xloader_{a,b},bl2_{a,b},uefi_{a,b},tee_{a,b}, andgpt. - Local User-Owned BYOF Inputs (Approach B):
vendor_a,odm_a,vendor_boot_a,dtbo_a(extracted locally on the device owner's computer; never uploaded to Git).
3. Local Validation & Kernel Overlay Build
bash
# Inside UniOHOS/devices + UniOHOS/builder
uniohos-builder validate-device devices/xiaomi/dijun/device.yaml
uniohos-builder byof-plan --device devices/xiaomi/dijun/device.yaml --dry-runbash
git clone https://github.com/UniOHOS-Devices/xiaomi-xring-o1-bsp.git
cd xiaomi-xring-o1-bsp
# Portable toolchain env vars used for target builds:
# UNIOHOS_LLVM_ROOT, UNIOHOS_MUSL_INC, UNIOHOS_SYSROOT, UNIOHOS_WORK_DIR
make checkbash
git clone https://github.com/UniOHOS-Devices/xiaomi-xring-o1-kernel.git
cd xiaomi-xring-o1-kernel
git clone https://github.com/Hi-Jiajun/xiaomi-dijun-devicetree.git .devicetree
git clone https://github.com/UniOHOS/gki-sdk.git .gki-sdk
make overlays
make dtboimg-hmos
make verify
# Optional full kernel / out-of-tree .ko build helpers (with local AOSP 6.18 tree):
# scripts/build-kernel.sh --source <aosp-6.18-dir> --out <out-dir> --profile hmos-opt4 --apply-patches
# scripts/build-extmod.sh --kernel-src <aosp-6.18-dir> --mod-src kmod/dijun_hmos_vip_bridge --out <out-dir> --profile hmos-opt4bash
git clone https://github.com/UniOHOS/plugin.git
cd plugin/plugins/cb1-hdr
make SINK=xring-o1 all test test-sanitizers