Back to the overviewUpdate OkcarOS on
akari
Update OkcarOS on
Sony Xperia XZ2
akari
Updating your device
NOTE: OkcarOS strongly recommends using our builtin Updater app. Alternative methods are supported, however.
NOTE: addon.d-v2/backuptool_ab, the systems responsible for backing up addons such as GApps/SU do NOT run in recovery on A/B partition scheme (seamless update) devices. Addons are only backed up if you update via the built-in OkcarOS Updater app or the push-update script detailed below.
Using the OkcarOS 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”. Once the update process has finished, the device will display a “Reboot” button, you may need to go into the Updater menu in Settings, “System” to see it. This will reboot you into the updated system.
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” (OkcarOS 17.1 or above) or select “Root Access Options”, then “ADB Only”.
- Run
adb root
-
Run
wget https://raw.githubusercontent.com/OkcarOS/android_packages_apps_Updater/lineage-20.0/push-update.sh && chmod +x push-update.sh
- Run:
./push-update.sh /path/to/zip
- Open Settings, navigate to “System”, then “Updater”. click “Install”. Once the update process has finished, the device will display a “Reboot” button, you may need to go into the Updater menu in Settings, “System” to see it. This will reboot you into the updated system.