Google officially ended support for its Pixel 2 series of phones back in 2020, which meant that Android 11 was the last official major update that the phone would have received, so for Pixel 2 owners hoping for Android 12, you would be out of luck, at least officially.
If for whatever reason you’re still holding onto your four year old handset, you’ll be interested to learn that there is now a custom Android 12 ROM from ProtonAOSP that will be available for the Pixel 2 XL handset.
Given that this is a custom ROM, you won’t be able to update to it the same way you might on a regular Pixel handset receiving an official update. For starters, you’ll need to unlock the bootloader of the phone, but thankfully since it is available as a factory image, once the bootloader is unlocked, you just need to run the flash-all script to install the ROM.
It has been pointed out that this ROM isn’t 100% perfect and that based on the current build, WiFi isn’t working, nor are Permissive SELinux permissions. This means that if you still use the Pixel 2 XL as your daily driver, it might not be a good idea to install this ROM as it could make it difficult to use day-to-day.
But if you happen to have the Pixel 2 XL stashed in a drawer somewhere collecting dust, this could be a good way to see how Android 12 would feel like on the phone.
Source: Android Police