keyboard_arrow_left Back to the overview

Upgrade LineageOS on
Xiaomi Mi 9T

davinci

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.
Device modelFirmware version
Mi 9T (Global)V12.1.4.0.RFJMIXM
Mi 9T (EEA)V12.1.1.0.RFJEUXM
Mi 9T (Russia)V12.1.2.0.RFJRUXM

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. Reboot into recovery by running adb -d reboot recovery, or by performing the following:
    • With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
  7. If your device is running LineageOS version older than 20.0, wipe your data partition (this is usually named “Wipe”, “Format”, or “Factory reset”).
  8. Click Advanced, then Enable ADB.
  9. Run adb -d reboot sideload.
  10. Run adb -d sideload /path/to/zip (inserting the path to your LineageOS package).
  11. (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.
  12. 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.