My phone (Nexus 5) is constantly rebooting to the TWRP screen where it crashes, shuts down and repeats.
TWRP error:
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
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present.
Running Recovery Commands
Failed to mount '/data' (Invalid argument)
Formatting Cache using make_ext4fs...
Done processing script file
Renamed stock recovery file in /system to prevent the stock ROM from replacing TWRP.
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
What I did before I broke it:
Shut down the phone.
Booted the phone into the fastboot mode. (Pow + Vol Down)
On PC (through USB cable) I ran these commands:
fastboot oem unlock
-> which asks for an agreement and deletes the whole system
fastboot flash recovery Downloads/twrp.img
- I had the file renamed and it was located in the Downloads folder
Rebooted to the Recovery mode (2x Vol Up and Pow)
So what am I supposed to do to successfully flash a custom recovery if not this way?
I also faced with this issue and I found solution.
Go to bootolader
and then execute:
fastboot -w
to wipe the data from the phone (it will erase all user data and internal storage)
after that go to recovery
by calling:
fastboot reboot
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With