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:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

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

ROCK Pi 4C Plus

18 Replies to “Android 13 virtualization lets Pixel 6 run Windows 11, Linux distributions”

  1. 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.

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

    1. The Windows screenshot on the left is QEMU’s local VNC server, and the other screenshots are RDP. The VM is running on Pixel 6, not another computer or server.

  3. 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…

    1. 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 !

    1. 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.

      1. 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 do exactly the same as what the previous ones permitted.

        1. 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 some people to use older phones with cracked screens, etc. You might also stand a better chance of fully utilizing the 640 GB of RAM in the phone.

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

  4. 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.”

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

Leave a Reply

Your email address will not be published. Required fields are marked *

Khadas VIM4 SBC
Khadas VIM4 SBC