[Q] About cache. - Desire Q&A, Help & Troubleshooting

Hi all,
Somebody can tell me what are the results or issues when you wipe the different caches.
Because on the tutorials, they speak about "wipe cache", "wipe all", "wipe dalvick" and finally when I upgrade or install a new rom to avoid problem, I wipe data, partition an dalvick to avoid problem.
For a new rom, I can understand you need reinstall you apps.
But it's annoying when you update some rom.
Finally, the question is whose cache can be hold or wipe to avoid lost of installed apps and data when you update a rom.
Thanks for your answers.
Fred.

When people say Wipe cache or wipe dalvik, they mean wipe dalvik-cache. However if you wipe data, since dalvik-cache is in /data anyway, it also wipes dalvik cache.
Its wiping data that deletes apps and this is required as data and settings are more often than not, incompatible between different roms.
Its not a big deal if you backup with titanium backlup though and use the restore option "Missing apps with data"
Use sms backup+ or something to backup messages, then you just need to do your system settings again.

who can explain me how I can see where is my cache? on SD or phone...

For what do you need to know this?
SwiftKeyed from dGB with Transparent XDA App

Related

Does Nandroid backup cache's also?

If I do a Nandroid backup and then do a full wipe/reset and wipe the cache partition and dalvik-cache, will my Nandroid restore the cache's also?
The dalvik-cache will be rebuilt at next boot based on the applications present, so it shouldn't matter. You could clear dalvik now and reboot, and it would just regenerate for you. Some people do that to "clean up" every once in a while, I believe. I think the regular cache is similar, there shouldn't be anything there that can't be replaced (re-cached) when it's needed again.
Even so, I believe they do get backed up because my first boot after a Nandroid restore recently didn't take as long as it would have if the dalvik cache was being rebooted, but that's only an anecdotal answer.

[Q] How to clear cache after RM apk in Clockwork Recovery

So I've removed some apps thru ADB SHELL and I was informed that it's best to clear cache in Recovery as well. The question is, which option do I select? When I'm in Clockwork Recovery I see two options:
Wipe Cache Partition
or
Wipe Dalvik Cache
Which one am I supposed to select?
Well I decided to go with "Wipe Cache Partition" - not sure if that was the right one but from searching the net it seems like that was the right option - if not then i guess y'all will let me know
Even if u delete all of dalvik system will recompile it upon reboot. If I want fresh slate without a wipe I format both cache and dalvik. Doesn't matter they all rebuild.
htc vision

[Q] best way to keep up to date with nightlies?

I'm currently running Synergy, and have been flashing nightlies every so often to keep up wit hthe changes and small errors that I encounter, hoping there's a fix in them, However reflashing a nightly every few days can be a pain as I keep having to reset all of my phone settings (ringtone, notifications, display, accounts, sms, etc...)
What is everyone's opinion of the best way to reliably backup your phone settings to easily restore them to a new rom after a flash?
I use Titanium Backup, but honestly I'm not sure what all the system settings are saved as, or even if that's a good idea as the way settings are setup might have changed from the las tbackup, and don't want to screw things up.
Ideas?
All you have to do is reboot into recovery, wipe cache and dalvik, and then create a nandroid backup of only the data. If you have an ext3 partition and your third party apps are stored there, then also select to backup the sd-ext and your android.secure (if you have paid apps). Now all you have to do after a clean install of Synergy or its nightly builds is to boot to your homescreen, bypass the sign-in stuff, and then remove all of the default homescreen widgets. After that, reboot into recovery, wipe cache & dalvik and then restore the aforementioned backup. When you reboot, all of your settings, data, apps and homescreens will be as they were on your previous installs.
posting & replying via my EVO 4G
dougjamal said:
All you have to do is reboot into recovery, wipe cache and dalvik, and then create a nandroid backup of only the data. If you have an ext3 partition and your third party apps are stored there, then also select to backup the sd-ext and your android.secure (if you have paid apps). Now all you have to do after a clean install of Synergy or its nightly builds is to boot to your homescreen, bypass the sign-in stuff, and then remove all of the default homescreen widgets. After that, reboot into recovery, wipe cache & dalvik and then restore the aforementioned backup. When you reboot, all of your settings, data, apps and homescreens will be as they were on your previous installs.
posting & replying via my EVO 4G
Click to expand...
Click to collapse
thanks for the reply. just to be sure I understand you completely, using my current rom, would this be the proper order?
reboot into recovery (I use Amon Ra)
wipe CACHE, & DALVIK-CACHE
backup the following items: [ ]boot, [ ]system, [x]data, [ ]cache, [ ]recovery, [ ]wimax, [ ]sd-ext, [x].android_secure
wipe ALL userdata/factory reset
flash latest rom
boot to homescreen
remove all widgets/icons
reboot into recovery
restore nandroid backup created above
reboot normally
Also, as a side note, when wiping before flashing rom, I usually wipe ALL, CACHE, & DALVIK-CACHE, which are covered above. With the new Amon Ra, should I be wiping any of these as well before I flash? - DATA, SDCARD:.android_secure, BOOT, SYSTEM, SDCARD, SDEXT, DATA:battery stats, DATA:rotate settings?
Thanks for all the info! I appreciate it!
Include the sd-ext in the backup if you have an ext3 partition with apps on it. Other than that, you got it right. As for what to wipe before flashing, if I'm just flashing nightlies, I sometimes only wipe cache & dalvik, but I'm big on wiping EVERYTHING in amonRA's wipe menu EXCEPT the SD card before I flash a rom.
posting & replying via my EVO 4G
okay. thanks.
this is actually a follow up question, but the sd-ext, is that a special partition that I can setup that will expand the base storage of my EVO onto the SD card so I stop getting complaints about running out of space? And can that be setup through Amon Ra?

[Q] update nightly version, steps are correct?

i would like update the latest version of nightly, and i do not wanna reinstall the apps, so i prepare to flash as follows, but i can not sure it is safe or not,
1.down the latest version and copy it to the SD card
2.reboot, when the led turns blue, press V-,go to Bootmenu
3.select "install zip from sdcard", "choose zip from sdcard", then select the latest version.
some guys said "wipe cache" & "wipe dalvik cache", is that necessary? if i do not, the phone will not work or sth? anyone who can tell me? thx...
ps: i just do not wanna install all apps again and keep my google account as well as the sms and call log. what should i do?
thank you in advance.
do a wipe cache and wipe dalvik cache before and after you install the update . thats about it
As flunk03 said, wipe cache and dalvik before and after flashing the nightly. You will still have the apps installed from the previous version.
Why wipe cache and Dalvik cache before and after instalation?
florin24 said:
As flunk03 said, wipe cache and dalvik before and after flashing the nightly. You will still have the apps installed from the previous version.
Click to expand...
Click to collapse
thank you all
but last time, after wipe, all sms and call logs gone, and some apps also disappeared, several apps were installed in the SD card, so i have to remove them to the phone memory?
you must have selected wipe data/factory reset . so i ll just rewrite my earlier post
1.Use titanium backup to backup ur apps
2. Boot into recovery and make a backup of your existing rom
3. Wipe cache and dalvik cache before and after you flash the update
4. calibrate your battery after you install the update only if the update is stable

[Q] *wipe*

Hi all!!
I know it is a very very, VERY dumb question because seems that everyone knows the answer and mostly because i am in my 3rd ROM and most of then suggested/requsted a fullwipe. So I searched the forums and wiki but i don't have a clue about what is a full wipe or super wipe or *wipe*
Sorry for that quanstion and thanks if you could answer.
diassuncao said:
Hi all!!
I know it is a very very, VERY dumb question because seems that everyone knows the answer and mostly because i am in my 3rd ROM and most of then suggested/requsted a fullwipe. So I searched the forums and wiki but i don't have a clue about what is a full wipe or super wipe or *wipe*
Sorry for that quanstion and thanks if you could answer.
Click to expand...
Click to collapse
Full wipe: Format data, cache, dalvik cache. It does not touch your SDcard data.
Edit: Usually people also Wipe Battery Stats. I found it unnecessary so I forgot to include. It may also involve formatting your SDcard if you have funky stuffs in there. (apps2SD for example)
If you use ClockwordMod, for example, you would have to choose Format data/factory, then Advanced => Wipe Dalvik Cache and Wipe Battery Stats
Super wipe:
Fallen Spartan said:
Basically it does the following:
1) Call erase_image on CACHE, SYSTEM, USERDATA, and BOOT partitions
2) Mount /sd-ext (if it exists) and delete all files from it
3) Delete all files in the /sdcard/.android_secure directory which is where all the froyo apps2sd files live
4) Run e2fsck (file system repair) on the your ext partition
5) Log all output to the /tmp/wipe.log file (if you care)
You will need to power off and reboot back into recovery after running this to install a new rom....as you won't have one on device
If you forget and try to boot normally you will get stuck at splash screen, then you will have to pull battery to power off.
Click to expand...
Click to collapse
To super wipe you often need a zip file and flash it in recovery. Example:
http://forum.cyanogenmod.com/topic/19959-superwipe-for-g2-w-gps-fix/
an added note
fastboot wipe is still the cleanest wipe
<fastboot -w>
i tend to over kill so do fastboot wipe first
then boot into recovery and do a factory reset and wipe cache, dalvik cache again
then do a superwipe.
sounds like over kill? well it keeps me from having issues when changing roms - i change often so these 3minutes spent save me lots of time later
demkantor said:
an added note
fastboot wipe is still the cleanest wipe
<fastboot -w>
i tend to over kill so do fastboot wipe first
then boot into recovery and do a factory reset and wipe cache, dalvik cache again
then do a superwipe.
sounds like over kill? well it keeps me from having issues when changing roms - i change often so these 3minutes spent save me lots of time later
Click to expand...
Click to collapse
blimey...
out of interest should i be wiping anything when i restore from a backup?
Yes
Especially if there was data coruption
Sent from my HTC Vision using xda premium
Thanks
demkantor said:
an added note
fastboot wipe is still the cleanest wipe
<fastboot -w>
i tend to over kill so do fastboot wipe first
then boot into recovery and do a factory reset and wipe cache, dalvik cache again
then do a superwipe.
sounds like over kill? well it keeps me from having issues when changing roms - i change often so these 3minutes spent save me lots of time later
Click to expand...
Click to collapse
I Agree!
That's why i want to know about wipes.
Thanks a lot!

Categories

Resources