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.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
We definitely living in a simulation.
Wonder if it's running on Linux
You can call it GNU/Linux if the same name for OS and kernel turns out to be confusing for you.
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.
I havent looked into it yet, but ill be looking into doing an extra shim layer if this is the case. It wont be hard to set up some basic stuff for that, wlroots for instance is great for doing nested stuff since it can forward all of the inputs we need to the nested compositor
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.
A better alternative would be spice, but just a guess
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.
That bridge function would still need root (or critical level security holes) to be installed, if the ROM doesn't ship it.
Makes sense, I'm so accustomed to making virtual machines and such that it becomes just a thing but inevitably at some point admin access was required to create the hypervisor, the vnic, a virtual switch, etc. Without that restriction a piece of malware could readily exfiltrate data past a local protection by just making it's own new pathway through on the fly or any number of other unpleasant things.
if you want a non root solution, termux proot + termux-x11, or eventually termux proot + termux-gui + wayland compositor
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?
I would as well
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.
Yes.
this is the most useful thing android will ever do.
Once rooted.
So basically it's UserLAnd with accelerated graphics instead of VNC.
Actually, no, this seems to work on a very different principle.
*is going to be.
What's the difference to "Linux deploy"?