Most Sony head units follow the ISO standards in its wiring and connector pinouts.
A Sony CDX-S2000 would be using the below listed wiring:
Yellow - +12V Constant Power (such as the + terminal of your battery)
Red - +12V Switched Power (such as the ACC of the IGN switch)
Blue - Power Antenna
Blue/White - External Power Amp Turn-on trigger
White - Left Front Positive Speaker Wire (LF+)
White/Black - (LF-)
Gray - Right Front Positive Speaker Wire (RF+)
Gray/Black - (RF-)
Green - Right Rear Positive Speaker Wire (RR+)
Green/Black - (RR-)
Purple - Left Rear Positive Speaker Wire (LR+)
Purple/Black - (LR-)
In some models, Sony would have several versions of the connectors depending on the region the unit was intended for use, 10. 16 and 18 pins. The connector (loom) would have to match what your version has. They are readily available from most auto stereo stores and on line. You can try here
Hope this be of initial help/idea. Pls post back how things turned up or should you need additional information.
Good luck and kind regards.
Thank you for using FixYa.