Um, the only software I know of I think runs in windows. So if you only have the one hdd, its not a lot of help. You can't afford to copy anything on as it might remove what you trying to save. You would need to buy another drive to install it on just to have a chance of getting it back. https://www.cleverfiles.com/howto/recover-formatted-hdd.html
Oh, well i forgot to mention this, when i m going fot the installation once it reached 70 % while getting files ready for install the setup stops working and it shows me the install now/repair your computer every time.
So the "Getting files ready for installation" is after its copied itself onto the ssd from the USB but I really don't know any of the details as to what its doing behind scenes and likelihood of recovering data from a hdd that had clean run on it. IT isn't running off the ssd at this stage, still running out of a ram disk.
Didn't anyone ever point out that Diskpart clean wipes the entire drive? Any time I tell anyone those steps I always say Warning: Diskpart Erase/Clean will permanently erase/destroy all data on the selected drive. Please be certain that you are erasing the correct disk.
Depending how important the information is you need to get back, you can pay to have data recovered but I am no expert on what they could get back.