Flashing & setup¶
Use this page to put the custom firmware on a YUNZII AL80 and control it.
TL;DR
- Download QMK Toolbox and the firmware
.binfrom Releases. - To enter the bootloader, hold ESC and connect the USB cable.
- Flash the
.binin QMK Toolbox. Then control the screen/lighting from al80-studio in Chrome. - To undo all of it, flash the stock
RIPPLE.binback with the same procedure.
The page starts from zero, so you don't need any QMK experience.
â ī¸ Before you start¶
- This procedure replaces the stock firmware with a custom vial-qmk build. It is reversible (the stock
.binis in the release assets). But you flash at your own risk. - You keep all keys, the LCD, the RGB, and the side bar. You also get these features:
- Vial keymapping.
- VialRGB (including reactive effects).
- An independently-coloured side bar.
- A working per-layer knob (volume / RGB brightness / RGB hue / media by layer).
- Instant caps/num-lock LCD icons.
- Battery telemetry.
- Full LCD control from the browser.
- The bootloader is sticky. ESC + plug always gets you back to a flashable state. Thus a bad flash is not a brick.
đĻ What you need¶
- A YUNZII AL80 keyboard and its USB cable.
- QMK Toolbox: github.com/qmk/qmk_toolbox/releases (Windows or macOS).
- The firmware
.binfrom this project's Releases page. Get the latest (currently v1.3.0). - Chrome (or any Chromium browser) for the control app. WebHID needs it.
- (Optional) Vial: vial.rocks. Use it to remap keys and RGB.
đ Step 1 â Enter the bootloader (DFU)¶
- Disconnect the USB cable from the keyboard.
- Push and hold the ESC key (top-left). While you hold ESC, connect the USB cable.
-
Release ESC.
The keyboard is now in stm32duino DFU mode. The lights and the LCD are off. This is normal.
(Windows only: if QMK Toolbox does not see a DFU device, install the WinUSB driver for it with Zadig. In Zadig, select the "STM32 BOOTLOADER" device and install WinUSB.)
⥠Step 2 â Flash it¶
- Open QMK Toolbox.
- In QMK Toolbox, select Open.
- Select the firmware
.bin. - Keep the microcontroller setting on auto. (The microcontroller is an STM32F103.)
-
Select Flash.
QMK Toolbox erases and then writes the flash.
-
Wait for "Flash complete."
- Disconnect the USB cable.
-
Connect the USB cable again normally.
The lights and the LCD come back on. The keyboard now has the custom firmware.
đĨī¸ Step 3 â Drive the screen + lighting¶
You control the keyboard from al80-studio, a browser app (no install).
Only one app can hold the keyboard at a time
Close the YUNZII web app and VIA before you connect al80-studio.
- Close the YUNZII web app and VIA. Only one app can hold the keyboard at a time.
- Open al80-studio in Chrome.
- Select Connect.
- Select the AL80.
- To push a clock, a still image, or a GIF to the screen, use the LCD tab.
-
To pick an RGB effect, colour, brightness, and speed, use the Lighting tab.
This tab speaks VialRGB, the custom firmware's lighting system.
â¨ī¸ Step 4 (optional) â Remap keys¶
Use Vial for the keymap, layers, macros, and per-key RGB:
- Open vial.rocks in Chrome.
- Connect the keyboard.
Changes are live, so you don't need to reflash.
âŠī¸ Recovery â back to stock¶
To get the original firmware back, do these steps:
- Enter the bootloader with the same procedure (ESC + plug).
- Flash the stock
RIPPLE.bin(in the release assets), or use the official YUNZII updater.
The steps are the same. Only the .bin is different.
đ§Š Good to know¶
- Chip: STM32F103x8, with 56 KB app flash and 20 KB RAM. That's not much space, so the firmware features are picked carefully.
- Known-good fallback: v1.0.0. If a newer version misbehaves, flash v1.0.0 again. It's the stable baseline for the other versions.
- The screen is a separate smart module. The keyboard forwards your images to it over an internal serial link. That's why the LCD keeps working on custom firmware.