Special thanks to Andivic for getting the lights and switch, and for labeling the wires
JDM HID and Headlight Leveler Walkthrough
1. Remove OEM headlights. Remove grill and bumper as per this walkthrough: http://www.legacygt.com/forums/showthread.php?t=57598&highlight=bumper+walkthrough. Unbolt head light brackets. Unplug main harness and turn light harness. Remove pop-it and bolt on top of head light housing. Pull the headlight housing out.
2.Install JDM HID housing. The JDM ones do not have the side prong to stick into the receptacle.
3.Connect the main harness. The turn light harness is too big for the JDM housing, so you either have to modify the housing or use the JDM socket part number 84931AG000. You probably need to order the corresponding bulb p/n 84920KE020. To make the parking/city light work you need to get p/n 84981AG190 and 784920080 or rig something up and connect to the main harness.
http://opposedforces.com/parts/legacy/en_b13/type_96/electronic/head_lamp/illustration_1/
4.The roller switch has 4 wires controlling the leveling function and 2 for illumination. The four wires are +12v, driver, passenger, and ground. The illumination wires are +12v and ground. I connected the two grounds together and tapped into the closest ground. The +12v for the illumination I tapped into the illumination on the folding mirror switch (wire going in to pin 14, see the folding mirror walkthrough). For the +12v for the leveler I tapped into a switched +12v I had running to my radar detector.
http://i300.photobucket.com/albums/nn16/MOMSWGN/Picture162.jpg
http://i300.photobucket.com/albums/nn16/MOMSWGN/Picture163.jpg
5.Connect wires to the driver and passenger wires from the rolling switch and run them into the engine bay. I ran them behind the headunit and out the main wire harness grommet.
http://i300.photobucket.com/albums/nn16/MOMSWGN/Picture158.jpg
http://i300.photobucket.com/albums/nn16/MOMSWGN/Picture157.jpg
6.The leveling motors have three wires, +12v, ground and signal from the rolling switch. Run the wires from the interior compartment to the corresponding headlight housing and connect to the corresponding wire.
http://i300.photobucket.com/albums/nn16/MOMSWGN/Picture155.jpg
http://i300.photobucket.com/albums/nn16/MOMSWGN/Picture156.jpg
7.I used local grounding points and connected to the ground wires of the leveling motors. I tapped into the +12v I had going to my Hella horns to connect to the +12 wires of the motors.
8.Tidy up with zip ties and you are done.
[ame=http://www.youtube.com/watch?v=A_TkkakMqak]YouTube - Gen 4 Subaru Legacy with JDM HIDs with Leveling[/ame]