Download the latest Magisk APK and rename the extension to .zip (e.g., Magisk-v26.1.zip ).
With an unlocked bootloader, flash TWRP. Boot the Redmi Y1 into fastboot mode again. On the PC, open a command prompt in the folder containing the TWRP image file. Execute the command: fastboot flash recovery twrp_riva.img After flashing, do not reboot to the system immediately; Xiaomi’s stock ROM will overwrite TWRP on first boot. Instead, hold Volume Up + Power to boot directly into TWRP. How to root XIAOMI Redmi Y1
Go to Settings > Additional Settings > Developer Options and enable USB Debugging and OEM Unlocking . Download the latest Magisk APK and rename the extension to
To flash the rooting files, you need a custom recovery like TWRP (Team Win Recovery Project). Magisk-v26.1.zip ). With an unlocked bootloader