Mi max not able to boot up after flashing
It turns out the problem is with the battery. the connector that connects the battery to the main board was damaged. so I guess it didn't provide enough output for the main board to boot the operatinng system up.