So, yesterday my phone turned off on its own and keeps rebooting and gets stuck on lockscreen for 5 seconds until it reboots again. When I try to factory reset using TWRP or OrangeFox, it keeps telling me that my data partition is corrupt. And my phone wouldn't boot for this reason. I've even tried flashing fastboot rom using mi flash tool but the problem persists. Any help would be appreciated.
P.S: I got my motherboard replaced in January as my phone was under warranty. So, I'm afraid it could be a hardware related issue.
P.S: I got my motherboard replaced in January as my phone was under warranty. So, I'm afraid it could be a hardware related issue.