Hi,
I just wana share what happened to me.
I backup nandroid in TWRP and then flash custom ROM and everything was fine but when I try to restore stock Rom in TWRP I got ''error'' in TWRP and than reboot in to system and got bootloop.
''Error'' in TWRP is: Failed to mount ' /presist' ( Structure need cleaning )
what I find is where is the trouble is if you look in Backup option in TWRP I have option to back up Persist (0 mb) and Persist_image (32 mb)
and I thought what if it's a problem if TWRP first restore Persist_image which is (32 mb) and then again restore Persist ''partition'' which is 0 mb that means TWRP then just wipe Persist ''partition'' and there are no Persis files on this partition.
so I whent back to restore and UNCHECK PERSIST AND LEAVE JUST PERSIST_IMAGE (32mb)
and voala (how Franch says )
it is working again.
I'm on MIUI Global 12
HOPE THIS HELPS
I just wana share what happened to me.
I backup nandroid in TWRP and then flash custom ROM and everything was fine but when I try to restore stock Rom in TWRP I got ''error'' in TWRP and than reboot in to system and got bootloop.
''Error'' in TWRP is: Failed to mount ' /presist' ( Structure need cleaning )
what I find is where is the trouble is if you look in Backup option in TWRP I have option to back up Persist (0 mb) and Persist_image (32 mb)
and I thought what if it's a problem if TWRP first restore Persist_image which is (32 mb) and then again restore Persist ''partition'' which is 0 mb that means TWRP then just wipe Persist ''partition'' and there are no Persis files on this partition.
so I whent back to restore and UNCHECK PERSIST AND LEAVE JUST PERSIST_IMAGE (32mb)
and voala (how Franch says )
it is working again.
I'm on MIUI Global 12
HOPE THIS HELPS