Electrical – Power-only USB connection to charge the phone – as simple as cutting the data lines

usb

In a pinch I bought a $3 "phone recharger" from the bin shown below, but now I am too scared to connect it directly to my phone, which costs orders of magnitude more. While a poor design could present undesirable qualities to the 5V power output, I have no idea if there's something inside connected to the data lines – part of the 21st century USB angst that has many people saying "not in my USB port you don't". See this security SE answer for some background on USB angst.

I'll check my "cable museum" drawer for a power-only USB link to connect it to my phone's power without connecting to the data lines. If I can't find one I am planning to just carefully cut into a USB cable and sever the two data lines which I am assuming will be a twisted pair, leaving the black and red power lines, and do whatever seems to be necessary to temporarily repair the mechanical and shielding integrity.

Am I missing something important here, or should this be as simple as I think?

enter image description here

enter image description here

above: From here.

enter image description here

above: From a USB 2.0 specification (update) at USB.org.

enter image description here

above: Image borrowed from this question.

Best Answer

The data lines should be shorted together to identify the charger as a dedicated charging port (DCP). Some phone manufacturers, however, have their own non-standard ways of identifying charging ports.

Now, the phone charger may not like being treated like a DCP, but alternatives are it is a standard downstream port (SDP), which is slow and allows data transfer, or a charging downstream port (CDP), which is fast and also allows data transfer, or something non-standard. Some devices can change how they appear. Your phone may refuse to change if it does not like how the USB port is configured.

Definitions for DCP, SDP, CDP can all be found in Maxim's Tutorial 4803, The Basics of USB Battery Charging: A Survival Guide.

USB charing ports from https://www.maximintegrated.com/en/app-notes/index.mvp/id/5801

Source: https://www.maximintegrated.com/en/app-notes/index.mvp/id/5801