Hi! I'm the developer of MagicDesk, a free, open-source Android workspace.
Its Linux runtime, Shroot, runs ARM64 Linux programs on Android's existing kernel through Shizuku or Shevery. It doesn't require Android root, an unlocked bootloader, AVF, Termux or PRoot. It's a userspace compatibility layer, not a separate Linux kernel or a PRoot wrapper.
The screenshot shows Ubuntu with Xfce and Firefox, plus an Alpine container started with Podman.
The current release is 2.2.0.1. Tested workflows include:
- Booting distributions with systemd, OpenRC or runit.
- Docker Engine, Podman, LXC and systemd-nspawn, including container networking and published ports.
- Desktop browsers, VS Code, and selected Flatpak/Snap applications.
- Individual Linux applications in Android windows, or a complete Linux desktop through embedded X11 and Wayland.
- Optional Turnip/Zink graphics acceleration on supported Adreno devices, plus Android audio and gamepad integration.
The interactive installer includes Debian, Ubuntu, Alpine, Fedora, Arch Linux ARM, NixOS and other distributions. Linux applications work independently of MagicDesk's optional Android desktop mode.
Performance
Shroot automatically accelerates eligible system calls through lazy SVC rewriting in memory, without modifying installed program files.
Here are measurements from Alpine ARM64 on one phone. These are relative elapsed times, with chroot = 1; lower is better:
chroot / PRoot / Shroot:
- stat: 1.00 / 62.89 / 5.11
- Open/close files: 1.00 / 47.91 / 7.29
- Create/close/rename/delete files: 1.00 / 11.79 / 3.30
- fork/exec/wait: 1.00 / 5.47 / 8.37
- Build SQLite: 1.00 / 1.00 / 1.05
File operations benefit substantially, but fork/exec/wait is still slower than PRoot. These are not AVF comparisons.
Integration and automation
MagicDesk also provides terminals with history and retained sessions, clipboard/file exchange, and file or camera attachments accessible from the Linux console.
For automation, its optional MCP server exposes Android controls, Linux application interfaces through AT-SPI2, D-Bus access and guest consoles.
Requirements: ARM64 Android 14+, Linux kernel 5.15+ with the required capabilities, and shell access through Shizuku/Shevery. GPU support depends on the device. Shroot is not a VM-grade security boundary: use trusted images and programs.
Source, screenshots and benchmarks:
https://github.com/mekhontsev/magicdesk
Latest APK:
https://github.com/mekhontsev/magicdesk/releases/latest
Linux setup:
https://github.com/mekhontsev/magicdesk/blob/main/docs/shroot.md
I'd be interested in the workflows you'd try, especially on devices where Android's Linux Terminal isn't available.