HarmoSail

Debian Linux
on HarmonyOS.

A terminal when you need to work. A GPU desktop when you need windows. One Debian system, with your files and processes shared across both.

Inspired by imxieyi’s Kernarium and using parts of its implementation.

Floating Linux Files window on the unfolded Pura X Max
Linux wallpaper, shortcuts and taskbar on the Pura X Max cover display

Inside HarmoSail

Debian, ready to use

The full development build includes Debian 13, system-wide Node.js, npm and official DeepSeek Harness. Start in Terminal; the graphical desktop stays off until you open it.

A Linux desktop, drawn on the GPU

A Wayland client inside Debian draws the wallpaper, shortcuts, taskbar and Files window with EGL/OpenGL ES and Virgl. Weston manages Linux application windows.

One system, multiple terminals

Open the side button to create, rename, close and switch independent PTY shells in a bottom sheet. Terminal and Desktop share Debian files, processes and networking; switching views keeps the running session.

Explore every feature →

On the Pura X Max

Application views captured on Pura X Max. Select an image for a closer look.

How it runs

The ARM64 User-Mode Linux kernel runs natively in the HarmonyOS process. Debian applications use an interpreter, basic-block fast paths and signed AOT for selected matching code. Weston and the Linux desktop render through EGL/OpenGL ES and Virgl; ArkUI presents the result and handles input. Arbitrary Linux programs do not run at native speed.

Build from source

Build the full unsigned HAP from main on GitHub Actions with phone_hap and debian_aot enabled, then sign locally for your device.

Get the source
git clone \
  https://github.com/GaryChangCN/HarmoSail.git
cd HarmoSail