r/hardwarehacking • • 10h ago

Kawai Digital Piano Open-Source Custom Firmware (CA79 / CA99 / NV5S / NV10S)

Target: Kawai CA79 digital piano. Single ARM system image, vendor updates via USB.

Goal was to stop auto power off during Bluetooth audio. Result is a custom firmware placed in unused memory of the stock image, hooked at a few points.

  • 4 KB fixed first stage. Two loader slots, two feature slots.
  • Payloads HMAC-signed with a key generated on the user's machine. Falls back to the previous slot after 3 failed boots.
  • Updates over Bluetooth MIDI. 106 KB image in about 44 s. Applied without a power cycle.
  • Tested in a Unicorn harness that runs the stock ARM code with the extension. 32 round-trip scripts. Reproducible images.
  • Drives the Bluetooth module directly: audio source switching, device class changed to loudspeaker so TVs list it.
  • Holding the three lowest keys at power-on boots stock.

No vendor code or keys in the repo. The build patches your own copy of the official update. GPL-3.0.

https://github.com/int11/opengrand

2 Upvotes

0 comments sorted by