Hacking the Microsoft Sculpt keyboard
This design is more secure but less convenient than, say, Bluetooth pairing. The risk of hackers intercepting and successfully decoding my keypresses wirelessly is effectively zero. Nice! Unfortunately, the keyboard, keypad and mouse are all utterly dependent on the corresponding USB dongle, creating an availability issue. Being RF-based, RF jamming would be another availability threat. Furthermore, I'm still vulnerable to upstream and downstream hacking - upstream meaning someone coercing or fooling me into particular activities such as typing-in specific character sequences (perhaps cribs for cryptanalysis), and downstream including phishers, keyloggers and other malware with access to the decrypted key codes etc.
So yesterday, after many, many happy hours of use, my Sculpt's unreliable Ctrl key and worn-out wrist rest finally got to me. I found another good-as-new Sculpt keyboard in the junkpile, but it was missing its critical USB dongle. The solution was to open up both keyboards and swap the coded transmitter from the old to the new keyboard - a simple 20 minute hardware hack.
In case I ever need to do it again, or for anyone else in the same situation, here are the detailed instructions:
- Assemble the tools required: a small cross-head screwdriver; a stainless steel dental pick or small flat-head screwdriver; a plastic spudger or larger flat-head screwdriver (optional); a strong magnet (optional).
- Start with the old keyboard. Peel off the 5 rubber feet under the keyboard, revealing 5 small screws. Set the feet aside to reapply later.
- Remove all 5 screws. Note: the 3 screws under the wrist rest are slightly longer than the others, so keep them separate.
- Carefully ease the wrist rest away from the base. It is a 'snap-fit' piece. I found I could lever it off using my thumbs at the left or right sides, then gradually work around the edge releasing it. You may prefer to use the spudger. It will flex a fair bit but it is surprisingly strong.
- Under the wrist rest are another 16 little screws. Remove them all, including the two recessed screws near the hump/gap in the middle of the keyboard. Use the magnet to lift out the screws if that helps.
- Separate the base of the keyboard from the key unit by working right around the edge with the spudger, gently levering it apart. Like the wrist rest, it is a snap-fit and stronger than it looks.
- As the two parts separate, gently pull the battery connector cable from the circuit board inside: it has a small white push-fit connector.
- Remove the two screws from the circuit board.
- Using the dental pick, ease the black plastic strip aside from the long white connector to release the ribbon cable pinched underneath.
- Remove the circuit board.
- Dismantle the newer keyboard in the same way.
- Replace the circuit board from the new keyboard with the circuit board from the old one.
- Replace the ribbon cable into the connector, then ease the black plastic strip back into place to hold it firm.
- Replace the two screws holding the circuit board.
- Put the two parts of the keyboard together, connecting the battery cable to the circuit board as you do. The white power plug is keyed and should only go in one way around as shown here, with the black wire closest to the black IC:
- Before proceeding, feel free to check that the new keyboard works with the original USB dongle.
- Complete the reassembly by snapping the two parts of the keyboard back together all the way around the edge.
- Reinstall the 16 screws from under the wrist rest.
- Snap the wrist rest back into place, checking that it is fully home all the way around.
- Replace the 5 screws under the feet: remember those 3 longer ones under the wrist rest.
- Replace the feet. If the glue isn't very sticky, apply fresh glue e.g. UHU clear adhesive, to avoid the keyboard becoming lopsided.
- Optionally, recover and save the screws, keycaps, plastic spring units, wrist rest and rubber feet from the old keyboard to repair/replace them on the new keyboard as they wear out (see below). Oh and those silver discs embedded in the black pastic base are strong magnets to hold the keyboard ramp in place: if you choose to recover them for other projects, you will need tools to break apart the dark grey ABS 'engineering plastic', knowing that it can fracture into sharp shards. Take care!