News for hackers. Stuff that matters.
Re:Run Linux containers on Android, no root required by vimredo on Friday April 03, 2026 @11:51PM (#47635524)
I don't understand what this would be useful for. The Linux terminal app on Android (check Developer settings if you want it) already exists and it uses hardware accelerated virtualization, while this uses QEMU with TCG. The Linux terminal app also supports running a DE (No VNC - as in no VNC, not NoVNC - required!), has full shell, full root, all the features of Podroid, and hell, you could even swap out the terminal if you wanted to. The only advantage to this seems that it supports Android 14, 15, and 16. Am I missing something, or does this have no purpose?
Re:Run Linux containers on Android, no root required by j45 on Saturday April 04, 2026 @12:13AM (#47635660)
Sometimes the capability unlocks the possibilities.
Re:Run Linux containers on Android, no root required by m132 on Saturday April 04, 2026 @06:22AM (#47637743)
But does it synergize paradigms?
Re:Run Linux containers on Android, no root required by j45 on Saturday April 04, 2026 @12:07PM (#47640284)
Creating a new capability is like making a new flashlight.

Maybe the new light can see wider, or further and you see something you didn’t before that was possible.

You can synergizr the looksmaxing while cooking if you like :)

Re:Run Linux containers on Android, no root required by nagaiaida on Saturday April 04, 2026 @01:10AM (#47635986)
you seem to have articulated precisely the advantage that makes it serve a purpose for me: supporting the version of android on my phone. presumably i am far from unique in not having android 16
Re:Run Linux containers on Android, no root required by gbil on Saturday April 04, 2026 @02:12AM (#47636336)
My understanding is that the integrated linux terminal is not supported on all processors like snapdragon ones and also is not available on all manufactures like Samsung. Therefore this approach covers a much bigger audience.
Re:Run Linux containers on Android, no root required by microtonal on Saturday April 04, 2026 @04:10AM (#47636980)
I think it was only available on Google Pixel until recently. As far as I understand, some Samsung Exynos devices support it (e.g. Z Flip 7, non-US S26 with Exynos), but not Snapdragon devices, which don't seem to support non-protected VMs yet:

Error code: java.lang.UnsupportedOperationException: Non-protected VMs are not supported on this device

Re:Run Linux containers on Android, no root required by gbil on Saturday April 04, 2026 @05:22AM (#47637389)
I can find it on my S25fe with exynos android 16/oneui 8.0 if I search for it in the setting but is greyed out. I wait for 8.5 to see if it is enabled then and is the only time I'm happy to have an exynos device!
Re:Run Linux containers on Android, no root required by fg137 on Saturday April 04, 2026 @07:37AM (#47638137)
Can confirm -- seeing the same error on a Samsung Snapdragon device when attempting to use the Linux terminal
Re:Run Linux containers on Android, no root required by getpokedagain on Saturday April 04, 2026 @12:55PM (#47640839)
It also behaves weirdly if you use a VPN.
Re:Run Linux containers on Android, no root required by ghywertelling on Saturday April 04, 2026 @04:01AM (#47636936)
We can use old phones for running PiHole.
Re:Run Linux containers on Android, no root required by jacek on Saturday April 04, 2026 @04:57AM (#47637253)
I tried it on my Samsung phone. Keeps crashing, "recovery" just deletes everything and you start over from scratch. No session lasted more than 5 minutes.
Re:Run Linux containers on Android, no root required by realusername on Saturday April 04, 2026 @05:02AM (#47637280)
Personally this toggle doesn't do anything (Android 16, Samsung) so I'm not sure when it's supposed to be ready
Re:Run Linux containers on Android, no root required by iraizo on Saturday April 04, 2026 @05:21AM (#47637381)
The new app is truly awesome, was able to get a desktop environment running, and a minecraft server & client. Just a shame that you can't pass through USB.
Re:Run Linux containers on Android, no root required by thrance on Saturday April 04, 2026 @06:03AM (#47637641)
Wow, didn't know this existed, thanks. But 761 Mo download?? That's insanely big for a terminal, what could possibly make this bundle so big?
Re:Run Linux containers on Android, no root required by petu on Saturday April 04, 2026 @08:43AM (#47638569)
It's not giving you access to Android shell, but one inside VM. So OS image for VM.
Re:Run Linux containers on Android, no root required by prmoustache on Saturday April 04, 2026 @05:50PM (#47643846)
It is a complete OS in a virtual machine.
Re:Run Linux containers on Android, no root required by m132 on Saturday April 04, 2026 @06:26AM (#47637758)
This. Also, for phones that don't support Android virtualization, there's a user-space hack, part of Termux upstream, that allows for root-less chroots via LD_PRELOAD: https://wiki.termux.com/wiki/PRoot.

systemd won't boot with this (needs to be PID 1), but a lot of software will work just fine and there's nearly zero emulation overhead.

Re:Run Linux containers on Android, no root required by yjftsjthsd-h on Saturday April 04, 2026 @12:41PM (#47640665)
I don't think it uses LD_PRELOAD, it uses ptrace to intercept system calls (hence the name). Unfortunately this does have performance overhead, although I've never bothered to measure it. Actually that would be an interesting thing to benchmark.
Re:Run Linux containers on Android, no root required by m132 on Saturday April 04, 2026 @08:39PM (#47645021)
My bad, I must have confused it with something else. Yes, it uses ptrace; there definitely is some overhead around system calls, but that still should be better than running atop a full-scale CPU emulator. That being said, I haven't benchmarked it myself, just remember it being pretty snappy.

Thanks for your correction!

Re:Run Linux containers on Android, no root required by shrx on Saturday April 04, 2026 @10:32AM (#47639396)
> The Linux terminal app on Android (check Developer settings if you want it)

I don't see it. How do I install it?

Re:Run Linux containers on Android, no root required by Gander5739 on Saturday April 04, 2026 @10:38AM (#47639436)
In developer settings, under debugging "Linux development environment (Experimental) Run Linux terminal on Android"
Re:Run Linux containers on Android, no root required by shrx on Saturday April 04, 2026 @11:16AM (#47639756)
No such option. Apparently it needs to be allowed by the vendor (Samsung)?
Re:Run Linux containers on Android, no root required by mbana on Thursday April 09, 2026 @01:18PM (#47706405)
Yeah, it is controlled by the vendor. If you can't find the option, you will need to use `adb` to enable it that's what I did basically. You can Google it and you'll find what I'm talking about. IRC, it is `pm enable ...`.
Re:Run Linux containers on Android, no root required by arend321 on Saturday April 04, 2026 @10:40AM (#47639453)
The Linux terminal app on Android reddits are full of reports of instability. It is far from being useful as far as I understand. I had so much hope for this being a good way to use my phone as a portal for development, but it's a dud. At least we have termux and proot.
Re:Run Linux containers on Android, no root required by dredmorbius on Saturday April 04, 2026 @12:07PM (#47640279)
Termux itself is a red-headed step-child on Android, with current releases installable only from F-Droid, and quite possibly subject to further restrictions in future.

Mind: Termux is the only thing on Android which has not precisely sucked in my own 15+ years' experience with the platform. It remains both crippled and emperiled by the OS and Google.

<https://web.archive.org/web/20210103151837/https://wiki.term...>

There's ... some Google Play availability as of June 2024: <https://github.com/termux/termux-app/discussions/4000>.

F-Droid's own future viability is at risk given Google's recent Android directions:

<https://www.techdirt.com/2025/10/07/googles-requirement-for-...>.

My own interests lie more in the ability to run Android emulated under Linux, and switching from phone / tablet devices to a small form-factor laptop (Framework 12 or 13 most likely) for on-the-go computing.

Re:Run Linux containers on Android, no root required by smetannik on Saturday April 04, 2026 @10:58AM (#47639606)
Android's terminal app is really slow and takes some time to boot comparing to Termux.

Also, the Terminal app is essentially a webview (as I understand, the reason is architectural).

Re:Run Linux containers on Android, no root required by fmajid on Saturday April 04, 2026 @06:30PM (#47644199)
The Linux Terminal app is incredibly buggy in my experience, but that may be because I use GrapheneOS.
Re:Run Linux containers on Android, no root required by acka on Saturday April 04, 2026 @07:12PM (#47644521)
Not everyone owns one of the limited range of devices that Linux Terminal is available for. For example, no Snapdragon chips currently in use support the "non-protected" virtual machines required by the Android Virtualization Framework. Also, it doesn't jive with Samsung Knox, so the few Samsung devices that this might work on (mostly international models with Exynos chips) will likely not be supported.
Re:Run Linux containers on Android, no root required by Saris on Saturday April 04, 2026 @07:43PM (#47644698)
Isn't this super limited? It seems to only support the latest version of android which only recently released phones have.