Motorcycle Questions? Ask a Mechanic.
Hi and welcome to JustAnswer,Thank you for the question and your patience. Should you still need assistance for information purposes only...Initially, proposed preliminary tries (if have not been done) with the use of a multi-meter would be to determine the resistance of the pairings of the white, gray, black, and brown wires. Similarly, determine which of the white, yellow, green, and black/white goes to engine/chassis ground, which to the regulator and which to the CDI.
Please post back results / observations of the above once tested.
Hopefully another member of the site can provide an alternate approach to your concern. The question would be re-opened as I would rather opt out.
Still, good luck with the wiring.
This is not an Info request.