I had previously written up how to create a bi-xenon high-beam adapter using a 9005 extension. If you don’t mind modifying your headlights permanently, and have long enough wires on the solenoid pigtail (8~10″), with a little work you can mimmic the “factory” solenoid wiring found in the OEM AL bi-xenon headlights that use “Gen 2” (2-wire) (aka “E46”) projectors. This will also work for replica projectors, but not 3-wire “Gen 1” projectors – those require a solenoid controller.
You will need: 9005/9006 female crimp terminals, a molex crimp tool, a wire stripper/crimper, a paper clip, and some zip-ties.
First start by removing the terminals from the OEM 9005 high beam connector, by inserting a paperclip to depress the retaining tab as shown below.

Next cut off the OEM terminal, re-strip the wires, and include the pigtail wire:

Using a molex-type crimper, ensure that the terminal is securely fastened to the three wires.


The same process is repeated on the other wire (yellow, +12v). Finally, insert the new terminals into the housing

Finally, zip tie the new wires along the harness, and plug it in…

This not only looks nicer, but also frees up some much-needed space inside of the housing.