Boruit D10 headlamp new driver and LED. Came apart easily enough. The MCPCB was really stuck with some old thermal compound. Heat gun softened it up and it came off. I cut a notch out of the edge of the driver to run new, longer wires to the LED.
So for the switch, I was tired and wanted to try something quickly, so I used hot melt glue - a big old blob right on the MCU, a plastic washer in the middle, and another blob between that and the switch. This could turn out to be a problem if the driver gets hot enough to soften the glue.
519A 3500K (domed) to replace the ugly purple XM L2.
I used it on medium mode for a couple hours over the weekend and so far so good, but I am a little worried about that glue becoming a problem. It’s a solid headlamp host, especially considering it was about $5 (not including new driver, LED, and my time, of course).