Installing custom ROMS on the Redmi Note 13 5G
AeronBackup all your data before proceeding.
To prevent loss of your data during installation, it's crucial to to backup all of your data.
Installing Platform-Tools (ADB and Fastboot)
You'll need ADB (Android Debug Bridge) and Fastboot tools on your computer to interact with your device during the installation. Additional information can be found online.
And I hope you already have an unlocked bootloader before proceeding further.
Installing the ROM
Download the required files by heading to the download page. You'll need the following files:
boot.imgvendor_boot.imgdtbo.imgvbmeta.img (optional, only needed for first install)The flashable ZIP of the ROM (e.g. lineage-23.2-20260623-UNOFFICIAL-gold.zip)
Flashing Recovery with Fastboot
Start by powering off your device. Then hold the Volume Down key along with the Power button. You should end up with the device saying "FASTBOOT" in the middle of the display.
Plug the phone into your computer and check fastboot devices to see if the device appears. If not, make sure you have the necessary drivers for your device.
After you verify that your computer recognises your device in fastboot mode, flash the vbmeta from the ROM with the following command (do not add any additional parameters such as --disable-verity and --disable-verification, this will cause your phone to stop booting!)
fastboot flash vbmeta vbmeta.img
Afterwards, flash the boot and vendor_boot images alongside dtbo (not important if your device can boot to recovery without issue)
fastboot flash boot boot.img fastboot flash vendor_boot vendor_boot.img fastboot flash dtbo dtbo.img
Once done, reboot the phone to recovery with:
fastboot reboot recovery
Wait for the device to boot into Lineage Recovery, then immediately format the data of your device by tapping on Factory reset -> Format data/factory reset. When prompted confirm the format. Use volume up/down to move up and down and power keys to select (as it will be mentioned in the lineage recovery as well).
After the format is complete go back to the main menu. Now tap on Apply update -> Apply from ADB.
Now type the following command on your computer to sideload the ROM zip onto your device, replace <name of zip> to the path to the ROM zip which you downloaded:
adb sideload <name of zip>
For example:
adb sideload lineage-23.2-20260623-UNOFFICIAL-gold.zip
It may take a while to send the ZIP over to your device, the installation should complete with no issues.
Once the sideload is complete, go back, and this time select Advanced -> Reboot to recovery. This is going to ensure that we are booted into the slot where we have flashed Lineage to install additional addons such as GApps and/or Magisk.
It will also prompt you if you want to reboot to recovery to install addons or not, click yes or no as you want.
Repeat the same sideloading process (excluding the reboot to recovery step) to install addons. For example, if I wanted to install GApps, I would go to Apply from ADB again, and on my computer type:
adb sideload <name of GApps zip>
Wait for the installation to finish. Once you are done flashing ZIPs, you are free to go back, and select "Reboot to system".
Finishing up
If everything has went well, you should be presented with the boot animation of your ROM. Wait for the device to boot and enjoy!