I stole these steps from a gentleman at m3forum and added my own input. I chose not to remove the strut bar or the engine vanity cover and completed the removal with ease. My body position trick was to straddle the front passenger wheel and sneak one hand between the firewall and the engine finding the sensor bolt and my right hand guiding the business end of the tool to the bolt head. I was using the strut bar as a headrest for ease and relieve some back pain as it is a weird position. At first I used a t30 bit because I thought the smaller tool would help but not sure which one worked better seeing as they both fit.
After getting the position right (hardest part without eyes - reason using one hand to feel/guide is important) it just takes some time to rachet the bolt out. After you've gotten the bolt almost all the way out remember not to drop it. I did drop it but pulled back the heat shield next to the exhaust manifold and used my magnetic tool to retrieve it. I think I was lucky.
Part 17 or 19 is what you'll be changing.
Steps:
1. Remove cabin air filter and box. Also remove the two T30 bolts holding the cabin filter box attached to the firewall for better access to the sensor. See below.
2. 1/4 in ratchet with 5mm short bit
3. Remove the CPS unit from engine - Twist gently and pull
This is the old sensor (new has a grey tip and is bigger). BMW upgraded it but not sure why and people only replace when their sensor is bad. I am replacing the o-ring because I had a leak.
4. Disconnect the CPS sending wire
5. Follow in reverse to install
Recommendations:
1. Allen wrench too hard to use
2. Buy or borrow the 1/4 in ratchet and the 5mm short bit
3. Leave the CPS cable on until the CPS is out of the engine
4. Clean the hole where you took the unit out
5. Add a little clean oil to the new unit and o-ring
6. Add the loctite Blue to the bolt
7. Gentlemen and ladies angle of attack is everything. There is no comfortable positon.
Some recommended changing from the Fillister-head screw to a standard bolt (Case Hardened). 16/32 10 mm head.