How to recover an accidentally deleted partition?

So, i had a hackintosh, and it's the only system on the disk. But one day, i wanted to make it a dual boot so i created a new partition from the free space of the disk. Then, I used a bootable usb and tried to install the windows system on the new partition I made. It failed and everything on the hackintosh were gone accidentally.

I've tried using TestDisk. It shows that my disk has an AFPS partition that is deleted but I just can't get it back.

I've also tried a few other software but they can't even find the partition.

Is there any way that I can recover the partition?

submitted by /u/Lost7799
[link] [comments]