i was running latest miui naamieb update, without root but with unlocked bootloader.
my phone all of a sudden shut down and went bootloop .tried to flash stock rom again (saving user data) through mi flash app several times, but nothing happened, i kept having the same error
REMOTE : FAILED TO ERASE PARTITION. This error appers also if i manually try to erase partition though fastboot.Nothing can be flashed either erased, i can boot into some twrp recorey through miui recovery tool , and twrp display a decryption page(though i never set any password). i'm hopeless ,3 day been looking on the web for any solution but nothing so far