Replacement wire for X-axis printhead needed

Okay so this was a fun night :stuck_out_tongue:

Had an extruder clog in my Hi - no big deal EXCEPT the cover screw was stripped. I finally got it off (by destroying the cover in the process!) and the jam cleared, but in the process of getting the cover off, I apparently broke this wire. It goes from the back left side of the print head under the pcb board in the fron and into the plug that seems to be labeled “X HALL” (see pictures). It’s a 2 wire connector that pulled out of the connector and the black/red wire snapped off so it no longer reaches. It seems to be about 5 inches long.

I am not a wiring person so have no idea how to make one, what exactly it is, or what part to look for. It’s probably something that could be made if I knew what I was doing - but don’t! Can anyone point me to one that will work or make one for me??

Check Amazon. Make sure you get the correct one for your machine:

Amazon.com: DiGiYes 3D Printer Parts Stepper Motor X Y Z Axis Cable with 3pcs XYZ End Stop Limit Switch Fit for Ender 3/ Ender 3 Pro/Ender 3X, Stepper Motor and Limited Switch Endstop Cable : Industrial & Scientific

Yeah, I’m not finding any for the Hi. Though someone told me its the same cable used on the CR10 so I might try taking it off my currently unused CR10 and see if that works.