Originally Posted by foxdog66
Has this been tested much? What exactly does it do, format the whole drive and repartition it?
It writes the same exact partition table your Fire shipped with. If you have a working KF and haven't tried repartitioning, you won't notice anything by running this. If you really screw up the flash, say, write to the whole disk device instead of a partition, this will give you a clean partition table to start rebuilding from. You can also use it to clean up from having played with parted as some people are doing.
I have tested it by changing some of the partition sizes from stock in my code and seeing that their new sizes are reflected in recovery, then ran the release version and checked that everything worked normally. I haven't tried this with a complete brick, but if someone bricks such that the LCD doesn't even light up when you power it up and doesn't mind some severe warranty voiding, I'm looking for guinea pigs.