Luckily not everything is unhackable. Sometimes you're lucky and find a company who is pro-hack-their-stuff who release everything (echematics, firmware source code). Heres something myself and my brother recently completed:
http://www.djtechtools.com/forum/showthread.php?t=28014
Source code: https://github.com/dublindan/Midifighter