Does wipe cache & dalvik cache destroy *any* user data? - Android Software Development

5 mins. ago suddenly my phone powers off and never booted. I just got a nandroid backup and then wipe cache & dalvik. It works! But I am wondering if I lost any user data or not.
Any ideas?

No, you should not lose any data.

Correct. It does not wipe any user data. That is all in the /data partition. It will, however, make the following boot take a long time, as it rebuilds the Dalvik cache.

willverduzco said:
Correct. It does not wipe any user data. That is all in the /data partition. It will, however, make the following boot take a long time, as it rebuilds the Dalvik cache.
Click to expand...
Click to collapse
What he said...

Related

I cant find the answer to this

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.

[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] Change rom using TWRP recovery

Hi, I'm on PA 3.99 rom and I'd like to install Purity Rom, but it's required a full wipe. My recovery is TWRP, so for a full wipe I need to wipe cache, dalvink cache, system and factory, right? Internal and External card isn't necessary, right? Because It will erase the Purity zip in my memory and I won't be able to installed. If possible I'd like a clear response, so I'd finally understand what to do exactly with no more worries.
Matteo Mazzu said:
Hi, I'm on PA 3.99 rom and I'd like to install Purity Rom, but it's required a full wipe. My recovery is TWRP, so for a full wipe I need to wipe cache, dalvink cache, system and factory, right? Internal and External card isn't necessary, right? Because It will erase the Purity zip in my memory and I won't be able to installed. If possible I'd like a clear response, so I'd finally understand what to do exactly with no more worries.
Click to expand...
Click to collapse
That's correct, cache, dalvik cache, data and system. Your external sd and internal sd should be untouched.
☞Sent from here☜
A factory reset in recovery wipes /cache and /data ... the dalvik cache resides on the data partition and is thusly wiped also.
You could wipe /system to be "thorough" ... but the Rom zip.should have a format /system line in the updater script.
I only ever do a factory reset between roms.
Thank you very much, it's what I wanted to hear! (Never understood if wipe factory was even wipe data ahah XD)
studacris said:
A factory reset in recovery wipes /cache and /data ... the dalvik cache resides on the data partition and is thusly wiped also.
You could wipe /system to be "thorough" ... but the Rom zip.should have a format /system line in the updater script.
I only ever do a factory reset between roms.
Click to expand...
Click to collapse
Oh ok!! Now I get it! Really appreciate everyone answer! (Sorry for my English, lately I haven't been using it very much!)

What's the difference between cache and app cache?

So, if I wipe cache in TWRP, the app cache as reported by the system remains. Just tonight I was able to wipe over 2GB of app cache within the system, something I thought I would have rid myself with the wipe cache function within recovery.
floepie said:
So, if I wipe cache in TWRP, the app cache as reported by the system remains. Just tonight I was able to wipe over 2GB of app cache within the system, something I thought I would have rid myself with the wipe cache function within recovery.
Click to expand...
Click to collapse
That is because you're wiping the device's /cache partition, while app-specific cache is stored on the /data partition. So, It needs manual cleaning from within the app settings.

clearing system cache via twrp

I see dalvik / art cache and system, data
which one do I chose to clear system cache, without bricking my system?
You have only one option - dalvik.
Cache is old days from, it doesn't exist anymore on pies. If you try to wipe you'll get an error in TWRP.
System and data are speaking for themselves. Wipe system - brick phone, wipe data - loss of apps and personal stuff

Categories

Resources