You will need a Windows PC, a USB cable that supports data transfer, and the following software: Xiaomi USB drivers, Mi Unlock Tool, and the correct version of TWRP (Team Win Recovery Project) for “Riva.” Finally, download the latest Magisk APK (renamed to .zip for flashing).
: Unlocking the bootloader erases everything on the phone. Back up your photos, contacts, and apps. How to root XIAOMI Redmi Y1
You cannot simply click a button to root a modern Xiaomi device. There is a strict preparation phase required to ensure the process goes smoothly. You will need a Windows PC, a USB