I wanted to know when flashing a new ROM by using Odin does it wipe and clean the contents of the partitions(system, boot, ..) and then add the new content or just use some kind of replace over files?
The reason for asking the question is that I had my phone which was functioning normally but I decided to flash the new and updated stock ROM for my phone. So I went on with the process of flashing and after it finished and booted successfully, I noticed that stock apps are updated with some new apps but my previously installed apps and settings, contacts, ... all are there too! so I did a factory reset to have a clean start. (Note: I used a stock '.tar.md5' file which had everything in it; system,boot,recovery,...)
So what should I do if I want to have a completely fresh ROM just after flashing? (any options in Odin maybe, what about 'Nand Erase All' option?)
/data
partition that holds all your apps & their data. However, I don't know how to do that on Odin, since I'm not using it.