Clean installation of Miui in Redmi note 4g

Mar 8, 2013
Hi , I wonder what's the best way to make a clean installation of the phone..Using Miflash and making a Flash.All and then install a recovery the Philz touch, put rom on sd and make a Clean to install new rom, then install and wipe dalvik , wipe cache and reboot that's how to make a clean installation ?
I thought it has to be done before like this... clean to isntall a new rom then wipe cache then dalvik and install new rom... but this post for redmi1s it says as I written up.
Post redmi 1s clean installation :
Should it be the same? Because recovery it's the same..