keyboard_arrow_left Back to the overview

Upgrade LineageOS on
Xiaomi POCO M5s

rosemary

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 LineageOS, follow your device’s instructions for installing LineageOS the first time.

Manually upgrading LineageOS

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

  1. Build a LineageOS install package.
  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 -d sideload /path/to/zip (inserting the path to your LineageOS 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 #LineageOS on Libera.Chat.