I want to know what is the best way to clean the dalvik cache in the ns4g bc when I do it with clockwork 3.1.0.1 looks like it does not clean anything and I know that clockwork does not do a good job cleaning caches.
Sent from my PC36100 using Tapatalk
i do it with root explorer, i also dont trust cw recovery. there are 2 folders that you want to clean.. /data/dalvick-cache/ and /cache/dalvik-cache/. 1st one, press data, press dalvik-cache, press menu, press select all, press delete. now back out to the main file system and do the same with /cache/dalvik-cache/. then reboot right away or you will get fc's with every app. if you get a fc before you finish deleting, just close the fc and finish.
Titanium backup
herbthehammer said:
Titanium backup
Click to expand...
Click to collapse
titanuim backup looks for junk files, its never deleted anything for me. the best way is to get rid of all the files in the dalvik cache then let it get rebuilt fresh. hense deleting the files, and rebooting. they all get rebuilt during boot up.
I also will delete the files in root explorer. Then Ill boot into cw and run the delete options...just for the heck of it.
If you are unsure if CWM is doing its job, run wipe dalvik, then mount the filesystem and look for yourself.
The method that simms22 stated is handled (plus wiping the entire /cache partition) by "Wipe Cache Partition" and "Advanced > Wipe Dalvik Cache" in CWM.
Related
i'm using a htc desire running on cm6.
when there are newer versions of cm and i would like to update to it.
what is the best way of achieving this without having to wipe the data/settings/etc?
if there is no such way, what can i do to backup settings/data/apps so that once i update to a newer cm , i can just restore my stuff?
what about Rom Manager Premium, theres an option to check for rom updates, would Rom Manager update your rom for you?(and keep all settings/data/etc?)
Yup.
it does everyting. buy it. seriously.
vision
seriously?
i use titanium backup and it works fine for me..
another option to back up your apps & system data is the nandroid backup on the recovery menu..
titanium backup requires busybox and for that to work i need to be nand unlocked.(which im not).
i always thought that nandroid backup will backup everythign to a state, so if i were to upgrade roms, and then use restore, wont it just revert me back to the previous state(not updated)?
edwinlee90 said:
titanium backup requires busybox and for that to work i need to be nand unlocked.(which im not).
i always thought that nandroid backup will backup everythign to a state, so if i were to upgrade roms, and then use restore, wont it just revert me back to the previous state(not updated)?
Click to expand...
Click to collapse
You are correct. A nandroid restore will undo your update.
If you're upgrading to a newer release of CM6, you should be able to do it without wiping your data. Wipe dalvik and cache, flash the rom, and reboot. You'll have new featuers but all your old apps and data in tact.
Nandroid backup first for good measure though
oh okay, so wiping dalvik and cache would just wipe all settings(including home screen layout, widget placements, folders etc?)
some tutorials that i've read about updating roms, is that i dont even need to wipe dalvik and cache, anythign bad about that?
edwinlee90 said:
oh okay, so wiping dalvik and cache would just wipe all settings(including home screen layout, widget placements, folders etc?)
some tutorials that i've read about updating roms, is that i dont even need to wipe dalvik and cache, anythign bad about that?
Click to expand...
Click to collapse
Nope, dalvik and cache wouldn't even affect your settings.
The cache is the temporary cache used by the Android operating system, and the Dalvik-cache is the cache used by the Dalvik Virtual Machine. The only thing about wiping them is that the first boot will take longer as they rebuild their indexes and such.
Nine times out of ten, you'll be fine without wiping these. It's just generally considered "better" if you do.
Again, nandroid backup and try it out. If it doesn't work without wiping, restore back and wipe the caches.
1. Titanium backup to backup apps
2. Boot to recovery - wipe data / cache / dalvik
3. Flash new ROM
4. Titanium backup to restore apps
5. Rebuild my homescreen and settings etc
J/w how the rest of you guys flash new roms. Anything else I should be doing when flashing a new rom?
Only think I would add is to wipe /system while in recovery. You can do that by accessing the "format /system" option in CWM Recovery under "Mounts and Storage"
Also, maybe make a Nandroid Backup before wiping /data incase something goes wrong
Sent from my Nexus S 4G using Tapatalk
I'll be honest I could care less about anything on the ROM itself. Apps I just reinstall, contacts/email/calendar resync. All my music/pix are saved to the internal memory.
1. Reboot to recovery
2. Wipe boot/system/data/cache/dalvik
3. Reboot ROM and reinstall all apps and accounts
I don't like backing up the apps because I like the "starting fresh" feeling by putting back in the apps I actually want.
What i do
boot into recovery
wipe boot/system/data/cache/dalvik
install the rom/kernel
boot and leave the phone for 5 mins then reboot again =D
I know a lot of users will disagree but I simply nandroid, factory wipe and then flash the new rom. A factory wipe clears data and cache and flashing the rom will wipe system and boot. I've yet to have an issue with this method. I also know how to recover from most problems I could encounter on my own. Additionally, i'm a member of the do as i say, not as i do club. Always nandroid and follow dev instructions is what most people really need to do.
Sent from my Nexus S 4G running CM7/franco.Kernel
So ive been on octane 3 for a while nd its starting to feel sluggish any tune up I can do without having to reflash
Clearing your cache partition and dalvik cache in CWM - along with removing unused apps is probably your only option.
Can u tell me exactly what im deleting I dont want to delete important data
just apps that youve installed that you dont use, games etc.
Sent from my SGH-T959V using xda premium
You need to reboot into CWM and clear cache partition, then go into advanced and clear dalvik cache, reboot phone and let sit 10 minutes to rebuild caches.
....to wipe unneeded files in the dalvik cache, and so they will add up over time and take a lot of space and make the phone slower? Therefore it is a MUST to root one's phone?
Is that a correct assumption?
Thanks!
Try it. Use any file manager, go to /cache/dalvik-cache, and delete something, or everything.
The reason why it is called a cache is to speed up the phone.
It won't take up memory because of the way the phones storage is partitioned.
Sent from my DROID2 using xda premium
MarlonKaye said:
....to wipe unneeded files in the dalvik cache, and so they will add up over time and take a lot of space and make the phone slower? Therefore it is a MUST to root one's phone?
Is that a correct assumption?
Thanks!
Click to expand...
Click to collapse
For formating caches you could use file manager but it also need root permission...
And until you flash other custom rom you need not to wipe cache...
Apps cache is being created for the first time you boot your phone for better application launch...
So if you got a serious problem of force crash on stock rom, please do full reset...
Rom: CodeBox 1.4.0 Unofficial
Kernel: Horsepower 3.1 by fuss
If you like my post please hit thanks button...
You can use Factory Reset from Settings menu.
guys...
Guys, please read the original post.
Anyway, I tried unrooting my phone and deleting contents of dalvik cache. As expected, this is what happened:
1. Using ES File Explorer, WAS NOT ABLE to access the /data/dalvik-cache folder. It showed "Empty folder" or something like that.
2. Using Root Explorer, message that read "You're phone doesn't seem to be rooted, etc. etc. " (cannot access folder also)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
So here's my new set of questions:
1. Does factory reset erase dalvik-cache? (I would assume so)
2. If phone is unrooted, dalvik cache contents cannot be accessed or deleted (as I have proven). Does that mean they will add up over time (unless you factory reset the phone??) and cause problems like making the phone slower?
Hope that's clear.
Thanks!!!
What phone are you using? If for samsung, you can still wipe that in stock recovery even if you are unrooted...
Dalvik cache is in your /data partition, so yeah, it will be erased if you factory reset...your phone should manage dalvik by itself, it should not build up (except if you mess with it), so don't worry...
Ryuinferno, hello. I'm using Samsung Galaxy Ace. So how do I wipe the dalvik cache in stock recovery of unrooted phone? Are you referring to factory reset / data wipe? I know that already. I know that already. If you're referring to something else, please let me know.
Are you sure android phones manage the dalvik cache by themselves? Because sometimes when I uninstall an app, a related file would still be left in dalvik. I would then manually delete it or delete it using Titanium Backup. Also, why does Titanium Backup have an option to "Clean up the Dalvik cache..." if the phone manages it by itself?
Thanks!!!
Ryuinferno said:
What phone are you using? If for samsung, you can still wipe that in stock recovery even if you are unrooted...
Dalvik cache is in your /data partition, so yeah, it will be erased if you factory reset...your phone should manage dalvik by itself, it should not build up (except if you mess with it), so don't worry...
Click to expand...
Click to collapse
Even wiping dalvik cache will cause apps to misbehave in you don't factory reset ...
If you are rooted , it will also have same effect ...
So do factory reset if you are in stock ROM and full wipe if you are on custom ROM ...
ROM : CodeBox Unofficial 1.4.0
Kernel : Horsepower 3.1.0-Fuss
If you like my post please hit like button...
Hmm...I can't remember too well as I left stock recovery too long...never left my phone unrooted......I think there is a wipe cache option in stock recovery but I am not sure whether will it wipe dalvik or not...
Titanium backup has an option to wipe dalvik because when changing ROMs/restoring apps, the current dalvik may be conflicting with the newly restored app...that is why you need to rebuild them...usually the old unused dalvik should be cleared upon a reboot...
"Hmm...I can't remember too well as I left stock recovery too long...never left my phone unrooted......I think there is a wipe cache option in stock recovery but I am not sure whether will it wipe dalvik or not..."
Maybe not? Because wipe cache and wipe dalvik cache are two separate options in ClockworkMOD Recovery, is it not? Or maybe in stock recovery, it DOES wipe dalvik as well....
If I'm going to install a new os via twrp recovery with full wipes.
In other words
What files can't i delete?
Thank you so much
Just make a factory reset in TWRP and you're good to go. No need to go through files and folders with a file manager.
zerolam said:
If I'm going to install a new os via twrp recovery with full wipes.
In other words
What files can't i delete?
Thank you so much
Click to expand...
Click to collapse
Don't delete anything in root ("/") partition, before or after flashing.
Make a nandroid backup of your current ROM before you do the following.
If you want a completely clean install of the new OS then you need to choose the Wipe option in TWRP, then choose the advanced wipe option, then select the data partition, system partition, cache partition and dalvik/ART cache, then swipe the slider to wipe these partitions, then you're ready to flash the new ROM.
Sent from my SM-S903VL using Tapatalk