Don't forget to wipe dalvik+cache

V-PV-P State College, PA Member
edited January 2012 in Science & Tech
This post is mostly for those of you who have root and decide to switch ROMs every now and then, just to save you guy some trouble. If you don't want to read through, just DO NOT forget to wipe both the dalvik cache and normal cache.

I'm a fan of CM7 and that's what I've been using for the past few months with no major issues on my EVO 4G. About two weeks ago, though, my launcher (Launcher Pro Plus) started freezing up on me and I had to force quit a lot. As time went on, it started doing this more and more and got to the point where I had to force quit each time I unlocked my phone.

I figured it was a fault in the launcher updates so I uninstalled an reinstalled, but no success. Eventually I decided to go with ADWLauncher instead figuring Launcher Pro was just really buggy. This worked fine for 2 or 3 days and started having the same issues. This is when I decided to look more into it.

After spending several hours going through Android Forums trying different fixes (fixing permissions, reinstalling apps, CM7 settings, etc), I found absolutely nothing (it turns out there's a million reasons apps can be force quitting on you). I didn't have the patience to backup and reflash so I just decided to deal with the force quits. Today, however, it got to the point where every single app decided to do this (Seesmic, VLC Convert and Stream, Go SMS, Cracked, etc).

I finally found the solution on XDA. Well, not a solution so much as "you screwed up, start over." Basically, when I flashed from FreshEVO to CM7, I had forgotten to wipe the caches and this was causing the entire fiasco. It seems like it's a common problem based on Android Forums but no one has connected the dots there yet.

Needless to say, after wiping caches and re-flashing CM7, it's fixed (though I'll have to wait a few months to know for sure). Just as a precaution, though make sure you guys don't forget to wipe :).

Comments

  • TushonTushon I'm scared, Coach Alexandria, VA Icrontian
    I even wipe them between nightlys on CM7, though that may be overkill.
  • ThraxThrax 🐌 Austin, TX Icrontian
    Not overkill at all.

    If the cache partition is not wiped between ROMs, it fills up with shit. Eventually the partition reaches capacity and everything starts FCing.
  • GargGarg Purveyor of Lincoln Nightmares Icrontian
    Seems like something Google should fix.
  • ThraxThrax 🐌 Austin, TX Icrontian
    edited January 2012
    It's not something that needs fixing, because it isn't a Google problem.

    In a normal situation, the user only ever has one ROM running for the lifetime of their handset. One set of cache files are generated for the user+system apps, and everything is great. It's only when people start rooting and flashing, collecting multiple ROM's worth of detritus along the way by forgetting to wipe, that shit goes awry.
  • GargGarg Purveyor of Lincoln Nightmares Icrontian
    Ah, I misread and thought that even under one rom stuff would pile up in the cache.
  • V-PV-P State College, PA Member
    Thrax, correct me if I'm wrong but I think between CM7 nightlies, it does pile up.
  • ThraxThrax 🐌 Austin, TX Icrontian
    Yes. But each nightly you flash is a new ROM. You just don't need to wipe /data or /system for it, because all the files just get overwritten by newer versions of those same files. Cache files are uniquely stamped, however, so they clutter up from ROM to ROM.
Sign In or Register to comment.