Chosen Solution

The connector cable for the “thermal sensor connector” broke as I was disconnecting it. How can I replace this part?

There isn’t a thermal sensor built per se. The Thermal sensor is built into the Hard Drive itself and is wired through the Power Cable. I’m assuming you are getting high fans soon after booting? If so there is something you can do to fix it. You will have to purchase a specific cable and run it inline with the hard drive power cable. OWC makes a pretty good one that I’ve used in the past. Just connect the power cable to the male section, the female into the Hard Drive, and the thermal sensor onto the HDD (preferably on the front over the platter)