Make sure you flash the tasmota32.factory.bin image
tasmota32.factory.bin
Other than that, you can follow from step 7 of the Sonoff S31 smart plug mod tutorial