Yo dawg, I heard you like Linux. So I built a Linux container for your Linux phone. Now you can enjoy Linux while enjoying your Linux phone.
We definitely living in a simulation.
You need a phone, tablet, or other device that’s been rooted.
Damit
Rule of thumb for android users, all of the interesting shit is shit you can’t do unless you’re rooted.
I remember when it used to be all the REALLY interesting stuff was root only, yet a lot of normal interesting stuff was non-root. Now even with root, modern Android can be a pain and the interesting stuff just pales in comparison with true Linux
yeah, linux has me spoiled, just being able to do whatever i want as i please is truly a modern art.
Android made me realize how incredible linux was by being so utterly painful.
look into proot+termux-x11 if you don’t have a rooted device, it’s still very good.
It’s just quite a bit slower. Everything else other than messing with /sys and android processes works the same.
HDMI, mouse and keyboard and you have an office pc.
I looked on the play store and fdroid, haven’t found anything. I’d love to have a Linux chroot with CLI linux software, don’t want to root my phone. Halp.
For the lazy, in termux:
$ pkg install proot
$ pkg install proot-distro
$ proot-distro install debian
$ proot-distro login debianProfit??
What’s the difference to “Linux deploy”?
You could emulate Android on Linux before, now you can also emulate Linux on Android
The circle of libe is compleet
Now the only question is: How deep can you go?
We can also emulate windows on android and WSL obviously on windows.
So we can use Linux to emulate Android, which in turn emulates windows to run WSL
@lemmyreader @cafuneandchill PostmarketOS in chroot in termux in waydroid on PostmarketOS 🤘
well it’s not really emulation, if you are familiar with LXC it’s that, it’s pretty much a super chroot
Technically true, but it’s easier to refer to it as emulation
It’s also quite wrong.
Oh I like that one. Yoink! Thanks.
this is the most useful thing android will ever do.
Once rooted.
I recall using an app way back when I used to root and haxor all the mobiles that would do this. Kind of a virtualbox for the Nexus phones/tablets, but it needed root to do it. Will have to look into this, would be interesting if it can do so in user space somehow.
Edit: Damn, still needs root. Was a longshot to be able to hook into system resources without it but was hoping for some bridge function.
if you want a non root solution, termux proot + termux-x11, or eventually termux proot + termux-gui + wayland compositor
TLDR: Easy installation of something like Termux, GUI, Kwin and KDE, and a graphical display.
This is really good!
Not really. It seems to use a very different technology from termux.
it’s actually not that far off a chroot, it uses LXC, the really cool thing thats going on is this wayland integration, I was waiting for termux-gui + wlroots to come along, but this might just land first
However, it also uses halium and libhybris. That means you can’t just install your favourite distro and upstream tools. Everything that needs GPU acceleration needs to be patched for libhybris. For example, that means no upstream wlroots - and the latest patched version I think is 0.12 or so.
So how does it render to screen? Because the biggest nag on any of these previous implementations came when I needed to use VNC to remotely connect to the desktop…
it uses a modified wayland compositor that hooks up directly to android surfaceview. Currently if you want a chroot/proot solution, I reccomend termux-x11. it’s good performance.
So I could use this to run PostmarketOS inside Android?
@lemmyreader @electricprism There is someone who managed to convert a
proot-distro
version of #alpine into a #pmos one. It’s not as great as it may sound though.there are massive limitations to termux proot/chroot that don’t apply here. proper touch support is one of them.
Run hanna montana linux like a chad
Does this mean I could install and run Blender on my phone???
If someone could build a preconfigured image that has Phosh and basic phone apps, I would consider using this full time.
Would be even better if it can be registered as the default launcher too
Could we uninstall almost all non system apps, make it autostart and prevent any other app from getting in the way?
So basically it’s UserLAnd with accelerated graphics instead of VNC.