Skip to content
Droid ToolsDroid Tools
Home
About UsContact
Editorial PolicyReview Policy
Privacy PolicyCookie PolicyTerms & Conditions
⌘K
Search
FacebookX (Twitter)InstagramThreadsBlueskyTikTokYouTubeRedditTelegramRSS Feed
Droid Tools

Droid Tools covers the latest Android news, device reviews, app updates, and OS guides. Stay informed with hands-on coverage from mobile tech experts.

Explore

  • News
  • Apps
  • OS
  • Phones
  • Reviews

Legal & Info

  • About Us
  • Contact
  • Editorial Policy
  • Review Policy
  • Privacy Policy
  • Terms & Conditions
  • Cookie Policy
  • Affiliate Disclosure
  • Disclaimer
  • HTML Sitemap
  • XML Sitemap
© 2026 Droid Tools. All rights reserved.
Home/OS/First custom rom running Android 12 for Google Pixel 2 XL -ProtonAOSP
OS
google

First custom rom running Android 12 for Google Pixel 2 XL -ProtonAOSP

protonaosp
Robert Haba
Nov 10, 2021Updated Mar 25, 20264 min read
Robert Haba
Robert Haba
Founder · Editor-in-Chief
Robert Haba is the founder and editor-in-chief of Droid Tools. A lifelong gadget enthusiast with over a decade following the Android ecosystem, he built this publication to cut through the noise and give readers honest, real-world coverage of the tech they actually use.
X
Profile →
0%
Share on XFacebookBluesky
Follow on Google
Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source

The 2 XL’s update end-of-life date was in December of last year, just a few months after Google introduced Android 11. Even though they’re getting on in years, these phones are still adequate for basic day-to-day use. If you have a Pixel 2 XL and want to try Android 12 out, you can do so right now if you’re ready to take matters into your own hands. The first Android 12-based custom ROM for the Pixel has been launched, and it includes all of the important new features such as Material You, a redesigned Quick Settings panel, new system animations, and privacy improvements.

While you can always install the GSI build of Android 12 on your Pixel, the experience isn’t stable enough for everyday use because it’s designed for developers. This is where ProtonAOSP comes in, since it provides a relatively stable option for Pixel 2 XL owners to try out the latest Android update on their aging hardware. The ProtonAOSP Android 12 ROM is currently only available for the Pixel 2 XL, but a build for the smaller Pixel 2 is on the way.

Installing the ProtonAOSP’s Android 12 release is different from other ROMs as it is available as a factory image (see how over at XDA Developers). You’ll need to unlock the bootloader on your Pixel 2 and use the bundled flash-all script to install the ROM. If the installation fails, you may need to repartition and allocate more storage to various system partitions.

If you do install the ProtonAOSP ROM on your Pixel 2 XL, be prepared to run into some bugs and occasional performance issues. The major ones are non-functional Wi-Fi and Permissive SELinux permission in the current build. There are likely other issues as well that haven’t been reported yet. Nonetheless, if you want to try out Android 12 on your Pixel 2 XL, this is your best bet right now.

Gallery photo 1
Gallery photo 2
Gallery photo 3
Gallery photo 4
Gallery photo 5
Gallery photo 6
Gallery photo 7
Gallery photo 8

Manual install ProtonAOSP

This is a guide for installing ProtonAOSP manually, using the command line. The web installer is recommended if you don’t have a specific need for this. Check the list of common misconceptions if you’re not sure.

You can only use a Windows, macOS, or Linux computer for this manual installation; use the web installer if you want to install from a Chromebook or another phone.

You May Also Like
Recommended
1

Android code hints at “Unlock with Google Account” PIN recovery option

Android code hints at “Unlock with Google Account” PIN recovery option
2

Android 17 QPR3 Beta 1 arrives for Pixel with over 20 bug fixes

android 17 beta update
3

Android 17 QPR2 Beta 6.1 fixes a Pixel 11 Pro Fold Face Unlock issue

Android 17 QPR2 Beta

Download a build

Download the build you want to install in factory images format.

Prepare your phone

Put your device into bootloader mode by restarting it and holding the volume down button until you see a red warning sign or green Android robot.

Once your device is in bootloader mode, plug it into the computer or device you’re installing from. Make sure you use a high-quality USB cable, as many cables will cause issues. Avoid USB hubs if possible.

Your USB cable needs to be able to copy files. Charging-only cables won’t work.

If you’re switching from the stock OS or another ROM, make sure all your important data is backed up. You’ll need to wipe all your data in order to use ProtonAOSP.

Prepare your system

First, open the “Command Prompt” app from the Start menu.

Next, download the Android SDK Platform Tools and extract them. Navigate to the extracted platform-tools folder in the terminal by typing cd  (with the space at the end) and dragging the folder into Command Prompt. Then run the following command:

set PATH=%CD%;%PATH%

If it’s your first time installing from this computer, you also need to install drivers:

  1. Open Settings → Windows Update
  2. Click “Check for updates” and wait
  3. Click “View optional updates”
  4. Select the “Android Bootloader Interface” update (ignore the brand name; it doesn’t matter)
  5. Click “Download and install” and wait for it to finish
  6. Unplug your device and plug it back in

Wipe data#

If you’re switching from the stock OS or another ROM, you need to wipe all data before installing ProtonAOSP:

fastboot -w

Otherwise, ProtonAOSP won’t boot and your phone will get stuck on the boot animation after the installation.

DANGER

All data on your phone will be lost, so make sure your important files are backed up before doing this.

Install the build

Factory images

Extract factory images

Extract the downloaded factory images package (e.g. proton-aosp_redfin-factory_11.5.0.zip). Navigate to the new folder (e.g. redfin-rq2a.210505.003) by typing cd  (with the space at the end) and dragging the folder into your terminal.

Flash factory images

Run the following command to flash the factory images:

  • Windows
  • macOS
  • Linux
./flash-all.sh

Copy

Don’t touch, unplug, or press any buttons on your device during the install. Your phone will restart several times, but don’t touch it. It will automatically boot into ProtonAOSP once the installation process completes.

Finish

You can now delete the factory images package, but don’t delete the platform tools — you’ll need them for updating in the future.

See First Steps for what to do next.

For security, you may also wish to re-lock the bootloader to enforce verified boot, which improves physical security and resistance against persistent attacks.

Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source
Tags:#android#android 12#aosp#customgoogle#pixel#rom
Recommended Deals
1 / 5
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

5.0
529.99
Buy on Amazon
* As an Amazon Associate, Droid Tools earns from qualifying purchases. Read our editorial policy
Robert Haba
Robert HabaFounder · Editor-in-Chief
X

Robert Haba is the founder and editor-in-chief of Droid Tools. A lifelong gadget enthusiast with over a decade following the Android ecosystem, he built this publication to cut through the noise and give readers honest, real-world coverage of the tech they actually use.

Next Story in OS

Android code hints at “Unlock with Google Account” PIN recovery option

Forgetting a PIN right after setting it is a common frustration, and a new teardown suggests Android could eventually offer a way around it without resorting to a factory reset: unlocking a forgotten phone using nothing but a Google account. What the teardown found Tipster AssembleDebug dug through the code of Android 17 QPR2 Beta […]

→

Latest Stories

Galaxy S27 Ultra display could fix the Privacy Display trade-offs01

Galaxy S27 Ultra display could fix the Privacy Display trade-offs

02

Huawei Mate 90 Pro – review – launches in China with a 12,000-nit display and 6600mAh battery

03

Google Messages may remove the SMS/MMS-only toggle for RCS chats

04

WhatsApp’s Restricted Chat blocks linked devices from accessing a conversation

Amazon Deals
5.0
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

Best Price
529.99
Buy

Top Deals

Google’s Pixel Referral Program is back with 10% off and Store credit

Deal
Google’s Pixel Referral Program is back with 10% off and Store credit

Pixel Watch 5 vs. Pixel Watch 4: what actually changed

Deal
Pixel Watch 5 vs. Pixel Watch 4: what actually changed

Apple Watch Series 12 vs Pixel Watch 5: how they compare

Deal
Apple Watch Series 12 vs Pixel Watch 5: how they compare
Recommended stories

Continue reading

More from this category →
Android code hints at “Unlock with Google Account” PIN recovery option
OSOct 6, 2026

Android code hints at “Unlock with Google Account” PIN recovery option

Forgetting a PIN right after setting it is a common frustration, and a new teardown suggests Android could eventually offer a way around it without resorting to a factory reset: unlocking a forgotten phone using nothing but a Google account. What the teardown found Tipster AssembleDebug dug through the code of Android 17 QPR2 Beta […]

By Robert Haba
android 17 beta update
OSOct 4, 2026

Android 17 QPR3 Beta 1 arrives for Pixel with over 20 bug fixes

Google has released Android 17 QPR3 Beta 1 to every still-supported Pixel device, from the Pixel 6a through the new Pixel 11 series, and the rollout arrived earlier than expected this afternoon. The update looks sizable, carrying fixes for at least 20 bugs that had carried over from QPR2. The beta ships as build DP11.260918.005 […]

By Robert Haba
Android 17 QPR2 Beta
OSSep 30, 2026

Android 17 QPR2 Beta 6.1 fixes a Pixel 11 Pro Fold Face Unlock issue

The previous Android 17 QPR2 Beta 6 update mostly focused on fixing bugs that had been plaguing devices for a while, including a substantial issue that caused phones to reboot simply from scrolling through content, along with fixes for letterboxed content leaking through the status bar during app transitions and a Pixel 9 Pro Fold […]

By Robert Haba
Honor MagicOS 11 debuts September 15 with Glazed Architecture, faster YOYO
OSSep 22, 2026

Honor MagicOS 11 debuts September 15 with Glazed Architecture, faster YOYO

Honor MagicOS 11 debuts on September 15 with a set of new features for eligible devices, ranging from a smoother, more fluid UI to a more capable AI assistant. Honor unveiled MagicOS 11 at its 2026 Global Developer Conference, and the company said the official version will open for unlimited testing right after the event, […]

By Robert Haba
Next in queue

Read the next article

The next story loads as you reach the end. You can also load it using the button.

Comments & Discussions

Join the conversation! We use Disqus to handle comments. Click the button below to load the comment section.