Skip to content

Back to the overview

Upgrade LineageOS on Xiaomi POCO X5 5G / Redmi Note 12 5G / Redmi Note 12R Pro

Manually upgrading LineageOS (to higher LineageOS version)

Note

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.

Warning

If you previously had any Google Apps add-on package installed on your device, you must install an updated package before the first boot of Android! If you did not have Google Apps installed, you must wipe the Data partition (or perform a factory reset) to install them. The updated Google Apps add-on package can be found here (use the ARM64 architecture).

  • Go to the Download Portal and download the LineageOS zip file that you would like to install.
  • Reboot your device into recovery mode by holding the appropriate key combination.
  • On the Lineage Recovery home screen, tap Apply update, then Apply from ADB for starting the sideload service.
  • Open a ADB & Fastboot tools window on your PC and sideload the LineageOS package you downloaded before:
$ adb -d sideload lineage-23.2-xxxxxxxx-UNOFFICIAL-gemstone.zip

Note

After the package is installed, recovery will inform you that reboot to recovery is required to install add-ons. In case you want to do that, please select "Yes," otherwise "No".

Installing Add-Ons

Note

If you don’t want to install any add-on (such as Google Apps), you can skip this whole section!

  • On the Lineage Recovery home screen, tap Apply update, then Apply from ADB for starting the sideload service.
  • Open a ADB & Fastboot tools window on your PC and sideload the add-on package you downloaded before:
$ adb -d sideload /path/to/zip

Note

Add-ons aren't signed with LineageOS's official key, and therefore when they are sideloaded, Lineage Recovery will present a screen that says Signature verification failed, this is expected, please click Continue.

All set!

  • Click the back arrow in the top left of the screen, then "Reboot system now".
  • The first boot usually takes no longer than 15 minutes, depending on the device.
  • If everything went well, you will be greeted by the infamous LineageOS boot animation :D.