- Build for yourself
- Update to a newer build of the same LineageOS version
- Upgrade to a higher version of LineageOS (e.g. lineage-19.1 -> lineage-20)
Special boot modes
Recovery: With the device powered off, hold Volume Down + Power.
Bootloader/Fastboot/Download: With the device powered off, hold Volume Up and connect the USB cable. The notification light should turn blue.
Find help online
You can find assistance with LineageOS on our subreddit, or in #LineageOS on Libera.Chat.
Note: This page is auto-generated for the Sony Xperia XZ2, based on the device’s information, located here. You can find similar instructions for every officially-supported device on this wiki.