The EBC EFA165 is a rear wear lead for the 2014-and-later BMW 328d 2.0L TD (F30). It supplies the electronic pad wear signal that the car's computer reads, so the rear brake warning on the dash tracks the pads you actually have installed. Replacing the lead at each pad change is the practical choice, because a worn or damaged lead can produce false warnings or a warning that never clears.
Buying a dedicated EBC lead makes more sense than reusing the old one or grabbing an unbranded sensor with no known connector or wire length. Matching the original part's connector and routing keeps the job stock-like and avoids a warning light you cannot reset. Confirm that your car matches the 328d 2.0L TD application before ordering, since the lead has to plug into the rear wiring on your specific build.
Owners on user forums describe the rear job as a pad-and-sensor swap: pull the old lead from the inner pad, press the new one in with its dimple facing the disc, clip the wire back into its metal retainer on the strut, and coat the back of the pads with copper grease. Searchers looking for a BMW F30 328d rear pad wear sensor, a 2.0L TD rear wear indicator replacement, or EBC EFA165 install details will find this page's notes useful.
Owners on user forums report that the small dimple on the sensor should face the disc, on the side of the pad that carries the friction material.
Per user forum guides, after the sensor is seated in the pad, the cable should be clipped back into its metal retainer on the strut so it stays clear of the moving suspension and wheel components.
Owners on user forums rate this as a moderate DIY task that is mostly about the caliper and pads rather than the sensor itself. Plan on a punch or modified screwdriver, a hammer, a wire brush for the pad pin holes, and copper grease. The pad retaining pins are often packed tight with brake dust and need a firm tap to drive out, so clean them before reinstalling. Forum users also warn against levering the old sensor out with pliers, which can damage it, and against losing the tiny spring that holds the sensor in the pad.