[Q] General rule when flashing a new ROM?

screamworks

Senior Member
Jul 4, 2011
313
110
0
Brisbane
Hey guys,

So, I've only recently rooted my Galaxy S II and started flashing ROMs (currently on the official release of MIUI), and noticed that there is different practices for different ROMs when it comes to flashing from recovery...
For example, some ROMs (like the MIUI one) required you to perform a factory reset in recovery before flashing, while I've seen others (I believe CyanogenMod is an example of this) where you need to clear pretty much all of those settings (Dalvik cache, battery stats, etc. etc.).

Now, to me this seemed a little bit of a hassle to have to look up the flashing requirements of each ROM before you do so (I understand the instructions would be on the page for the ROM, but I'm thinking more along the lines of if you already had the ROMs pre-downloaded)... And I've come to learn, in the Android community more than any other, that if a procedure seems to complex, there's always an easier way to go about it.

In this case, I'm referring to a general rule-of-thumb for flashing new ROMs from recovery -- is there such a thing? For example, wiping all options (factory reset, Dalvik cache, battery stats, etc.). Or would this actually cause problems?
Sorry for the remedial question :D

screamworks.
 

esk02k

Senior Member
Mar 26, 2010
1,762
1,256
0
London
I wipe everything other than battery before flashing any new ROM. 3 generations of android and ive always done the same thing. I only wipe battery stats if I forgot to unplug the phone during flashing the ROM because that can screw the stats up. There is a right time to wipe battery stats not just with a random amount of charge. You can do that any time, the way I do it (others may tell you different) is to let the battery run out completely, let it charge with the phone off untill its full then reboot into recovery and wipe battery stats.
Luckily we don't have to worry about re-partitioning nand and things like that.
 
Last edited:

Hannibal226

Recognized Contributor
Oct 13, 2010
4,612
4,559
0
¯\_(ツ)_/¯
Hi,

generally a wipe is all time the recommend if you flash between Rom!
If you flash from Rom to next version it's ok to make in with non-wipe.

Personal I wipe:
- wipe data / factory reset
- wipe cache partition
+ under "mount and" storage:
- format system
- format data
- format cache
+ under "advanced":
- wipe dalvik-cache

you can delete bat stats in advanced to but with a full charge an letting turn off self by getting empty is also fine. (recommend 1-2 times after a fully new flash)

CHEERS ;)

Sent from my GT-I9100 using XDA App
 

screamworks

Senior Member
Jul 4, 2011
313
110
0
Brisbane
Sorry for the delayed reply..
Thanks for your input guys, I've ended up going with Hannibal226's (and cooza's ;)) method :D

And thanks for the info on the battery stats esk02k, I'll give that a shot tonight! :)
 

TheSaw

Senior Member
Dec 24, 2010
975
437
0
Cluj
I wipe nothing. Just flash the other ROM on it, if it's not something totally different. It worked for me many many times, and I hadn't even encountered any bugs that people were complaining about. Guess I'm just lucky :D