TWRP Unable to Mount storage on wiping all but Internal storage - Galaxy S6 Q&A, Help & Troubleshooting

Hi all,
I'm installing ResurrectionRemix on my device, and so to do that, of course, I have to wipe System, cache, data and dalvik. However, without anything happening, it says Unable to mount storage. So I go into TWRP mount and press System. When I try again, the same thing happens. The only thing I can do after is restore a full nandroid backup (With data included)
I have no idea how to provide a logcat, however I'm sure it's easy and if it's needed I shall find out how.
Thanks,
MajorPlayz

Related

[Q] /Data partition encrypted, recovery cannot wipe it

Hey guys,
My work switched to Google Apps for their email so i wanted to test it out on my phone. Doing so required them to encrypt my phone. What this appears to have done is encrypt the data partition. So now when i go into (TWRP) recovery and try to do a backup / wipe / or anything else, it says it is "Unable to mount /sdcard" I'm unable to do a factory reset of any kind so i'm essentially stuck on this rom (ARHD) until i can figure out how to wipe data and get the /sdcard to be not encrypted. Does anyone have any ideas? I'm imagining that with the modified recovery not being able to access the data partition that i'm going to have to do some adb type stuff?
Please help! I want to keep flashing new roms!
-HTC One

[Q] Checklist before selling Infinity

Hi everyone,
I have been thinking of selling my Infinity but I need some confirmation in some things with regards to wiping the device clean.
I am currently running the latest CROMI-X. So what I wanted to do is wipe everything in my internal storage (all the datas or any kind of prints that shows my usage) and then flash back the latest CROMI-X.
So a couple of things in wipe. I am using TWRP 2.5 as of the moment. So if I wanted to achieve the one I mentioned above which kind of wipe should I do?
If I go to Advanced Wipe: I can see that Dalvik Cache, System, cache, Data and Micro SDcard is present there... If I go ahead and check all of these (except for the Micro SD Card) I believe that I this would also delete the OS itself. Am I correct? If this does it, will I still be able to install a ROM for my infinity? There's also the option of Format Data,which I think wipes clean my internal storage (pictures, videos, etc). This won't affect the System, right?
If you guys have a better suggestion on how to actually do this, please let me know as well. I apologize if there's a lot of question here... I just wanted to make sure that I am doing this right as I don't want to brick my device before actually selling it. Thanks.
To delete all user data, format /data. This automatically includes dalvik-cache and /data/media aka /sdcard. You don't need to format /system as it contains only the ROM.
If you are paranoid that a potential buyer could use "undelete" tools and piece together fragments of your data on the block level, then before formatting /data, you can completely overwrite the data partition from the recovery with the following command (in the "advanced" menu or via adb shell): "dd if=/dev/zero of=/dev/block/mmcblk0p8 bs=256k".

Wipe Internal Storage

I would like to wipe internal storage to make better/clean install of the ROM (
with old S3 i make a folder on Ext SD with .zip file
reboot to cwm
backup
wipe all (cache + data + system + internal storage)
install (rom + gapps + kernel)
reboot
As you know on 1+ there is no Ext Sd
Someone has already tried to do:
copy .zip file to a folder on PC
reboot to TWRP (2.8.0.1)
make a backup
connect phone to pc and mount data
copy backup from 1+ to Pc
advanced wipe (cache + data + system + internal storage)
copy .zip file from PC to 1+
install (rom + gapps + kernel)
reboot
Can it work?
P.s. I have no OTG cable or USB
You should be able to wipe everything and install the Rom-Zip via ADB-Push.
Why dont you try to install the new rom in recovery with a normal wipe and after you falsh the rom + gapps do a wipe of the internal sdcard should have the same affect ?
are you out of your mind? DO NOT WIPE INTERNAL!!! WIPE SYSTEM AND DATA ONLY
here's my thread for when you wipe internal and brickloop your phone!
markbencze said:
are you out of your mind? DO NOT WIPE INTERNAL!!! WIPE SYSTEM AND DATA ONLY
here's my thread for when you wipe internal and brickloop your phone!
Click to expand...
Click to collapse
Wow. Interesting thread. However, I wipe my internal storage (for a "full" wipe) everytime I flash a new rom or even the weekly of a same rom and luckily I haven't ran into the problems in your thread.
to the OP: I put all of my zip files in a USB otg so flashing is a bit simpler. This includes all of my nandroid and media.
I would wait to wipe the internal storage until you figure out which route you want to use (USB-otg or ADB)
Until then a normal factory reset in your recovery should be good. Also as @Hogyoku metioned you can erase internal from within the Rom to get the same effect.
Sent from my One A0001 using XDA Free mobile app
Mojar7070 said:
Wow. Interesting thread. However, I wipe my internal storage (for "full" wipe) evertime I flash a new rom or even the weekly of a same rom and luckily I haven't ran into the problems in your thread.
I do put all of my zip files in a USB otg so flashing is a bit simpler.
Sent from my One A0001 using XDA Free mobile app
Click to expand...
Click to collapse
That's not wise. You should never wipe internal plain and simple. All that s required for full wipe is system and data. If you continue doing so, you're going to find out the hard way one day
markbencze said:
That's not wise. You should never wipe internal plain and simple. All that s required for full wipe is system and data. If you continue doing so, you're going to find out the hard way one day
Click to expand...
Click to collapse
This i what the OP wanted i'm not saying it's smart .....
::I would like to wipe internal storage to make better/clean install of the ROM :
Hogyoku said:
This i what the OP wanted i'm not saying it's smart .....
::I would like to wipe internal storage to make better/clean install of the ROM :
Click to expand...
Click to collapse
who ever is saying to wipe internal doesn't know what they're doing. This is the last I will mention of this here. There is no need and it's dangerous. That's how efs and the persist files get wiped and you find yourself in some serious trouble.
when installing a rom all that is needed is wipe data and system. Not cache, not dalvik and certainly not internal.
So many people have a misconception on how to properly wipe and everything seems to think they need to wipe caches on top of system and data. Well guess what, when you wipe system and data the caches get wiped too so it's just an extra unneeded step. And some people will post crap saying to wipe 3 times when flashing etc. They are simply making things up
markbencze said:
who ever is saying to wipe internal doesn't know what they're doing. This is the last I will mention of this here. There is no need and it's dangerous. That's how efs and the persist files get wiped and you find yourself in some serious trouble.
when installing a rom all that is needed is wipe data and system. Not cache, not dalvik and certainly not internal.
So many people have a misconception on how to properly wipe and everything seems to think they need to wipe caches on top of system and data. Well guess what, when you wipe system and data the caches get wiped too so it's just an extra unneeded step. And some people will post crap saying to wipe 3 times when flashing etc. They are simply making things up
Click to expand...
Click to collapse
markbencze said:
That's not wise. You should never wipe internal plain and simple. All that s required for full wipe is system and data. If you continue doing so, you're going to find out the hard way one day
Click to expand...
Click to collapse
markbencze said:
are you out of your mind? DO NOT WIPE INTERNAL!!! WIPE SYSTEM AND DATA ONLY
here's my thread for when you wipe internal and brickloop your phone!
Click to expand...
Click to collapse
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
om22 said:
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
Click to expand...
Click to collapse
Omg man you are not helping things here. Do you think its just a coincidence that everyone with these bricks wiped internal?
Considering I found the fix to this issue I'm pretty sure I know what I'm talking about. But nice try.
Anyway I'm done here. I came here to help people recover from their bricks which I have done.
markbencze said:
Omg man you are not helping things here. Do you think its just a coincidence that everyone with these bricks wiped internal?
Considering I found the fix to this issue I'm pretty sure I know what I'm talking about. But nice try.
Anyway I'm done here. I came here to help people recover from their bricks which I have done.
Click to expand...
Click to collapse
That's really nice of you that you did that guide. But there is no way that bricks could have to do with that wipe. There is no way an internal wipe could corrupt any other partition than /data/ (efs, persist anything) beside of a bug in the recovery. Wiped internal several times on every phone and also the OPO with TWRP 2.8.0.1 and as you can see it's still running.
om22 said:
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
Click to expand...
Click to collapse
Although you are right about this I still think it ain't smart to advice this on this forum. A lot of noobs around here, much more than in any sub forum of a phone I ever owned.[emoji6]
om22 said:
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
Click to expand...
Click to collapse
Thank you

How to make a clean reinstallation

Hello,
I am currently triying to make a clean installation of CM12. I wiped cache, dalvik..., data and a format via TWRP. Then installed current nightly. After first boot I get dozens of error messages that processes stopped. And: "unfortunately, Setup Wizardstopped." I am not able to us the tablet because of those error messages...
What did I wrong? Thought a wipe cache, dalvik... data and a format is enogh to make a clean installation?!
Now it seems to work. Could it be, that data (like folder Android) on my SD Card caused the problems? I removed the android folder on my card and wiped it again....

[Recovery] Moto E LTE TWRP 2.8.6.0 (RM -RF Always On)

*removed*
It's awesome. Usually, wiping system, cache and data lasted like 5 or 10 minutes, I tested this recovery and it wiped everything so quickly. Thank you so much for this .
Edit: Installing works.
Q9Nap said:
Here is TWRP for Moto E LTE with "Use rm -rf instead of formatting" enabled by default.
Moto E LTE uses f2fs format for the userdata partition and TWRP doesn't format it correctly by default, causing issues with mounting.
# README
Warning: backup any important data on your internal storage first!
Boot into TWRP and perform the following:
Wipe > Format Data > type "yes" then enter
This will format your userdata partition using mkfs.f2fs, in case it isn't already
Now, whenever you wipe data, TWRP will use rm -rf instead of attempting to format using make_ext4fs
# DOWNLOAD
http://batakang.com/ftp/devs/mhous33/surnia/twrp-2.8.6.0-surnia-rmrf.img
# CREDITS
@cybojenix for his initial TWRP work!
@squid2 for his improved TWRP work and very useful information!
@dhacker29 for his very useful information!
Click to expand...
Click to collapse
When I try to format data it fails, it's unable to mount anything. My phone is a surnia XT1527. Now when I try to flash it says unable to mount /data.
wiped system, devlik cache, data, internal storage, chache. dont know how to restore
I had a problem with someone using remote spy software and hiding spy apps on my phone. I have a MOTO E 2015, XT1527. I had this phone rooted with a custom rom installed. my OS was lollipop.
I went into TWRP recovery and wiped:
devlik cache
system
data
internal storage
chache
USB-OTG
I did not have an SD card inserted at the time
I am not very knowledgable on all of this (not so tech-savy but can follow instructions), but I need to fix this phone asap.
My phone keeps re-starting and will not go any further than the boot animation screen (if that's correctly stated). I can get into recovery mode but that's it. I have no backups. recovery tells me that I have uninstalled the OS, which I'm guessing means I have uninstalled everything else too!
I don't know what to do from here, what to do first or how to do it, I do have access to a computer, and need help PLEASE!!! I have been looking up ways to fix this but cant find clear answeres directed to this phone and problem specifically.
jacquelinexrose said:
I went into TWRP recovery and wiped:
devlik cache
system
data
internal storage
chache
USB-OTG
I did not have an SD card inserted at the time
Click to expand...
Click to collapse
Definitely wiped everything. You need to download a ROM, boot into recovery and install it.
So glad I found this thread! I'm using the latest 3.0.2.0 but this setting saved me from going crazy!
I was seeing too much red Big thanks!
link dead

Categories

Resources