When I try to install a ROM with TWRP, I get

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)
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps

Then when I try to "Factory Reset" under TWRP Wipe, I get

/sbin/e2fsck -fp /dev/block/sda18 process ended with ERROR: 8
Unable to repair Data.
Failed to mount '/data' (Invalid argument)
Error changing file systems
Repairing Data using e2fsck...

I am using a Samsung Galaxy S7.

1 Answer 1


What you need to do is remove Crypto on Data

To do that, in TWRP

  • Settings
  • Format Data
  • Type "yes"
  • Done
  • I go to Settings but there is no Format Data button or option?
    – Ooker
    Dec 27, 2020 at 8:00
  • Are you in TWRP? Dec 27, 2020 at 8:04
  • yes, version 3.2.1-0
    – Ooker
    Dec 27, 2020 at 8:05
  • 1
    @Ooker do you see it under Wipe? or the like? Dec 27, 2020 at 8:05
  • found it, thanks
    – Ooker
    Dec 27, 2020 at 8:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .