Did you guys try use difference charger? I face the same problem once where the charging mode keep changing to dock mode on and off while charging. After i change it use others charger (spare), now everything is ok.
My theory is that the charger started to malfunction n produce too low or too high voltage which trigger the dock mode..my 2 cents.. ;P correct me if im wrong..
Sent from my GT-N7000 using XDA App
HTC HD2, HTC Desire, HTC DHD, LG O2X, GT-P1000, HTC Sensation, HTC Sensation XE, GT-N7000, GT-N8000, GT-7100