I can't direct you to another reply of mine, because I can't post links, so I'll just paste it here:
I just did it on a Redmi Note 3 Qualcomm 32/3 Gb with a locked bootloader. It took me some time to figure it out, so maybe I'll help you keep things shorter.
My phone had a vendor modified ROM...