This is a tiny init system, which in combination with the original kernel can be used to build a "functional GNU/Linux system". Can be used with pretty much any android system
Get aarch64-none-linux-gnu cross-compiler toolchain (for example here).
Compile init using aarch64-none-linux-gnu-gcc init.c -o init -static
Repack boot.img (or a TWRP recovery) using Android boot image editor
Profit!