Magisk-Modules-Alt-Repo / chroot-distro

install linux distributions on android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chroot-distro

chroot-distro : Install linux distributions on android

  • chroot-distro path : /data/local/chroot-distro/

Installation requirements

Reasonably new Busybox-ndk magisk module version installed (1.36.1 is known to work, 1.32.1 is known to not work). If new enough version is not installed it may lead to problems with downloading rootfs.

Android paths on distributions :

  • /dev
  • /sys
  • /proc
  • /dev/pts
  • /sdcard
  • /system
  • /storage
  • /data

usage

Screenshot of a comment on a GitHub issue showing an image, added in the Markdown, of an Octocat smiling and raising a tentacle.

  • help
chroot-distro help
  • list of available linux distributions
chroot-distro list
  • download rootfs
chroot-distro download <distro>
  • redownload rootfs
chroot-distro redownload <distro>
  • delete rootfs
chroot-distro delete <distro>
  • install distro
chroot-distro install <distro>
  • reinstall distro
chroot-distro reinstall <distro>
  • uninstall distro
chroot-distro uninstall <distro>
  • backup distro
chroot-distro backup <distro>
  • backup distro with custom path
chroot-distro backup <distro> <path>
  • delete backup
chroot-distro unbackup <distro>
  • restore distro
chroot-distro restore <distro>
  • restore distro with custom path
chroot-distro restore <distro> <path>
  • run command
chroot-distro command <distro>
  • login to distro
chroot-distro login <distro> 

example

chroot-distro download ubuntu
chroot-distro install ubuntu
chroot-distro login ubuntu

supported distributions

Note: right side is used as distro identifier, and it needs to be lowercase for it to be properly identified.

  • Kali Linux : kali
  • Parrot OS : parrot
  • Alpine Linux : alpine
  • Arch Linux : archlinux
  • BackBox : backbox
  • Centos : centos
  • Centos Stream : centos_stream
  • Artix Linux : artix
  • Debian : debian
  • Deepin : deepin
  • Fedora 39 : fedora
  • Manjaro : manjaro
  • OpenKylin : openkylin
  • OpenSUSE : opensuse
  • Pardus : pardus
  • Ubuntu : ubuntu
  • Void Linux : void

best features :

you can use chroot-distro on any terminal like mt manager , termux , twrp , Android terminal emulator... Screenshot of a comment on a GitHub issue showing an image, added in the Markdown, of an Octocat smiling and raising a tentacle. Screenshot of a comment on a GitHub issue showing an image, added in the Markdown, of an Octocat smiling and raising a tentacle.

vnc

Screenshot of a comment on a GitHub issue showing an image, added in the Markdown, of an Octocat smiling and raising a tentacle. Screenshot of a comment on a GitHub issue showing an image, added in the Markdown, of an Octocat smiling and raising a tentacle. your can use any vnc app , tutorial (tested on ubuntu and debian)

apt update
apt upgrade
apt install tightvncserver nano dbus-x11 xfce4 xfce4-goodies xfce4-terminal
update-alternatives --config x-terminal-emulator
vncserver
vncserver -kill :1
echo 'startxfce4 &' >> ~/.vnc/xstartup

start server :

vncserver

stop server :

vncserver -kill :1

Install chroot-distro

License

GNU GPL v3

About

install linux distributions on android

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%