Error mounting /data - Sony Xperia M

after installing CM13 I wanted to go back to the original firmware but it says it all the time ERROR MOUNTING DATA. T

Related

[HELP!] I can't mount data.

In Clockwork Recovery:
I get an error saying "cant mount dev/block/mmcblk0p1 (file exists)" when I try to wipe, mount, or advance restore the data partition.
In RA:
it says invalid argument
Mount data in adb says:
"mounting /dev/block/mmcblk0p1 on /data failed: Invalid argument"
Is this a hardware problem with my memory.
I was useing CM 6.0.1 and the last thing i did was allow windows to format the internal memory when i plugged it it.
Will using an RUU help or brick?
Any help is appreciated.
Thanks for the help guys!
Anyways, I figured it out on my own. I was afraid of flashing an RUU when DATA cant be mounted, so i decided to restore the stock RECOVERY and turn S-ON so I could call Big Red and say their OTA jacked up my phone.
To do so, I downloaded a stock nandroid backup and started to advance restore the partitions I could (boot, system, cache). Just to see what happens I booted up the phone and to my surprise.. it worked properly. I still dont know what happened or why.
Oh, also , i used Amon Ra Recovery to format the internal storage before I started restoring via nandroid. Hope my little ordeal helps someone if they come across the same problem.

[Q] I've unmounted and reset and am now stuck. Help?

I've already looked through previous posts and there seems to be no avail.
From 4.1.2. stock build, UVDMD5, (I'm assuming, that's when I bought it)
I tried to flash 4.4 ROMS onto it, Both Gummy and Beanstalk with their respective Gapps.
It wouldn't work and I wiped and reset and odin'd in the original firmware UVDMD5, so it successfully led to the beginning phone setup ONCE.
Then, from stock, I figured why not root and flash the ROMS once more? and this time, the galaxy would not have it.
I odin'd myself after the roms failed once more, but now..
Now the phone is stuck at the SAMSUNG loading boot screen.
Everytime I odin in the UVDMD5 setup, it says it's successful but constantly stuck at the boot screen.
I can get myself into recovery but no options are available to me.
If I try to progress forward, the roms will not work and I realized what might've done me in.
Once the roms in the very first trials wouldn't work, I messed with the mounting to see if it would change anything(HUGE mistake I now realize)
I think I unmounted /data and /system and pretty much everything!!!
I'm in the stock recovery so I could pull .zips from the external SD and I've tried to put in Cyanogenmod Recovery so I could get to the mounting options,
but now everytime it says that signature verification failed.
Tl;dr: I'm an idiot and unmounted everything and now it's stuck at boot screen and odin doesn't work. PLS HELP!
ps: ignore the ageold signature
First flash the very latest Recovery with ODIN. You will need to put the phone in download mode to do that. Next, flash Root66 version of UVDMD5 via odin and then flash Rom of your choice via Recovery.
I've taken the root66 and finished odin'ing it in, but no success. It's still stuck on the SAMSUNG screen.
When I boot up to (stock) recovery, the first red messages that appear is
E:failed to mount /data
can't mount '/data' (invalid argument)
and when I go into >apply update from external storage and try to apply cyanogen latest recovery,
all it gives me is E:failed to verify whole-file storage.
There is no /data, what do I do?
Please flash CWM Recovery via Odin.
First of all, thanks for sticking with me for this long.
I successfully installed Clockwork with odin and I thought this would be the end, but
It successfully mounted /system and /external_sd but,
Error mounting /data!
Error mounting /sdcard!
I don't know what to do from here. Is there a simple fix?
Did you flash latest version of CWM ? If yes then try Factory Reset in the Recovery.
I did factory reset it:
. . wiping data . .
formatting /data . . .
Error mounting /data!
Skipping format . . .
Formatting /cache
Formatting /sd-ext
Formatting /sdcard/ .android_secure
Error mounting /sdcard/ .android_secure!
Skipping format . . .
Data Wipe Complete.
Is what shows up and still /data and /sdcard cannot be mounted. Anything else? I'm desperate.
Part 2: I tried moving past all that and tried to run the ROMS, but it goes on to tell me:
This package is for "d2tmo" devices; this is a "d2vzw"
what does that mean?
Can you manually mount SD Card in the Recovery ?
I'd not try any roms until this issue is resolved.
What do you mean by manually?
The external sd card can be mounted, I'm pretty sure it means that the internal sd can't be mounted.
How would I mount internal in recovery? the options says it can't mount /data and /sdcard
Try TWRP Recovery.

Wipe anything in TWRP causes many Fails

I have installed TWRP and SuperSU following instructions here and it all works but If I try to install any zips or do any sort of wiping i get a list of error messages :
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (invalid arguement)
Unable to recreate /data/media folder.
Unable to mount storage.
etc
I have tried reinstalling TWRP and SuperSU, even tried reinstalling firmware and still get the errors. My phone seems to be working fine as long as nothing goes wrong or I imagine I can't install a ROM
Any advice would be greatfully appreciated.

Problems with data partition

Hi,
I tried to flash viperOS using squid twrp for moto G5S, but something in the process i think i did wrong.
My phone model is montana xt1790.
I unlocked the bootloader.
I tried to install the recovery, but had same problem than @dau999
dau999 said:
Bootloader gives me a notification that the img is not signed or corrupt (squids one)
Click to expand...
Click to collapse
I tried to flash "no-verity-opt-encrypt-5.1.zip" file posted as solution here https://forum.xda-developers.com/showpost.php?p=74813124&postcount=23.
After this i have working the recovery, but i believe this is what did wrong:
With debug mode enabled, after a wipe clean (Cache, Data, Dalvik/ART and system) and format data (wipe all your apps, backups, pictures, videos, media and removes encryption on internal storage) got this errors:
Code:
Could not mount /data and unable to find crypto folder.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Unable to mount storage.
Unable to mount /data/media/TWRP/.twrps
Failed to mount '/data' (Invalid argument)
After this errors i flashed ViperOS, but after first boot it, first thing viper OS ask me was the phone password, after i enter it, the phone show up a message saying that password is ok but data is corrupt, restarting and trying to fix my phone without success (same errors like failed to mount /data)
Also i tried to use the "repair or change file system" selecting Data partition, twrp show me this: http://oi65.tinypic.com/2prin8y.jpg, also i got this errors:
Code:
/sbin/fsck.f2fs /dev/block/mmcblk0p54 process ended with ERROR: 255
Unable to repair Data
What should i do?, i don't know is related with an encryption on data partition, or if this can be solve.
EDIT:
Found the solution in reddit: www.reddit.com/r/AndroidQuestions/comments/7w5c75/used_the_format_data_option_in_twrp_recovery_on/
Just fixed the issue after making a second format in TWRP ( WIPE > FORMAT DATA)

Unable to restore TWRP backup: "Failed to mount /system (Structure needs cleaning)"

Unable to restore TWRP backup: "Failed to mount /system (Structure needs cleaning)"
Chiron latest version of TWRP, LOS15.1 and 16.0
I wanted to revert to the backup I made before upgrading to LOS16. So I launch TWRP, press restore, select all partitions, and I get to the Data partition when it says "extractTarFork() process ended with ERROR: 255".
I try again, this time without restoring the data partition, and I get to the very end of the process before it says "Failed to mount '/system' (Structure needs cleaning)". I try to repair /system, it fails. I format it to ext4, no help.
Now I've stopped trying anything. The phone can't be turned off, it'll just boot to fastboot, so I've left it on TWRP.
Edit: Alright. Formatted data, wiped System and Cache, installed the latest nightly of 15.1, installed the version of GApps I wanted, booted up just fine. Tried the restore, and it made it all the way through, no ERROR 255, nothing, until the very very end, when it again failed to mount /system, Structure needs cleaning. Rebooting to system sends me to fastboot.

Categories

Resources