I have a quite powerful x86-64 Android phone. I want to run a GNU/Linux desktop distro (preferably Debian-based) on top of Android.
I have the stock firmware, but rooted and with Xposed Framework.
I know about Complete Linux Installer, and it seems excellent. But they have a pre-prepared image. I assume that image is ARM, so it won't work? Right? Also, they say my ROM has to support "loop-devices." Does it? And if it doesn't is there any tweak to enable it?
But I'm sure there must also be tons of other ways to do it? FWIW I have access to a laptop with an Intel processor that I can use for the process. (But I'm not too keen on hours of tinkering to make it work.)
Other than that, I want to really take advantage of the specs of the phone. A user friendly process is also a plus.
Please note that even though I have a accepted my own answer here, I still very much welcome additional answers.
chroot
into it from any terminal emulator app like Termux. Very minimal configuration is needed usually e.g. adding new user, adding DNS server etc. I use Ubuntu, ArchLinuxARM and VoidLinux this ways on my device. In addition tochroot
I also use mount, PID, network and UTS namespaces to further isolate Linux environment from Android. Also possible to use VNC or XServer, but I don't do usually. – Irfan Latif Mar 6 '20 at 16:10