So every single rom for any phone I've seen says to clear the dalvik and the cache (or maybe its just the "dalvik cache") but when I went from stock to Thriller, I forgot to, and nothing went wrong. In fact, all my settings and apps were all intact from the previous stock rom.
I've considered that the only other phone I'd done any flashing on was a backflip, without Apps2SD and maybe that's why all my apps and settings were intact, so that still leaves me with the question: why clear it?
This may be a noob-ish question, and I apologize. Thanks for any help!
Tyqar said:
So every single rom for any phone I've seen says to clear the dalvik and the cache (or maybe its just the "dalvik cache") but when I went from stock to Thriller, I forgot to, and nothing went wrong. In fact, all my settings and apps were all intact from the previous stock rom.
I've considered that the only other phone I'd done any flashing on was a backflip, without Apps2SD and maybe that's why all my apps and settings were intact, so that still leaves me with the question: why clear it?
This may be a noob-ish question, and I apologize. Thanks for any help!
Click to expand...
Click to collapse
If there are any compatibility issues between the apk dalvik cache of your previous rom and the apks on the new rom wiping dalvik clears the previous apks stored dalvik cache. In most cases you can flash without a problem. But I recommend wiping between rom flashes just to eliminate any potential problems. Flashing something like Thriller over the stock rom you can probably get away with not wiping anything since all the apks are essentially the same. Flashing kernels you don't need to wipe anything. When flashing a rom with a completely different firmware I recommend a full data wipe. Restoring recovery backups such as nandroid require no wiping at all.
Also, wiping dalvik shouldn't affect any of your settings.
Sent from my LG-P920 using Tapatalk
+1
When switching ROM with different base apps, it is generally better to wipe caches than to get stuck in a boot loop, or having your apps and launcher FC on you. You never lose anything as the cache rebuilds itself on the next reboot, except maybe a few minutes
CallMeAria said:
If there are any compatibility issues between the apk dalvik cache of your previous rom and the apks on the new rom wiping dalvik clears the previous apks stored dalvik cache. In most cases you can flash without a problem. But I recommend wiping between rom flashes just to eliminate any potential problems. Flashing something like Thriller over the stock rom you can probably get away with not wiping anything since all the apks are essentially the same. Flashing kernels you don't need to wipe anything. When flashing a rom with a completely different firmware I recommend a full data wipe. Restoring recovery backups such as nandroid require no wiping at all.
Also, wiping dalvik shouldn't affect any of your settings.
Sent from my LG-P920 using Tapatalk
Click to expand...
Click to collapse
so, when i flashed thriller and followed the instructions, did I do a full wipe or not?
I mean if it doest it on its own, and if not, should I do one?
latinohot said:
so, when i flashed thriller and followed the instructions, did I do a full wipe or not?
I mean if it doest it on its own, and if not, should I do one?
Click to expand...
Click to collapse
If you followed the instructions you did a full data wipe. When you do this the dalvik gets wiped as well. To just wipe dalvik look under the Advanced menu in cwm recovery.
Sent from my LG-P920 using Tapatalk
clearing cache
i am using a nand rom in my HD2, and i also want to install another rom via SD in Magldr, but because of kernel issues i cannot load the Rom from SD unless i use the kernal i am advised to use. I am instructed to clear the dalvik and cache, but does this mean that i would lose anything from my current NAND rom? I still want to be able to use that of coarse so i just want to make sure there are no major risks when clearing cache.
ssj5legend said:
i am using a nand rom in my HD2, and i also want to install another rom via SD in Magldr, but because of kernel issues i cannot load the Rom from SD unless i use the kernal i am advised to use. I am instructed to clear the dalvik and cache, but does this mean that i would lose anything from my current NAND rom? I still want to be able to use that of coarse so i just want to make sure there are no major risks when clearing cache.
Click to expand...
Click to collapse
Clearing dalvik and cache wont make you lose anything, used to do it with my shift because I'd flash about 10 zips a day sometimes...
Also when it comes to flashing any ROM I format system data cache wipe dalvik cache and do a factory reset just to be sure nothing from a previous ROM is left over also wipe my SD ext partition when running an a2sd ROM, my question is can I safely manually format the emmc partition of the thrill from the mounts and storage option of cwm
Sent from my LG-P925 using Tapatalk
Related
I always wipe cache/dalvik cache, battery settings and rotate setting before flashing a new kernel. I have heard people suggesting it is good to wipe all the above after flashing the new kernel as well. Is there a reason for doing this? Is it really helping anything?
There is no reason to wipe anything while doing a kernel upgrade.
I disagree.
It's always advisable to wipe at least dalvik-cache when changing kernels.
Indeed, the preferred, no loss, logical and recommended thing to do is always wipe cache and dalvik-cache when you upgrade /boot/ or /system/.
Any new rom, kernel or radio - wipe cache and dalvik-cache. It costs you nothing and eliminates most issues people experience.
I've just changed my rom, Kang-o-rama, to force wipe cache and dalvik-cache because not enough people follow simple instructions.
Just wondering... If i wipe cache will i lose all my data and settings/preferences? Especially data in my apps like messaging...etc?
Because i plan to try this out before updating to FRF85B, ive heard claims that wiping cache helps improve speed though some stated otherwise.
cr0wnest said:
Just wondering... If i wipe cache will i lose all my data and settings/preferences? Especially data in my apps like messaging...etc?
Click to expand...
Click to collapse
nope .......
JonInAtl said:
nope .......
Click to expand...
Click to collapse
Thanks, maybe i'll try that out before i flash to FRF85B and see if theres any difference.
Agree.
Wipe dalvik-cache
Wipe Dalvik but leave the other. I have had Batterylife dropping horribly after wiping my cache. But i reflashed my radio and all was back to normal. So not a Kernel issue.
But i would leave cache alone no matter what and wipe it if you experience any boot problems.
Thanks
Thanks for asking this questions. I was going to ask the same one but I just came here and read the answer already. Sweet..
I want to flash franco kernel with TWRP.
Is it advisable or necessary to wipe dalvik AFTER flashing the kernel? Would it do any harm if I didn't wipe dalvik after flashing?
Smoosh1 said:
I want to flash franco kernel with TWRP.
Is it advisable or necessary to wipe dalvik AFTER flashing the kernel? Would it do any harm if I didn't wipe dalvik after flashing?
Click to expand...
Click to collapse
You should always wipe caches to be safe, they may contain unexpected data. If you don't wipe and your device operates correctly then no problem.
I've always been flashing franco kernel with FKU. Next time I want to flash with TWRP, just to see how it goes. Thanks for your reply, I'll wipe dalvik after flashing then.
PLEASE SIGN THIS PETITION! TO GET US SOME UPDATING LOVE!!!!!
SIGN AND SIGN AND SIGN!!!! THEN SING!,.......: http://www.change.org/petitions/sam...clears some things. Now lets flash some ROMs!
quick question, if you do a factory reset with odin and start from scratch, should you delete everything that is on your internal SD? Would that be a full complete wipe?
That is a FULL wipe but thats not what im talking about. Just the internal phone stuff.
what is formatted when you click to format /boot? for some reason I always thought that formatted the boot loader so I dared not touch that, but now I'm realizing how stupid it would be to even put that option there and how many more phones would have been bricked at this point. anyway when I install a new rom I pretty much wipe everything (including dalvik) except for /boot and /emmc ( I even formated the external recently but moved back images, efs backup, and avatar), then mount /sdcard, insert rom then flash, fix permissions.
formats the boot animation?
or after the VIBRANT logo
it's a ritual for me whenever i install a new rom to go through this installation method. I also notice that i tend to experience far less "bugs" then others.
Odin to Stock JFD
using the update.zip flash CWR
flash ROM (bootloops after updating CWR)
3 button into recovery
mounts and storage menu
format the following
-System
-Cache
-Data
-Data/Data
advanced Menu
Wipe Dalvik Cache
Flash Rom Again
Fix Permissions
Reboot
wait 5 Minutes
Reboot
complete the 1 time google setup
Install your apps Without data
reboot to recovery
Clear Cache/Dalvik fix permissions
Reboot
Play
I use this method from everything from 2.2-miui-ics never a hickup!
Format system wipes the internal sd basically?
juniorkid95 said:
Format system wipes the internal sd basically?
Click to expand...
Click to collapse
Noooooo!!! It wipes the ROM!
If you wanna wipe SD then "format SD"
Updated OP please read!
Sent from the effnn TITAN!!!
VeryCoolAlan said:
Noooooo!!! It wipes the ROM!
If you wanna wipe SD then "format SD"
Updated OP please read!
Sent from the effnn TITAN!!!
Click to expand...
Click to collapse
Now I understand. Thanks Alan. How come most ROM flashing instructions don't advise Format system?
..........
What about clearing Dalvik Cache?
nirogu325 said:
What about clearing Dalvik Cache?
Click to expand...
Click to collapse
Cleared in the process...
Sent from the effnn TITAN!!!
VeryCoolAlan said:
Cleared in the process...
Sent from the effnn TITAN!!!
Click to expand...
Click to collapse
Just being curious because some say it isn't cleared in the Factory Reset. Some ROM and kernel devs do suggest clearing Dalvik Cache after doing a Factory Reset because it prevents some apps giving FCs after flashing a new ROM.
Side note: I wipe dalvik about once every two weeks whether I am flashing or not. Helps with cleaning up corpses and getting better RAM usage. Thanks for the info Alan.
extra post :/
Nice find!
..now bend over.
One question Alan.
Can I Odin to stock from ICS passion just like we go from gingerbread or froyo from? Or is there a special way to get back to stock jfd? I want to try out jcc from but I don't know if I could just Odin to stock from passion. Thanks
Sent from my SGH-T959 using Tapatalk
boystuff said:
it's a ritual for me whenever i install a new rom to go through this installation method. I also notice that i tend to experience far less "bugs" then others.
Odin to Stock JFD
using the update.zip flash CWR
flash ROM (bootloops after updating CWR)
3 button into recovery
mounts and storage menu
format the following
-System
-Cache
-Data
-Data/Data
advanced Menu
Wipe Dalvik Cache
Flash Rom Again
Fix Permissions
Reboot
wait 5 Minutes
Reboot
complete the 1 time google setup
Install your apps Without data
reboot to recovery
Clear Cache/Dalvik fix permissions
Reboot
Play
I use this method from everything from 2.2-miui-ics never a hickup!
Click to expand...
Click to collapse
What you using to reinstall apps and/or app data? Everytime I install a new ROM, I lose all my data connected to an app. For example, I play Drag Racing and you have to create a new login name everytime I install a new ROM. I would like to at least save the data related to that app.
wavestar92 said:
One question Alan.
Can I Odin to stock from ICS passion just like we go from gingerbread or froyo from? Or is there a special way to get back to stock jfd? I want to try out jcc from but I don't know if I could just Odin to stock from passion. Thanks
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
Yep just ODIN to stock , wipe and flash
Sent from my SGH-T959 using XDA App
nirogu325 said:
Just being curious because some say it isn't cleared in the Factory Reset. Some ROM and kernel devs do suggest clearing Dalvik Cache after doing a Factory Reset because it prevents some apps giving FCs after flashing a new ROM.
Click to expand...
Click to collapse
Yea I do it as well just in case....
Sent from my SGH-T959 using XDA App
Hi, im having problem with my o2x. Frirst phone started to behave strangely and every application has stop working. Error was
"uids on the system are inconsistent you need to wipe your data partition or your device will be unstable"
and then every time i restarted the phone it was the same error again so i decided to reinstall rom. Than error was gone but other problem appeared, now after 3 min of use phone get frozen and than i reinstall rom again and phone get frozen agan.
Please if someone can tell me what is the problem and how can i fix them.
You have mentioned reinstalling (reflashing?) the ROM but you haven't mentioned a factory reset so I have to ask... Have you tried a factory reset?
Should i do factory reset on rooted phone? if yes how can i do that. I read somewhere that factory reset should not be done on rooted phones. is that true?
In CWM, You always have to Wipe your Data,Cache,Dalvik Cache,Battery stats.
Optional : Format System.
For a rom to function well, else it will get all kind of problems, like you have.
Of course if you install a update for a ROM, you only have to wipe the cache/Dalvik Cache.
Remember to make a Backup of your apps with Titanium Backup.
I didnt wipe Dalvik Cache and Battery stats. I'll give it a try. What does Format System do?
The factory reset basically resets your phone to as it came from the factory. It erases all your settings and apps, and is recommended that you do that when you change from a stock ROM to a custom ROM.
Having root has nothing to do with it.
Me personally I like backing up my apps and doing a factory reset each time I change/update my ROM. This way I make sure I always have a clean system each time. Of course this might not be convenient if you like flashing a new ROM twice a week
Wipeing Dalvik Cache, Battery stats and factory reset didnt do the trick. I flashed cyanogenmode nightly now and its ok for now. Could it be problem with the rom?
"Factory reset" (/data wipe) doesn't wipe system apps. If you had on your old ROM some "broken" system app, you most likely still have it. First thing i would do is full device wipe (/data and /system partition wipe). If you dont know how to do this here is the script and how-to. Be aware of that this script can brick your phone (ofc then you can fix it with smartflash) is you won't follow instructions.
After that wipe and ofc flashing clean ROM (btw. which is it?), it still isn't working, it's most likely ROM's fault. It could be Baseband<->RIL problem eaither but i've never saw RIL problem which has influence of system stability.
Are you flashing back to stock or a custom ROM?
If you are flashing to a custom ROM, you need do all the wipe-steps and then do BacktoEXT3 before flashing the custom ROM,
http://forum.xda-developers.com/showthread.php?t=1021549
Hi guys,
I believe this question has been asked multiple times, and i myself tried searching for answers from many various source to clarify my doubts, only to get more confused due to conflicting information.
Let's say now i am on a custom ROM. Before flashing the custom ROM, i made a backup of my stock touchwiz rom using cwm. However i want to revert back to the exact same state before flashing the custom ROM. What are the steps i need to do to restore the backup file?
1) Some sources mentioned just booting into cwm recovery, selecting "backup and restore" option, select "restore" and choosing the desired backup file will allow the phone to restore to the state prior to flashing.
2) Some other sources mentioned needing to wipe cache/wipe delvik cache/format system/format cache etc. first before i can restore the backup file.
So which is it?
Thank you!
Personally, I always choose option 2 if going to another rom. If restoring an earlier backup within the same rom i use option 1.
Don't know excact what the right thing to do is, but it never hurt to wipe cache / dalvik cache / system because you have it all backed up anyway. At least if you backup regulary. I back up regulary and delete the backups i don't want.
Cundis said:
Personally, I always choose option 2 if going to another rom. If restoring an earlier backup within the same rom i use option 1.
Don't know excact what the right thing to do is, but it never hurt to wipe cache / dalvik cache / system because you have it all backed up anyway. At least if you backup regulary. I back up regulary and delete the backups i don't want.
Click to expand...
Click to collapse
Thanks for the tip!
Is wiping cache/delvik cache sufficient in most cases?
Cos i saw a youtube video, where the guy did not wipe cache/delvik cache. instead, he formatted cache, data and system.
chainer22 said:
Thanks for the tip!
Is wiping cache/delvik cache sufficient in most cases?
Cos i saw a youtube video, where the guy did not wipe cache/delvik cache. instead, he formatted cache, data and system.
Click to expand...
Click to collapse
Wipe /
If problems format .
jje
Any other things i should look out for or preventive measures i should take for restoring backup from cwm?
i have been reading of cases where restoration through cwm fails and they have to go through the whole process of re-rooting and flashing before being able to restore it
there is no need for wiping, the recovery does it on its own prior to restoring.
got stuck
i erased everything followed 2nd step now its stuck on logo not starting
rishiud said:
i erased everything followed 2nd step now its stuck on logo not starting
Click to expand...
Click to collapse
Factory reset
factory reset
my phone is Zen Ultrafone 701HD there is no shortcut for recovery mode
rishiud said:
my phone is Zen Ultrafone 701HD there is no shortcut for recovery mode
Click to expand...
Click to collapse
Well you are in the wrong forum this is SGS3 I9305 .Not your phone ,
.......................................................................
Hi,
I've been using galaxy tab 8.9 with custom ROMs for more than a year and a half now, and sometimes it was acting strange, like flickering dialogs and crashes. Usually this meant an unstable ROM or just cache wasn't cleared when a new ROM was installed. And it was stable for some time, till I did a reset. Now no ROM is stable any more in addition to this, the battery sometimes says it is empty, but after restart it is back to normal status. I tried number of ROMs without luck, all are flickering lately which must mean it is not ROMs fault.
I am running out of ideas what to do with this tablet, so I'm asking if you guys have any suggestions, what else can I do to fix it.
NOTE: when installing a new ROM, I always did it with CWM recovery from internal storage with data, cache, dalvik wipe and factory reset.
regards, Daniel
danizmax said:
Hi,
I've been using galaxy tab 8.9 with custom ROMs for more than a year and a half now, and sometimes it was acting strange, like flickering dialogs and crashes. Usually this meant an unstable ROM or just cache wasn't cleared when a new ROM was installed. And it was stable for some time, till I did a reset. Now no ROM is stable any more in addition to this, the battery sometimes says it is empty, but after restart it is back to normal status. I tried number of ROMs without luck, all are flickering lately which must mean it is not ROMs fault.
I am running out of ideas what to do with this tablet, so I'm asking if you guys have any suggestions, what else can I do to fix it.
NOTE: when installing a new ROM, I always did it with CWM recovery from internal storage with data, cache, dalvik wipe and factory reset.
regards, Daniel
Click to expand...
Click to collapse
Do you ever wipe the system partition?
upconvert said:
Do you ever wipe the system partition?
Click to expand...
Click to collapse
Agree. In TWRP, a factory reset only wipe data, cache and dalvik cache. You have to manually format system. A clean install requires to wipe system, data, cache and dalvik-cache.
---------- Post added at 08:18 AM ---------- Previous post was at 08:17 AM ----------
danizmax said:
Hi,
I've been using galaxy tab 8.9 with custom ROMs for more than a year and a half now, and sometimes it was acting strange, like flickering dialogs and crashes. Usually this meant an unstable ROM or just cache wasn't cleared when a new ROM was installed. And it was stable for some time, till I did a reset. Now no ROM is stable any more in addition to this, the battery sometimes says it is empty, but after restart it is back to normal status. I tried number of ROMs without luck, all are flickering lately which must mean it is not ROMs fault.
I am running out of ideas what to do with this tablet, so I'm asking if you guys have any suggestions, what else can I do to fix it.
NOTE: when installing a new ROM, I always did it with CWM recovery from internal storage with data, cache, dalvik wipe and factory reset.
regards, Daniel
Click to expand...
Click to collapse
Try flashing the original firmware via odin.
iZLeeP said:
Try flashing the original firmware via odin.
Click to expand...
Click to collapse
Flashing original firmware would be my last resort. Is there any difference between odin and CWM flashing?
danizmax said:
Flashing original firmware would be my last resort. Is there any difference between odin and CWM flashing?
Click to expand...
Click to collapse
Of course. Flashing original firmware via odin brings back the original setup that came with the tab out of the box. I just don't remember if it will delete the contents of internal sd card. In any case, you can flash original firmware thru CWM as I always do, though I only flash boot and system images I modified in Kitchen. It will still be stock but only that it has been debloated, rooted, busybox installed, init.d enabled, and some system apps replaced.
Just remember that when flashing ROMs via CWM do a factory reset (wipe data, cache, dalvik-cache). In addition to the wipe, the rom.zip itself formats the system partition prior to flashing.