Revert "Revert "EntireFlash: the tr '\000' '\377' doubles the size of the padding""

This reverts commit 14061fd6ab8cd9636a883441933148cf7bd7ec9c.
Revert "Revert "Revert "EntireFlash: the tr '\000' '\377' doubles the size of the padding"""

This reverts commit 5e194951037900693fbbdd8d750f37001cef5c0f.