keyboard_arrow_left返回

Upgrade OkcarOS on
Sony Xperia XZ2

akari

Basic requirements

  1. Read through the instructions at least once before actually following them, so as to avoid any problems due to any missed steps!
  2. You actually want to upgrade your device to the newest version - if you wish to downgrade to an earlier version of OkcarOS, follow your device’s instructions for installing OkcarOS the first time.

Manually upgrading OkcarOS

The updater app does not support upgrades from one version of OkcarOS to another, and will block installation to any update for a different version. Upgrading manually requires similar steps to installing OkcarOS for the first time.

  1. Download the OkcarOS install package that you’d like to install or build the package yourself.
  2. If you are currently using (or now want to use) an application package add-on such as Google Apps, you have the following options:
    • keep using them: Download the appropriate version now (use the arm64 architecture)
    • remove them: You can only do so by performing a factory reset, which will also remove all your data.
    • start using them: You can only do so by performing a factory reset, which will also remove all your data. Download the appropriate version now (use the arm64 architecture)
  3. Make sure your computer has working adb. Setup instructions can be found here.
  4. Enable USB debugging on your device.

  5. Run adb -d reboot sideload.
  6. Run adb sideload /path/to/zip (inserting the path to your OkcarOS package).
  7. (Optionally): If you want to install any add-ons, click Advanced, then Reboot to Recovery, then when your device reboots, click Apply Update, then Apply from ADB, then adb -d sideload /path/to/zip those packages in sequence.
  8. Once you have installed everything successfully, click the back arrow in the top left of the screen, then “Reboot system now”.

Get assistance

After you’ve double checked that you followed the steps precisely, didn’t skip any and still have questions or got stuck, feel free to ask on our subreddit or in #OkcarOS on Libera.Chat.