TeamWin / Team-Win-Recovery-Project

Core recovery files for the Team Win Recovery Project (T.W.R.P) - this is not up to date, please see https://github.com/TeamWin/android_bootable_recovery/
http://twrp.me
1.95k stars 741 forks source link

Vince cannot mount /data #1386

Open ghost opened 5 years ago

ghost commented 5 years ago

Device codename: Vince TWRP version: 3.2.3-0

/data is unencrypted

I:Set page: 'mount' 挂载 '/data' 失败 (No such process) I:Actual block device: '/dev/block/mmcblk0p50', current file system: 'ext4'

recovery.log dmesg.txt

CaptainThrowback commented 5 years ago

There are no logs. This issue will be closed without more information.

ghost commented 5 years ago

There are no logs. This issue will be closed without more information.

sorry, log attached

CaptainThrowback commented 5 years ago

Looks like your data partition is broken, possibly due to an incorrect fstab that doesn't account for the crypto footer. Have you already tried to Format Data in TWRP to start over?

ghost commented 5 years ago

Looks like your data partition is broken, possibly due to an incorrect fstab that doesn't account for the crypto footer. Have you already tried to Format Data in TWRP to start over?

Yes, TWRP is able to mount /data after it has been formated (fastboot -w) , but once the system boot successfully, TWRP will fail to mount /data again

eliiik commented 5 years ago

Yes I have the same device (vince) with the same twrp version, and I got the error

could not mount data unable to find crypto footer

Other devices(Polaris and Whyred) are works well with almost same process.

I try to format the data partition, and twrp can mount the data partition, too. But once I enter OS and boot back to twrp, it cannot mount the data partition and raise the error.

ghost commented 5 years ago
<4>[ 100.218954] EXT4-fs warning (device mmcblk0p50): ext4_enable_quotas:5282: Failed to enable quota tracking (type=0, err=-3). Please run e2fsck to fix. <3>[ 100.219194] EXT4-fs (mmcblk0p50): mount failed