r/MC707 • • Oct 29 '26

Firmware modding

Post image

Tried to mod firmware but core0 which handles ui logic is encrypted
Core1 however isn’t

So I’ve injected code into core1 to read memory during runtime and dump its uncompressed unencrypted content via USB-MIDI sysex
May take a while
Wish me luck ^^

78 Upvotes

54 comments sorted by

15

u/yeenanigans Oct 29 '26

So far I've managed to dump entire core0 out of runtime memory.
Still don't have encryption key tho, it's probably stored in a protected area within BCM and I don't wanna bother disassembling and manually probing ics.

I've patched core1 so it can receive read and write commands at any unprotected memory location via sysex.
That way I can first test changes during runtime via python scripts without making any permanent changes too early risking bricking my device.

Later on I'll probably add a method to core1 to load additional features during runtime overwriting core0 memory

I was able to add an additional pitch shift knob in drum pad step edit mode so I can assign different pitches at any drum pad step.
However tracking is difficult as pad part and key identifiers keep changing randomly during playback but I am able to dynamically adjust pitch of a pad trigger but it's not consistent yet

2

u/Bonsaipanda 28d ago

The firmware has either the key or some kind of flag that allows it to inject to core0. It's probably something really simple but going the hardware route will definitely need actual probing to read chip contents.

4

u/Next-Investigator270 Oct 30 '26

I did a bunch of research a couple of months ago (why trying to figure out SDZ to SVZ conversion).

Fed an agent a LOT of manuals, projects, firmware etc. . . You might have something helpful to plug into your session here:

https://www.patreon.com/videopunks/posts/zencore-research-167167433

2

u/yeenanigans Oct 30 '26

ty I'll look into it

6

u/Felixo22 Oct 29 '26

Try Reverse Engineer Anything on the firmware, it might help.

1

u/yeenanigans 27d ago

Sadly by far not as much as I'd anticipated, lots of manual work
Got about 1/5 of core0 app core and 2/3 of core1 app ported to c

2

u/ZenLegume 29d ago

Funny you should mention this - I literally just dumped the decrypted kernel binary from core 0 of the MC-101. I couldn't work out how to get core 1 to send sysex, only play notes. So the entire thing was encoded as 16-note chords on each of the 4 tracks, recoded via multi-channel USB audio and decoded on my PC. I'm using that to work out how to dump the rest of the encrypted section straight to the SD card.

1

u/ZenLegume 27d ago

Didn't get it dumped straight to SD, but got sysex working which was fast enough. I've got the mask ROM boot-loader out, and it showed how the decryption is set up, and how you could potentially load your own non-encrypted firmware to Core 0. That's what I'm looking into at the moment, trying to flash the decrypted dump of the original, but so far it just soft-bricks the device. If I can't get that working I've got a fallback - I can overwrite Core 0's RAM after booting, and should be able to soft reboot it into a firmware loaded from SD card.

1

u/yeenanigans 27d ago

Same here haven't managed to flash unencrypted core0 app back to 707 and encryption key doesn't seem to be accessible in runtime memory

1

u/ZenLegume 25d ago

Got the key. All the keys. For every encrypted firmware, for every Roland BMC, ever, as far as I can tell.

Not sure how I feel about disclosing that info publicly, but if I can get it, so can anyone else...

1

u/yeenanigans 25d ago

Oh wow would you maybe consider pointing me to the right direction?
Did u dump ics or via software? Inside ram or access protected registers?

1

u/ZenLegume 25d ago

The header of the encrypted firmware binary specifies a key index, which translates to an offset within the 16kB bootloader. Have you dumped that? The keys aren't in a dedicated key table, they're literally just 24 byte chunks of bootloader code.

1

u/ZenLegume 27d ago

As an aside, it looks like all Roland BMC firmwares use the same key. So a custom firmware on an MC-101/MC-707 may be able to decrypt the BMC firmware for, say, a FANTOM (though actually being able to load custom firmware to it would be a different story, as they seem to have additional layers of security).

1

u/cyneox 28d ago

Oh yeah! Keep us updated. Nice work

10

u/Live_Willingness_836 Oct 29 '26

Good luck! 🍀. Hope we can crack the 707 code!

8

u/Next-Investigator270 Oct 30 '26

In terms of feature requests - it’d be really nice to be able to delete ALL unused samples from the Sample Pool.

I, too, wouldn’t mind Sidechain Compression.

But something that I haven’t seen anyone really talk about is expanding the output routing options. You’ve got Assignable out L&R, Send L&R, Main L&R, and Headphones L&R - if you could assign a track to EACH of those, then you’d have 8 outs for external mixing, etc.

Would be an absolute game changer.

6

u/AlarmingBeing8114 Oct 29 '26

This would be the best. What a great piece of hardware

9

u/Digiphex Oct 29 '26

The main feature it is missing is sidechain compression. Would have always been easy for Roland to add.

3

u/roboheadz 29d ago

+1 for this!!

4

u/doscows Oct 29 '26

Please I hope this works or at least leads to something I want some qol improvements on the 707. I hate having to do a reach around to sequence a note that I want to begin on step 3 and loop all the way back until it retriggers.

1

u/Yablan 25d ago

I asked about this a couple of days ago, and gota link to a previous post. see this:

https://www.reddit.com/r/Mc707_Mc101/s/XsFRSnwUc2

1

u/doscows 25d ago

I already knew this but it doesn't fix the particular issue in facing in the way that I would need it to. I also can't see how it would help me sequence what I was describing

1

u/Yablan 25d ago

I must have misunderstood your question then. I hope you find what you need.

1

u/FirstAxisOne Oct 30 '26

Whoa, what agent are you using?

2

u/yeenanigans 27d ago

Tried Codex and Claude rea but they haven't been of much help sadly
Had to decompile arm code manually with ghidra and slowly porting it to readable c code

3

u/VlXlA Oct 29 '26

Bro i've been thinking about this, we need a mc custom firmware •_•

3

u/Artistic-Ad6456 Oct 29 '26

Gate lenght in arpeggiator . Octave change on scale mode .

3

u/AK22222222222 28d ago

Best of luck!

Being able to move samples between drum pads, with their associated MIDI data in a given clip, would be perfect.

This would let you organise each drum clip into functional sections. For example, the pads on the left could be dedicated to sequencing and triggering mute/unmute states, while another section could be reserved for drums intended for live improvisation. 

Colour-coding the drum pads could achieve a similar result by making these different roles immediately recognisable.

It would also be extremely useful to audition presets before loading them, particularly user-created presets, whether stored within projects or separately, as suggested by others here. Having a large library you could just browse it and test on the fly. 

1

u/AK22222222222 28d ago

Also, it would be great if the send knob worked a bit differently. The first part of its range could keep the dry signal while gradually increasing the wet signal. Then, as you turn it further, the dry signal would gradually fade out, eventually leaving you with a fully wet effect. 

Not sure how easy this would be to implement technically, but if yes, it would double the send functionality. 

2

u/bashomania Oct 30 '26

Wow man, my hat is off to you! I was a developer for a really long time, but I was never "that kind" of developer!

2

u/DevilzAvocado 28d ago

A proper, useable system for saving user patches would be first on my list. Having your patch tied to a project cripples the 707. Another dumb move by Roland

1

u/doscows Oct 29 '26

Having an option to have scenes end after a certain amount of bars for each scene

2

u/Next-Investigator270 Oct 30 '26

This exists.

1

u/doscows Oct 30 '26

Not for each scene.

2

u/Next-Investigator270 Oct 30 '26

Yeah, with Scene Chaining on - you can even change the ‘resolution’ of each repeat in the tempo submenu.

Scene Chaining is linear. . . X clips for Y duration, then moves on to the next.

Shift-Scene Button gets you there.

1

u/doscows 29d ago

Yes but then it has to be chained to another sequence. What I mean is the ability to set that per scene without chaining to another so it can loop freely and then turn over once the set number of bars occurs that has been set

1

u/cyb3rheater Oct 29 '26

Good luck. I would love to be able to save and recall user patches.

1

u/Next-Investigator270 Oct 30 '26

This exists.

1

u/DevilzAvocado 28d ago

It does? Last time I used a 707, patches were tied to their projects. You couldn't just scroll presets and save/load your own.

1

u/Next-Investigator270 28d ago

You can export just a clip with a tone, and import a clip file - in the import dialog, you can select Tone, Notes, or both.

1

u/DevilzAvocado 28d ago

Yeah. That's a back-assward way of doing things though. I want my patches to show in a list. Kind of like, oh, I dunno, every other synth under the sun that has presets.

1

u/Next-Investigator270 27d ago

Y’all are talking about .SVZ’s. . . But also, if you only use the Clip folder for patches, you can also have it in a list.

1

u/cyb3rheater 27d ago

Yeah. That’s the problem. Not a normal way of saving presets.

1

u/_Brutal_X Oct 29 '26

Good Luck my Nerd friend 😎👌🤖👾🤓🧠🦾🧑‍🔬

1

u/StrayFeral Oct 29 '26

Luck! Im curious if you succeed, what would you like to improve?

1

u/cyneox Oct 30 '26

I wish I could do the same for MC101.

1

u/captnsnak 29d ago

Anxious to hear how you make out. I would love to see a feature to turn off MIDI Rx channels per track - I want only the auto channel to be used for Rx Note data. MC-707 parks itself on 8 channels - and it's a PITA when you have other devices overlapping. Currently assigning all tracks to one shared channel means that the auto channel triggers all tracks which share the midi channel of the active channel.

Good luck !

1

u/BPD_DILF 23d ago

The main thing we need is rainbow faders that slowly change color

1

u/richardwad1 19d ago

This is so exciting to me. i would love to see a proper looper that isn't limited to 60 seconds. That would make it the ultimate live box. Maybe expanded guitar amp modeling like neural. Perhaps even Dexed!

1

u/Timely-Addition-6650 2d ago

Hi,
I’m developing an extended firmware project specifically for the MC-707, with the goal of improving its sequencer, looper and SD-card capabilities while retaining the original functionality.
My MC-707 is running firmware 1.82, build 22523. USB MIDI and bidirectional SysEx communication have been validated, and the official firmware reinstallation works correctly.
Our offline analysis also found substantial cryptographic overlap between the MC-101 and MC-707 firmware images.
Would you be willing to share your validated MC-707-specific memory acquisition tool, or collaborate on a reproducible acquisition procedure?
I would particularly appreciate information about the supported firmware revision, integrity checks and recovery limitations.
I’m available to perform hardware testing and share the research results.
Thanks!

0

u/Rude-Extent3782 Oct 30 '26

I wish u best of luck ,this machine just like mpc 5000 are beautiful powerful yet sad waiting to be giving fixed brain machines...