The car:
2005 B6 A4 Quattro 1.8T Avant w/ 01V transmission (ZF 5HP19FLA) 155K miles
Two months ago it started occasionally jolting into "limp mode" (PRNDS display all red; only 4th gear available; very harsh slamming shifts). A few days ago this resolved as the car going into "limp mode" every time I shift into reverse. Shift into Park, turn engine off, restart, shift straight into D, then it shifted fine til the next time I used R. CEL came ON for the first time. Definitely seemed like a flaky electrical problem.
I don't have VAG-COM / VCDS but contemplating getting it; no way at present to pull TCU codes, HOWEVER: the symptoms just described are the definitive pattern for code P0706, i.e. end-of-life for the transmission "neutral safety switch," "range sensor," etc. (VAG part #01V-919-821B), so I'm just gonna run with that, as lots of folks do under my circumstances, since the Chinese clone switch is only 37 bucks. Intermotor NS-349 switches can be had for 150-ish; to justify paying that much or more I would need the code, but I can't and won't so I don't

Location of switch is on left side of tranny mid-way on pan and low down close to it, just aft of front axle.
multi-function range switch.jpg
switch is marked 01.400 in this diagram; ZF calls it a "position switch."
5hp19fla left side F125 placement.jpg
The switch is seen just to the right of the left front axle output flange.
What's not shown is how inaccessible this part is in the assembled car. it is literally INSIDE the left transmission mount, which has to be completely removed to gain access to the switch.
This YouTube playlist is the closest thing to a "procedure" I could find.
Procedure:
- raise front of car enough to get under tranny area; support on ramps and/or jack stands
- remove left front wheel
- support transmission left side with a jack under the pan using a wooden board as a cushion
NOTE: most of the socket-head fasteners in the next steps were factory installed with BLUE loctite, which is why they're such a-holes to break loose. Torque needed to free them is far higher than what should be used to put them back. Straight hex bits ONLY should be used for removal, since the force required may snap tips off any brand of ball-tips. Ball-tips are great, however, for putting them back. - six-cylinder cars ONLY: remove two heat shields from transmission left side: 1) a stamped, dimpled aluminum heat shield over the pyramidal left transmission mount (one piece, 3 bolts); 2) a die-cast half-cylinder heat shield over the inboard joint of the left drive axle (one piece, 3 bolts).
- remove the large vertical hex bolt and nut (16mm hex, 15mm nut) securing left side transmission mount to its frame bushing, then raise the transmission slightly to relieve the load on mount and bushing
- remove two 13mm hex bolts securing bushing to frame; remove bushing
- remove three 8mm socket-head bolts securing pyramidal transmission mount to left side of transmission (this is where it gets FUN!); if working on a 1.8T 4-cylinder car, the top bolt can be attacked from ABOVE by reaching under the coolant reservoir, which is much easier-- albeit your arm needs to be four feet long; with all bolts removed, remove transmission mount; F125 switch and its electrical connector are now fully accessible
- remove two T27 torx bolts securing the F125 switch to the tranny and pull the switch off the shaft
- remove the 6mm socket-head bolt securing the electrical connector support bracket to left side of transmission; disengage F125 electrical D-connector; F125 switch is now free of car; Thoroughly clean TCU side of connector with electrical contact cleaner and inspect for damage, corrosion, etc.; migrate support bracket from old switch to same position on new switch
- Place new F125 switch on shaft, making sure to index "flat" of shaft with that of switch
- Reverse all above steps; apply new BLUE loctite to all fasteners and torque moderately (all thread into aluminum); I could not find torque specs
Bookmarks