Id suggest the first thing is to flash twrp recovery to it, heres a link to that: https://twrp.me/devices/xiaomiredminote2.html theres installation instructions on that site you'll probably have to use the fastboot install method, you should spend some time researching how to do that properly...