Chosen Solution

I successfully flashed my Mi Max prime ROM using mi flash in edl mode. Now the problem is the phone doesn’t start up. It shows mi logo and android logo down the screen, its loading dots go for a few seconds, it vibrates, and then it switches off. I tried these ROMs: Xiaomi Mi Max Prime 64G/128G Latest China Stable Xiaomi Mi Max Prime 64G/128G Latest Global Stable and also its stock rom I tried even with miflash beta tool. I also tried going to recovery mode and wiped all data after flash. but it seems nothing works. but everything gives the same result. now I can’t even charge my phone. I don’t know what to do if battery drains… any suggestions?

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 go online!