I have used Xiaomi Mi Max 2 for almost 3 years (purchased locally in 2017, in brand new / box packed condition with local warranty and PTA approved), and never faced any issues.
In your case, I think it proved a bad luck that your cell phone malfunctioned, but I am quite hopeful that your issue will be resolved in warranty IN SHA ALLAH.
All the Best and Good luck for its recovery ASAP! 