[Q] TWRP 2.5.0.0 wiping question - Nexus 4 Q&A, Help & Troubleshooting

Would "format data" simply be equivalent to "advanced wipe" with all the options checked?
If I wanted a completely clean slate, format data would be the option, but if I wanted a new rom, clearing data, cache and dalvic would be the minimum necessary right? What about a new kernel/update of the rom?

boogerlad said:
Would "format data" simply be equivalent to "advanced wipe" with all the options checked?
If I wanted a completely clean slate, format data would be the option, but if I wanted a new rom, clearing data, cache and dalvic would be the minimum necessary right? What about a new kernel/update of the rom?
Click to expand...
Click to collapse
if its an update to the rom, no need to wipe anything, flashing a rom automatically wipes the cache and dalvik. if its a new rom, factory reset first(thatll also wipe cache/dalvik). if youre flasging kernels, you never ever have to wipe anything, no matter what others tell you. wiping cache/dalvik has absolutely nothing to do with kernels.

boogerlad said:
Would "format data" simply be equivalent to "advanced wipe" with all the options checked?
If I wanted a completely clean slate, format data would be the option, but if I wanted a new rom, clearing data, cache and dalvic would be the minimum necessary right? What about a new kernel/update of the rom?
Click to expand...
Click to collapse
Are you looking to return 100% to stock? or just resetting your current rom?

I'm just resetting my current rom. Does anyone have an answer for the first question though? What exactly is the format option?

boogerlad said:
Would "format data" simply be equivalent to "advanced wipe" with all the options checked?
If I wanted a completely clean slate, format data would be the option, but if I wanted a new rom, clearing data, cache and dalvic would be the minimum necessary right? What about a new kernel/update of the rom?
Click to expand...
Click to collapse
NO that "format data" will wipe your SD card partition. The one in advance will wipe data but not the SD
From my BLACKED OUT N4

Related

Steps When Flashing Question

So I was reading the Royal Ginger Rom thread, and his instructions on the 3rd page I believe say to:
"Make sure when you wipe you wipe both on the main page of recovery. Then go to advance and wipe dalvik then go to mount and format boot, system and format sdcard. Then flash."
Have I been missing something here with all the ROM's I've been flashing? With all the ROM's I've flashed, I've only done "full data wipe", "wipe cache", and "wipe dalvik"
I've never done a format boot, system and fotmat sdcard.
And doesn't formatting a sd card wipe everything off it? Or am I thinking of something else
bballcat03 said:
So I was reading the Royal Ginger Rom thread, and his instructions on the 3rd page I believe say to:
"Make sure when you wipe you wipe both on the main page of recovery. Then go to advance and wipe dalvik then go to mount and format boot, system and format sdcard. Then flash."
Have I been missing something here with all the ROM's I've been flashing? With all the ROM's I've flashed, I've only done "full data wipe", "wipe cache", and "wipe dalvik"
I've never done a format boot, system and fotmat sdcard.
And doesn't formatting a sd card wipe everything off it? Or am I thinking of something else
Click to expand...
Click to collapse
When you do full wipe /system is untouched so you should go format the /system, /boot, do full wipe. You can manually remount it but this is done auto when reflashing and reconstructing the image. Far as the format sdcard goes I take it that it access /sd-ext part which you should leave it alone if you don't understand.
BlackSHELF said:
When you do full wipe /system is untouched so you should go format the /system, /boot, do full wipe. You can manually remount it but this is done auto when reflashing and reconstructing the image. Far as the format sdcard goes I take it that it access /sd-ext part which you should leave it alone if you don't understand.
Click to expand...
Click to collapse
So I should always do a FULL wipe then with whatever rom I flash? Could explain some "oddities" I've been getting at times lol
And just leave the format sdcard alone?
bballcat03 said:
So I should always do a FULL wipe then with whatever rom I flash? Could explain some "oddities" I've been getting at times lol
And just leave the format sdcard alone?
Click to expand...
Click to collapse
1) Keep your battery 100% (trust me saves you alot of time recalibrating)
2) Format /system, /boot from Recovery
3) Wipe dalvik, full wipe
4) Flash whatever via SDCard
BlackSHELF said:
1) Keep your battery 100% (trust me saves you alot of time recalibrating)
2) Format /system, /boot from Recovery
3) Wipe dalvik, full wipe
4) Flash whatever via SDCard
Click to expand...
Click to collapse
Ah ok, I was totally unaware of step 2. I've just done "wipe data/factory reset" and the two cache's.
Interesting what I'll get from here on out now. What do you mean by "recalibrating" when you said to keep the battery at 100%?
bballcat03 said:
Ah ok, I was totally unaware of step 2. I've just done "wipe data/factory reset" and the two cache's.
Interesting what I'll get from here on out now.
Click to expand...
Click to collapse
Thats why we are here. Normally most leave it alone and only time we recommend it is when user is doing major upgrade for example switching roms or having some issue that none else can replicate. You are now good to go
BlackSHELF said:
Thats why we are here. Normally most leave it alone and only time we recommend it is when user is doing major upgrade for example switching roms or having some issue that none else can replicate. You are now good to go
Click to expand...
Click to collapse
thats sorta interesting
ive not once seen it mentioned in any of the rom threads or just around xda to wipe both boot and system until seeing it in the royalginger thread
not saying its wrong...but it should be maybe conveyed that only wiping date/factory reset, cache and dalvik isnt always sufficient
Freek91 said:
thats sorta interesting
ive not once seen it mentioned in any of the rom threads or just around xda to wipe both boot and system until seeing it in the royalginger thread
not saying its wrong...but it should be maybe conveyed that only wiping date/factory reset, cache and dalvik isnt always sufficient
Click to expand...
Click to collapse
Well normally people just do full wipe (/data, /cache, /sd-ext, /sdcard/.android_secure) and wipe dalvik but if you want to properly do it then you can format /system manually or do it via adb fastboot erase system -w. This is more clean way to do it as you get rid of the /system which is not normally covered with wipe.
A point of clarification. As I understand it, the Dalvik cache (used by Mobile Java apps) is a structure within the /data partition. A "full wipe / factory reset" formats /data, so a wipe of the Dalvik cache in addition wouldn't actually do anything.
Wiping the Dalvik cache along with /cache is usually recommended for ROM "upgrade" flashes, when /data is left intact.

[Q] About installing CM7 Nightly builds

Hey guys just a quick question about installing nightly builds on the nook. When Rom Manager asks whether to wipe data/cache and what not, if I select it, will it wipe the internal memory completely? leaving no user files behind? or will it only wipe the system files?
It will wipe everything and it will be a fresh install.
Sent from my LG Optimus V using Tapatalk
If you update, just wipe cache
It wipes the /data partition but doesn't wipe /sdcard /sd-ext or /met/emmc.
Sent from my MB860 using xda premium
EGM92 said:
Hey guys just a quick question about installing nightly builds on the nook. When Rom Manager asks whether to wipe data/cache and what not, if I select it, will it wipe the internal memory completely? leaving no user files behind? or will it only wipe the system files?
Click to expand...
Click to collapse
Just wipe Davlik.
if boot is longer than normal after wipe, it's normal!
votinh said:
If you update, just wipe cache
Click to expand...
Click to collapse
patruns said:
Just wipe Davlik.
Click to expand...
Click to collapse
So... just wipe Davlik Cache is what you guys are saying?
Good question helped out a newb here
Jiv_au said:
So... just wipe Davlik Cache is what you guys are saying?
Click to expand...
Click to collapse
Correct
Sent from my LG Optimus V using Tapatalk
Jiv_au said:
So... just wipe Davlik Cache is what you guys are saying?
Click to expand...
Click to collapse
Note: wipe cache and wipe Dalvik cache are 2 different things.
+ wipe cache is a quick way to clean the current running ROM
+ wipe Dalvik is a completely clean.
After wipe Dalvik, next time it boots, it will take a lot longer time due to the device has to re-compile the whole thing before ROM start running and booting.
I think I need to drop a few lines about wipe cache/Dalvik.
As I posted above, I said it wiped clean.
Apparently, I am NOT 100% correct.
I just updated to nb198, wiped cache (formatting /cache) then wipe Dalvik cache.
After done updating ROM, booting up, I expected everything clean, completely fresh.
It's not the case, I went to Market and all old search history were still shown. Not only with Market but other apps too.
So
a. either wipe cache/Dalvik is NOT completely clean wipe or
b. it was completely clean but somehow, those old cache info, which stored somewhere I don't know, get automatically restored back.
Okay, I did a quick read of the FAQ for CWR, and came across these:
Wipe cache partition
Wipes the cache partition of the device to clear all the data accumulated there over use. This is often used before installing a new ROM, app, kernel or any similar mod via recovery.
Wipe Dalvik Cache
Allows you to wipe the cache for the Dalvik virtual machine (the custom-built Java virtual machine for Android).This is required before most ROM installations and at other occasions too, for fixing some problems.
So, I'm taking this guide on board and will wiping Cache AND Davlik. So that's two steps prior to installing a new CM7 nightly build.
votinh said:
I think I need to drop a few lines about wipe cache/Dalvik. *snip*
a. either wipe cache/Dalvik is NOT completely clean wipe or
b. it was completely clean but somehow, those old cache info, which stored somewhere I don't know, get automatically restored back.
Click to expand...
Click to collapse
You didn't happen to store them in uSD card? Or perhaps app data/cache are separate from system data/cache...
Will look into it further...

[Q] Stupid question

Hi,
I have an Iconia Tab A500 with CWM installed and sometime i switch on different ROM to test them.
Usually befoere making a full NANDROID restore i do only a "Wipe data" / "Wipe cache" / "Wipe dalvik" but sometime you can see on some post that you need in addition to format "/system /flexrom /data /cache, etc.."
So my stupid question, is it necessary to format each time i do a full restore or only to wipe.
In fact, what is the difference between "Wipe" and "Format" ?
Thx a lot for answer.
A developer could certainly give you a more accurate answer to your question than me but, as far as I know, wiping means erasing the data that you have added by yourself to the ROM (for example, your pseudos and passwords, apps, and so...), while formatting means erasing all the data that the developers have written originally.
Personally, when I restore a ROM, I never do a wiping nor a formatting, since the backup contains all the data of the ROM, afaik.
aranna said:
Hi,
I have an Iconia Tab A500 with CWM installed and sometime i switch on different ROM to test them.
Usually befoere making a full NANDROID restore i do only a "Wipe data" / "Wipe cache" / "Wipe dalvik" but sometime you can see on some post that you need in addition to format "/system /flexrom /data /cache, etc.."
So my stupid question, is it necessary to format each time i do a full restore or only to wipe.
In fact, what is the difference between "Wipe" and "Format" ?
Thx a lot for answer.
Click to expand...
Click to collapse
If you install RA Recovery, you only need to select in wipes "user data/factory reset", then do a dalvik wipe. This formats your partitions so no need to do 6 different things. System gets formatted when the rom installs.
so, wiping or formatting as no effect when you restore a backup because all is erased.. strange.. so why on most tutorial we ask to do a wipe ?
Strange...
Can you give me an example of tutorial where it is said that you have to do a wipe before a restore with CMW ?
aranna said:
so, wiping or formatting as no effect when you restore a backup because all is erased.. strange.. so why on most tutorial we ask to do a wipe ?
Click to expand...
Click to collapse
To me this is a better safe than sorry situation. It's probably unnecessary and redundant but i'd rather wipe and format everything before i flash just to be sure im getting a clean base, rather than flash, have bugs, and have to go back into recovery and wipe anyway and reflash
Sent from my SGH-T959 using Tapatalk
you know I always understood that restoring did not require a wipe, but since I've started this tablet, I've noticed I get failed restore more often. I've started wiping before restore but sometimes it still fails.
Sent from my A500 using Tapatalk

[Question] What does it mean to "WIPE"?

I want to have a clean install on my Nexus, and I was wondering what it meant to "WIPE". Is it Factory reset, cache, dalvik cache, and system? Or is it also system too?
I have TWRP
Thank you!
factory reset. when you wipe data, you factory reset. that automatically wipes your cache and dalvik too.
simms22 said:
factory reset. when you wipe data, you factory reset. that automatically wipes your cache and dalvik too.
Click to expand...
Click to collapse
It's not system too?
iamjerry123 said:
It's not system too?
Click to expand...
Click to collapse
no.
simms22 said:
no.
Click to expand...
Click to collapse
Thank you so much for answering all my stupid questions. So If I wanted a new clean start for my phone (while it still being rooted and not losing all my SD card files) I would just have to do a factory reset, then flash?
Unfortunately, the terminology seems to vary from device to device and even from recovery to recovery.
It can mean either (a) "destroy the filesystem and rebuild a new blank one" or it can mean (b) "don't destroy the filesystem but delete all the files in it". In both of these cases, access to all files are lost, but there are subtle differences for the flash memory with regards to whether the blocks are marked as erased or not.
As regards to recent versions of TWRP, the "factory reset" button underneath the Wipe menu does not behave exactly like either of the above cases (although it is more similar to case (b)), nor does it behave the same way as the stock recovery's version of "factory reset", which deletes EVERYTHING in /data.
TWRP's version of "factory reset" erases everything in /cache, but when it comes time to deal with the /data partition, it avoids erasing all the files in /data/media. This is where the "internal SD card" files are stored INCLUDING ANY BACKUP FILES you might have made (if you didn't use an external storage for the backup)
Here's what I would recommend when using the Wipe menu in TWRP:
1) Put the tablet down on a table before you enter the Wipe menu - don't hold it in your hands. The reason for this is that none of the touch buttons require confirmation, so an accidental touch could lead to an immediate disaster involving loss of your backups.
2) If you are installing a new ROM from scratch, the only button you need to use is the "factory reset" button - nothing else. (Performing Dalvik wipe or Cache wipe are superfluous as the "factory wipe" button takes care of this) *1
3) If you are installing a ROM which is a small revision from a prior version - and the ROM dev has explicitly indicated it is OK to do a "no wipe" install, use only the "cache wipe" and "dalvik wipe" bttons. *2
In short, you should really only use the top four buttons in TWRP under normal circumstances. Especially you should avoid the "wipe data" button unless you are:
- selling the device or returning it
- some disaster happened where the /data partition fails to mount any longer.
*1 It is somewhat unusual that ROM devs fail to add a wipe of /system in their scripting prior to
installation; so typically using the "wipe sytem" button is not needed for new ROM installs, and it is cerainly not desired if you want to do a complete reset of whatever ROM is already installed.
*2 Doing this kind of thing is just asking for trouble - understanding and using the Titanium Backup along with full-wipe installs is a better idea.
cheers

[Q] About using / wiping using TWRP

Hello people. Just wanted to ask how is the right way to wipe when flashing a rom WITHOUT losing the rom (wiping internal)? In CWM i just factory / reset data then thats it then clear cache and dalvik cache. In TWRP do i just need to swipe when the screen says "Most of the time this is the time that you need" when i will flash rom? Thanks for guiding!
anyone?
1. factory reset
2. advance, wipe system
thats all for me, works everytime... just make sure to wipe cache/dalvik after flashing zip files be it roms or gapps or whatever :good:
The default "most of the time" option is a fresh reset of the phone. it wont wipe the ROM itself, but all the data will be lost and you start over. Wiping system will remove everything, a ROM must be flashed after wiping system.
So before i flash a rom i wipe the "most of the time" then advanced format system? right?
zero0422 said:
The default "most of the time" option is a fresh reset of the phone. it wont wipe the ROM itself, but all the data will be lost and you start over. Wiping system will remove everything, a ROM must be flashed after wiping system.
Click to expand...
Click to collapse
So before i flash a rom i wipe the "most of the time" then advanced format system? right?
true that... sorry for misleading initially, format system only applicable if you wanna have clean install of new rom
marshygeek said:
So before i flash a rom i wipe the "most of the time" then advanced format system? right?
Click to expand...
Click to collapse
No need to use format system unless you are installing a fresh ROM. Format system will remove everything from your device (other than sdcard info and all that). So you get a clean slate.
If you just want to flash an update to the same ROM you can either 'dirty flash', which I usually just wipe cahce/dalvik then flash the ROM and reboot, and you save all your user modified things, or you can wipe system and install the ROM. You lose everything that way so make backups.
Usually there isnt much need to factory reset unless you're having an issue with something. What is it you're trying to do?
I wanted to flash a stock based rom. Thank you.

Categories

Resources