[Module] chroot-distro
YasserNull opened this issue · comments
ID
chroot-distro
Name
chroot-distro
Description
chroot-distro
chroot-distro :
Install linux distributions on android
warning : this work only on rooted android devices
- chroot-distro path : /data/local/chroot-distro/
Android paths on distributions :
- /dev
- /sys
- /proc
- /dev/pts
- /sdcard
- /system
- /storage
- /data
usage
- 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
- kali : Kali Linux
- parrot : Parrot OS
- alpine : Alpine Linux
- archlinux : Arch Linux
- BackBox : backbox
- Centos : centos
- Centos Stream : centos_stream
- artix : Artix Linux
- debian : Debian
- deepin : Deepin
- fedora : Fedora 39
- manjaro : Manjaro
- openkylin : OpenKylin
- opensuse : OpenSUSE
- pardus : Pardus
- ubuntu : Ubuntu
- void : Void Linux
best features :
you can use chroot-distro on any terminal
like mt manger , termux , twrp , Android terminal emulator...
vnc
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
nano ~/.vnc/xstartup
Add this to the last line
startxfce4 &
start server :
vncserver
stop server :
vncserver -kill :1
Install chroot-distro
warning : required busybox for android ndk module
Module repository link
https://github.com/YasserNull/chroot-distro/releases/download/module/chroot-distro.zip
Source code link (for compiled binaries/APKs)
This is a update :)