Sunday, June 22, 2008

Laptop Hacking - Just a little more space

Like any geek, I have a ton of old drives. They are mostly used in external cases for backups or to run a VM on to do some work that I don't need on all the time.

The other day, I was digging through a drawer and I came across a 100GB PATA notebook drive that I had replaced in my personal laptop with a 100GB 7200RPM. I pondered the thought of putting it into an external case so I could do some Ubuntu package deployment testing when I realized it would be really very cool if I could make the drive fit IN the laptop.

So, I pulled the notebook apart and began walking through hacking my spare drive into it.

Here's the laptop before I did any work to it, as you can see it's just a run of the mill Compaq notebook. Single core AMD 3500 socket 939 w/ 2GB of DDR memory and a 100GB 7200 PATA drive. Once completed this laptop will have 200GB of total storage; 100GB 7200 RPM connected to the primary master, and 100GB 4200RPM connected via USB.

I kept track of each screw by storing each type in a small pile which I kept together with scotch tape. I labeled each pile to whatever the screws belonged to like case, display, keyboard, etc. This allowed me to completely disassemble and reassemble the laptop very quickly without error. I was sure to use the utmost caution whenever I was connecting and disconnecting double checking everything before continuing. Once I had the laptop open, I had to select an interface to connect to. The options were: Primary Slave, Secondary Slave, and USB. I ruled the first two out pretty quickly. While they weren't impossible, they involved significantly more effort as I would have had to de-solder the connections (44 pin header on the primary, and a 50 pin header on the secondary) and solder 44 individual connections in addition for finding a way to re-route the cables so the connections still worked for their native devices. Using the USB bus, I was able to drop the disk inline with the USB port by soldering connections directly to the motherboard. I added a small switch to I could turn the drive off when it wasn't in use to save power. Additionally, I can also use the USB port for other devices while the second hard drive is powered off. On the motherboard I soldered a total of 4 connections to USB (Pinout: 1: VCC, 2: Data+, 3: Data -, 4: Ground). I ran the connection from pin 1 (VCC) to a single pole single throw (SPST) mini-toggle switch which I mounted in an open area on the opposite side of the laptop from the hard drive and then ran the connection back to the USB input on the 2.5" drive adapter. I then connected the rest of the data and ground connections using the bundled USB cable without it's connectors because it's USB 2.0.

In order to make the drive fit properly, I needed to cut some of the metal on the right side of the laptop that protruded from the Kensington lock. Using a dremel and metal cutting tip I sliced about 1/2 of the two small sections away which allows me to retain complete functionality of the lock and doubles as a mount for the drive itself. Additionally, I shaved some of the plastic from an unused screw mount which was probably there from supporting an earlier model (there was nothing connected to it). Once I had the metal and plastic trimmed, I mounted the hard drive into the case and ensured that my newly added cables were not in the way of the DVD sled. Once I had the drive in place, I used a non-conductive heat shield from an old power supply to protect the drive electronics from the top of the DVD (note: the drive only looks upside down, the keyboard is actually on the other side so when complete it is mounted upright). I then began to re-assemble the notebook without bolting anything down to ensure that the computer still booted, and that it did see the drive (success woot!). Once tested, I completely re-assembled the notebook and was pleased to see that everything fit perfectly, and worked. If it wasn't for the toggle switch, you wouldn't know that there were two hard drives hacked into the laptop, as it looks just like it did before I started.

UPDATE: I found a great little rocker switch to replace the toggle, and I've installed it this morning. (June 28). Pics below.






25 comments:

aquatsr said...

Interesting. Now I'm debating whether or not to buy a 250 GB HDD and port over my OS and files, or just do this with another 100 GB drive. Choices =)

Nick said...

Hey man that is so rad. I'm trying to do the same thing with my 4g eee pc. The internal memory is only 4 gigs, but i use my ipod video as an external. I want to try to wit laptop hardrive in it but im a little money short to buy one rigth now lol. you got so many send one over. jk.

aXit said...

Great work, love the idea. Why such a big switch though? Surely a small slide switch would be sufficient.

James said...

what you could also do is just get a 2nd hard drive caddy which replaces your cd drive --there's a bunch out there for many different laptop models. I've had one for my dell xps m1210 and latitude d630 and they work great (albiet, a little slow) -- but they have caddies for sata and ide:

ebay - they're available for many laptop models (and as long as you have a standard cd drive, I think you could just replace your bezel from one that matches your brand)

Anonymous said...

Hey, I've been toying with the idea too! Only I was going to try to install a Solid State Drive. The only thing standing in my way is the money to buy one! Thanks for this idea. I'm going to install an extra 160GB that I have and not wait. Besides, if I spend the huge amount of money that a SSD costs now, I'll kick myself later when the prices come down!

Anonymous said...

That is a stupid idea. Why hack up a good computer when you can just clone the HDD and get a bigger drive, say a 320 gb from newegg?

Anonymous said...

too hard for me :) a video will be appreciated if ur planning to do it again

shamess said...

I'm looking to add another hard drive to my laptop actually, so I found this at the best time. One thing though; is there even any room left in my laptop? I was shocked to see that huge gaping space where you put your drive.

There are parts in my laptop I'd rather not break my way into, just in case I hit something (at the moment, losing my laptop would be like ... losing an extremely close friend who I rely on for everything). Maybe I'll... take an xray for something...

Chris said...

Nice hack, got me wondering if I could find a little extra space in my MacBook...

Adam Davenport said...

to the MacBook guy, unless you can bend time and space, don't attempt this on a mac laptop... there is NO extra room in there! Don't believe me, google apple service manuals. Plus, there's a lot of stuff you can easily screw up in a Mac. Do you know why apple makes the smallest laptops in the world, Apple engineers use space, they don't make space.

Anonymous said...

What Kind of laptop is this?
Model Please

THEY CALL ME FEWT said...

It's a Compaq R4125US which is in the R4000 series.

http://h10025.www1.hp.com/ewfrf/wc/product?product=500272&lc=en&cc=us&dlc=en&lang=en&cc=us

Matt said...

dude nice hack!!!! I'm guna try this on my mac book air!!

Anonymous said...

I would probably go for a flat rocker toggle to avoid damage while carrying in case.

paresh said...

interesting, nice information.

Sam said...

Pictures of the soldering you did would be appriciated, if its not to much trouble. I stumbled here, will be giving a thumbs up. Luckily I am looking to use two devices from a single motherboard usb socket also. I was looking into using a hub, but cant find any internal ones, I like your idea of a switch, and would use one to toggle between the external usb ports and the card reader which wil be sharing the motherboard socket. Thanks for the article and any further pictures. Great work.

maximus said...

i didnt even know there was THAT much extra space in a laptop!!!
but how could you risk soldering direct to the motherboard...dude,u must be good!!!
my old ibm T22 is dying, so i might go about playing with it soon too!!!

catlvr said...

This Idea Is STUPID!!!!!

Anonymous said...

some people are just asswipes and say anything positive or bother giving logical details as to why something is so dumb,stupid or whatever. nothing wrong with experimenting or wanting extra storage. :D

Anonymous said...

some people are just asswipes and can't say anything positive or bother giving logical details as to why something is so dumb,stupid or whatever. nothing wrong with experimenting or wanting extra storage. :D

zimba said...

Love it idea dude.

Hey I got Sony PCG-K64, and DVD Rom just stopped reading discs last month. Whether there's a disc in the drive or not, the explorer opens up a blank window when i double click on the drive icon to open it.

Is it the drive, or some problem with win software? How do i do a clean install in this laptop without a working drive?

PS: There's no floppy drive on this comp.

Martina said...

I liked this laptop hacking .

Laptop Freak said...

In a throw-away society I am really6 pleased to see this innovative upgrade. The bottom line is that it cost pretty much zilch to double the storage space on this laptop. I love it!

Nick said...

Any worries about the extra heat with it switched on?

THEY CALL ME FEWT said...

Naah, I run it for hours at a time and there is minimal extra heat. It's on the opposite side of the notebook from the CPU and heat sinks so it's not a problem. If I leave it on for 5 or 6 hours you can feel a little heat increase on the keyboard wrist rest, but it's negligible.