How do I clear cache? - G1 Q&A, Help & Troubleshooting

In the Blue Magic ROM thread, it says to clear cache on every boot, how would I go about doing that?

in Amon-Ra's recovery there as an option to wipe your dalvix cache. Hope it helps

Actually, it does this every boot by itself.

But if you want to clear it yourself, you can get a cache clearing app off the market like Cachecleaner (free) and just use that. And you can also do what Protomanez said

protomanez said:
in Amon-Ra's recovery there as an option to wipe your dalvix cache. Hope it helps
Click to expand...
Click to collapse
regular cache is different than dalvik-cache.
regular cache is stored in /data/data/"app.name.here"
while dalvik-cache is stored in /data/
If you clear the dalvik-cache it will take a while for your phone to boot up because it has to reload the dalvik-cache back to your data directory all over again.

Related

Question about wiping before loading ROMs

OK so every ROM that you want to move to requests (requires) that you wipe before you load the new ROM. That makes sense to me as you want a clean install.
My question is, what am I supposed to wipe (Sorry stupid question). I boot to recovery and I have a wipe menu and I have several options:
Wipe data/factory reset
Wipe Dalvik-cache
Wipe SD:ext partition
I have two more for wiping stats which I will make an educated guess are not required. Should I wipe everything listed above? Just dalvik cache?
heresy_fnord said:
OK so every ROM that you want to move to requests (requires) that you wipe before you load the new ROM. That makes sense to me as you want a clean install.
My question is, what am I supposed to wipe (Sorry stupid question). I boot to recovery and I have a wipe menu and I have several options:
Wipe data/factory reset
Wipe Dalvik-cache
Wipe SD:ext partition
I have two more for wiping stats which I will make an educated guess are not required. Should I wipe everything listed above? Just dalvik cache?
Click to expand...
Click to collapse
Wipe'm all.
comintern said:
Wipe'm all.
Click to expand...
Click to collapse
Thanks! Also figured out how to clear up a problem with wiping dalvik that I had by partitioning SD card again.

[Q] Dalvik cache to be wiped..??

When flashing new custom roms..
We wipe...via recovery select factory reset & wipe cache partition..!!
But do we also wipe dalvik cache before flashing together with the above step..??
What about after flash (i always factory reset/wipe cache partition) avoid force close error issues..
Can we select wipe dalvik cache after flash too (never tried just want to know if any harm will come.. will anything go wrong)
* if i did select all three reset/cache partition/dalvik > will it erase/wipe nandroid backup..??? *
For a wipe rom, I always backup, do a factory reset, flash rom, do another factory reset, boot, then wipe cache and dalvik cache. The dakvik cache is a temporary working area and can be wiped anytime, I clear both caches weekly or if I get any hiccups. Nandroid backups are stored on your sd card so dont get touched, but best to copy them to PC, just in case, keep the last 2 or 3
Sent using TCP/IP
nandroid backup
So dalvik cache can be wiped any time...many thanks..
When i make nandroid backup via recovery mode, will android system only restore "last backup" or does it allow to choose "other backups"..???
(does it store multiple backups ? OR just one backup very last...
Thanks
You can choose which backup to restore. Standard practice is to wipe dalvik and cache BEFORE flashing.
Rash said:
When flashing new custom roms..
We wipe...via recovery select factory reset & wipe cache partition..!!
But do we also wipe dalvik cache before flashing together with the above step..??
What about after flash (i always factory reset/wipe cache partition) avoid force close error issues..
Can we select wipe dalvik cache after flash too (never tried just want to know if any harm will come.. will anything go wrong)
* if i did select all three reset/cache partition/dalvik > will it erase/wipe nandroid backup..??? *
Click to expand...
Click to collapse
gsw5700 said:
For a wipe rom, I always backup, do a factory reset, flash rom, do another factory reset, boot, then wipe cache and dalvik cache. The dakvik cache is a temporary working area and can be wiped anytime, I clear both caches weekly or if I get any hiccups. Nandroid backups are stored on your sd card so dont get touched, but best to copy them to PC, just in case, keep the last 2 or 3
Sent using TCP/IP
Click to expand...
Click to collapse
woolf clubs said:
You can choose which backup to restore. Standard practice is to wipe dalvik and cache BEFORE flashing.
Click to expand...
Click to collapse
Couple things on which way to do this when loading custom ROMS. What is the proper order of wiping, restoring and dalving cache?

[Q] Difference between Factory Data Reset vs CWM Wipe

What's the difference between doing a Factory Data Reset and doing a wipe using CWM.
I'recently rooted my Note and now have CWM installed.
I plan on trying a few different ROMs (both newer stock ROMs and eventually custom ROMs) and read in most instances to per a wipe before upgrading.
I was wondering which wipe to use.
Also, if I install Titanium Backup, will it save everything including Contacts, Network settings, icon layouts, webpage favorites, appa and everything else?
Thanks
jeffs99 said:
What's the difference between doing a Factory Data Reset and doing a wipe using CWM.
I'recently rooted my Note and now have CWM installed.
I plan on trying a few different ROMs (both newer stock ROMs and eventually custom ROMs) and read in most instances to per a wipe before upgrading.
I was wondering which wipe to use.
Also, if I install Titanium Backup, will it save everything including Contacts, Network settings, icon layouts, webpage favorites, appa and everything else?
Thanks
Click to expand...
Click to collapse
Cant say surely about the difference between factory rest of data and CWM wipe. But can surely say to flash any rom you need to CWM wipe all the data and cache and dalvik cache from the recovery.
And Titanium Backup is for backing up and restoring all your apps and their associated data and market links. It doesn't backup contact (should auto backup to your google account or use any contact and sms backing app from market like - https://play.google.com/store/apps/details?id=com.idea.backup.smscontacts&feature=search_result) or
layouts . Icon layouts you can save by going to the backup settings of the launcher you are using and favorites you can again backup on your sd card.
Hit thanks if it helped
CWM recovery wipe cache, is just wiping cache files not data
while CWM recovery wipe data n Hard reset from setting - privacy - erase data(factory reset) is same
CWM function is useful when you unable to boot device normally.
Where is dalvik cache located ? Because if it's in the data or cache partition, then I don't see why I have to wipe dalvik cache after wiping data/cache...
Latoc said:
Where is dalvik cache located ? Because if it's in the data or cache partition, then I don't see why I have to wipe dalvik cache after wiping data/cache...
Click to expand...
Click to collapse
System apps' dalvik-cache in /cache
Data apps' dalvik-cache in /data
Hence just by clearing the cache you clean the /cache space of system apps and not the dalvik cache of data apps.
So you require to do both - clean cache and clean dalvik cache.
Hit thanks if it helped!
Factory Reset will change your Android ID. Some apps with custom DRM may stop working. Factory Reset is also incompatible with some ROMs and causes some apps/files installed by CWM flashable ROMs to disappear.
I think both are same. Both format data and cache partition.
(that is why devs warned not to perform FDR on affected kernels)
With FDR you initialise the command from booted phone.
CWM Wipe is what you do from recovery mode.
dr.ketan said:
CWM recovery wipe cache, is just wiping cache files not data
while CWM recovery wipe data n Hard reset from setting - privacy - erase data(factory reset) is same
CWM function is useful when you unable to boot device normally.
Click to expand...
Click to collapse
thanks for this explanation!

[Q] Wiped Dalvik cashe

What exactly happens when I wiped dalvik cashe?
rainmaker1966 said:
What exactly happens when I wiped dalvik cashe?
Click to expand...
Click to collapse
From what I can remember reading, when a phone boots up it makes some kind of cache of the installed applications.. it allows the phone to boot up in less time after the initial boot (in the initial boot, its making the cache that's why it takes a long time)..
When you wipe dalvik cache, this cache is deleted.. when you wipe the dalvik cache and boot you'll notice that it makes the cache again..

[Q] Keeping system settings after flashing

I will upgrade to CyanogenMod 10.2 20131225 (maclaw's) from 20131216. I've set my system preferences and looks just as I like it and I don't want to bother re-setting everything again after the flash. How can I do that?
wtx1033 said:
I will upgrade to CyanogenMod 10.2 20131225 (maclaw's) from 20131216. I've set my system preferences and looks just as I like it and I don't want to bother re-setting everything again after the flash. How can I do that?
Click to expand...
Click to collapse
Just flash the rom (update), wipe dalvik & cache then reboot. You won't lose you previous settings
mauam said:
Just flash the rom (update), wipe dalvik & cache then reboot. You won't lose you previous settings
Click to expand...
Click to collapse
thanks. just to state the obvious: i don't wipe the dalvik cache, system, cache and data before installation? (pretty much* doing the same here?)
*: without re-installing the google apps, of course.
wtx1033 said:
thanks. just to state the obvious: i don't wipe the dalvik cache, system, cache and data before installation? (pretty much doing the same here?)
Click to expand...
Click to collapse
Simply wipe dalvik & cache after flash the update, that's it. Don't mess with anything more & you're good to go

Categories

Resources