TheKikGen / MPC-LiveXplore

Akai MPC Live/X/Force/One technical explorations and hacks
226 stars 26 forks source link

Cfw builder #29

Open egandro opened 2 years ago

egandro commented 2 years ago

CFW Builder

Required changes:

Put your firmwares into ./firmware e.g.

MPC-2.10.1-Update.img
MPC-2.10.1.83.tkglarp-Update.img

Play with it

$ make firmware-info MPC-2.10.1-Update.img # prints json from the cfw database
$ make firmware-info MPC-2.10.1.83.tkglarp-Update.img # prints error because the sha512 is unknown by the firmwares.json file

$ make build-cfw MPC-2.10.1.83.tkglarp-Update.img # spits error, because the sha512 is not found
$ make build-cfw MPC-2.10.1-Update.img # build custom firmware ... it is create into ./firmwares (having a timestamp +  checksum file

$ make diff-firmwares MPC-2.10.1-Update.img MPC-2.10.1.83.tkglarp-Update.img # create diffs for two firmwares (creates diff file into ./firmwares)
$ make diff-firmwares MPC-2.10.1.83.tkglarp-Update.img MPC-2.10.1-Update.20220211_132655_cfw.img # enter here as 2nd file the file that build-cfw create ... there are no differences expect the stuff I will mention in the next section

What is different?

/etc/ssh/sshd_config
/etc/systemd/system/multi-user.target.wants/sshd.service
/root/.ssh/authorized_keys
/root/cfw-version
/usr/share/Akai/SME0/Arp Patterns/...
/usr/share/Akai/SME0/FX Racks/...

What is better?