Idk any of those answers but I'm excited to see you try and report back haha.
But in all seriousness check out these two links, they should get you going in the right direction:
https://g30.bimmerpost.com/forums/sh....php?t=1669738
https://x3.xbimmers.com/forums/showthread.php?t=1581811