Format options in Mounts and Storage Menu? - AT&T Samsung Galaxy Note II

Hi all, pretty noob question. In Mounts and Storage Menu in Custom Recovery, I see several Format options: format /boot, format /cache, format /data, format /sdcard, format /system. I've never touched these options before. My question is: which options are safe to run (i.e., not brick the phone and I still can go to download mode and run ODIN to restore to stock)? When I flash a new ROM, I just use the wipe options from the main menu of Custom Recovery.

cppc said:
Hi all, pretty noob question. In Mounts and Storage Menu in Custom Recovery, I see several Format options: format /boot, format /cache, format /data, format /sdcard, format /system. I've never touched these options before. My question is: which options are safe to run (i.e., not brick the phone and I still can go to download mode and run ODIN to restore to stock)? When I flash a new ROM, I just use the wipe options from the main menu of Custom Recovery.
Click to expand...
Click to collapse
If you are running twrp just slide the bar under wipe. All you need to wipe Is data cache and dalvik. Don't play around with this to much because you can mess up the device. Google twrp format restore. Cwm is the same.
Sent from my phone

Related

[Q] How to do a FULL Wipe with Amon_RA v2.1.1

Well they just recently updated the Amon RA Recovery from 1.8.0 to 2.1.1
so if i could get some help.
they have the new features of wipe data,wipe cache,wipe sd card,wipe sd something,and then they have the wipe dalvik cache,data and factory reset and just wipe cache from last recovery.
So i need to know how to do a full wipe for a Rom
and a how to wipe correctly for a kernel or just flashing anything.
please.
dont flame=]
have a nice day.
anybody kno the new features of the new amon?
what are you looking to do, flash the new Amon?
If so then you need to just push that image to the phone. What I did was after I downloaded the new version i renamed it to something easy, like FILE01 or something. then just push it. Either terminal via your evo or do it using the CMD using adb shell
here is the commande to push it.
1. Copy recovery-RA-supersonic-v2.1.1.img to the root of your sdcard
2. start the terminal app or launch adb
3. su(press enter)
4. flash_image recovery /sdcard/(CHANGE TO WHATEVER YOU NAMES YOUR FILE TO ) .img(press enter)
5. reboot recovery(press enter)
If youre wondering what to do if flashing a new rom, I would do factory data reset twice, then do cache twice and dalvik cache twice. Make sure you have your rom on the root of your SD card. Put it on the first screen as the SD card comes up. Dont put it in a folder. Then do a update from zip and find it and flash it then reboot.
dkdude36 said:
anybody kno the new features of the new amon?
Click to expand...
Click to collapse
Yeah, its the usual except:
under
Wipe:
Return
Wipe ALL data/factory reset
Wipe /data
Wipe /cache
Wipe /sdcard/.android_secure
Wipe /sd-ext
Wipe Dalvik-cache
Wipe Battery settings
Wipe Rotate settings
Partition SD:
Return
Partition SD
Repair SD:ext
SD:ext2 to ext3
SD:ext3 to ext4
Mounts:
Return
Mount /system
Unmount /cache
Mount /data
Mount /sd-ext
Mount /sdcard
I think thats it.
oooh i just flashed it also has folder flashing capabilities and doesnt need signatures. not too shabby. would i give it the big 2.0? nope, but it is pretty nice.

[Q] TWRP Question

Hi, my question is, what of way do you format device to flash a ROM. In picture A there is swipe to factory reset and in picture B you have to type yes to start. While flashing a ROM which option do you choose? Factory reset or Format data. I forgot which one I used to format data.
With TWRP if you wipe "factory reset" clears, / data, cache / and / dalvik but in / data does not erase / data / media / or your internal storage.
But is you wipe /data from Advance wipe, it will delete everything in data partition including internal storage.
:good:
Format Data now what
I used TWRP to "format data" on my phone and then loaded CyanogenMod from an external sd card, but it is stuck in the load screen. Do I have to use a different ROM after a "format data"?
CAMM

Wipe t999

I flashed route 66 4.3 update via Odin last night, however I would like to do a clean install. How can I wipe the internal memory so I can re-flash via odin? I'm trying to remove all apps etc. Any help would be greatly appreciated
Sent from my SGH-T999 using xda app-developers app
There is a script that can be flashed through a custom recovery that will completely wipe your internal memory clean. I have it on my S3. I'm on my nexus 5 now so I don't have access to it right now. If someone doesn't have a better suggestion I'll share it with you when I can.
Typed from Nexus 5, ZFFZ
Go into recovery and format /Data. If you are on TWRP, there should be an Erase Internal in the Wipe settings. Not sure about Clockwork.
Boot to recovery.
Wipe /Cache
Wipe /Dalvik-Cache
Factory Reset.
Format /System
Format /Data
Profit!!!
In recovery Format Data =/= Wipe Data
Format is erasing your internal
Wipe is wiping your app data.
Edit: If you want to flash what Jorge said above, just search for XquiziT's Superwipe and you might be able to find it.
superwipe doesn't work, i get an error and reboots back into 4.3
Woody said:
Go into recovery and format /Data. If you are on TWRP, there should be an Erase Internal in the Wipe settings. Not sure about Clockwork.
Boot to recovery.
Wipe /Cache
Wipe /Dalvik-Cache
Factory Reset.
Format /System
Format /Data
Profit!!!
In recovery Format Data =/= Wipe Data
Format is erasing your internal
Wipe is wiping your app data.
Edit: If you want to flash what Jorge said above, just search for XquiziT's Superwipe and you might be able to find it.
Click to expand...
Click to collapse
Guess you'll have to do it the long way then per the instructions above. Let us know how it goes.
Will definitely give it a shot when I have more time! Thank for the help
Sent from my SGH-T999 using xda app-developers app

Unsure how to properly wipe without wiping internal storage

Hello all,
Sorry for this semi-noob question. I have had many android phones and rooted all of them but this is my first Nexus device. I've unlocked my bootloader and have TWRP installed and I'm ready to install a ROM. Unfortunately I am unsure of how I can do a full wipe without wiping my internal storage too.
On every other phone I have had, I would go to advanced wipe and then wipe system, data, cache and dalvik cache but I just did that and it wiped my internal storage :/
I had to flash the stock system image through ADB because ADB sideload wasn't working. Now I'm afraid to wipe system again before trying again because I feel like it will wipe my internal storage again. How can I wipe system properly before installing a new ROM?
Thanks!
Now the interesting question here is: What is internal storage?
You seem to think it is the entire emmc, including your system, cache and data partitions but that is not how that term is used.
As far as I have been able to figure this out "Internal Storage" in Android refers to the entire /data partition which in itself again is divided into a user accessible part where your photos, videos, files are stored ( /data/media and mounted as /sdcard/0 ) and the rest of the /data partition which is used for apps you install and their data. That part is not accessible to the user unless you have root.
Now, for 99% of all wipe operations all you need to do when installing a new rom is to wipe the data partition of all user installed apps and their data, dalvik and cache - also called a 'clean install'.
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
TWRP made this very easy: Enter the Wipe menu and swipe the button. Default is to wipe /data (without wiping /data/media), cache and Dalvik. Flash the rom - done.
berndblb said:
Now the interesting question here is: What is internal storage?
You seem to think it is the entire emmc, including your system, cache and data partitions but that is not how that term is used.
As far as I have been able to figure this out "Internal Storage" in Android refers to the entire /data partition which in itself again is divided into a user accessible part where your photos, videos, files are stored ( /data/media and mounted as /sdcard/0 ) and the rest of the /data partition which is used for apps you install and their data. That part is not accessible to the user unless you have root.
Now, for 99% of all wipe operations all you need to do when installing a new rom is to wipe the data partition of all user installed apps and their data, dalvik and cache - also called a 'clean install'.
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
TWRP made this very easy: Enter the Wipe menu and swipe the button. Default is to wipe /data (without wiping /data/media), cache and Dalvik. Flash the rom - done.
Click to expand...
Click to collapse
"Internal Storage" as I used the term refers to just the user accessible part of the data partition where (as you said) photos, files, etc are stored. On previous versions of TWRP for phones I have had, you could wipe system, date, cache, etc and it would always leave internal storage intact. Ergo, after wiping, you could navigate to your downloads folder and find the ROM you wanted to flash. The issue I had was that I wiped "system" using TWRP and it wiped my "internal storage", meaning my downloads and photos and everything - leaving me with no ROM to flash.
You answered my question perfectly toward the end with this
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
Click to expand...
Click to collapse
I come from a series of phones where this was not standard behavior for ROM installers, so failing to wipe system would lead to a dirty flash and almost assuredly cause issues. Thanks for the input, I will just do a data wipe from now on.
You shouldn't count on roms wiping system automatically.
A well established rom like pure Nexus for instance does not wipe system at flashing, leaving it up to the user to clean or dirty flash.
Always read and follow the installation instructions that come with the rom and you should have little problems. If there aren't any instructions, stay away from the rom is my advice, especially of you are a new user.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
peltus said:
You shouldn't count on roms wiping system automatically.
A well established rom like pure Nexus for instance does not wipe system at flashing, leaving it up to the user to clean or dirty flash.
Always read and follow the installation instructions that come with the rom and you should have little problems. If there aren't any instructions, stay away from the rom is my advice, especially of you are a new user.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
Click to expand...
Click to collapse
Thanks, I'm not a new user by any stretch, just new to the Nexus 5x.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
Click to expand...
Click to collapse
This is exactly what I did when it wiped the ROM file (and all photos/sms backups) from my internal storage. That's how I have always wiped before flashing a new ROM in TWRP and this is the first time it ever wiped my internal storage, hence my question. I think I'll just stick to ROM installers that perform a system wipe. I plan on running the odex stock based ROM I just installed for a while anyway.
The_mamba said:
Thanks, I'm not a new user by any stretch, just new to the Nexus 5x.
This is exactly what I did when it wiped the ROM file (and all photos/sms backups) from my internal storage. That's how I have always wiped before flashing a new ROM in TWRP and this is the first time it ever wiped my internal storage, hence my question. I think I'll just stick to ROM installers that perform a system wipe. I plan on running the odex stock based ROM I just installed for a while anyway.
Click to expand...
Click to collapse
Sorry for assuming you're a newby. Last time i wiped that way in twrp (June 2016) it left my SD card alone. Maybe you checked the wrong box?
peltus said:
Sorry for assuming you're a newby. Last time i wiped that way in twrp (June 2016) it left my SD card alone. Maybe you checked the wrong box?
Click to expand...
Click to collapse
No worries, I appreciate the help either way. I suppose it's possible I checked the wrong box but I am very diligent about that because I have REALLY screwed myself over with that in the past. I accidentally wiped internal storage once or twice on my HTC One and had to RUU back to stock, losing everything including root. Luckily recovery is quicker and easier on the 5x (and the phone is brand new so it had no pictures on it).
I'm afraid to try it again even with a nandroid since the recovery files or stored on internal storage so wiping that would leave me SOL too. Like I said, I'll probably just ride on this ROM until the Nougat or so and then make a full cloud backup before trying a full wipe again.
Wiping system did not erase your files. /system is read only, so you nor your apps can store anything there.
I respectfully disagree with @peltus. In those parts of XDA where I "grew up" a dirty flash is a rom flash without wiping data. And I would be grateful for a link to a rom where the installation script does not involve formatting or wiping /system.
I could be wrong but I believe TWRP's wipe of data is without data/media.
Internal Storage wipes the entire data partition.
One if these days with more time I'll give it a try
Sent from my Nexus 5X using Tapatalk
BONUS: What is a data/media device?
https://twrp.me/faq/datamedia.html
The relevant part:
Since /data/media is part of /data, we pretty much never actually format the data partition. Formatting data, of course, also removes the media folder that contains the internal sdcard. When you choose a factory reset [or wipe data], instead of formatting, we use rm -rf commands to remove all the folders except for the media folder so that we can remove all of your apps and settings while leaving your "sdcard" intact. In TWRP we also have a wipe internal storage option that rm -rf's the media folder and a "Format Data" option that formats to recreate the entire file system in case something goes completely wrong or to remove device encryption.
Click to expand...
Click to collapse
[ ] - added by me.

[Guide] What to wipe or format: the case of an upgrade or a completely different ROM

I feel like explaining this somewhat more extensively as it was not clearly documented somewhere. In the case of a totally new and different ROM (so not an upgrade to a newer version which the ROM developer stated as safe for upgrading), you should wipe the following partitions:
/system (where your ROM resides)
/data (without /data/media if you want),
/cache (probably not needed though as it does not contain a whole lot usually).
When upgrading, if deemed possible, you don't format anything, and flash the new ROM over the old one. In many ROMs, /system will usually still be erased/formatted by the flashing procedure. However, most ROMs automatically reinstall Gapps, root, F-Droid etc. through an addon.d script specifically designed for ROM upgrades, which is convenient when upgrading. When flashing a totally new ROM, erasing /system yourself is hence not strictly necessary, but to make sure the old ROM packages do not interfere with the new one through addon.d, it's best to erase it before flashing.
In TWRP, this formatting for a new ROM goes as follows:
You can simply perform a "factory reset" in TWRP (which deletes most of /data, the Dalvik cache in /data and /cache). Now your settings and apps are removed. Your user data in the internal storage is untouched, which is actually at /data/media, a.k.a. /sdcard where it is mounted too. Then format /system via advanced wipe.
For the same result, you can also just via the "advanced wipe" wipe data, Dalvik cache, cache and system.
Alternatively, choose "format data" (which then wipes /data completely, including internal storage (/data/media) as well as Dalvik cache) and wipe /cache and /system) via "advanced wipe".
For the same result, you can also just via the "advanced wipe" wipe data, Dalvik cache, cache, system and internal storage.
You can leave the other partitions (such as modem partitions, persist, preload (unless your new ROM uses it), EFS, boot (since the kernel is updated by your new ROM) and a few others). In fact, most of these you cannot even format using TWRP.
Note that a factory reset in a custom recovery is usually different from the factory reset in the stock recovery (confusing, I know): it only deletes /data (without /data/media) and cache. In the original recovery it formats /data completely (similar to the "format data" option in TWRP).
See also here and here.
BTW some people on this forum seem to think you should wipe things several times, like wiping the floors ...
Of course, that's nonsense. Flashing too: it should only be done once. These bits are digital people!

Categories

Resources