Google quietly adds revolutionary VPN protocol to next Android OS

VPN App
Image credit: Shutterstock (Image credit: Shutterstock)

The release of WireGuard earlier this year was one of the biggest things to happen to the VPN industry in a long time and now Google has added support for the new protocol to the next version of Android.

WireGuard, which was created by Edge Security's Jason A. Donenfeld, uses state-of-the-art cryptography to provide users with the highest level of privacy, security and speed. The new protocol is faster than existing VPN protocols and it also only contains just 4,000 lines of code compared to OpenVPN's 100,000 lines of code, making it easier to review and audit.

Just after the release of version 1.0.0 of the protocol back in March, it was added to the Linux kernel and made available in Linux 5.6 by Linus Torvalds. As Android is also based on Linux, it makes sense that Google would want to bring native WireGuard support to its mobile operating system by adding it to Android 12's Linux Kernel 5.4 tree.

Adding WireGuard to Android

With every new Android version, Google forks each Linux Kernel release to include “patches of interest to the Android community that haven't been merged onto mainline or Long Term Supported (LTS) kernels”. These kernels are known as Android Common Kernels and they form the Linux kernel that ships with Android devices.

As google releases new versions of Android, the search giant supports several Linux kernel releases. For instance, Linux Kernel versions 4.14 and 4.19 are in Android 11 while versions 4.19 and 5.4 will be included with Android 12. Today's flagship Android smartphones run on top of a fork of Linux Kernel 4.19 but with the upcoming release of Android 12, new devices will run on top of Linux Kernel 5.4 which includes WireGuard support.

Recently a number of new commits were added to the Android 12-5.4 tree of the Android Common Kernel and one of these commits was for the WireGuard VPN protocol. Linux kernel developer Greg Kroah-Hartman explained in his commit that WireGuard will be available in Android 12 as a simple network device driver, saying:

“This commit implements WireGuard as a simple network device driver, accessible in the usual RTNL way used by virtual network drivers. It makes use of the udp_tunnel APIs, GRO, GSO, NAPI, and the usual set of networking subsystem APIs.”

We'll likely hear more about WireGuard support in the latest version of Android once we get closer to Android 12's official release.

  • We've also highlighted the best VPN services

Via XDA

TOPICS
Anthony Spadafora

After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home. 

Latest in VPN
Proton VPN and Vivaldi partnership – promo image
Proton joins forces with Vivaldi browser to help you break free from Big Tech
Swiss flag with view of Geneva city, Switzerland
Secure encryption and online anonymity are now at risk in Switzerland – here's what you need to know
Demonstrators protesting against the arrest of the Mayor of Istanbul Ekrem Imamoglu block Atatürk Boulevard on March 22, 2025 in Ankara, Türkiye.
Turkey's social media ban has been lifted, but VPN usage is still high
Shape of Russia filled with Russian flag-colored internet codes on a black hacking background
A new wave of blocks in Russia targets VPN apps and Cloudflare subnets
A hand holds a smartphone displaying the NordVPN logo
NordVPN Prime hits lowest-ever price in VPN Spring sale
Digital hand set location on map with two pins. AI technology in GPs, innovation delivery, map location, future transport logistic, route path concept. GPs point. New office location, change address
What does your IP address reveal about you?
Latest in News
Nintendo Switch 2 Joy-Con up-close from app store
Nintendo's new app gave us another look at the Switch 2, and there's something different with the Joy-Con
cheap Nintendo Switch game deals sales
Nintendo didn't anticipate that Mario Kart 8 Deluxe was 'going to be the juggernaut' for the Nintendo Switch when it was ported to the console, according to former employees
Three angles of the Apple MacBook Air 15-inch M4 laptop above a desk
Apple MacBook Air 15-inch (M4) review roundup – should you buy Apple's new lightweight laptop?
Witchbrook
Witchbrook, the life-sim I've been waiting years for, finally has a release window and it's sooner than you think
Amazon Echo Smart Speaker
Amazon is experimenting with renaming Echo speakers to Alexa speakers, and it's about time
Shigeru Miyamoto presents Nintendo Today app
Nintendo Today smartphone app is out now on iOS and Android devices – and here's what it does