Not all QCOM devices have a pad partition, so instead use a list of known firmware partition names.
The primary and backup headers may be fully reconstructed from each other (this is the purpose of having a backup header in the first place). So there is no point in saving a copy of the backup header.