TWRP Unable to mount data... crap - Verizon HTC One (M8)

So I just went into recovery (buck's twrp) to flash me some aosp, it worked fine but I forgot to get a gps lock in sense before I flashed so I went into recovery to restore a nandroid and I got the dreaded "unable to mount /data, and unable to mount internal storage. Tried reflashing buck's twrp in fastboot and no dice. I have the RUU downloading although I would hate to have to go through that. Any recommendations? I;m going to try flashing philz recovery right now

wtoj34 said:
So I just went into recovery (buck's twrp) to flash me some aosp, it worked fine but I forgot to get a gps lock in sense before I flashed so I went into recovery to restore a nandroid and I got the dreaded "unable to mount /data, and unable to mount internal storage. Tried reflashing buck's twrp in fastboot and no dice. I have the RUU downloading although I would hate to have to go through that. Any recommendations? I;m going to try flashing philz recovery right now
Click to expand...
Click to collapse
Just plugged it into my pc to try to flash philz and a pop up came up saying that the file system is currupt. Ugh. I'm so p/o'd right now. Is RUU my only choice right now to repair this if any?

Just flashed RUU. Same thing. Going to dry formatting in windows device manager now

wtoj34 said:
So I just went into recovery (buck's twrp) to flash me some aosp, it worked fine but I forgot to get a gps lock in sense before I flashed so I went into recovery to restore a nandroid and I got the dreaded "unable to mount /data, and unable to mount internal storage. Tried reflashing buck's twrp in fastboot and no dice. I have the RUU downloading although I would hate to have to go through that. Any recommendations? I;m going to try flashing philz recovery right now
Click to expand...
Click to collapse
In TWRP go to Wipe < Format Data and do that and it should fix your /data problem. Before doing that I recommend just using the advanced wipe and ticking /data /cache /boot & /system and then re-trying. Also afterwards a good ROM to start with would be Cyanogenmod, I've had the least number of problems with that than any other, especially when helping people with issues like this. I actually had someone who's only way of fixing his issue was flashing that.... odd I know but that is why I always recommend it after having this issue.
Edit: just seen you've did an RUU and your problem is still persisting, I still recommend doing the 'Format Data' option in TWRP, this is known (at least to me) to fix most if not all problems with mounting...

S1L3nTShaDoWz said:
In TWRP go to Wipe < Format Data and do that and it should fix your /data problem. Before doing that I recommend just using the advanced wipe and ticking /data /cache /boot & /system and then re-trying. Also afterwards a good ROM to start with would be Cyanogenmod, I've had the least number of problems with that than any other, especially when helping people with issues like this. I actually had someone who's only way of fixing his issue was flashing that.... odd I know but that is why I always recommend it after having this issue.
Edit: just seen you've did an RUU and your problem is still persisting, I still recommend doing the 'Format Data' option in TWRP, this is known (at least to me) to fix most if not all problems with mounting...
Click to expand...
Click to collapse
Thanks a bunch dude, appreciate it. Restoring a nandroid now, had no issues with data yet. Phew. That was an exciting night

Yep its a stressful problem when it happens.
Sent from my One M8 using Xparent BlueTapatalk 2

Related

[Help]Wipes Fail both CWM and TWRP

I've been struggling with getting a ROM properly working, and it looks like because both TWRP and CWM aren't wiping properly. I looked up how to properly do a wipe, so I went into TWRP 2.7.0.1, Advanced Wipe and selected
-Dalvik Cache
-System
-Cache
-Data
The main error I get is this error and the wipe fails:
E:Unable to mount '/system'
E:Unable to mount '/cache'
E:Unable to mount '/modem'
So I tried to mount them manually, but it wont let me select those partitions.
I thought it was TWRP, but CWM 6.0.1.0 does the same thing because of the mount problem. I've already unbricked/went back to stock 3 times using RSD Lite 6.1.5. These errors are preventing me from restoring both backups I have from internal and external SDs. I've also tried go through FASTBOOT by using this command:
-fastboot erase system
But then it tells "permission denied". I'm using Windows 8.1 and changed the permissions in my fastboot folder. So now I only have access to fastboot or recovery.
Another thing i've noticed is that sometimes TWRP would crash and restart in the middle of a restore or wipe. I reverted to 2.7.0.0, this would still happen.
I've searched and searched but can't find anything to help with my issue. Like i've said before, I already returned it to stock rom 4.1.2 three times. What else can I do to properly wipe so I can flash a rom without any problems?
[RESOLVED]
For those who might have the same problem, i'm leaving the post as is. Here's what I did:
-Went into FASTBOOT and loaded an older version of TWRP. In this case, I flashed version 2.3.3.1(in other cases, I've had to use 2.2.2.2)
-Did a Wipe/Factory Reset(Do it 3 times to be safe)
-Dalvik/Cache Wipe(3X)
-System Wipe(3X)
-Reboot to FASTBOOT and flash back to the newest version of TWRP(2.7.0.1)
-Flash your ROM and make sure to Flash the correct compatible gapps
-Voila, everything should be good to go
The fix you have here worked for me, so thank you. however, i feel like we were both lucky to get this to work, and i doubt that we could recreate the issue exactly and fix this once again, for every time i try and flash a rom i encounter mounting errors everywhere, and they seem to be completely random. jumping from mounting /data, to /system, and even internal storage. this; on both twrp and cwm.
nonetheless, this post was of great help. i really appreciate you taking your time to edit the post. thank you again
Thanks so much! Had the same exact problem and your resolution worked like a charm! :good:
xavi96end said:
The fix you have here worked for me, so thank you. however, i feel like we were both lucky to get this to work, and i doubt that we could recreate the issue exactly and fix this once again, for every time i try and flash a rom i encounter mounting errors everywhere, and they seem to be completely random. jumping from mounting /data, to /system, and even internal storage. this; on both twrp and cwm.
nonetheless, this post was of great help. i really appreciate you taking your time to edit the post. thank you again
Click to expand...
Click to collapse
I'm glad it was of some use to you guys, I spent about 3 days with a soft bricked phone because I couldn't find anything useful on why ALL the ROMs I flashed would be so buggy. Of course it was because the recoveries I werent wiping all the way. Anyway, I recently had a less serious and related issue with wiping again, and went to an even older version of TWRP 2.2.2.2. I'm really not sure why it happens, but it gets the job done.
I've posted about this issue in the TWRP thread. Not sure if the latest official TWRP has been updated - but I posted a test version that works really well - others have reported the same.
Hopefully an official version which has the fix will drop soon. Otherwise, my test build of TWRP is fine, I'm still using it.
Sent from my PHOTON Q using XDA Free mobile app

Failed CM11 install on Wingray (E: can't mount /cache) Help! :(

I was trying to install CM11 on my Stock unrooted xoom, so I went ahead and followed cyanogenmod.org's guide.
It was great until the flashing CM part. And then, I got this error: System is not bigpart . (something along those lines.)
I found a same guy who had posted a solution to this.
So I go ahead and follow this, and when I flash BigPart TWRP 2700, I get this error on the device: Installation aborted. I used the sideload method for this.
I looked up some forum threads on how to fix this, and there was a thread which told me to install another version of TWRP BigPart, the R.A.H version. I did that by sideload, it installed, and I rebooted into recovery (after wiping dalvik cache). Teamwin loaded up fine, and I headed into the wipe section. According to the solution at ditoforge.com (link above), I had to go to advanced wipe and wipe everything BUT the sdcard. I did that, and I got this error: E: Can't mount /cache. I went ahead and flashed CWM through fastboot again, repeated the process, and no luck. Then, I went into fastboot and flashed TWRP Bigpart 2.7 directly using adb. It worked, though I got a series of errors upon trying to wipe (unable to mount /system, /cache, /data, etc)
I panicked, fearing a brick, and flashed back CWM. Luckily, I had taken a backup of Stock 4.1 and I restored back to that, thankfully finding it working. *phew*
I also tried fastboot format cache but I got this error on cmd:
Code:
C:\Users\User\Desktop\adb>fastboot format cache
formatting 'cache' partition...
Formatting is not supported for filesystem with type ''.
FAILED ()
Strangely, fastboot erase cache seemed to work.
I wanted to call quits, but I love CM11 and I would really like to give this a shot. Any help and tips would be really appreciated. Thank you all in advance.
Bump. Tried to use CWM recovery again after flashing, but now ADB doesnt work in recov. :\
Bump..
Any help would be appreciated..
I formated all partitions individually in TWRP and it worked... I.E, managed to flash CM11.
Hope that helps.
Now I'm back on CM10.1
Sent from my Nexus 5 using XDA Free mobile app
ATZ-007 said:
I formated all partitions individually in TWRP and it worked... I.E, managed to flash CM11.
Hope that helps.
Now I'm back on CM10.1
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I've tried that too, but I can't wipe any partition with TWRP. I get the error "E: Unable to mount /cache" with any partition. Thanks for the help though.
Bump.. help needed please..
Is no one active on the XOOM forums anymore? :|
Bump.
bumping a year later help pls
Same issue... Can't mount /cache
How can I manually format it?
Solved:
fastboot erase cache

[Q] TWRP crahes and reboots when wiping

I've read this issue with other devices, however. i've not found a solution for this yet
I'm new to this forums, let me know if i don't do something right.
I've been using Alberto97's AOSP Lollipop 5.1.1, it's my first custom rom install, i got it on
the first try, TWRP 2.8.6.0 running with no problems.. flashed other stuff like moto camera, marshmallow bootanim, and that's all
Last week i've tried to update to the CAF latest version of his build, however, TWRP
reboots when i try to wipe the /data partition, in the custom TRWP 2.8.7.0 thread found
i might need to repair the partition, i tried it with no success, repaired /cache with no problem, but when i try to fsck /data on TWRP it gaves me an error, haven't tried /system yet.
tried using CWM and it got stuck at wiping /data for like an hour (endless loop), i rebooted, the data was wiped, but i couldn't flash the ROM image, rebooted to clean system with no problems, it wipes cache and dalvik with no issues.
What's causing this? i have not faced apps FC or anything, just the TWRP random crashes at wiping, i'm using a Moto G XT1032 16GB TWRP 2.8.6.0 No custom kernel or non official recovery.
justpaste.it/wipedar
Leaving recovery.log on external page for reference.
hope you can help, thanks in advance.
Same problem here
You can use CWM by PhilZ for fixing what I think is a broken symlink to the emulated internal storage card.
I am using philz-6.58.7-falcon that you can find and download here: http://forum.xda-developers.com/showthread.php?t=2639583
Once you have flashed the new recovery you can go to "Advance menu", then to "change sdcard target" and define it to /data/media (you just have to tap on the option to set it).
Go back, select "Wipe option", then "Wipe User media" and the process should be successful.
If you reinstall TWRP and wipe "/data" now the rebooting problem should be gone and everything back to normal.
Hope this helps for you.
By the way this is my very first post here. So I hope I am doing this right.
Greetings.
Thank you for the help, i fixed it by repairing the userdata partition with the latest TWRP

Stuck in Recovery twrp (can't wipe or install ROM)

First things first, I'm a newbie when it comes to all these.
I installed CM11 after much effort, but some things didn't work out well so afterwards, I installed CM12.1* (FXP-cm-11-20150301-UNOFFICIAL-taoshan).* But then I decided that I wanted to change my Gapps Package, so I went to recovery mode once again to wipe my phone and install CM12 all over again.
The thing is that for some reason I just couldn't wipe it (no error message) but I was able to log in back to the system (CM12).
I messed around with a few settings and finally I decided to install twrp 2.8.7.0 through the flashify app. I rebooted to recovery, tried to wipe again my phone and then, all hell broke loose.
I realized that I cannot wipe internal memory of all things, and cannot install any new ROM. Can't flash another recovery either through windows flashtool like CWM 6.0 Philz touch, for example. Well, it does flash but my phone keeps on logging into the twrp recovery. I also can't flash my original fft (obviously). I can't do really anything besides messing around with twrp options (and I've messed a lot with them). I'm all out of ideas, so please someone help. When trying to wipe internal storage, the following message appears:
E:mkdosfs /dev/block/mmcblk0p32 process ended with ERROR=1
E:Unable to wipe '/sdcard'.
E:Unknown MTP message type: 1
E:Unable to wipe '/sdcard'
I have the whole log, for anyone interested.
Please help and remember, I'm a newbie.
Thank you.
immortalwind said:
First things first, I'm a newbie when it comes to all these.
I installed CM11 after much effort, but some things didn't work out well so afterwards, I installed CM12.1*(FXP-cm-11-20150301-UNOFFICIAL-taoshan).* But then I decided that I wanted to change my Gapps Package, so I went to recovery mode once again to wipe my phone and install CM12 all over again.
The thing is that for some reason I just couldn't wipe it (no error message) but I was able to log in back to the system (CM12).
I messed around with a few settings and finally I decided to install twrp 2.8.7.0 through the flashify app. I rebooted to recovery, tried to wipe again my phone and then, all hell broke loose.
I realized that I cannot wipe internal memory of all things, and cannot install any new ROM. Can't flash another recovery either through windows flashtool like CWM 6.0 Philz touch, for example. Well, it does flash but my phone keeps on logging into the twrp recovery. I also can't flash my original fft (obviously). I can't do really anything besides messing around with twrp options (and I've messed a lot with them). I'm all out of ideas, so please someone help. When trying to wipe internal storage, the following message appears:
E:mkdosfs /dev/block/mmcblk0p32 process ended with ERROR=1
E:Unable to wipe '/sdcard'.
E:Unknown MTP message type: 1
E:Unable to wipe '/sdcard'
I have the whole log, for anyone interested.
Please help and remember, I'm a newbie.
Thank you.
Click to expand...
Click to collapse
try wipe->advanced wipe -> change fs -> ext4
SdtBarbarossa said:
try wipe->advanced wipe -> change fs -> ext4
Click to expand...
Click to collapse
Thank you for your answer my friend, but I actually managed to fix my problem just moments before you posted your answer! What I did was to flash the cm12.1 recovery nightly which logged me into this recovery (although it seemed all messed up and.. broken). Nevertheless, I managed to flash the CM12.1 ROM from there and everything worked fine!
Bro #immortalwind.. I'm having the same problem exactly what you had. Seriously fu***d up with all with boot loop @ recovery. Could not able to hard reset / factory reset at neither CWM nor TWRP. Tried all knows possible ways. Please could you help me here. Any1 who can halp me here pls...
P.S: literally not moving from the boot load, so flashing a ROM could not be possible i think. any other suggestions please.....
RaamXperiaL said:
Bro #immortalwind.. I'm having the same problem exactly what you had. Seriously fu***d up with all with boot loop @ recovery. Could not able to hard reset / factory reset at neither CWM nor TWRP. Tried all knows possible ways. Please could you help me here. Any1 who can halp me here pls...
P.S: literally not moving from the boot load, so flashing a ROM could not be possible i think. any other suggestions please.....
Click to expand...
Click to collapse
Try this out
RaamXperiaL said:
Bro #immortalwind.. I'm having the same problem exactly what you had. Seriously fu***d up with all with boot loop @ recovery. Could not able to hard reset / factory reset at neither CWM nor TWRP. Tried all knows possible ways. Please could you help me here. Any1 who can halp me here pls...
P.S: literally not moving from the boot load, so flashing a ROM could not be possible i think. any other suggestions please.....
Click to expand...
Click to collapse
Just reflash stock ftf. You'll be good to go. If that fails, check drivers and downgrade flashtool. After that, normally, install a boot image with a recovery, install your rom gapps, reboot.
Managed to flash.ftf... Thanks for the help friends.
Sent from my C2104 using XDA Free mobile app

Failed to mount /data in twrp?

I have flashed android 8.0 with odin then flashed twrp with odin (making sure to disable auto reboot) and rebooted straight into twrp. I then flashed dm verity disabler and now i was able to boot back into my os. The problem is i am now unable to mount my data partition. I have tried formatting my data and this works, but whenever i boot back into my os and set up android, tge problem comes back. Can anyone help with this?
Jack_Rickwood said:
I have flashed android 8.0 with odin then flashed twrp with odin (making sure to disable auto reboot) and rebooted straight into twrp. I then flashed dm verity disabler and now i was able to boot back into my os. The problem is i am now unable to mount my data partition. I have tried formatting my data and this works, but whenever i boot back into my os and set up android, tge problem comes back. Can anyone help with this?
Click to expand...
Click to collapse
i have the same thing, only difference is that i was stupid enough to wipe everything off my system including the system.
now it only boots to recovery and twrp
Now the fool seeks to return to the past and undo the future that is no phone
edit:
I found this it worked
watch?v=Rs4zcryNt5Y
SharinganSensei said:
i have the same thing, only difference is that i was stupid enough to wipe everything off my system including the system.
now it only boots to recovery and twrp
Now the fool seeks to return to the past and undo the future that is no phone
edit:
I found this it worked
watch?v=Rs4zcryNt5Y
Click to expand...
Click to collapse
Thanks, ill try it!
Jack_Rickwood said:
Thanks, ill try it!
Click to expand...
Click to collapse
This Worked for me too. It's a simple trick but it's working. Via TWRP, modify EXT4 to EXT2, then again to EXT4 ;-)
Thanks guys
I'm sure it will be useful to many who are going through the same issue
bebou said:
This Worked for me too. It's a simple trick but it's working. Via TWRP, modify EXT4 to EXT2, then again to EXT4 ;-)
Click to expand...
Click to collapse
It works only 1 time... and after you lose all data the error come back next boot...
I am planning to install a custom ROM on my S7 and now looking for a way to backup the /data/ partition, which is encrypted.
My preferred solution would be to create a full backup of the old system using twrp, but that doesn't seem to be feasible due to encryption. As the device is not rooted, I cannot pull /data over adb, remove encryption, then restore /data. Any ideas how to solve this?

Categories

Resources