ShizuStore

FluxLinux

zenithblue-oss

2.0.1 · GitHub

Download APK
Miscellaneous Android 8.0+ 1 month ago GPL-3.0
609 ShizuStore
45.5k GitHub
316 Stars
162 MB Size

More about this app

Run full Linux desktops on Android with 12 distros, PRoot/Chroot, XFCE4, X11 and PulseAudio; Shizuku applies the phantom-process fix

FluxLinux

Run full Linux desktops on Android โ€” 12 distros, PRoot or Chroot, XFCE4, X11, and PulseAudio

FluxLinux Showcase

Get it on F-Droid Get it on Google Play



Discord Downloads Stars


License Kotlin Latest Release


๐Ÿ“ฑ Screenshots


Home

Distros

Install

Settings

Desktop

Terminal

๐Ÿง Supported Distros

Twelve guests. Every one installs as PRoot (no root) or Chroot (rooted), with XFCE4 on the in-app X11 display and host PulseAudio. Rootfs archives download on demand from the GitHub rootfs tag after an in-app opt-in.


Debian
13 Trixie

Alpine
3.24

Fedora
44

Void
Rolling

openSUSE
Tumbleweed

Deepin
25

Chimera
musl / apk v3

Manjaro
ARM

Ubuntu
26.04

Kali
Rolling

Parrot
7.2

Arch
ARM

Distro Release Packages PRoot Chroot XFCE4 + X11 PulseAudio
Debian 13 Trixie apt โœ“ โœ“ โœ“ โœ“
Alpine 3.24 apk โœ“ โœ“ โœ“ โœ“
Fedora 44 dnf โœ“ โœ“ โœ“ โœ“
Void Rolling xbps โœ“ โœ“ โœ“ โœ“
openSUSE Tumbleweed zypper โœ“ โœ“ โœ“ โœ“
Deepin 25 apt โœ“ โœ“ โœ“ โœ“
Chimera Rolling apk v3 โœ“ โœ“ โœ“ โœ“
Manjaro ARM pacman โœ“ โœ“ โœ“ โœ“
Ubuntu 26.04 apt โœ“ โœ“ โœ“ โœ“
Kali Rolling apt โœ“ โœ“ โœ“ โœ“
Parrot 7.2 apt โœ“ โœ“ โœ“ โœ“
Arch ARM pacman โœ“ โœ“ โœ“ โœ“

Debian also ships the optional extra stacks (KDE Plasma, app/web/data/game/office/graphics). The other eleven use the shared XFCE4 + GPU + theme path.

Per-distro notes: docs/distro/.


๐Ÿš€ Vision

Modern Android hardware is powerful enough to run desktop workloads, but the software ecosystem limits it. FluxLinux bridges this gap, enabling:

  • ๐ŸŒ Full-Stack Web Development โ€” Node.js, Python, React, VS Code
  • ๐ŸŽฎ Desktop Gaming โ€” Box64/Wine (coming soon)
  • ๐Ÿ” Cybersecurity โ€” Nmap, Wireshark, Metasploit
  • ๐Ÿ“Š Data Science โ€” Jupyter, TensorFlow, PyTorch
  • ๐ŸŽจ Creative Tools โ€” GIMP, Blender, Inkscape
  • ๐Ÿ“„ Productivity โ€” LibreOffice, Firefox Desktop

โœจ Key Features

Feature Description
๐Ÿง 12 Distros Debian, Alpine, Fedora, Void, openSUSE, Deepin, Chimera, Manjaro, Ubuntu, Kali, Parrot, Arch โ€” each PRoot and Chroot
๐Ÿ–ฅ๏ธ XFCE4 + X11 In-app X11 display (no external Termux:X11). XFCE4 on every guest
๐Ÿ”Š PulseAudio Host Pulse as the app uid; guests connect over 127.0.0.1 TCP
๐Ÿ”“ Rootless Mode Works on any Android 8+ device via PRoot
โšก Turbo Mode Native chroot for rooted devices (Magisk / KernelSU / APatch BusyBox)
๐ŸŽฎ GPU Acceleration Turnip (Adreno) + VirGL for graphics
๐ŸŽจ Custom Themes XFCE4 Space theme, Papirus icons, wallpapers
๐Ÿ“ฆ Dev Stacks Extra Debian environments for coding, office, and graphics

๐Ÿ–ผ๏ธ Desktop Experience

Full XFCE4 desktop with hardware acceleration

๐Ÿš€ Development in Action


Flutter Development

React Web App

Jupyter + TensorFlow

Kotlin/Gradle Build

GIMP Image Editor

LibreOffice Writer

Pitivi Video Editor

Included Development Stacks

๐ŸŒ
Web Dev
Node.js, React, VS Code
๐Ÿ“ฑ
App Dev
Flutter, Kotlin, Android SDK
๐Ÿงฌ
Data Science
Jupyter, TensorFlow
๐ŸŽฎ
Game Dev
Godot Engine
๐Ÿ”
Security
Kali Tools
๐ŸŽจ
Graphics
GIMP, Blender

๐Ÿ›  Architecture

flowchart TB
    subgraph Android["๐Ÿ“ฑ Android Device"]
        FluxLinux["๐Ÿš€ FluxLinux App<br/>(Kotlin + Jetpack Compose)"]

        subgraph Host["๐Ÿ”ง Embedded host"]
            TermuxHost["bash ยท proot ยท PulseAudio"]
            X11["In-app X11 display"]
        end

        subgraph Container["Linux container"]
            PRoot["๐Ÿ”“ PRoot<br/>(rootless)"]
            Chroot["โšก Chroot<br/>(rooted)"]
        end

        subgraph Distro["๐Ÿง 12 guests"]
            XFCE["XFCE4 Desktop"]
            DevTools["Optional Debian stacks"]
        end

        subgraph Display["๐Ÿ–ฅ๏ธ Graphics & audio"]
            GPU["GPU Acceleration<br/>(Turnip / VirGL)"]
            Pulse["Host PulseAudio<br/>TCP 127.0.0.1"]
        end
    end

    FluxLinux --> TermuxHost
    FluxLinux --> X11
    TermuxHost --> PRoot
    TermuxHost --> Chroot
    PRoot --> Distro
    Chroot --> Distro
    Distro --> X11
    X11 --> GPU
    Distro --> Pulse
    TermuxHost --> Pulse

๐Ÿ“š Documentation

Document Description
Setup & Onboarding Guide Step-by-step visual installation tutorial
Debian PRoot Setup Guide Step-by-step Debian PRoot configuration tutorial
Debian Chroot Setup Guide Step-by-step Debian Chroot configuration tutorial
Distro reference Per-guest notes (Alpine, Fedora, Ubuntu, Kali, โ€ฆ)
Installation Reference Packages, paths, versions, environments
Scripts Reference All installation and setup scripts
Hardware Acceleration GPU setup guide (Turnip/VirGL)
Script Execution Workflow How scripts are executed
Testing Reference Sample projects for testing
Assets Reference Themes, icons, wallpapers, rootfs
Architecture System design overview
Roadmap Development roadmap

๐Ÿ“ฆ Installation

Requirements

  • Android 8.0+ (API 26+)
  • No external Termux or Termux:X11 APK โ€” host shell, PRoot, X11, and PulseAudio ship inside FluxLinux
  • Chroot needs a rooted device with Magisk, KernelSU, or APatch BusyBox

Install

  1. Get FluxLinux from F-Droid, Google Play, or GitHub Releases
  2. Open the app and finish the first-run host setup
  3. Pick a distro and install as PRoot or Chroot โ€” the rootfs downloads after you opt in

Easy setup wizard


๐ŸŽฎ GPU Acceleration

FluxLinux supports hardware-accelerated graphics:

GPU Type Driver Performance
Adreno (Qualcomm) Turnip + Zink ๐ŸŸข Excellent
Mali (ARM) VirGL ๐ŸŸก Good
Mali/PowerVR (MediaTek) VirGL ๐ŸŸก Good
Other VirGL ๐ŸŸก Good

๐Ÿ“– Hardware Acceleration Guide


GPU Driver Selection

๐Ÿค Contributing

Contributions are welcome! Please check the Roadmap to see active development phases.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the GNU General Public License v3.0 (GPLv3).

See LICENSE for details.

Embedded components: The in-app terminal stack bundles termux-app v0.118.0 (GPLv3) for TerminalSession/TerminalView; host userland packages are rebuilt from the Termux package repo (native/). FluxLinux remains open source under GPLv3, consistent with these dependencies.


Made with โค๏ธ by Abhay Raj

GitHub โ€ข Issues โ€ข Documentation โ€ข Discord


Join our Discord

Get help, share setups, and discuss features

Close

How Shizuku is used

Can disable the phantom process killer to keep Linux sessions alive via `device_config` and `settings put` commands.

This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.

How this app uses Shizuku

Shizuku is used for one fix that keeps Linux terminals and desktops from being killed in the background.

  • Disable phantom process killer: the user can apply the fix with Shizuku, which runs privileged shell commands to turn off the monitor (device_config set_sync_disabled_for_tests, device_config put activity_manager max_phantom_processes, and settings put global settings_enable_monitor_phantom_procs). This prevents background Linux processes from being stopped with exit 137.

Android APIs or commands used

  • /system/bin/device_config set_sync_disabled_for_tests persistent
  • /system/bin/device_config put activity_manager max_phantom_processes 2147483647
  • settings put global settings_enable_monitor_phantom_procs false

Notable details

The fix is only relevant on Android 12 and later where the phantom process monitor exists; on older versions the app reports it as not needed.

Close

Changelog

What's new for version 2.0.1

What's Changed

Features

  • Terminal starts faster; PRoot sessions launch directly (no proot-distro Python), chroot prep runs off the UI thread
  • Shared storage access in guests (all-files access) and a new onboarding page (#48, #29)
  • Disable the Android phantom-process killer via Shizuku, root or adb (#41)
  • Auto-install Mesa Turnip on Adreno and PanVK on MediaTek Mali v10+ (with fallback and retry)
  • KDE runs on the built-in X11 server; compositing and effects off by default; opt-in zink GL on Turnip/PanVK
  • One-time notice that v1.x Termux distros were not removed on upgrade (#37)

Bug Fixes

  • Crash on foreground-service notifications (monochrome small icon) (#42, #46)
  • Chromium/Electron typing in X11 (#45)
  • Host env and paths refresh after an app update and on app start
  • Desktop waits for the X socket; stale running-desktop state is cleared
  • KDE on PanVK no longer exhausts RAM
  • UI contrast in dark/light themes, unified top bars, correct GPU tag in the distro picker

Build / F-Droid

  • All native code (host packages, loader.apk, guest helpers, terminal-emulator, libXlorie) is built from source without Docker
  • All native libraries are 16 KB page aligned
  • Reproducible release: the APK is built from the tagged commit with the F-Droid recipe (com.ivarna.fluxlinux.yml) and signed with the release key
Close

Permissions

11 permissions requested

  • android.permission.MANAGE_EXTERNAL_STORAGE
  • com.termux.permission.RUN_COMMAND
  • android.permission.INTERNET
  • android.permission.ACCESS_NETWORK_STATE
  • android.permission.POST_NOTIFICATIONS
  • android.permission.FOREGROUND_SERVICE
  • android.permission.FOREGROUND_SERVICE_DATA_SYNC
  • android.permission.FOREGROUND_SERVICE_SPECIAL_USE
  • android.permission.ACCESS_SUPERUSER
  • com.ivarna.fluxlinux.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION
  • moe.shizuku.manager.permission.API_V23
Close