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.
Get LineageOS for the Sony Xperia XZ2
Special boot modes
Recovery: With the device powered off, hold Volume Down + Power.
Download: With the device powered off, hold Volume Up and connect the USB cable. The notification light should turn blue.