Skip to content

Core Runtime Framework (UniOHOS/core) ​

UniOHOS/core (Apache-2.0) hosts the five cross-silicon OpenHarmony runtime subsystems shared across device ports so IPC headers, trampoline pools, and early-bringup primitives stay synchronized in one place.

1. Core Subsystems ​

DirectoryRole
early-bringup/Modular Stage-0 / Stage-1 PID1 router (stage1-init), misc+0x1000 persistent early log, and ConfigFS USB ACM / hdc controller guard (usb-udc-guard).
sidecar-runtime/Isolated Android Bionic mount/linker namespace launcher, critical partition ro,norecovery mount guard, shared property arena, and typed IPC protocol headers (SoC-specific audio/DSP bridges live in UniOHOS-Devices/*-bsp).
hybris-bridge/ARM64 static bti c TPIDR_EL0 dual-TLS zero-copy GPU trampoline pools (.data.rel.ro, zero TEXTREL), Musl<->Bionic ABI shim, WSI bridge, and automatic Mesa PanVK/Turnip fallback router.
anco-engine/AnCo container runtime (anco-runtime): XComponent viewport composition, FUSE_PASSTHROUGH storage, cgroup.freeze standby suspension, and audio/camera/IME/APK bridge daemons.
device-parts/Settings hardware control extension (control-center driven by per-device capabilities.json + standalone hap-signer) and native 120Hz GLES3 real-time SDF shader bootanimation/.

2. Host Verification ​

bash
git clone https://github.com/UniOHOS/core.git
cd core

# Run repository hygiene & DCO gate
python3 scripts/check_hygiene.py

# Build and run the native 120Hz SDF bootanimation CPU self-test
make -C device-parts/bootanimation/native-player test-cpu

3. Portability Status & Reference Defaults ​

Current full-stack hardware validation of UniOHOS/core has been performed on Xiaomi 15S Pro (dijun / Xiaomi XRING O1):

  • Cross-device modules (ready for new SoC testing): device-parts/bootanimation/, hap-signer/, the ARM64 TPIDR_EL0 trampoline and Bionic loader core in hybris-bridge/, the mount/IPC skeleton in sidecar-runtime/, and the AnCo host viewport framework.
  • Remaining XRING O1 / dijun reference defaults: A subset of files still retains dijun_* symbol prefixes or reference sysfs/UDC defaults (for example default UDC names in usb-udc-guard, Arm Mali/G925 paths in hybris-bridge, and smart_chg sysfs paths in control-center). Board-specific AnCo .prop files and OEM TEE DRM backends are already isolated in UniOHOS-Devices/xiaomi-xring-o1-bsp; remaining defaults are being parameterized iteratively via PRs as additional SoCs come online.

Independent Open-Source Community (CC-BY-4.0). Not affiliated with Huawei, HiSilicon, OpenAtom Foundation, Xiaomi, Qualcomm, MediaTek, or Arm.