Skip to content

Flash from an Android Phone

PolyKybd Flasher is a small Android app that updates the keyboard’s firmware from a phone. It uses the same HID update path as PolyKybdHost: you connect the phone to the keyboard’s master half with a USB-C cable, and the master passes the new firmware on to the other half over the split cable. One cable updates both halves.

  • An Android phone with USB-C and Android 8.0 or later. The phone must support USB host mode (USB OTG); almost every current phone does.
  • A USB-C to USB-C cable, or an OTG adapter for your usual keyboard cable.
  • At least 20% phone battery. The phone powers both halves during the update, and some phones cut USB power when their battery runs low. The app refuses to start below 20%.

In measurements the keyboard stayed below 500 mA, the minimum a phone supplies to a USB device, so no external power is needed.

The app is not in an app store. Download polykybd-flasher-v0.1.0.apk from the assets of a PolyKybdHost release (not every release carries one; look for the file under Assets). Open it on the phone to install it. Android asks you to allow installs from the app you open the APK with, usually your browser or file manager.

You can also build it yourself from the android/ folder of PolyKybdHost; its README has the commands.

  1. Connect the keyboard’s master half to the phone.

    Android asks whether to open PolyKybd Flasher. Choose the option to always open it for this USB device (the wording differs between phones) before you confirm. The keyboard disconnects and reconnects while it updates, and with that option set Android does not ask for USB access again each time.

  2. Choose the firmware:

    • Get latest release (signed) downloads the newest firmware release for your keyboard, together with its signature. This is the normal choice.
    • Choose a .bin file (unsigned) takes a .bin from the phone, for example a build of your own. It is sent without a signature, so the keyboard asks you to confirm it (see below).
  3. Leave Apply after it is verified ticked, then tap Flash.

  4. The first time, the app asks how the update should run:

    • Keep this app open: no notification. The screen stays on, and the update can stop if you switch to another app.
    • Run in the background: you can lock the phone or switch apps. Android requires apps working in the background to show a notification, so a progress notification appears until the update ends.

    You can change this later on the main screen.

  5. Wait for the transfer. It takes a few minutes, and the progress bar shows how far it is. The keyboard then installs the new firmware, reboots, and the app shows the version it now runs.

  • The right keyboard. The app refuses a firmware built for the other model, such as a Split72 image on a Split42.
  • An intact download. Both release files must match the size and SHA-256 checksum that GitHub lists for them.
  • A valid image. The file must be an RP2040 firmware image built for PolyKybd; a .uf2 or an unrelated .bin is refused before anything is sent.

The signature check itself is done by the keyboard, not the app. See Flashing the Firmware for how signed and unsigned images differ.

  • “No PolyKybd found”: connect the master half (the one normally plugged into the computer) and check that the cable carries data, not only power.
  • “Phone battery is at …%”: charge the phone first.
  • The keyboard does not come back after applying: hold the BOOT button and flash the .uf2 from a computer, as described under UF2 bootloader drive.