Every bit of wiring the previous owner touched on this truck is all kinds of wrong. Ever since I got the truck, the stereo turns off when I turned on the headlights, and after wiring the headlights correctly....the radio does not turn on at all. I went in yesterday to fix the wiring and get some tunes back to no avail. He wired speaker wire directly to every speaker, then tied them into the headunit harness, AND he messed up the constant 12v and ignition 12v wiring so badly that I cant discern which is which and what I am missing. I got all of the speaker wire figured out, but am still having trouble getting the head unit powered. Pictures below.
Here is what I started with:
Here is where I am running into trouble getting power:
The speaker wire is in the background, but in the foreground there are 3 wires (from L-R), a brown wire, a black wire, and an orange wire. I assume the black wire is the ground, and I know the orange wire SHOULD be the 12v constant, and I have no idea what the brown wire does. I have traced the orange wire to the fuse box and it has not been toyed with, and the black is the ground in any GM I've installed a stereo in, so we're good with those (right?). What does the brown wire do, and why am I missing the yellow (accessory/ignition) and grey (dimmer) wire. I have tried powering on two different radio, and checked the fuses to make sure none were blown. No luck. Any tips?
Here is what I started with:

Here is where I am running into trouble getting power:

The speaker wire is in the background, but in the foreground there are 3 wires (from L-R), a brown wire, a black wire, and an orange wire. I assume the black wire is the ground, and I know the orange wire SHOULD be the 12v constant, and I have no idea what the brown wire does. I have traced the orange wire to the fuse box and it has not been toyed with, and the black is the ground in any GM I've installed a stereo in, so we're good with those (right?). What does the brown wire do, and why am I missing the yellow (accessory/ignition) and grey (dimmer) wire. I have tried powering on two different radio, and checked the fuses to make sure none were blown. No luck. Any tips?