Failed to mount persist - Xiaomi Redmi 6A Questions & Answers

Help me fix failed to mount persist

Related

[Q] CWM v6.0.4.4 fails to mount EXT4 partitions (Invalid argument)

Moving my device configs to CM10.2 introduced this weird bug on ClockWordMod. The recovery fails to mount EXT4 partitions (cache, data, system). Every other partition is recognized and vold can mount and access the sdcards in Android (flashed with older/working recovery compiled from the same files). My guess is that the fstab file is written correctly and put in the right place.
All configuration options are the same as my CM10.1 codebase. The CM10.1 CWM was working fine and was able to mount all partitions. In CM10.2 I moved everything to unified fstab, so I'm guessing I screwed up something in the configs. I'm getting "Error mounting /system!" everytime I try to mount it manually. This is a pastebin of the fstab file. Through adb I'm getting this:
Code:
~ # mount -a
mount: mounting /dev/block/cache on /cache failed: Invalid argument
mount: mounting /dev/block/data on /data failed: Invalid argument
mount: mounting /dev/block/system on /system failed: Invalid argument
Code:
~ # mount -t ext4 /dev/block/system /system
mount: mounting /dev/block/system on /system failed: Invalid argument
Any ideas?

phone works but unable to flash zip after upgrading recovery to TWRP 3.2.1-1

Hello All,
I have a problem where TWRP is not able to mount /data, although the device still works without any other problems. It has happened when i upgrade the TWRP recovery from 3.2.1-0 to 3.2.1-1
This is preventing me to install Magis modules unfortunately.
I have a OOS Open BETA 1 for the Oneplus 5T.
Here's the log:
Code:
[COLOR="Red"]Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (No such device)
Unable to recreate /data/media folder.[/COLOR]
Updating partition details...
[COLOR="red"]Failed to mount '/data' (No such device)
Failed to mount '/preload' (Invalid argument)[/COLOR]
...done
Full SELinux support is present.

Vernee M5 bootloop

Hello
I've installed TWRP by following this thread here
and after which I flashed the custom rom from this thread here
After a awhile I did a factory rest to the phone which caused the phone to boot into TWRP and no matter what I do it keeps rebooting into TWRP
Tired to flash stock rom, which gives the following erros :
unable to mount storage
Failed to mount '/data' (invalid argument)
unable to mount '/data/media/TWRP/.twrps
tried Format Data:
unable to mount storage
Failed to mount '/data' (invalid argument)
unable to format to remove encryption
tried to repair data:
Failed to mount '/data' (invalid argument)
Failed to unmount 'external_sd' (Device or resource busy)
unable to repair data
tried to flash the custom rom again
....
...done!
enjoy!
updating partition details
Failed to mount '/data' (invalid argument)
....done
tried using terminal with this:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
no such file
Dont have ADB access (only sd card shows when i connect usb)
note: I have another vernee M5 if anyone thinks it could be useful (unrooted)
please help!
Saqwerzaman said:
Hello
I've installed TWRP by following this thread here
and after which I flashed the custom rom from this thread here
After a awhile I did a factory rest to the phone which caused the phone to boot into TWRP and no matter what I do it keeps rebooting into TWRP
Tired to flash stock rom, which gives the following erros :
unable to mount storage
Failed to mount '/data' (invalid argument)
unable to mount '/data/media/TWRP/.twrps
tried Format Data:
unable to mount storage
Failed to mount '/data' (invalid argument)
unable to format to remove encryption
tried to repair data:
Failed to mount '/data' (invalid argument)
Failed to unmount 'external_sd' (Device or resource busy)
unable to repair data
tried to flash the custom rom again
....
...done!
enjoy!
updating partition details
Failed to mount '/data' (invalid argument)
....done
tried using terminal with this:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
no such file
Dont have ADB access (only sd card shows when i connect usb)
note: I have another vernee M5 if anyone thinks it could be useful (unrooted)
please help!
Click to expand...
Click to collapse
UPDATE
booting into bootloader and using command 'f'astboot continue'' i was able to boot into system
the system reqiuers a password but gboard keeps crashing and i cant enter my password

Failed to mount PROBLEM

I get this problem in TWRP whenever I try to do almost anything.
Failed to mount '/system_root' (No such device or address) or (Invalid argument)
Failed to mount '/vendor' (No such file or directory) or (Invalid argument)
Failed to mount '/product' (Invalid argument)
Failed to mount '/odm' (Invalid argument)
this is preventing me from wiping the phone or installing a ROM and almost any method i try to fix this, it all comes back to it.
if there is any missing info please tell me.
Latest TWRP/O.F
Curtana https://androidfilehost.com/?w=files&flid=318219
Toco https://androidfilehost.com/?w=files&flid=318272
With TWRP/O.f
Wipe/format data type yes/reboot TWRP
If errors red lignes repeat this opération
Reboot Twrp/O.F Everytime

SM-A107F Failed to mount '/metadata' (invalid argument)

Hello
Initially I have an IMEI of 0000000. with ROM A107FXXU8CUG1 android 11
I installed TWRP twrp-3.7.0_11-0-a10.
I fixed E:[libfs_mgr] could not be mounted with:
mke2fs /dev/block/mmcblk0p5
mount -w -t ext4/dev/block/mmcblk0p5
with TWRP
How to solve my problem that '/metadata' mount failed (invalid argument). knowing that
mke2fs /dev/block/mmcblk0p14
mount -w -t ext4//dev/block/mmcblk0p14
do not work ?
Thanks
metadata partition is used for encryption, just ignore.
aIecxs said:
metadata partition is used for encryption, just ignore.
Click to expand...
Click to collapse
Thanks

Categories

Resources