It took a while, but now I have a micro USB socket with 5 wires soldered to the microscopically small connectors.
To recapitulate, I had measured a whole range of different car chargers with two different charging cables, one from HTC, which came with the original HTC charger and is curled, and one that I made myself by cutting open the cable and shorting the two data lines, as described in:
How to make a car charging cable for HTC smartphones | Windows Problem Solver
The result was that all combinations of chargers and cables led to a "Charging (AC)" indication in my Google Nexus One phone. However, with active Google Navigation, the original HTC cable led to a rising battery charge while navigating, while my self-made cable led to a slowly sinking battery charge. This happened consistently with all chargers, HTC or other, in several experiments. This means that the difference must be in the cable.
Measuring the cables, between the data lines I find 0.3 Ohm in the HTC cable and 2.6 Ohm in mine. Apparently the HTC cable's data line shortcut is in or very near the plug, while in mine it is half way down the cable, which explains the difference.
Since the resistance is very low in both cases and way below the prescribed limit of 200 Ohm, I am sure that this cannot explain the difference in behavior.
The extra contact in the micro USB cable, between ground and the two data lines, which I thought could be the culprit, is not connected to anything, neither in the HTC cable nor in mine, so this is also out of the question.
Since the data lines in my self-made cable go through to the USB A plug, while the ones in the HTC cable may not, I also measured whether there is any measurable resistance between the data lines and the power lines when a charger is connected, but I always measured infinite resistance. So this also seems to be out of the question.
In other words, these cables are essentially not different.
I cannot easily explain the results of my measurements. The cables are no different, the chargers all behave equally.
One highly unlikely explanation I can come up with is that the phone arbitrarily pulls a little more or a little less current, and I was extremely unlucky that this coincided with my cable changes.
Another equally unlikely explanation is that there is something in the HTC cable that I cannot measure, but the phone still detects. I have no clue what that could be.
What else could I measure? Any ideas, anyone? I would never have thought that this would happen. I was sure I would discover a clearly measurable electric difference between the cables. Alas, reality is always good for a surprise.
I will repeat my experiments with charging my phone while navigating a few more times, but I expect nothing new now.
If you have seen the same phenomenon, namely the phone showing "Charging (AC)", yet the battery level going down, please report here.
All ideas are welcome.