Wipe and install (including reflashing firmware) is fairly straight forward using spf flash tool as outlined here. Using the flash tool will wipe and format ALL partitions, not just the system partition.
6 Likes