Take the circuit board off the hard drive and disconnect the molex port using a side cutter. also, cut 3 pins from the slave/master pin. make sure to leave some metal for soldering so don't cut too close to the plastic.
Use a ribbon cable (originally wanted to use shielded usb cable, but molex only has 4 pins. shield and ground are not supposed to be joined together directly.) and solder +5v and the ground and find a way to route it to the other side of the circuit board. I used the same location where the hard drive reader head is connected. Rip the old ribbon cable out and replace with the new one. I had to drill a hole to route the cable through. The audio cable was done exactly the same but with 3 cables (L+R+gnd). I also used some epoxy at the solder joint to make sure it is strong and won't rip when I pull on it.
Sorry didn't take pics here I forgot. but heres a picture of the final thing to show you an idea. also, the wiring is very simple so I believe there is no need for me to draw a diagram because I didnt even need one for myself. there are usb (normal and micro) pinouts which needs to be noted for correct connection. they can be found here:
Also, I got some info here: http://forum.xda-developers.com/showthread.php?t=820275 to make the phone in 'home dock mode' so everything is in landscape when it is docked. the instructions are on that link.