Hi and welcome to Justanswer.
Initially, can you give me sample photos of your connection and parts that you need to install?
Honestly this is so hard because I don't want to take a risk on your wires. Did you have multimeter and try to check the resistance on every wire. The common wire is black which is ground.