Power cable repair help

The cable had damaged rubber near the top so I fixed it with some electrical tape. It wasn't a good fit though so I tried to take it off and reapply it though when removing the tape the cable came with it. I put tape over the effected area though now only chargers for a few seconds at a certain angle.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0