I was going through XDA and found this thread https://forum.xda-developers.com/mi-8/help/install-magisk-bootloop-t3824481 in the second post someone recommend using this (https://www.theandroidsoul.com/xiaomi-mi-8-root/) guide. ACTUALLY just read through it yourself I might be a bit confused...