Tess's Android Wayland Compositor

Hacker News Top Tools

Summary

Tess's Android Wayland Compositor (tawc) enables running CLI and graphical Linux programs on Android without root access, featuring hardware acceleration, XWayland support, and Android integrations.

No content available
Original Article
View Cached Full Text

Cached at: 08/15/26, 09:38 PM

wmww/tawc

Source: https://github.com/wmww/tawc

Tess’s Android Wayland Compositor

tawc runs CLI and graphical Linux programs on Android without root. Graphical apps get hardware acceleration with the phone’s native graphics stack. The project consists of tawcroot (a performant alternative to PRoot), a Wayland compositor, and the UI to put it all together.

This project is agent-built, primarily using Claude Code and latest Anthropic models.

Features

  • The app embeds Termux’s widget for a familiar terminal UI (the Termux app itself is not required)
  • When graphical apps are installed they can be run from tawc’s launcher menu
  • Linux apps can be added to the phone’s home screen and are presented alongside Android apps in the app switcher
  • XWayland is included and wired up for hardware accelerated X11 support
  • A built-in task manager lets you view and kill running Linux processes
  • The ando command and storage binds allow Linux programs to interact with Android data if desired

High-level design

  • A stock Linux distro, such as Arch Linux ARM or Debian, is downloaded and extracted
  • Linux programs, including the distro’s native package manager, are run “inside” the distro’s rootfs using tawcroot
  • tawcroot emulates chroot and other syscalls to overcome the limitations of rootless Android (it’s similar to PRoot but faster because it uses a single process)
  • A Smithay-based Wayland compositor provides android integrations (like passing input from your normal Android keyboard)
  • libhybris allows glibc Linux programs to load the standard Android graphics drivers
  • Upstream libhybris doesn’t work on stock Android, but our fork does

Limitations

  • No real sandboxing of Linux apps beyond Android’s own mechanisms. Due to its single-process design, tawcroot can be escaped
  • No desktop GL support, only the graphics APIs provided by the phone (generally GLES and Vulkan)
  • (Related) has not yet been tested or optimized for games
  • Perf is better than alternatives, but not native
  • Only arm64 official builds for now. Can be built for x86 but our libhybris tricks rely on arm.
  • Requires Android 10+

See AGENTS.md for more details.

Contributing

Issues are preferred over PRs. I welcome bug reports and feature requests, but no guarantee they can be handled on any particular timeline. If your issue has LLM-written content, please clearly mark it (ideally with what LLM wrote it), and always include a human-written description. Please include your app version, phone, Android version and distro (if relevant).

TL;DR, good:

Issue title: program foo crashes

I’m using Arch on tawc v1 on my Pixel 10 running stock Android 17.

I installed foo v1.2 with pacman but it crashes on launch. I asked fable about the problem, and it said:

[CLAUDESLOP]

bad:

PR title: [CLAUDESLOP]

[CLAUDESLOP]

Code:

UNEXPLAINED CLAUDESLOP

Licensing

All code outside of deps/ is MIT (LICENSE.MIT). There’s some GPLv3 code in the vendored dependencies (termux-shared’s extra-keys widget), so the project as a whole is GPLv3 (LICENSE).

Per-component attribution for everything bundled in the app is in-app under Settings → About → Licenses.

Similar Articles

A Wayland Compositor in Minecraft

Hacker News Top

A Minecraft mod that implements a full Wayland compositor within the game, allowing users to launch and manage windows like Firefox, GIMP, and VLC inside Minecraft. Linux-only.

Xfwl4's First Preview Release

Lobsters Hottest

Brian Tarricone announces the first preview release of xfwl4, Xfce's Wayland compositor, after six months of work, detailing known missing features and future plans.

crynta/terax-ai

GitHub Trending (daily)

Terax is a lightweight open-source terminal-first AI-native dev workspace built on Tauri 2, Rust, and React, featuring an agentic AI side-panel, code editor, file explorer, source control, and web preview.