Android 13 virtualization lets Pixel 6 run Windows 11, Linux distributions

The first Android 13 developer preview may have felt a bit underwhelming, but there’s a hidden gem with full virtualization possible on hardware such as the Google Pixel 6 smartphone.

What that means is that it is now possible to run virtually any operating system including Windows 11, Linux distributions such as Ubuntu or Arch Linux Arm on the Google Tensor-powered phone, and do so at near-native speed.

Android 13 virtualization Pixel 6 Linux

Android & web developer “kdrag0n” tested several Linux distributions compiled for Aarch64 on the Pixel 6 with Ubuntu 21.10, Arch Linux Arm, Void Linux, and Alpine Linux using “the KVM hypervisor on Pixel 6 + Android 13 DP1”. He/she further explains:

As far as I can tell, we can pretty much get full EL2 on production devices now. Protected KVM is optional and can be enabled on a per-VM basis, but for non-protected VMs, it looks like full KVM functionality is available.

EL2 refers to Arm Exception levels as explained on Arm developer website. kdrag0n did not stop here and managed to get Windows 11 running on the Pixel 6 as well through the same Android 13 virtualization.

Pixel 6 Windows 11
Windows 11 on Pixel 6

The Windows phone is back! More seriously, we’ll have to see if everything is working as expected, but this does look promising.

But why did Google enable virtualization in Android? It’s unlikely they just wanted to let users install Linux or Windows on the phone. Mishaal Rahman addressed this issue about two months ago:

… This is because hypervisors may or may not be present on a device, and when they are, they’re often not even used for their intended purpose, which is to run an operating system in a virtual machine! Instead, they’re used for things like enhancing the security of the kernel (or at least trying to) and running miscellaneous code (such as third-party code for DRM, cryptography, and other closed-source binaries) outside of the Android OS.

So that’s mostly for security and binaries like DRM. Mishaal’s article also points to the Virtualization module source code and a guide explaining how to get started with Protected Virtual Machines.

Via Liliputing

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
18 Comments
oldest
newest
Pete
Pete
2 years ago

Android now has feature parity with Chrome OS in providing a GNU/Linux environment.

This allows Samsung to relaunch their ill-fated Linux on DeX.

I wonder for how much longer Android will remain on bare metal when, if everything is in a container, Fuchsia beckons.

Dezza
Dezza
2 years ago

That’s awesome.
This will allow to run nodes natively in your pocket.
True decentralization.

David Willmore
David Willmore
2 years ago

Worst Haiku ever.

David Jashi
2 years ago

Does not fit in hexameter either.

Terry eh
Terry eh
2 years ago

Totally cool; just don’t forget to turn off gps.

fossxplorer
fossxplorer
2 years ago

Wow, nice! So i can run Linux on Android tabs!

Gonzalez
Gonzalez
2 years ago

I am sorry but the windows screenshot is rd client /rdp/remote desktop client, connected to a windows computer or vm on another server

Willy
2 years ago

You know the world is getting sick when you start to see hypervisors in phones… Piling tons of crap to try to address real problems instead of sitting down and wondering what is the problem we’re trying to address in the first place. Choice of software ? Quality ? Constantly having to choose between flexibility and security ? The next step will probably be like it was for desktops then servers, it will be to run outdated versions of Android as guests in a more recent Android…

Anonymous
Anonymous
2 years ago

Convenience > quality, and even security. Bring it on.

Terry eh
Terry eh
2 years ago

And wow, is that not the point.
No more obsolessed devices by software ANDROID. Ya, not getting to excited about running Windows. This is Linux news !

AndyChow
AndyChow
2 years ago

This will enable lazy devs to package an app as a docker service. All least all that ram won’t go to waste

Anonymous
Anonymous
2 years ago

12-16 GB is not uncommon, 18 GB is in the wild, 20-24 GB can’t be too far away. Let’s abuse it in every way possible.

Willy
2 years ago

I feel like I’m about to throw up… Another nice way to turn chemical battery energy into heat when doing nothing… Electricity and silicon are definitely too cheap. The day people can’t afford to charge their phone more than once a week, we might finally get rid of all that crap and the guilty developers who are wasting all these resources and find it normal to use 10MB of RAM and 100MB of storage to display a basic clock. Before this happens, no luck, and in 5 years we’ll see phones with 16 cores and 128 GB of RAM, to… Read more »

Anonymous
Anonymous
2 years ago

In all seriousness, OS/app bloat is not scaling to match the increased hardware specs. I think you would be hard pressed to fill 16-18 GB RAM because of how Android manages memory by default. Probably because there are many users who still only have 2-3 GB. The docked phone as a desktop concept should be pushed even harder. It was supposed to be a default feature in Android 10 but Google cut it. Using a phone as a desktop, you will be sipping power in comparison to traditional x86 systems, and it could cut down on e-waste if it encourages… Read more »

Theguyuk
Theguyuk
2 years ago

Want desktop then people should push wordprossing, spreadsheet, database and presentation packages on 2GHz Android TV boxes. Affordable terminals.

Christopher Price
2 years ago

It may also be for regulators. If you can VM CPU and GPU, then Google can argue they aren’t blocking APIs or activities on their platform. Even if it’s out of reach of most users to pull off, they can say “it’s possible – just package it up and sideload.”

Linuxguy
Linuxguy
2 years ago

This is exciting. I will have good use of my galaxy tab s7. Android tablet will sell very well if this is true.

Boardcon Rockchip and Allwinner SoM and SBC products