I doubt self inflicted errors will be covered by warranty. Don't know if this will help but have a look How To Flash Xiaomi Device without unlocking bootloader And without USB debugging!  https://c.mi.com/thread-2504118-1-0.html