Just finished up replacing the rear brake pads. The only thing different is dealing with the electric parking brake.
I had previously checked the rotor thickness and it was greater than the 18.4 mm minimum thickness that was stamped on the rotor.
The wear sensor was just starting to wear and was still serviceable. No need to replace.
The first thing I did was unplug the parking brake actuator cable. Next, I removed the two T30 bolts that attach the actuator to the back of the caliper. The actuator is easily removed. I've attached a couple of pics of the business side of the actuator. The shaft that extends into the caliper is a multi tooth gear type design. I didn't have a tool that matched this but a 7mm allen wrench fits well enough.
After removing the actuator, I used a 7mm allen wrench to retract the internal parking brake spindle. Just insert the allen wrench into the back side of the caliper and turn clockwise until it stops. That means you have internally retracted the mechanism so that you can then compress the caliper piston. Very easy to compress with a small C clamp.
After that, replacing the pads is the usual process.
The last thing I did was replace the actuator. Make sure it fits snugly. You have to turn it slightly one way or another to get the gear inserted. Not very hard at all. Bolt it on and plug it in.
Pump the brakes, start the X3, and then set the parking brake. You will hear the motors crank for a few seconds as they reposition themselves.
I reset the dashboard reminder.
Everything went smoothly. If you've done brakes before, you should have no problem.