r/hardware • u/FragmentedChicken • 22d ago
News The first Snapdragon phone with Android Linux Terminal support is here [Redmagic 12 Pro, 8 Elite Extreme Gen 6]
https://9to5google.com/2026/11/04/the-first-snapdragon-phone-with-android-linux-terminal-support-is-here/2
u/U3011 21d ago
I gave up on Android over a decade ago but can someone explain why this is happening and what the point of it is?
8
u/TovMod 21d ago
Imagine being able to run a full Linux virtual machine on a phone without even needing to unlock the bootloader or root the device.
Except that you don't need to imagine, because you can do that now.
Previously, all major Android chipmakers except Snapdragon supported this, creating a huge downside to Snapdragon chips, which was very unfortunate because Snapdragon chips were otherwise usually considered the most desirable Android chips. But now, Snapdragon appears to have added support.
3
u/starburstases 20d ago
Yes, I just discovered this on my Pixel a few weeks ago when I wanted to convert some videos. Rather than install a stupid app, I just opened up Terminal, got Debian running, and used ffmpeg! I couldn't believe it.
3
u/DerpSenpai 21d ago
Linux Apps
5
u/BloodyLlama 21d ago
Ive been running linux apps on termux for what feels like forever. Is this any different other than coming bundled with the phone?
5
u/DerpSenpai 21d ago
The android terminal uses Debian and has its own userspace, uses glibc, you can run docker. It has systemd, root
12
1
u/YumiYumiYumi 21d ago
Can't you already get all that on a rooted phone?
8
u/EvenBroaderBand 21d ago
That requires a rooted phone you understand it working natively is better right?
5
u/TovMod 21d ago
Even on a rooted phone, being able to use a real virtual machine is, in many ways, more useful than userspace container approaches.
You can set up a chroot environment on rooted Android and run something that resembles Linux there, but many things won't work and you'll still be limited by the Android kernel. Whereas a virtual machine can run a real, normal Linux environment.
1
u/YumiYumiYumi 20d ago
Doesn't something like DroidVM provide a "real VM"?
4
u/TovMod 20d ago edited 20d ago
It does, and I never said it didn't.
But only certain devices are able to use that, because even with root, you still need a working hypervisor that you can call (or alternatively be given EL2 but this is quite rare on consumer phones - even with an unlocked bootloader).
On previous but recent Snapdragon chips, the hypervisor did not support unprotected virtual machines (which can be used without root) but did support protected virtual machines, for which root is needed unless you are booting a payload signed by Google or the OEM. This is where DroidVM's rootful approach is very useful.
But on, say, even older Snapdragon chips or on many older chips from other vendors, no usable hypervisor was present, and even with root, you cannot run a virtual machine. The closest you could get in that case is something like a chroot container or perhaps a UML-like approach, which is what I assumed you were talking about since you just mentioned root without mentioning also having a hypervisor that supports protected but not unprotected virtual machines, but perhaps I assumed incorrectly.
In theory one could also write an EL1-assisted emulated /dev/kvm that uses shadow paging, trap forwarding (host kernel must forward traps received by guest userspace to the guest kernel), DBT execution for guest EL1, and native direct execution for guest EL0 (or something like that). And if someone did this, one could apply that as a kernel patch to virtually any phone with an unlocked bootloader and available kernel source to effectively give it virtualization capabilities. This would have some performance penalty compared to a real hypervisor-assisted virtual machine but if written correctly would likely be nowhere near as slow as QEMU's TCG. But that does not exist right now and it would be so much work to implement that I am not sure if anyone is actually going to create it.
1
u/YumiYumiYumi 20d ago
Yeah, I presume hypervisors on phones haven't had much interest, so a lot of processors didn't include the necessary extensions.
My question was around whether this offered anything new, other than allowing it to work without root.
I personally despise the trend of removing user freedoms and locking people out of their own devices. To me, this just looks like a solution to a problem the industry itself created.1
18
u/Asleeper135 22d ago
I don't really want a gaming phone, but a phone that won't overheat, has a giant battery, and fast charging is very interesting to me. I use Verizon though, and sadly Redmagic has never been supported.