I'm late to the party... Hopefully you won't come across this again, but if you do (and there's data in the media) I'd recommend you image the drive and work on that image instead, or at least take it offline. You'd need to have as much disk space as the drive (worst case, no compression), but you won't risk further damage. It was already suggested and I get behind R-Studio as well. In my opinion it is the most specialized program of its class and outperforms most of the competition if not all. I think there was an EaseUS program that was able to recover deleted partitions in place (useful if only the partition table was deleted), but be careful if you use anything like it.
I had never had issues when I moved my Samsung S4 (128GB) all of my photo, music and etc to other Moto G5 Plus without a hitch.. But I learn is backup my files that has a microSD to USB adapter and backup all the files and never lose anything, But Now once I transfer other phone, Now I can encryption my MicroSD to protect my stuff on my Moto G5 plus smartphone.. Volia, once again, sorry to hear this..