Easily bootstrap a Debian 12 chroot environment for a rooted Android device
Caution
These scripts are provided under no-warranty and I am not responsible for any damages
YOU MAY BRICK YOUR DEVICE IF YOU'RE NOT CAREFUL!!!
Note
If you don't have a rooted Android device, see below for alternatives
- A Linux environment (only tested with Debian 12 inside WSL2)
- A rooted Android device (only tested on Android 11)
- A functional Busybox install on said device
- Termux and the root-repo installed
Note
If you don't have a Linux environment and are on Windows 10/11, you can use WSL2 instead of a VM
I recommend to use this module if you don't have Busybox and are using Magisk
For instructions on setting up a basic environment, click here
For instructions on setting up a graphical environment, click here
For instructions on setting up an emulated testing environment, click here
Important
You don't need to follow the testing instructions to use the environment on your Android device
If you don't have a rooted device or a computer, you can use proot
To quickly setup a Debian environment without any hassle, you can use proot-distro
If you would like a pretty similar script to this one but for proot, you can use debian-on-termux by sp4rkie