What you need:
TWRP (Compatible version for your phone)
Custom Kernel KSU version (KSU is needed. Non-KSU will not work)
KernelSU Manager App
Fastboot ROM of your device (Optional, need for repair if bricked)
Note: I am not responsible if your phone gets bricked. I am also using Redmi Note 8...