r/hydrasynth • u/pat0is • Mar 18 '23
Reverse Engineering and Customizing Hydrasynth Firmware
Hi dear Hydrasynth lovers!
This is my first post on this subreddit and I wanted to share with you a firmware unpacker I made based on the Hydrasynth Desktop firmware a few years ago, in the hopes it will lead to custom firmware at some point :) The unpacker probably works with firmware updates for all models but it hasn't been tested yet on more recent ones like the Explorer or the Deluxe.
Hex-editing and successfully flashing a modified 1.5.2 firmware update onto a Hydrasynth Desktop has been possible in the past as can be seen on the photo over at the unpacker's repository on github: https://github.com/patois/A5Pack. Yet, no further experiments have been conducted 'cause I'm afraid of ending up with a brick - I do love my Hydrasynth after all!
So customizing the firmware is definitely a possibility but it'd be vital to know whether there is something like a failsafe mode, which may help recovering from bad patches and could help foster experimentation nontheless.
I can confirm that one of the microprocessors used by the Hydrasynth, the A5, is an ARM processor in little endian mode: the unpacked firmware sections can be loaded into a disassembler such as IDA Pro or Ghidra and their names also disclose a few bits about the microprocessors used by the synth. I believe the "A5" is an ARM Cortex-A5 but I wasn't able to verify yet.
It's also possible to set up a little software-only debug environent based on an emulator like QEMU (https://www.qemu.org/) using gdb etc. but I haven't personally taken it far from there - yet? :)
I'd be so happy to get some of guys interested in RE'ing and modding this great synth :)
BTW: A similar project I've worked on in the past is RETracker, a customization for the Polyend Tracker:
https://github.com/patois/RETracker
edit:
similar/related/helpful posts:
https://www.reddit.com/r/hydrasynth/comments/kcfuks/disassembly_videos/
https://www.soundonsound.com/forum/viewtopic.php?t=72800
edit2:
I just noticed there is "HydrasynthUpdaterForDevelopment.exe", which is installed with the official ASM Hydransynth firmware updater and can be found in the "tools" subfolder of the installation path. Apparently, the tool can be used to flash individual sections/parts that have been extracted using the A5Pack tool. It'll look like this:

edit3:
So who is this tool meant for if ASM voluntarily distributes it to customers? Do they actually endorse firmware hackery? That'd be so great! :)
edit4:
The official Hydrasynth updater contains a warning message about flashing the bootloader. So updating the bootloader is possible, which means it must be stored in flash (as mentioned below, messing this up may lead to a brick).

edit 5:
The official ASM Hydrasynth updater "HydrasynthUpdaterForDevelopment.exe" comes with packing and unpacking functions, which doesn't only make A5Pack obsolete, but it's most probably also the safer solution. Since the official updater also comes with a "pack" function, it can probably be used to build a valid firmware update from individual, previously unpacked components. There's nothing that stands in the way of customizing the Hydrasynth at this point!!
The only thing to keep in mind is not to flash/rewrite the bootloader and we *should* be safe (needless to say, you should not touch this at all if you are not a reverse engineer). Good luck and enjoy :)


edit 6:
Clicking the "upload" menu item opens another dialog that allows individual sections to be dumped from a Hydrasynth device. I just successfully backed up the "A5 code" section from my Hydrasynth :) On to backing up the entire firmware now :)

edit 7: Partial visualisation of the A5 voice section dumped from a HS Desktop device's flash. Each pixel represents a byte, the higher its byte value, the brighter the red color.

edit 8: "HydrasynthUpdaterForDevelopment.exe" is no longer available for download on the official ASM website. There are new firmware update packs available now with the "HydrasynthUpdaterForDevelopment.exe" having silently been removed, probably as a response to this post.
HydrasynthUpdaterForDevelopment.exe 9f0a47d734c765a96c217177fd9857d1a2ab057e5dd958f3d15358078214a428
Official update packages by ASM that still had it are:
Hydrasynth_Deluxe_Firmware_Pack_2.0.0 00b8c2de519f33448c9987b639495fbecdad4f46de711df9220e5145c98a9a29
Hydrasynth_Explorer_Firmware_Pack_2.0.0.zip 1cb90312be687511eb1d3304192efc77f78804a325b08208b1dc143399a48238
Hydrasynth_Keyboard_Firmware_Pack_2.0.0.zip 216d8ac350866235cded3aa7d65ef75779fd2eff7bde0992b1e1bfce41fe5913
Hydrasynth_Desktop_Firmware_Pack_2.0.0.zip 5339b6449bc4077d21d014943742594088ecd32adafa275da39b534e53601fb1
edit 9: Further documentation about internals will no longer be added here but to the A5Pack Wiki at https://github.com/patois/A5Pack/wiki instead - feel free to contribute!
DISCLAIMER: Please use all this information with care and use it only if you know what you're doing. I won't be responsible for any damage you may cause to your unit!
Thank you sincerely ASM for making "HydrasynthUpdaterForDevelopment.exe" available!
2
u/Flux302 ASM Product Specialist Mar 18 '23
I don’t know about the legality, and I’m not here for that. Just here as a regulars gear nut, I’ll just caution any user who is thinking about messing with this…. The hydrasynth code is tightly packed and fragile to changes . You break it , don’t expect warranty coverage for bricked units lol. (That should be obvious.) just being real about it. I am a member of a few gear hack groups, personally knowing what I know… this would be one bit of kit I would not want to futz with the code on. I cringe at the thought honestly.
4
u/mirror372 Mar 18 '23
you already have my respect for being ambitious like that!
1
u/transientsun Mar 18 '23
This is incredibly impressive. With your understanding of the power of the synth, do you think it's actually possible to load your own waveforms or is the hardware being taxed enough that adding that functionality is too big an ask?
1
u/authortitle_uk May 09 '23
Did you ever get any further with this? Would be interesting to be able to customise the arp phrases (which sounds somewhat doable maybe?) and in a dream world, remap the arp knobs to do something else eg control macros 1-4 (much harder I guess!).
I’m a developer with a tiny bit of reverse engineering experience, but I’m out of my depth here! Would love to try and help though
3
u/[deleted] Mar 18 '23
Crazy stuff dude
3
u/FreeRangeEngineer Desktop Mar 18 '23
Nice job on the repacker!
Looks like there is... https://www.reddit.com/r/hydrasynth/comments/11t9cxw/firmware_update_stuck/ - "Be sure to power on while holding arp on+ latch"
For me personally, reverse engineering this stuff is pointless if there's no goal to achieve. If I were doing this, I'd define some goals first that provide tangible benefit for those daring to flash custom firmware. I'm currently not sure what that could be on the hydrasynth.
3
u/mungewell Mar 18 '23
The A5 is also used on some other digital pianos, as well as the M-Audio Accent module.
I spent a while looking at that FW last year, though mainly to process the 'patch' format. The device did not have a way of backing up patches externally, my util lets you burn them into a FW image.
https://github.com/mungewell/Accent-Util
Maybe helpful as a reference point....
2
u/MuTron1 Mar 18 '23
Be aware that ASM staff frequent this forum, and reverse engineering/modifying closed source firmware is legally a grey area
2
u/mungewell Mar 18 '23
I believe that the A5 is a combo processor, CPU + DSP.
You may be able to hack/patch small bits of ARM code/data ... changing DSP code may be difficult.
2
u/Dracoony Mar 25 '23
Awesome, but when can i play Doom on my Explorer? ;)
2
u/mrandish Aug 05 '23
Thanks for digging into this synth and documenting what you found!
2
u/fireking99 Feb 01 '24
Oh I love synth nerd posts - it'll take a while to chew on this one <3
1
u/Initial-Anything1792 Dec 17 '25
I want to dump my firmware before I update it. Can I do that with "HydrasynthUpdaterForDevelopment.exe" ? Can anyone share the zip file containing that with me? (Hydrasynth_Keyboard_Firmware_Pack_2.0.0.zip)
1
u/dreamabyss Mar 19 '23
Most people who own Hydrasynths are probably more interested in making music with them instead of hacking them. I don’t see the point of doing this.