Is the shield in a USB cable the same ground as the black wire, or is it actually a separate ground? Basically, if I fix the shield with foil is it safe to just connect it to the black cable?
Yes, the shield is just connected to ground.
OP, I would do a little research first. Honestly don't like questioning mfenn, but a few quick search results suggest it's the host which grounds the shield (i.e. inside the computer, not inside the cable). Don't know if it makes a diff tho...
Yes, the shield is just connected to ground.
You sure? I just tested a couple cables and the shield is isolated from the 4 wires. Once you plug it in, the shield is connected to chassis ground, but in the cable itself it should not be connected to GND.
OP, I would do a little research first. Honestly don't like questioning mfenn, but a few quick search results suggest it's the host which grounds the shield (i.e. inside the computer, not inside the cable). Don't know if it makes a diff tho...