Related
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
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
Can somone explain the difference between (full) wipe, factory reset, ...
Is a wipe the same as format?
Is there no difference, or does nobody know it?
A full wipe is when you delete everything on your phone. A full wipe is needed every time before flashing a stock or custom rom. It will delete everything on your phone and you will not even be able to boot. Only Clockworkmod and the Download Mode will be left. Meanwhile, a factory reset will only erase data from your phone's internal storage. Factory reset is suitable only when you are in stock rom and a non-rooted device. It is dangerous to do a factory reset if you are rooted or having a custom rom. You will brick your device.
iCloud said:
A full wipe is when you delete everything on your phone. A full wipe is needed every time before flashing a stock or custom rom. It will delete everything on your phone and you will not even be able to boot. Only Clockworkmod and the Download Mode will be left. Meanwhile, a factory reset will only erase data from your phone's internal storage. Factory reset is suitable only when you are in stock rom and a non-rooted device. It is dangerous to do a factory reset if you are rooted or having a custom rom. You will brick your device.
Click to expand...
Click to collapse
Installation:
You must have flashed a Android 7.0 Samsung Firmware with Odin.
TWRP recovery
Format data in recovery
First installation needs a full wipe! (Updating to newer releases a dirty flash will do)...
First installation needs a full wipe! (Updating to newer releases a dirty flash will do)" what i must to do pls?
hey guys,
which is the best method to clean your phone before flashing a new rom, or maybe bringing your phone to the state it was just after flashing a new rom. i tried data factory reset, wipe cache , wipe dalvik with kernels we have here and i found remainents of zip files i had flashed after setting up my rom and using newer mods. i dont want to format system, preload all the time.
which is your perfect, effective method ? speedmod kernel and its recovery or phillz , then which version ?
thanks
rraaka said:
hey guys,
which is the best method to clean your phone before flashing a new rom, or maybe bringing your phone to the state it was just after flashing a new rom. i tried data factory reset, wipe cache , wipe dalvik with kernels we have here and i found remainents of zip files i had flashed after setting up my rom and using newer mods. i dont want to format system, preload all the time.
which is your perfect, effective method ? speedmod kernel and its recovery or phillz , then which version ?
thanks
Click to expand...
Click to collapse
why you dont want format system and preload before flashing rom?
what I do before flashing any rom is:
flash philz kernel
wipe data / cache / dalvkk cache
format / cache / system / data / preload
and then flash new rom
and thats it, with this procedure I have never faced any issue with any rom I have flashed.
usualy I use this method even befoe restoring my nandroid backup.
above methods I using with philz and speedmod, but i prefer philz when wiping and flashing and making backup, because it has nice cwm for doing that. but after I flash new rom I immediatly flash speedmod because it is the better than philz if you drive your new rom, and you are not in cwm at the moment
hope this helped
Sent from my GT-N7000 using xda app-developers app
completely agree with you djoni, but when you are flashing continuously, experimenting a lot ...you know ...this and that,
isnt a data factory reset , wipe cache, wipe dalvik supposed to bring you to that condition just after booting up after a new rom flash ? why were there remanents from a mod i had flashed after using the rom for some time ?
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.