chroot-distro : Install linux distributions on android
- chroot-distro path : /data/local/chroot-distro/
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.
- /dev
- /sys
- /proc
- /dev/pts
- /sdcard
- /system
- /storage
- /data
- 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>
chroot-distro download ubuntu
chroot-distro install ubuntu
chroot-distro login ubuntu
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
you can use chroot-distro on any terminal
like mt manager , termux , twrp , Android terminal emulator...
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