Just a suggestion but you might find checking out Steve Gibson's grc.com site for Spinrite.
I've save many a HDD and or over the past couple of decades with this. Be sure to check out the user emails thanking Steve. He is one of the older/long time guys like Bill Gates and others of that early era. I think he still does his work in machine language.