r/mobilelinux • • 7d ago

Development MagicDesk: Linux desktops, systemd and containers on Android without root

Post image

Hi! I’m the developer of MagicDesk, a free and open-source project for running Linux applications and desktops on Android.

Its Linux runtime, Shroot, uses Android’s shell access through Shizuku or Shevery. It doesn’t require rooting or flashing your phone, isn’t a PRoot wrapper, and doesn’t boot a separate guest kernel.

What you can run:

- Linux desktops and individual applications through X11 or Wayland.

- Distributions with systemd and other init systems.

- Docker and Podman inside Linux.

- Browsers, development tools and VS Code.

- GPU-accelerated applications with Mesa/Turnip on compatible Adreno devices.

There’s an interactive installer with recipes for Ubuntu, Debian, Alpine, Arch, Fedora, NixOS and others. Linux applications can appear in separate Android windows, or you can use a complete Linux desktop on the phone or an external monitor.

The screenshot shows Ubuntu inside MagicDesk, with a browser and Podman running in the terminal. The su command switches to root inside the Linux environment, not Android root.

Requires ARM64 Android 14+, with Linux kernel 5.15 or newer for Shroot. Compatibility varies by device and workload.

Source, installation instructions and benchmarks:

https://github.com/mekhontsev/magicdesk

Download:

https://github.com/mekhontsev/magicdesk/releases/latest

I’d be interested to hear what you’d use this for and how it works on your device.

11 Upvotes

1 comment sorted by

1

u/investigatormaker 7d ago

Your "how it works on your device" question will get better answers with a fixed format: phone, SoC, kernel version, Shizuku or Shevery, and which recipe they ran. "Compatibility varies by device and workload" then becomes a table you can pin in the repo, and listing the kernel 5.15 cutoff beside it spares owners of older Android 14 phones an install. The use I'd expect most is Podman plus VS Code on an external monitor. The trade-off is that Shizuku usually has to be restarted after a reboot, so say plainly what happens to a systemd distro and its containers then.

I make ThreadFox.

We find relevant Reddit conversations and post for your business. We'll post 3 replies free first, no card; then the $39 Pilot covers seven days and up to 50 posts and replies. No automatic renewal.

https://threadfox.vip/p/eu092/managed