Auto-Linux is a standalone, lightweight, and blazing fast Linux installer/manager for Android, written entirely in Rust. It provides a beautiful Terminal User Interface (TUI) to install, configure, and manage Ubuntu chroots without requiring Termux, Busybox, or external dependencies.
Built for speed, stability, and ease of use.
- Native & Standalone: Compiled as a static binary (
musl). Zero dependencies. No Termux needed. - Beautiful TUI: Powered by
ratatui. Keyboard-driven dashboard. - Instant Launch: Switch users and enter Chroot directly from the dashboard.
- Auto-Configuration:
- Network: Auto-detects DNS and fixes connection issues inside chroot.
- Users: Auto-creates User & Password during setup.
- Sudo: Auto-configures
sudo(wheel group) privileges. - Mounts: Handles
/dev,/proc,/sys,/sdcardbinding automatically.
- Distribution Support: Ubuntu 20.04 LTS up to 26.04.
- Root Detection: Supports Magisk, KernelSU, and APatch natively.
Run this command in Termux, ADB Shell, or any Terminal Emulator:
curl -sL https://raw.githubusercontent.com/HanSoBored/Auto-Linux/master/install.sh | shNote: This script automatically detects if you have Termux installed and creates a shortcut. You can then simply type
autolinuxto start.
- Download the latest binary from Releases.
- Push to device:
adb push autolinux-aarch64 /data/local/tmp/autolinux - Permission:
chmod +x /data/local/tmp/autolinux - Run:
/data/local/tmp/autolinux
You need Rust and Cross (for cross-compiling to Android/ARM64 Musl).
- Install Prerequisites:
cargo install cross
- Build Release:
# Static binary (Musl) ensures it runs on any Android version cross build --target aarch64-unknown-linux-musl --release - Locate Binary:
The binary will be in
target/aarch64-unknown-linux-musl/release/autolinux.
Contributions are welcome!
- Fork the project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This tool modifies system partitions (mounting) and creates files in /data. While safe, I am not responsible for any bricked devices or data loss. Always backup your data.
Distributed under the MIT License. See LICENSE for more information.


