Well... Actually, What I did is: flasher -f -F main.bin --erase-user-data=secure -R Isn't that enough to also repair the partitions?
flasher -f -F main.bin -F emmc.bin --no-preserve --erase-user-data=secure -R