Step 1: Slice Off the Old Sheath
Slice away the old rubber sheath. Underneath there is the metal plug, and it should have 2 wires soldered to it. One is the center of the wire from the charger, and the other is a short one that connects to the metal strands from the outer part of the charger. Try to remember which wire is connect to which part.
Once the rubber plug is removed cut the plug off the cord, cutting off the damaged part of the cord.
Next cut the sheath from around the magnet, and the magnet should slide off the cord.
You should be left with just a plain cord coming out of the transformer box.
Hold the frayed ends of the solder with the pliers and heat the solder attaching them to the plug to pull them off. A vise or an extra pair of hands helps with all the soldering.
I have no pictures for this step.
Step 2: Slide Things on for Future Use
Step 3: Figure Out Which Wire Goes Where
You can use a multimeter to insure you have the wires correct.
Step 4: Solder the Connections
Slide the new tubing onto the wire, and solder them in. On my plug the middle wire went to the middle connector, and the outer wire went to the outside of the plug.
The third picture below shows the tubes in place so the two wires can short out.
Step 5: Test Plug in Laptop
Below are pictures of it bare, then the tube lined up where I want it, then the first tube shrunk in place.
Step 6: Build the Connector
Below is my connector with all 5 large tubes shrunk on. It feels pretty solid.
Step 7: Install the Magnet
I slid it to about the location in was before and zip tied it tightly in place with the two zip ties. Cut the tails off the zip ties.
Instructables user "winston_smith"stated this is called a toroid, and said it is used to stop power spikes. "getbusy21" posted that it is a ferrite bead, used to stop high frequencies. He also provided the link below, explaining that it was likely an FCC requirement that doesn't change performance.
Step 8: Finished!
It looked way better with black tubing, but I didn't have any more. It made the computer run so I could right this!