TWRP: OrangeFox: Data partition cannot mount as well as cannot be formatted

If you have experienced something like:

Failed to mount ‘/data’ (Invalid argument)
or
Failed to wipe dalvik
or
Unable to mount storage

This might be due to stock rom encryption which does not play well with dm-verity in TWRP and orangefox. If you want to fix this situation,

  1. Connect the phone to PC
  2. Boot phone to fastboot
  3. Open Terminal/CMD with fastboot binary in path.
  4. Type command fastboot erase userdata
  5. Enjoy :slight_smile:

Thanks a lot this will save a lot of time and travel for me :smiley:

I always used to fix your device via anydesk using a different method, today only u traveled.. and not for this.. mainly echo issue..