this post was submitted on 31 Aug 2023
365 points (100.0% liked)
Free and Open Source Software
17957 readers
150 users here now
If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I used LinuxDeploy, which is seriously outdated by now, but it works and it's easy to use.
You just need to update the chrooted Linux from e.g. Ubuntu 18.04 to something modern. But that's not too hard.
It could be possible to load phosh. I didn't manage to get Gnome running (which phosh is based on afaik). But I guess if your Linux-fu is a bit better than mine, you might be able to get it to work.
try running chroot in termux with termux-x11
Does Termux support chroot as well? Afaik it only does proot. Also, I read that Termux isn't working on Android 12 any more.
it works on android 13 (as they're still targeting android 9, so new limitations don't apply to them), but you need to disable phantom process killer to make it work in background. (you need android 13 or newer or root to fully disable it, it can only be disabled until reboot on android 12 unless you have root) both chroot (with root) and proot (slow, no root) are supported. Termux-x11 is still kinda experimental though...
Thanks for the info, that's good to know!