I just assumed that it's led and wired it to ECU and grounded it. It seems to be working. It's 2001 x5 3.0 that came with ugly halogens. It's 9 years old now and the headlight went yellowish and made it look worse. I'm happy with the result since it was really ugly before the mod.

Thanks for the tips!!