Reverse Engineering the iPod Classic's Undocumented Mikey Chip

How I reverse engineered the iPod Classic's undocumented Mikey chip to get Apple's inline earphone remote working in Rockbox, 15 years into the port.