HTC M8x (m8_ul) /data partition fails to mount (encrypted and corrupted)

med.erabti

New member
Feb 23, 2017
2
0
0
Hi there!
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
***UNLOCKED***
M8_UL PVT SHIP S-ON
HBOOT-3.19.0.0000
RADIO-1.25.21331147A1.06G
OpenDSP-v48.2.2-00564-M8974_FO.1211
OS-
eMMC-boot 2048MB
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!
 

Jabbah69

New member
Sep 27, 2010
3
1
0
I had the same message when I had a different versions of firmware and ROM. Try checking your firmware version and flash a suitable ROM. Don't forget the factory reset steps.
 

saiyansection

Senior Member
Aug 10, 2013
92
2
0
25
Pune
Hi there!
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
***UNLOCKED***
M8_UL PVT SHIP S-ON
HBOOT-3.19.0.0000
RADIO-1.25.21331147A1.06G
OpenDSP-v48.2.2-00564-M8974_FO.1211
OS-
eMMC-boot 2048MB
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!
same issue i am facing from yesterday, any solution you got?