I have this HTC One M8x here. It was encrypted. Now I'm trying to flash a custom ROM (lineage).
When the phone boots and insert a password, it gives me:
The password you entered is correct, but unfortunately, your data is corrupt.
Then it boots into recovery (Philz CWM).
Then I went to the bootloader so I can access fastboot.
Some information on that screen:
Software Status: Modified
M8_UL PVT SHIP S-ON
Jan 10 2015
Then I booted TWRP using:
fastboot boot recovery.img
TWRP teamwin logo comes and it takes too long before TWRP works.
Then I try to mount manually using adb shell:
# mount /data
And it gives me:
mount: mounting /dev/block/mmcblk0p47 on /data failed: Invalid argument
Any idea how can I solve this?
Thanks in advance!