Skip to content

Back to the overview

Install LineageOS on Xiaomi Redmi 6 Pro

Warning

This device is no longer maintained, and further support is not expected.

Warning

The provided instructions are for LineageOS 22.2. These will only work if you follow every section and step precisely. Do not continue after something fails!

Note

Make sure you have read the Getting started page before proceeding with the installation.

Download the required assets

LineageOS

  • Go to the Download Portal and download the following assets:
    • lineage-22.2-xxxxxxxx-UNOFFICIAL-sakura.zip
    • recovery.img

Note

You can verify the authenticity of these builds by following this page.

Warning

If you want to install Google Apps add-on package, you can download it from here (use the ARM64 architecture). This add-on needs to be installed before booting into LineageOS for the first time!

Install Lineage Recovery using fastboot

  • Reboot your device into fastboot mode by holding down the appropriate key combination.
  • Open a ADB & Fastboot tools window on your PC and flash the Lineage Recovery assets you downloaded before:
$ fastboot flash recovery recovery.img
  • Reboot your device into recovery mode by holding the appropriate key combination.

Install LineageOS from recovery

  • On the Lineage Recovery home screen, select Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).
  • On the Lineage Recovery home screen, tap Apply update, then Apply from ADB for starting the sideload service.
  • Sideload the LineageOS .zip package but do not reboot to system before you have read and followed the rest of the instructions!
  • Open a ADB & Fastboot tools window on your PC and sideload the LineageOS package you downloaded before:
$ adb -d sideload lineage-22.2-xxxxxxxx-UNOFFICIAL-sakura.zip

Tip

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".

Tip

Normally, adb reports Total xfer: 1.00x, but in some cases, even if the process succeeds, the output may stop at 47% and show adb: failed to read command: Success.

In other instances, it might display adb: failed to read command: No error or adb: failed to read command: Undefined error: 0 which is also fine.

Install 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

When presented with a screen that says Signature verification failed, click Yes. It is expected as add-ons aren't signed with LineageOS's official key!

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.