Modifying your device's software can lead to a bootloop or permanent damage (bricking) if done incorrectly. Always back up your data and ensure you have the correct version for your hardware. Xiaomi Redmi Note 5 Pro (xiaomi-whyred) - postmarketOS Wiki
You must use the official Mi Unlock Tool . Custom Recovery: Install a recovery like TWRP or OrangeFox.
Popular builds like DerpFest and CarbonROM provide updated Android versions for this aging device.
Place the Law Run 660.zip (or similar kernel/ROM) on your internal storage and flash it via recovery.
While specific "Law Run" files are typically found in community-driven channels, you can find general official and unofficial software for this device on these platforms: