So this wiring in the footwell has been like this for a few years since I bought it. When I bought it there was a whole mess of wiring from a alarm system that didn't work anymore. I pulled all that out. My dash light sometimes wouldn't work either. Turns out that was a loose wire in a bad splice that basically just fell out. I fixed that and haven't had any issues since. I'd like to fix it better though because as you can see in the picture below it's a bad splice with bare wire showing. In the 2nd picture you can see where the wire runs to in the background. Green wire into a red splice that goes up to the dash.
I also saw a yellow wire running to the fuse box and back into the wiring inside. Looking at the wiring it's a green wire that somehow got hot and melted so they fixed it this way. This is what the picture below shows. You can see the wire running from the plug to the fuse box in the engine bay but then it comes back in and goes into the other end of the same green wire which makes no sense to me. That one green wire should have just been replaced. I don't get why the yellow wire is coming back.
Here's some pictures of the wiring diagram that shows what these wires are. So the path of this green wire is it comes from the engine fuse box into 4(1E) which is the 2nd image. Then comes out at 5(1B) and goes up into the dash junction box.
So my questions are what size of wire is this? I'm thinking 16 or 18awg? How do you repin these plugs? I'd like to buy some green wire and just repin what I can and run fresh wire but I don't know what pins to buy. I still need to pull the engine fuse box apart and see exactly where the yellow wires are running to but I assume it's just to the junction connector shown in the diagram.