The LineageOS team recently launched LineageOS 18.1 (based on Android 11) to several devices, including the 2017 Pixel 2 XL. This is awesome news to me since my old Pixel 2 XL stopped receiving official software updates last year.
Since this is a major release, I have to manually install the software via ADB rather than a traditional OTA update, so I figured I'd document the simple process. Although this is a manual update and your device should remain intact, it's best to back up your device anyways.
Make sure you have
fastboot installed. I confirmed this just by typing in
adb --version and
fastboot --version into a terminal.
adb reboot sideload. You phone should reboot into recovery mode
adb sideload [image]where the image is the filename of the image. In my case it's lineage-18.1-20210415-nightly-taimen-signed.zip. The update took less than 5 minutes, though your results may very depending on file size and if you're using USB 3.0.
Nothing much has visually changed, but we can confirm we're running Android 11 by going to Settings > About and checking the Android version.
Thanks for reading. Feel free to send comments, questions, or recommendations to email@example.com.