Back to the overviewUpdate LineageOS on
sirius
Update LineageOS on
Sony Xperia Z2
sirius
Updating your device
Note: LineageOS strongly recommends using our builtin Updater app. Alternative methods are supported, however.
Using the LineageOS Updater app
- Open Settings, navigate to “System”, then “Updater”.
- Click the Refresh Icon in the top right corner.
- Choose which update you’d like and press “Download”.
- When the download completes, click “Install”. Your device will reboot to recovery and install the update, then reboot to the updated installation.
From your PC via the push_update script (Linux/macOS only)
- Make sure your computer has working
adb
. Setup instructions can be found here. - Enable USB debugging on your device. Additionally, open Settings, then “System”, then “Developer Options”, and then either check “Rooted Debugging” (LineageOS 17.1 or above) or select “Root Access Options”, then “ADB Only”.
- Run
adb -d root
- Run
wget https://raw.githubusercontent.com/LineageOS/android_packages_apps_Updater/lineage-18.1/push-update.sh && chmod +x push-update.sh
- Run:
./push-update.sh /path/to/zip
- Open Settings, navigate to “System”, then “Updater”. Then proceed to click “Install” on the newly pushed update to commence installation. Your device will reboot to recovery and install the update, then reboot to the updated installation.
Sideloading from Recovery
- Make sure your computer has working
adb
. Setup instructions can be found here. - Enable USB debugging on your device. Additionally, open Settings, then “System”, then “Developer Options”, and then either check “Rooted Debugging” (LineageOS 17.1 or above) or select “Root Access Options”, then “ADB Only”.
- Run:
adb -d reboot sideload
-
Run:
adb -d sideload /path/to/zip
- Click the back arrow in the top left of the screen, then “Reboot system now”.