twrp could not mount /data and unable to find crypto footer after format data

DanPuz

Member
May 15, 2017
11
0
0
After I did a factory data reset in TWRP, every thing looks normal but when I boot the OS and do the first boot setup
and then go back to TWRP the problem appears again.
How do I fix it?
Thanks in advance.

SPECS:
OS: lineage OS 8.1 official.
Phone: Redmi Note 4 snapdragon.
 

electrohippie

Member
Jun 23, 2016
16
13
3
Northern Parts
I have the same problem. Did you find a solution yet?

Everytime I try to wipe cache/dalvik I get
Code:
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done 
.
.
.
.
I'm using
twrp-3.2.3-0-mido.img

Found this on github:
https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1265
 
Last edited: