I cant find the answer to this - EVO 4G General

Im flashing calks format all zip before flashing my rom. My question is do i have to wipe davlick cache and other caches as well or is flashing calks format all zip good enough????
Sent from my PC36100 using XDA App

stevo760 said:
Im flashing calks format all zip before flashing my rom. My question is do i have to wipe davlick cache and other caches as well or is flashing calks format all zip good enough????
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
You should still wipe everything else as well.

aimbdd said:
You should still wipe everything else as well.
Click to expand...
Click to collapse
No you don't
Swyped from my cyanogenized and gingerbreaded EVO

Because calk's script actually formats the partitions, there is no need to wipe everything.

It's my understanding that dalvik cache is usually stored on /data, so if the data partition is formatted, I see little reason to wipe it again. Same thing with the cache. The script formats /cache too.
Partial contents of format all script.
Code:
format BOOT:
format CACHE:
format DATA:
format SYSTEM:

aimbdd said:
You should still wipe everything else as well.
Click to expand...
Click to collapse
Why do people say things when they really don't know what they're talking about? It's not helpful.

the zip was made to compliment... not to be the only source.

Thanks guys you are all more than helpfull
Sent from my PC36100 using XDA App

stevo760 said:
Thanks guys you are all more than helpfull
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Really???!
I wipe dalvik cache after using format-all.zip, and to me it seems there was still some stuff left behind. The first time I wipe takes longer than the second time.

bigmoogle said:
I wipe dalvik cache after using format-all.zip, and to me it seems there was still some stuff left behind. The first time I wipe takes longer than the second time.
Click to expand...
Click to collapse
How are you determining there's anything still left in the dalvik cache folder?
If you understand where dalvik cache folder is actually stored, it makes perfect sense.
Normally, dalvik cache is physically stored under /data partition. I say normally, because there are ways of relocating it to the internal /cache folder, or even to the ext partition on the sd card. Chances are you're not set up that way based on your comments.
Formatting /data clears everything out from that partition. Given that dalvik cache resides in that partition, it too is erased. This is the reason why it wipes so quickly if you've already done the factory wipe (top most option in RA recovery) compared to just wiping the dalvik cache. Further, there is little reason to even wipe the /cache partition it is automatically wiped during the restore process.

Don't get me wrong... because I have always admired Calk's work... but I really don't see a need for the format all except in desperate last resort situations. Amon recovery should be able to take care of everything you need.

They both do the same thing. One just requires fewer clicks Although, since data gets restored anyways during the restore process, and I believe cache also gets formatted, is there really any reason to even bother wiping when doing a restore. Wiping certain areas (dalvik cache for example) does have merit when changing kernels.

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...

wiping data?

i wanna download some cool roms and it ask me to wipe data, cache and dalvick. when i do this.... will it erase all of my music, vids, and pics off my sd card? i have the phone plugged in boot mode... all i have to do is cleck yes to wipe data. i hope this doesnt make me lose everything
I'm no expert but have flashed a few roms. You shouldn't lose what's on your SD. I wipe cache and dalvik all the time even when not flashing a ROM. I've never lost anything. You would if you were partitioning your SD.
Hope it helps, good luck and have fun.
Sent from my SHOOTER juiced EVO using xda premium
No when you wipe dalvick cache and cache you won't lose anything on your SD card just make sure you fully understand how to flash a rom first time I did it I messed my phone up do a lot of research first lol and good luck
Sent from my PC36100 using Tapatalk
MPH33 said:
i wanna download some cool roms and it ask me to wipe data, cache and dalvick. when i do this.... will it erase all of my music, vids, and pics off my sd card? i have the phone plugged in boot mode... all i have to do is cleck yes to wipe data. i hope this doesnt make me lose everything
Click to expand...
Click to collapse
Before you start wiping and what not make sure to do a backup. Also use Titanium Backup to back all your apps you downloaded the paid ones's or all the ones you downloaded. For contacts make sure to export them to your sdcard just in case. what recovery do you have? Should use Amon RA the best one for the EVO
Now when you're installing a new rom This for the Amon ra recovery but its almost the same for clockworkmod.
Wipe all user data/system
Wipe cache
wipe Dalvik cache
Wipe android secure (optional)
Wipe system
Wipe data
Wipe boot
Wipe rotate settings
BUT DO NOT WIPE SDCARD goodluck with your new root
Have a question here that's semi-related. I have been playing around with some different ROM's here the past few days. I noticed some of them are utilizing my SD card. When I do my usual wipe, it's leaving a few Widgets, etc in place. I know it's the SD card, because when I repartition the SD card, I finally got rid of everything that wouldn't wipe. What wipe/clear was I missing here, or is the only way to clear these apps/widges from the previous ROM is to do a SD card repartition each time?
Edit :
Just to be clear on the wipes/clears I've been doing :
wipe data/factory reset (Doesn't this cover most everything?)
wipe cache
wipe Dalvik cache
I also tried Clear Storage from hboot, but that didn't seem to help either...
jreed012 said:
Have a question here that's semi-related. I have been playing around with some different ROM's here the past few days. I noticed some of them are utilizing my SD card. When I do my usual wipe, it's leaving a few Widgets, etc in place. I know it's the SD card, because when I repartition the SD card, I finally got rid of everything that wouldn't wipe. What wipe/clear was I missing here, or is the only way to clear these apps/widges from the previous ROM is to do a SD card repartition each time?
Edit :
Just to be clear on the wipes/clears I've been doing :
wipe data/factory reset (Doesn't this cover most everything?)
wipe cache
wipe Dalvik cache
I also tried Clear Storage from hboot, but that didn't seem to help either...
Click to expand...
Click to collapse
Wipe in this order and I can assure things will work for you
Factory wipe(data-cache),wipe dalvik, wipe boot, and wipe system
Sent from my PC36100 using xda premium
...So, what ROM are we developing here? ...I'm not good at flaming...
@MPH33, you want to make sure and post questions in the Q&A section in the future.
My two cents here, is:
I always wipe my sdcard as well as what the others have said. I know you don't want to "lose" all your stuff on there, but really all you have to do is create a folder on your computer with the important stuff, like pics, music, backups. I use recovery to partition the sdcard, much faster than formatting on the PC.
The phone creates other temp folders on the sdcard that I am not sure what impact they will have on another ROM but I like to get rid of them.
jreed012 said:
Have a question here that's semi-related. I have been playing around with some different ROM's here the past few days. I noticed some of them are utilizing my SD card. When I do my usual wipe, it's leaving a few Widgets, etc in place. I know it's the SD card, because when I repartition the SD card, I finally got rid of everything that wouldn't wipe. What wipe/clear was I missing here, or is the only way to clear these apps/widges from the previous ROM is to do a SD card repartition each time?
Edit :
Just to be clear on the wipes/clears I've been doing :
wipe data/factory reset (Doesn't this cover most everything?)
wipe cache
wipe Dalvik cache
I also tried Clear Storage from hboot, but that didn't seem to help either...
Click to expand...
Click to collapse
the fact that you say you get rid of the left over bits when you repartition tells me that it's an apps2sd issue. Some roms use the sd-ext and some don't. In both CWM and Amon-ra you will find options to wipe the sd-ext. Add that into what you're already wiping and you shouldn't be troubled with leftover bits anymore. (and just to be sure, also add in .android-secure to the list of what gets wiped)
Wiping data/factory reset will wipe android secure and sd extension. So id just do what jaredthegreat said and run vr_superwipe script also.
It works same way as when your done using the toilet.
Sent from my PC36100 using XDA App

Flashing on N4

Ok, maybe this is n00bish but Ive never had a nexus device.
On my gs1, tf700 and such everything is flashed from the microsd card. If this device doesnt have one, how do you flash without loosing data?
Ive always learned, 1 wipe data, cache etc. 2. Flash rom/kernel (sometimes 3 wipe again)
Wont this clear your phones storage? This is a HUGE selling factor for me.
Im due for a upgrade outa pocket and I cant decide from GS3, Nexus 4, Note 2 or holding out for rumored gs4
Thanks guys
Sent from my OC'd CM9 Epic 4g. (Thats right, the Galaxy S (1)! Haha)
Clear Data does not wipe internal storage, just apps+data. If you were doing that, first back up using Titanium Backup, flash new ROM, restore from TiBU, PROFIT!!!
For backing up text messages, theres an app, though I can't remember the name.
Isnt there also an option that wipes everything? Factory reset or whatever. It cleans the rom and all I thought. Thats how we avoid bugs from rom hopping? Like I said Im n00b in nexusville but vanilla jellybeans sound delicious
Sent from my SPH-D700 using xda app-developers app
There's separate partitions on the phone. Part for the system, part for your data, and then basically an internal SD Card. You would wipe the same way you would on any other phone: Wipe data/factory reset, format boot, system, cache, data, dalvik cache, etc, then flash your ROM. Your "internal" SD card will be untouched.
At least that's how I assume it would work...
Tapatalk² from my Optimus V
kcls said:
There's separate partitions on the phone. Part for the system, part for your data, and then basically an internal SD Card. You would wipe the same way you would on any other phone: Wipe data/factory reset, format boot, system, cache, data, dalvik cache, etc, then flash your ROM. Your "internal" SD card will be untouched.
At least that's how I assume it would work...
Tapatalk² from my Optimus V
Click to expand...
Click to collapse
Yup thats how it works. 'SD Card' partition is untouched during a wipe (though the bootloader unlock command will wipe absolutely everything, you just use that once when you first get the phone and its all good).
anirudh412 said:
Clear Data does not wipe internal storage, just apps+data. If you were doing that, first back up using Titanium Backup, flash new ROM, restore from TiBU, PROFIT!!!
For backing up text messages, theres an app, though I can't remember the name.
Click to expand...
Click to collapse
SMS Backup and restore
Sent from my SGH-T989 using xda app-developers app
Lord Syrics Jr. said:
Isnt there also an option that wipes everything? Factory reset or whatever. It cleans the rom and all I thought. Thats how we avoid bugs from rom hopping? Like I said Im n00b in nexusville but vanilla jellybeans sound delicious
Sent from my SPH-D700 using xda app-developers app
Click to expand...
Click to collapse
You are correct. But factory reset/ clear data even though wipes the phone clean, the 'internal SD card partition' isn't wiped. Meaning you would still have your pictures, videos and such. And also backup files. So once you do that and boot into the new rom, install TiBU from the market and restore your backup.
For a complete and 'true' wipe, as someone already mentioned, you could use ODIN/ Toolkit. Someone correct me if I am wrong.
Using TWRP. You can wipe: cache, dalvik, factory reset, system. You can wipe all of those and your internal store will not be wiped. Now with TWRP you can also wipe internal and external storage, do that and you will be SOL.

Casuals recovery

I rooted with casual and have the recovery installed. My question is I supposedly full wiped and flashed Goldeneye. My issue is it didnt full wipe because when I go into internal memory all the crap that should be gone, its folders are still there taking memory so I have to manually delete. Am I doing something wrong ?
When I had my htc a full wipe meant a full wipe Everything gone. Dont understand why its not happening on my s4.
Sent from my SAMSUNG-SGH-I337 using xda premium
go into recovery and do a factory reset, it will clear it.
Thanks
That dont work all the folders are still there even though the apps are not installed.
Sent from my SAMSUNG-SGH-I337 using xda premium
most recoverys are set up to format data without touching the internal storage. this is a feature, not a bug. if you want to wipe internal, go to format, then format internal. easy peasy
Reinaldo33897 said:
I rooted with casual and have the recovery installed. My question is I supposedly full wiped and flashed Goldeneye. My issue is it didnt full wipe because when I go into internal memory all the crap that should be gone, its folders are still there taking memory so I have to manually delete. Am I doing something wrong ?
When I had my htc a full wipe meant a full wipe Everything gone. Dont understand why its not happening on my s4.
Sent from my SAMSUNG-SGH-I337 using xda premium
Click to expand...
Click to collapse
Here is what I do when I flash a ROM. I am a bit OCD for flashing cleanly.
1) Boot into Recovery
2) Wipe Data (Factory reset)
3) Wipe Cache
4) Wipe Dalvik Cache
5) Format /System
6) Format /sdcard
Then I flash my ROM. Those steps will definitely clean everything out before you flash. Especially formatting /system and /sdcard.
chocodough said:
Here is what I do when I flash a ROM. I am a bit OCD for flashing cleanly.
1) Boot into Recovery
2) Wipe Data (Factory reset)
3) Wipe Cache
4) Wipe Dalvik Cache
5) Format /System
6) Format /sdcard
Then I flash my ROM. Those steps will definitely clean everything out before you flash. Especially formatting /system and /sdcard.
Click to expand...
Click to collapse
just make sure you don't have anything you care about, like Roms or nandroids, in /sdcard.
fwiw this isn't a CASUAL issue, its a TWRP issue.
Awesome was looking for the correct way to do a Total Full Wipe in recovery.
Sent from my SAMSUNG-SGH-I337 using xda premium
chocodough said:
Here is what I do when I flash a ROM. I am a bit OCD for flashing cleanly.
1) Boot into Recovery
2) Wipe Data (Factory reset)
3) Wipe Cache
4) Wipe Dalvik Cache
5) Format /System
6) Format /sdcard
Then I flash my ROM. Those steps will definitely clean everything out before you flash. Especially formatting /system and /sdcard.
Click to expand...
Click to collapse
It's a little over kill. Just need to wipe the caches and data. If you wipe system, just make sure you do it before you flash a rom. And make sure you flash a rom before you boot. Wiping system and then rebooting is detrimental to your phone.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
jd1639 said:
It's a little over kill. Just need to wipe the caches and data. If you wipe system, just make sure you do it before you flash a rom. And make sure you flash a rom before you boot. Wiping system and then rebooting is detrimental to your phone.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Ya it might be a little bit overkill, but atleast this way you know everything is cleaned and wiped before you flash your ROM. I hate dirty flashing ROMS, so I prefer to be really thorough.
jd1639 said:
It's a little over kill. Just need to wipe the caches and data. If you wipe system, just make sure you do it before you flash a rom. And make sure you flash a rom before you boot. Wiping system and then rebooting is detrimental to your phone.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
It might be overkill but I like to make sure its a complete wipe even if I have to overkill it. Thanks all for the replies.
EDIT: DO NOT FORMAT INTERNAL if you have twrp the part where you have to type in yes. You will have serious issues and will end up ODIN back to stock to repair. If you format internal in twrp phone will not boot up. You can enter recover but if you power off phone will not boot up again.

Categories

Resources