If your BMW hood won't stay up the problem usually is the hood supports. Watch video on how to replace BMW hood lift supports yourself. To fix a BMW hood that won't stay up you will need new BMW hood lift supports.
The hood supports on BMW are gas filled and may leak failing to keep the hood in the up/open position. This is a common problem on many BMWs including 1, 3, 5, 6 X1 X3 X5 X6 series.
BMW hood won't stay up
My BMW hood drops when I open the hood
BMW bonnet falls when raised, won't support itself