Notebookcheck Logo

Android 13 DP1 on Google Pixel 6 allows running full Windows 11 and Doom in a VM with near-native performance

Android 13 on Pixel 6 devices now allows running Linux and Windows 11 VMs. (Image Source: @kdrag0on on Twitter)
Android 13 on Pixel 6 devices now allows running Linux and Windows 11 VMs. (Image Source: @kdrag0on on Twitter)
XDA Senior Member Danny Lin (@kdrag0n) has managed to get entire virtual machines running on the Google Pixel 6 with relative ease. This was possible due to the new KVM feature that is being introduced with Android 13. The developer could even run Windows 11 on ARM and even play the classic Doom game on the Pixel 6 with decent performance.

Google just released Android 13 Developer Preview 1 (DP1) for developers to test out on eligible Google Pixel phones. Apart from features such as enhanced privacy and themeable app icons, Android 13 may have one cool trick up its sleeves — the ability to run kernel-based virtual machines (KVMs). 

XDA Senior Member Danny Lin (@kdrag0n on Twitter) demonstrated that it is indeed possible to run entire virtual machines with near-native performance on a Google Pixel 6 running Android 13 DP1. What's more, the developer could even get Windows 11 on ARM and Doom running on the Pixel 6 as well!

With Android 13, Google is extending the KVM functionality in Linux to something called protected KVM (pKVM) that allows for data confidentiality even if the base OS is compromised. pKVM works on a per-VM basis but with the ability to expose the Exception Level 2 hypervisor privilege in the bootloader and Tensor firmware, it is possible to use full KVM functionality for non-protected virtual machines. Due to this, @kdrag0n could boot multiple Linux distros and run them at near-native speed. 

While the current KVM access on Android 13 requires root access, it is theoretically possible to have a non-root method by implementing a service such as crosvm, QEMU, or Firecracker in a Microdroid VM. For those not in the know, Microdroid is a stripped-down version of the Android generic system image (GSI) that allows isolating apps and even OSs on the same hardware. So technically, you can use one OS copy for work and another for personal stuff without the two ever talking to each other and that too, without performance penalties.

@kdrag0n could get Linux distros such as Ubuntu 21.10, Arch Linux ARM, Void Linux, and Alpine Linux running on the Pixel 6. Soon, Windows 11 on ARM was also up and running with relative ease. The developer notes that even though there's no GPU acceleration just yet, the CPU, I/O, and memory seem to be working fine. By connecting the phone's VM to a computer, the developer could also play the original Doom. 

From running Android apps on Windows 11 via the Windows Subsystem for Android to running the full Windows 11 OS itself on Android, it looks we have come a full circle. It will be interesting to see what other projects developers can come with as Android 13 matures.

Buy the Google Pixel 6 (Unlocked) on Amazon

Ubuntu 21.10 running on the Pixel 6 with Android 13 DP1. (Image Source: @kdrag0n on Twitter)
Ubuntu 21.10 running on the Pixel 6 with Android 13 DP1. (Image Source: @kdrag0n on Twitter)
Windows 11 running on the Pixel 6 with Android 13 DP1. (Image Source: @kdrag0n on Twitter)
Windows 11 running on the Pixel 6 with Android 13 DP1. (Image Source: @kdrag0n on Twitter)
I/O performance in Windows 11 running on the Pixel 6 with Android 13 DP1. (Image Source: @kdrag0n on Twitter)
I/O performance in Windows 11 running on the Pixel 6 with Android 13 DP1. (Image Source: @kdrag0n on Twitter)
Read all 3 comments / answer
static version load dynamic
Loading Comments
Comment on this article
Please share our article, every link counts!
> Expert Reviews and News on Laptops, Smartphones and Tech Innovations > News > News Archive > Newsarchive 2022 02 > Android 13 DP1 on Google Pixel 6 allows running full Windows 11 and Doom in a VM with near-native performance
Vaidyanathan Subramaniam, 2022-02-14 (Update: 2022-02-14)