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
Related
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
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
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
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
Hello, thanks for your help.
It seems I bricked my galaxy s7 while trying to format the /data partition.
I installed TWRP 3.2 and a custom rom, and everything went smoothly until then.
I tried installing an audio mod which throwed a " can't mount /data" error, searching for solutions I read that formatting the data partition to fat and back to ext4 should solve the problem, I tried formatting it to fat with TWRP, however on the first try I got a message that it suceeded, followed by a message that /data could not be mounted, TWRP seemed to be still working (there was no reboot button or any other buttons, just a "working" bar). After giving the phone 3 hours I decided to restart it, now I can't access TWRP; it stays on it's "splashcreen", and of course the phone won't boot.
I'm having a rough time with this so I will appreciate it a lot if you can help me.
Thank you.
Boot to download mode, flash stock firmware using Odin, then retry the TWRP installation.
For wiping data, you have to make sure you use the wipe option that makes you type out 'yes' to wipe, the other factory wipe methods don't actually properly wipe the partition.
iirc you also then need to flash the dm no verity zip from the TWRP thread.
Bro you didn't have to do anything but just formating the phone in the first place. Aassuming you're on oreo , it happens to a lot of people and myself, after flashing a kernel twrp was unable to munt data, all i had to do is a data format in twrp that fixed the problem .