keyboard_arrow_left Back to the overview

Upgrade LineageOS on
Xiaomi Mi 6

sagit

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. Verify your device is using the latest Lineage Recovery. Simply download the latest recovery file, named recovery.img. Follow your device’s installation guide to see how you can update your recovery image.
  2. Download the LineageOS install package that you’d like to install or build the package yourself.
  3. 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)
  4. Make sure your computer has working adb. Setup instructions can be found here.
  5. Enable USB debugging on your device.
  6. Additionally if you are on LineageOS 16.0 or below, open Settings, then “System”, then “Developer Options”, then select “Root Access Options”, and finally “ADB Only”. Now, run adb -d root
  7. Run adb -d reboot sideload.
  8. Run adb -d sideload /path/to/zip (inserting the path to your LineageOS package).
  9. (Optionally): If you want to install any add-ons, click Apply Update, then Apply from ADB, then adb -d sideload /path/to/zip those packages in sequence.
  10. 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.