Last I checked (years ago though) llformat software was vendor-specific written to the vendor's drive controller hardware not like high-level formatting with a standard API.
Check for downloads at the drive manufacturer site, and don't use a program unless it specificlally says it's compatible with the exact drive model.
It will maybe give you a little (unreliable) extra life by marking damaged areas of a platter as unusable, but by the time you're getting "weird errors" it's usually time to back up and RMA if there's any warranty left.
(Of course often the problem isn't the hard drive at all, it's virus/trojan/spyware/adware, or mssed up drivers, or a bad memory stick, or overclocking.)