[Q] Is it good to wipe dalvik's cache before flashing new rom? - Legend Q&A, Help & Troubleshooting

As you all know, before installing new rom we we have to wipe data and cache in recovery...
But do we have also to wipe dalvik's cache?

As you read on every ROM thread, it is advisable to do a CLEAN wipe meaning all of it before installing a different rom. I personally don't find any difference between wiping and not wiping.

When upgrading CyanogenMOD nightlies wiping is pointless, and a waste of time. When switching between Sense-based ROMs and CM etc. then a full wipe is recommended, but not always needed. Wiping dalvik cache will never hurt

Just a thought here, but isn't DC in /data ? So if you wipe data you wipe DC as well, no?

I've been flashing Mdj Droid L2.1.110210 rom but the only thing I am seeing is the HTC screen for over 10 minutes. Is there anybody helps me to solve this issue? I am newbie so I cannot post in Mdj Droid L2.1.110210 topic.
Thank

I always wipe because it cleans the dust. As GrammarFreak said, when switching between CM nightlies, it is pointless as of the minor changes that come with them. But switching to an entirely new ROM (like stock -> CM) I thin it is better to wipe everything. The cause: Android DO collect junk, and a clean system is always nice.
Regarding contact, sms and other app data: backup to phone and cloud, simple as hell.

thanks for the advice. so if you flash anew rom, do u lose all ur apps every time? i'm flashing ics on my g2 alpha 8 right now. so i will find out soon enough

shinobi3432 said:
thanks for the advice. so if you flash anew rom, do u lose all ur apps every time? i'm flashing ics on my g2 alpha 8 right now. so i will find out soon enough
Click to expand...
Click to collapse
In my experience (using a HTC Desire HD) you only lose your apps and settings when you perform a full-wipe before flashing a new rom. When you update your rom without wiping, your settings and apps are not removed. However, I personally like to do a full-wipe before flashing a rom, because it clears out al the dust and gives you a fresh new phone.
If you don't want to lose your apps and data, but you do want to wipe, you can offcourse always use Titanium Backup to make a backup of the apps and data.

Just do it! It's free (costs only a slightly longer startup the first time after you wipe dalvik)!

aiuvoanh said:
I've been flashing Mdj Droid L2.1.110210 rom but the only thing I am seeing is the HTC screen for over 10 minutes. Is there anybody helps me to solve this issue? I am newbie so I cannot post in Mdj Droid L2.1.110210 topic.
Thank
Click to expand...
Click to collapse
in my experience, this happens when you dont clear the cache prior to updating the rom. in my case, I had to re-apx mine, since I didnt figure this out until I had tried the factory rom. good thing I had the SBK and CPUid, or it would have been even a more painful experience!

Related

has anyone tried to flash a rom ontop of a rom?

the reason i ask is i want to know if anyone has had a problem going from rom to rom with out going back to there back up then flashing the new rom?
must wipe before going to different rom. you may have issues booting up.
affliction said:
the reason i ask is i want to know if anyone has had a problem going from rom to rom with out going back to there back up then flashing the new rom?
Click to expand...
Click to collapse
I've had no problem at all. I always do a full wipe before flashing a new rom though. If you don't want to do a full wipe, and you're only updating the same rom (for instance, from viper 1.1 to viper 1.2 or something), then you could try minimally wiping cache and dalvik cache. I always recommend a full wipe for best results though. I consider a full wipe to be wiping system, boot, data, cache, dalvik cache, and sd-EXT (if you have an EXT partition on your sd card)
I've successfully flashed joelz' ShooTeR ReWInD 3D over stock OTA w/o wipe with no issues and then flashed Evervolv's Absurd over that with no wipe and no issues.
USSENTERNCC1701E said:
I've successfully flashed joelz' ShooTeR ReWInD 3D over stock OTA w/o wipe with no issues and then flashed Evervolv's Absurd over that with no wipe and no issues.
Click to expand...
Click to collapse
That will most likely start giving you problems eventually, if you continue not to wipe. Things from one rom will start showing up in the next rom you flash, and you'll most likely start getting weird little bugs here and there. At least it always did with my Evo 4G. A full wipe is usually recommended, but every flasher has their own techniques.
k2buckley said:
That will most likely start giving you problems eventually, if you continue not to wipe. Things from one rom will start showing up in the next rom you flash, and you'll most likely start getting weird little bugs here and there. At least it always did with my Evo 4G. A full wipe is usually recommended, but every flasher has their own techniques.
Click to expand...
Click to collapse
+ 1 to full wipe, you will get bugs eventually, might battery life or maybe apps won't install or work, right now might be cause all the roms are mostly the same with no heavy customization but when they start messing a lot with roms you migh get screw
If you don't have an Evo3d well you don't have an Evo3d
Both these roms are based on the stock OTA ROM for 3VO. Also "format("ext4","EMMC", "/dev/block/mmcblk0p23")" is written into the updater-script of both ROMS, wiping the /system partition prior to install. Flashover issues usually happen when you start throwing AOSP and ports into the mix. That being said, I'm meticulous about backups and will never blame an issue in a flashover on the ROM without a fresh install or a peek into the zip to ensure the issue exist.
USSENTERNCC1701E said:
Both these roms are based on the stock OTA ROM for 3VO. Also "format("ext4","EMMC", "/dev/block/mmcblk0p23")" is written into the updater-script of both ROMS, wiping the /system partition prior to install. Flashover issues usually happen when you start throwing AOSP and ports into the mix. That being said, I'm meticulous about backups and will never blame an issue in a flashover on the ROM without a fresh install or a peek into the zip to ensure the issue exist.
Click to expand...
Click to collapse
It's still best to do a full wipe if you ask me. I do it even if I'm flashing the exact same ROM with say, one tweak in one of my battery icons or something. I always wipe lol.
yeah i just hate dealing with a full wipe everytime so i figured i would get some opinions on the issue right now im running steel rom and want to flash viper so im not sure what i want to do

Fresh Rom 5.0

Hello everyone, just wanted some help to clarify something.
For the fresh Rom released by flipz in the development section, it states that "This update does not require a data wipe if you are on a stock-ish Sprint/Sense rom". Can I flash right over my rooted EVO LTE with stock everything? All I did was unlock, TWRP and root and that's how my phone is at the moment.
Thanks in advance for the help!
kevinsturf said:
Hello everyone, just wanted some help to clarify something.
For the fresh Rom released by flipz in the development section, it states that "This update does not require a data wipe if you are on a stock-ish Sprint/Sense rom". Can I flash right over my rooted EVO LTE with stock everything? All I did was unlock, TWRP and root and that's how my phone is at the moment.
Thanks in advance for the help!
Click to expand...
Click to collapse
You should be good yes
Sent from my EVO using Tapatalk 2
I'm of the opinion that you wipe data/cache/davlik every single time you flash a new ROM.
Here's my take on it: Dev said you can flash it over stock without a data wipe. It's a fairly basic rom for the moment. When you wipe data everything is lost. What's the harm is flashing without a wipe? Something may start acting wonky and the solution for that is typically a data wipe and reflash. So, what have you lost at that point? Nothing if you understand that most rom flashes include a data wipe.
So, I say go for it without wiping data.* Wiping now only robs you of an opportunity to keep your data intact.
*I only advocate not wiping in this particular instance, since the dev said it would be ok. In all other scenarios, I whole-heartedly recommend wiping completely.
I had to return my original lte because of a bricked nfc/wallet issue.
Prior to returning, I backed up all user apps/data using TB's batch function, saved my texts and contacts.
Upon getting the replacement phone, imported contacts, manually restored all the apps/data with the launcher and widget locker apps being the last ones. Finally restored the texts. All I had left to do was a few tweaks under settings and reconnect wifi. Took all of about 20-30 minutes to do everything.

[Q] moving from 2.2 rom to another 2.2 rom

Hi.
I have "Project-V" rom for 1 year (I know its a lot of time )
I got new phone and I want to give my wife this phone.
As the phone is now little "Buggy" and I need to change everything include change the Gmail account on the phone so I decided that it will be better to just install new ROM.
I need rom fast and stable (gps etc... ) and people recommended to me for "BIONIX"
I know what is the installation process but is it better to revert to stock first before flash this rom?
Thanks.
No, you do not have to revert to stock before you flash because you are going from one 2.2 ROM to another. Just remember to wipe data/ factory reset, wipe cache, etc.
asher_pa said:
Hi.
I have "Project-V" rom for 1 year (I know its a lot of time )
I got new phone and I want to give my wife this phone.
As the phone is now little "Buggy" and I need to change everything include change the Gmail account on the phone so I decided that it will be better to just install new ROM.
I need rom fast and stable (gps etc... ) and people recommended to me for "BIONIX"
I know what is the installation process but is it better to revert to stock first before flash this rom?
Thanks.
Click to expand...
Click to collapse
You definitely don't have to, but it certainly couldn't hurt lol
no
No is the short answer but it never hurts especially if you are having issues. Also the xerxesI Rom with phone candy theme wad pretty nice!
hi,
No you don't need to go back to stock ..but as Xenoism said it certainly couldn't hurt. Make sure to wipe data/ factory reset, wipe cache and dalvik
tc

[Q] Forseeable problems upgrading from ICS Pasion to Jelly Bean?

Hi,
Apologies if this thread is redundant, I kind of found what I was looking for scattered around here after reading til my eyes bled, but not quite the reassuring, specific answer I am after...
We have 2 Vibrants that we are looking to move to a Jelly Bean ROM from ICS Passion.
At this stage it looks like either Helly Bean or Slim Bean, people seem to be getting reasonable GPS service with these and our two phones seem to get good GPS lock on ICS, so here's hoping...
I am mainly interested in knowing if I should take any intermediate steps before flashing the JB ROM.
Both phones were taken out of the box, rooted, CWM'ed and flashed with ICS Passion when new, so I am not sure if that leaves the file system etc ready to be flashed with JB? Obviously they won't have Gingerbread bootloaders, which may or may not be important depending on what you read?
Both phones were flashed with the wipe data / wipe cache partition / wipe dalvic cache method. No format system or anything else.
If I use the same method to flash Helly Bean or Slim Bean from where we are at am I looking for trouble LOL? Or should I expect it to be smooth as silk?
Thanks in advance for any help..
You should be fine. GB boots aren't necessary so don't worry about that. You should wipe all the things you mentioned and do a system format, its in mounts and storage. When you flash it will take 3 flashes, you only need to wipe on the first.
So wipe, install ROM zip. It will not complete, pull battery then 3 button to recovery. Flash it again, this time it may or may not complete. If not, do battery pull etc, if it does complete, reboot recovery. Flash ROM zip again, then gapps zip and reboot. Allow 5-10 minutes then set device up and reboot again for safe measure.
***I wouldn't overlook Paranoid Android, its a great ROM. I prefer it to helly bean.***
I approve this message.
Awesome. Thanks heaps.
So, wiping in this order is correct?
Wipe data
Wipe cache partition
Wipe dalvic cache
System format
Or does the order not really matter?
Second question, does the system format clear everything out? Will I lose my current nandroid etc?
Also, when you say no need to wipe after the first flash, does that mean to do none of the 4 wipe operations?
Sorry to be so painful, just trying to remove as many variables as possible!
wendleburger said:
Awesome. Thanks heaps.
So, wiping in this order is correct?
Wipe data
Wipe cache partition
Wipe dalvic cache
System format
Or does the order not really matter?
Second question, does the system format clear everything out? Will I lose my current nandroid etc?
Also, when you say no need to wipe after the first flash, does that mean to do none of the 4 wipe operations?
Sorry to be so painful, just trying to remove as many variables as possible!
Click to expand...
Click to collapse
The wiping order isn't important. Formatting system doesn't mess with backups or anything other than /system. That's where the ROM apps and gapps are installed.
You are correct, after the first set of wipes it isn't necessary to wipe again. Basically the first two flashes setup the partition scheme and new kernel/recovery. The third installs the ROM completely.
Good luck!
I approve this message.
Cool bananas. Thanks man...
Now just need to make a decision on which ROM to try first...
SammyBigBananas to the rescue!!
wendleburger said:
Cool bananas. Thanks man...
Now just need to make a decision on which ROM to try first...
Click to expand...
Click to collapse
If you're willing to spend some time test driving JB roms, I would recommend this progression:
* CM10 Nightly ~ plain jane (but it's the heart & soul of it all).
* AOKP JB ~ ROM Control will set you free.
* Helly Bean ~ DerTeufel is a true Master Chef.
* Slim Bean ~ Slim, lean, & lightweight (my daily driver).
* Paranoid Android ~ Most who go PA ... stay PA.
I put PA last because that potentially requires the most time to investigate & discover all the possibilities. Tweaks galore and check out the GPS fix discussion in that thread.
Kernels:
* Semaphore ~ solid kernel, excellent rom performance, & Semaphore Manager available via Play Store.
* Devil ~ the only JB kernel with Voodoo Color. Very tweakable.
Enjoy.
yosup said:
SammyBigBananas to the rescue!!
If you're willing to spend some time test driving JB roms, I would recommend this progression:
* CM10 Nightly ~ plain jane (but it's the heart & soul of it all).
* AOKP JB ~ ROM Control will set you free.
* Helly Bean ~ DerTeufel is a true Master Chef.
* Slim Bean ~ Slim, lean, & lightweight (my daily driver).
* Paranoid Android ~ Most who go PA ... stay PA.
I put PA last because that potentially requires the most time to investigate & discover all the possibilities. Tweaks galore and check out the GPS fix discussion in that thread.
Kernels:
* Semaphore ~ solid kernel, excellent rom performance, & Semaphore Manager available via Play Store.
* Devil ~ the only JB kernel with Voodoo Color. Very tweakable.
Enjoy.
Click to expand...
Click to collapse
Cool, thanks. Not sure how much time I'll get to play around and try out different ROMs, but I did put Slim Bean on one phone last night, so hopefully that has brought it up to a more contemporary file system and stuff so flashing from here won't have to have everything wiped and will be a bit of a quicker process?
Slim Bean seems nice, definitely smooth and fast, but being stripped down as it is I didn't get that awe-inspiring, new car smell that I could when first flashing ICS from Eclair :laugh:
I need to sort out a couple of things to keep using Slim Bean.
One is where to add alarm tones, it comes with two. One is way too subtle, I used that this morning and would have slept through it if the phone didn't vibrate its way onto my keys and start rattling them LOL...The second one is that stupid rooster that will wake my whole family, the neighbours family, and all the local wildlife.
I also need to find the download for the autumn leaves/water live wallpaper that was bundled in Passion, I miss that already... :laugh:
Battery life is good, between 11pm last night and 5am this morning it lost 2%
samsgun357 said:
You should be fine. GB boots aren't necessary so don't worry about that. You should wipe all the things you mentioned and do a system format, its in mounts and storage. When you flash it will take 3 flashes, you only need to wipe on the first.
So wipe, install ROM zip. It will not complete, pull battery then 3 button to recovery. Flash it again, this time it may or may not complete. If not, do battery pull etc, if it does complete, reboot recovery. Flash ROM zip again, then gapps zip and reboot. Allow 5-10 minutes then set device up and reboot again for safe measure.
***I wouldn't overlook Paranoid Android, its a great ROM. I prefer it to helly bean.***
I approve this message.
Click to expand...
Click to collapse
The only thing I had to do different from this was do 2 flashes in a row without powering down. Every flash after powering down just returned to the status 7 / incompatible partition error. 2 flashes back to back pushed past that and got the semaphore recovery up and going..
So I ended up doing;
Wipe data
Wipe cache partition
Wipe dalvic cache
Format System
Flash ROM
Power down
Flash ROM
Power down
Flash ROM
Flash ROM
Flash Google Apps
Boot
Cheers...
Lol, you shouldn't power down in between. Glad you got it up and running!
I approve this message.
samsgun357 said:
Lol, you shouldn't power down in between. Glad you got it up and running!
Click to expand...
Click to collapse
But you told me to!
So wipe, install ROM zip. It will not complete, pull battery then 3 button to recovery. Flash it again, this time it may or may not complete. If not, do battery pull etc
Click to expand...
Click to collapse
I may end up trying one of the other ROMs in the next day or so. Slim Bean is nice, but every time I go to use my phone for something I seem to need to install something else LOL... The stripped down nature of the whole thing is killing me...
What I meant is if it goes into a boot loop. My bad, I should have been more specific. Either way your there now. That's what matters!
You should try paranoid android!
I approve this message.
samsgun357 said:
You should try paranoid android!
Click to expand...
Click to collapse
Yeah, I think I will.
When I get a chance I'll read it's thread and see if anyone is having any problems with the current release and if not, I'll flash it.
Hopefully it's a bit more of a streamlined changeover now I am on a current kernel and recovery?
Yeah just a normal wipe/format system and flash. I'm running it without issue, and GPS works! Flash the 360 version, you won't be disappointed.
I approve this message.

When to wipe - ROMS

Hello,
I'd like to know when to do a full reset over the recovery when installing new ROMS or downgrading / upgrading a specific rom. I'm a Samsung Galaxy S5 user and I'm not sure when to do these steps. Some ppl say I have to wipe before I install the Firmware and others say I have to do a wipe after I've flashed the firmware.
So, what do you think and why?
Slurpslurp said:
Hello,
I'd like to know when to do a full reset over the recovery when installing new ROMS or downgrading / upgrading a specific rom. I'm a Samsung Galaxy S5 user and I'm not sure when to do these steps. Some ppl say I have to wipe before I install the Firmware and others say I have to do a wipe after I've flashed the firmware.
So, what do you think and why?
Click to expand...
Click to collapse
hello,
The way this works are actually multiple things, and you should be very carefull not to be switching them around. There are multiple wipe possibilities.
Dalvik cache / Data, Where certain app data is stored. This is almost always wiped when doing a major version or rom update, like from cyanogenmod 11 to 12.
System, This is where the actual rom is stored, when switching roms this is usually done automatically by the installer. BE CAREFULL when wiping this, as it could brick your device if you don't know what you are doing.
some other things can also be wiped, but are not nessesairy most of the time.
Most guides for installing roms etc. explain pretty good what needs to be wiped in order for the rom to work. can I ask what you need to wipe something for?
I hope this helps a little, you can always message me and I will gladly help you.
Sent with my ghost running bacon and my own software
Ghost_Developer said:
hello,
The way this works are actually multiple things, and you should be very carefull not to be switching them around. There are multiple wipe possibilities.
Dalvik cache / Data, Where certain app data is stored. This is almost always wiped when doing a major version or rom update, like from cyanogenmod 11 to 12.
System, This is where the actual rom is stored, when switching roms this is usually done automatically by the installer. BE CAREFULL when wiping this, as it could brick your device if you don't know what you are doing.
some other things can also be wiped, but are not nessesairy most of the time.
Most guides for installing roms etc. explain pretty good what needs to be wiped in order for the rom to work. can I ask what you need to wipe something for?
I hope this helps a little, you can always message me and I will gladly help you.
Sent with my ghost running bacon and my own software
Click to expand...
Click to collapse
I use the Galaxy S5 Knox 0x0 ROM for example. I won't use any other custom Roms like CM or such. I'm just confused about wiping because every thread says different methods or ways to wipe. In one thread it is recommend to wipe the phone before the installation of the rom and in another thread ppl say you have to wipe after the installation of the rom.
Installation: Downgrading from Lollipop to Kitkat 4.4.2 for TowelRoot.
Slurpslurp said:
I use the Galaxy S5 Knox 0x0 ROM for example. I won't use any other custom Roms like CM or such. I'm just confused about wiping because every thread says different methods or ways to wipe. In one thread it is recommend to wipe the phone before the installation of the rom and in another thread ppl say you have to wipe after the installation of the rom.
Installation: Downgrading from Lollipop to Kitkat 4.4.2 for TowelRoot.
Click to expand...
Click to collapse
So you are now installing Knox 0x0 kitkat over lollipop?
In that case follow normal instructions for installing kitkat.
1. Reboot into recovery
2. Install Kitkat
3. wipe data and dalvik (YOU WILL LOSE ALL YOUR APPS)
4. Restart
If this doesnt work, or results in a bootloop, try again, but this time before flashing kitkat wipe system.
hopefully this helps
Sent with my ghost running bacon and my own software

Categories

Resources