Can anyone , please explain as detail as possible between Wipe Data and Format Data?
tegap said:
Can anyone , please explain as detail as possible between Wipe Data and Format Data?
Click to expand...
Click to collapse
Did you ever format a USB-Stick/memory card/hard disk drive on a Windows PC from a FAT32 to NTFS? This can't be done by wiping all data. You must format it.
wipe = deletes all folders/files that are visible in a file explorer
format = deletes all folders/files + partition's meta data
Meta data is information like e.g. the partition table, size of the partition, encryption and so on.
tegap said:
Can anyone , please explain as detail as possible between Wipe Data and Format Data?
Click to expand...
Click to collapse
Wiping data deletes everything in the data partition, but will/should keep internal storage intact (even though this is technically part of the data partition) and should be used for doing a clean flash. Any encryption will be kept add only data is deleted.
Formatting data will delete and recreate the file system, so in this case it's not possible to retain internal storage. This also removes encryption. This would normally only be used if you need to temporarily remove encryption when flashing (flashing a dfe script after would then keep the encryption permanently removed).
Related
I have few questions for wiping the phone?
A lot of time passed since I bought this phone, and there are a lot of garbage in sdcard and system itself? I changed many ROMs, and I want to breathe new life to phone.
I am interested in following CWM functions:
format /system
format /cache
format /data
format /sdcard
format /emmc
Will it erase everything and everything from the phone and sdcard, including the system?
Will this remove CWM and Root?
How to flash new system again, when I am not able to boot?
Is above procedure same as this, except that in this case, I am able to boot latest installed system?
- wipe data/factory reset
- wipe cache
- wipe dalvik
- format sdcard
- format emmc
What about code *2767*3855# , what is included under this type of wipe/reset?
Thanks
This just wipes apps. When you format /system it won't boot so you can only install a new ROM or restore a backup.. And no CWM won't be deleted..
Most ROMs format system automatically. But when you upgrade from GB to ICS you should format system and wipe data, cache and Dalvik cache.
And about the code, it's called a hard reset, same as wipe data in CWM.
Sent from my S+ using XDA premium
OmarPlus said:
This just wipes apps. When you format /system it won't boot so you can only install a new ROM or restore a backup.. A
Click to expand...
Click to collapse
How to restore backup when I formatted sdcard?
Is it safe to format emmc, and what is purpose of emmc?
TwinHeadedEagle said:
How to restore backup when I formatted sdcard?
Is it safe to format emmc, and what is purpose of emmc?
Click to expand...
Click to collapse
Emmc is external SD card, I don't really know if it formats all(music and stuff and apps) or just apps. But i think formatting in CWM wipes apps only ..So better not format it .. no ROM requires formatting SD or emmc
And you should always save backups on your PC..but if you format SD I don't think it will wipe data
Sent from my GT-I9001 using xda premium
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!
Anyone??
I think you can't decrypt your data partition...
Did you try to wipe your data partition with the latest TWRP?
Guich said:
I think you can't decrypt your data partition...
Did you try to wipe your data partition with the latest TWRP?
Click to expand...
Click to collapse
That's the thing, the recovery can't mount /sdcard so wiping isn't an option from recovery
jrun said:
That's the thing, the recovery can't mount /sdcard so wiping isn't an option from recovery
Click to expand...
Click to collapse
Hi! Only TWRP recovery can solve your issue just do this...
Boot to TWRP recovery->Wipe
From there there are 2 options the left is the advance wipe and on the right is Format Data
Just select the format data button and it should reformat the whole data partition.
1st one would prompt so many errors and reformat then reformat it again 1 time and it should fully reformat your phone.
In theory it should reformat data partition even when encrypted but just in case it fails and I won't be able to go back to this thread just boot in bootloader and type
"fastboot erase userdata"
Well none of that works. TWRP doesn't support decryption yet for this device.
sevenalive said:
Well none of that works. TWRP doesn't support decryption yet for this device.
Click to expand...
Click to collapse
What I instructed basically doesn't decrypt the partition. It reformats it.
Riyal said:
What I instructed basically doesn't decrypt the partition. It reformats it.
Click to expand...
Click to collapse
I know what you instructed, it doesn't work. Only way I got it to work. Flash the stock recovery. Boot into system. Take off the encryption, phone reboots and removes the encryption, data is formatted. Then flash TWRP again.
I basically ran into this exact problem. I was hoping that I'd still be able to back up the encrypted device, but forget about it. What a pain in the ass.
Someone should make add something to the guides about how encrypting your device makes nandroid backups impossible.
...what this means: "Mount and storage > format /system & format /preload"
does it mean that if i format i will lose every single piece of data on my sd card and internal storage? if so why is this recommended because i imagine it would wipe out the zip that is stored either on external or internal storage, how would i proceed to flash in that situation? is it safe to format mount and storage without worrying about data such as zips and folders that conatin large game files?
please give me a detailed explanation
thanks in advance
Mounts and storage
These let you directly format any of these partitions. This should be used with extreme caution as formatting any of these partitions will result in losing all data on them, especially the boot and system partitions. Formatting the system partition will remove your ROM and leave your phone without an operating system unless you restore or flash another one before rebooting your device.
* Okay if you want to flash a new Rom:
format /system > will format everything in /system
* Okay if coming from TW and switch to AOSP/CM:
format /preload > will format everything in /preload
+++++++++!!!!!!! CAUTION!!!!! +++++++++
format /emmc >
format /sdcard >
format /sd-ext >
Those will wipe your internal and external SD.
blacque said:
...what this means: "Mount and storage > format /system & format /preload"
does it mean that if i format i will lose every single piece of data on my sd card and internal storage? if so why is this recommended because i imagine it would wipe out the zip that is stored either on external or internal storage, how would i proceed to flash in that situation? is it safe to format mount and storage without worrying about data such as zips and folders that conatin large game files?
please give me a detailed explanation
thanks in advance
Click to expand...
Click to collapse
it will not wipe your whole internal storage or for short your personal files. /preload & /system are just system folders where your phones stores all the system files system apps, etc, just like "Program Files" in you Windows Computer
Hope that helps
So go ahead and wipe clean before flashing a new rom, just make sure you have rooted your phone already and installed a safe kernel...
Thanks for your help.
Sent from my GT-N7000 using xda app-developers app
OK other phone I had has external SD card. When I wiped data it wiped internal SD completely. Since turbo has no external SD, will it wipe completely or just Android file data and preserve other files on internal SD. If it does wipe internal SD completely how would you flash ROM? Thanks for any advice.
newbe1droidx said:
OK other phone I had has external SD card. When I wiped data it wiped internal SD completely. Since turbo has no external SD, will it wipe completely or just Android file data and preserve other files on internal SD. If it does wipe internal SD completely how would you flash ROM? Thanks for any advice.
Click to expand...
Click to collapse
That depends on what kind of wipe you do. If you do a factory reset in TWRP, it will not wipe your user data (downloads, music, everything else in /data/media/0 or /sdcard). However, if you select Format Data, or you pick Internal Storage in the advanced wipe menu, all of your user data will be wiped. Usually, a factory reset is all you need after flashing roms, so you don't have to worry about losing photos/music/etc.
Great thanks for the fast reply. OK other phone was sgs3. Sometimes when flashing and then running new ROM it seemed the settings stayed the same as previous ROM. Devs would have you format data for clean install. How would that work on this droid turbo?
I also wiped data and it wiped my internal storage. I thought maybe I had wiped internal storage accidentally or did something else wrong but this leads me to believe I didn't do anything wrong. Back to the previous version that worked for us? (I think it was 2.8.7)
Edit: I just read that choosing to format data will also format internal storage, but a factory reset which "wipes data" does not touch the internal storage. This is a little confusing if you aren't familiar with how everything is partitioned. Is internal storage actually on the data partition?
Sent from my XT1254 using Tapatalk
If I have the ROM and gapps on internal SD and format data I loose ROM and gapps right? Then how would you install ROM? Second if I delete Android file on internal SD would that make it a clean install? But other files would still remain. Just trying to understand so I don't brick or can't get ROM on. Thanks
SpyderPride said:
I also wiped data and it wiped my internal storage. I thought maybe I had wiped internal storage accidentally or did something else wrong but this leads me to believe I didn't do anything wrong. Back to the previous version that worked for us? (I think it was 2.8.7)
Edit: I just read that choosing to format data will also format internal storage, but a factory reset which "wipes data" does not touch the internal storage. This is a little confusing if you aren't familiar with how everything is partitioned. Is internal storage actually on the data partition?
Sent from my XT1254 using Tapatalk
Click to expand...
Click to collapse
Yes, the internal storage is on the data partition. When you do a factory reset with TWRP and you read the script as it executes, it says something like "wiping /data without wiping /data/media." Doing the factory reset wipes everything on /data except /data/media, which is where your user data lives. So what gets wiped is all of the user apps and the data generated by the system apps, but your user data is preserved.
It makes sense that wiping data would wipe everything. I think having separate boxes for data and internal storage is to account for someone who might install an older version of android that is partitioned differently. I can't remember when the change happened, but at one point, the user data and app data were kept on separate partitions. I think that user data lived on /sdcard and apps lived on /data. That's why you see the /sdcard folder as a symlink when you go exploring with a root browser. It's symlinked to /data/media/0 to maintain backwards compatibility with older apps that are expecting /sdcard to exist.
Thanks st33v. My last phone had a /sdcard partition separate from /data so I think that is where the misperception came from. It also had /sdcard2, which was an actual SD card.
Sent from my XT1254 using Tapatalk
Yep my thinking too. You guys are great! Cleared it up.
If you wipe all your files simply use twrp and connect it to the PC. You can drag the files over for flashing.
mrkhigh said:
If you wipe all your files simply use twrp and connect it to the PC. You can drag the files over for flashing.
Click to expand...
Click to collapse
Awesome I was wondering if you could do that...
Hi Everybody,
since the Mi 9T Pro doesnt have a slot for SD-Cards, is it possible to create a partition where i can save all my Data like Images and videos?
Everytime i try a new ROM, i have to restore all the Data and it takes so long...
With my old Note 5 Pro i had everything on SD-Card, so there was no problem when i changed the system.
So, is it possible to create a partition on the phone where i can save those things and which is not getting touched when i install and test a new ROM?
Thanks and regards.
No you can't do that
use cloud storage if you want
You can change your rom without formatting internal storage. I've successfully flashed some miui and aosp roms, vendors and stock roms with twrp and miflash (going from one to another) without having to format internal storage, only data in twrp or save user data option in miflash
Maxissc said:
You can change your rom without formatting internal storage. I've successfully flashed some miui and aosp roms, vendors and stock roms with twrp and miflash (going from one to another) without having to format internal storage, only data in twrp or save user data option in miflash
Click to expand...
Click to collapse
Formatting is different from wiping.
And, formatting data erases both data and Internal memory, doesn't it
zgfg said:
Formatting is different from wiping.
And, formatting data erases both data and Internal memory, doesn't it
Click to expand...
Click to collapse
Internal storage is held in the data partition, so formatting the partition will erase internal storage. Wiping data, TWRP will keep internal storage but delete everything else.
That is new for me.
When i wipe "data", my Photos and Videos will not be earased?
When i wipe "internal storage", my photos and videos are deleted?
I can suggest to install this app if you need to wipe frequently
https://play.google.com/store/apps/details?id=com.kdrag0n.tipatch
App notes:
"Make TWRP include internal storage (photos, videos, downloads, etc) in backups!
WARNING: wiping Data WILL also wipe internal storage, contrary to normal behavior. You have been warned.
TWRP Data backups do not include Internal Storage, which is the emulated SD card that stores your photos, videos, downloads, and more. This means that in the event you transfer phones or completely wipe data, all of that is gone! Users must resort to error-prone manual backups instead."
Hoschie1983 said:
That is new for me.
When i wipe "data", my Photos and Videos will not be earased?
When i wipe "internal storage", my photos and videos are deleted?
Click to expand...
Click to collapse
yes