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

protonaosp
Advertisement
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.

Advertisement

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.

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.

Advertisement

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.

Advertisement

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.

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

Advertisement

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.

Recommended Deals
1 / 5
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

5.0
👑A good choice
Apple iPhone 17 Pro

Apple iPhone 17 Pro

4.8
$1,012.97$1,099.00-8%
Buy on Amazon
Samsung Galaxy Watch 8

Samsung Galaxy Watch 8

4.9
$289.99$349.99-17%
Buy on Amazon
💎Best Android Device
Samsung Galaxy S26 Ultra

Samsung Galaxy S26 Ultra

4.9
$1,212.85$1,499.99-19%
Buy on Amazon
DEAL!
Samsung Galaxy Watch Ultra (2025)

Samsung Galaxy Watch Ultra (2025)

5.0
$449.99$649.99-31%
Buy on Amazon
* As an Amazon Associate, Droid Tools earns from qualifying purchases. Read our editorial policy
Robert Haba
Robert HabaFounder · 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.

Advertisement

Comments & Discussions

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

Advertisement
More Stories

Keep Reading

Android 17 network privacy adds ECH and SMS defenses

Android 17 network privacy is expanding with several protections aimed at keeping apps, carriers, and outside observers from learning more than they need to know about a user’s connections. In an Aug. 27 report, Stephen Schenck at Android Authority says Google’s latest changes include Encrypted Client Hello, tighter local-network access, default Certificate Transparency, and carrier-controlled […]

android 17 pixel bug

The Android Phones With the Longest Software Update Guarantees

Android update policies used to be an afterthought. That's changed: Google and Samsung now guarantee seven years of both OS upgrades and security patches on their flagships, and several other brands have matched that number in the last year and a half. To find the phones worth highlighting, we set three rules: the update promise […]

The Android Phones With the Longest Software Update Guarantees

Android 17 QPR2 Beta 3 brings App lock and Pixel UI changes

Android 17 QPR2 Beta 3 arrived on August 14 as the latest preview of the December release. 9to5Google described the Friday launch as unexpected and began a running catalog of changes that was still marked as updating. As new changes are discovered, the latest entries will be placed at the top of the page. Readers […]

android 17

One UI 9 Update Rolls Out With Now Nudge AI and Gemini-Powered Galaxy AI

Samsung has begun rolling out the stable One UI 9 update, based on Android 17, starting with the Galaxy Z Fold 8 series worldwide, according to Memeburn. Samsung is also internally testing the update on 49 additional Galaxy phones and tablets, with the software rolling out through the rest of the year on a staggered […]

best one ui 9 features

HyperOS 4 Setup Leak Reveals 10 New Features and Glass Design

A leaked HyperOS 4 setup screen has exposed Xiaomi's planned onboarding flow, along with a list of ten major features tied to the update. The files directly reference “Xiaomi HyperOS 4” and divide several features by device class, with some Glass effects marked exclusively for flagship models and the Q18. The leak also backs up […]

hyperos 4