MK10: A Peek Inside
Author: Andrew Porter
Published: 12/1/2026
-
Phase 2 of our MK10 exploration moves from listening to looking. We back up the included microSD card, get inside the running system, and track down the link between the two chips.
Probing the MK10
Last time we let the MK10 do all the talking. This time, we’re opening the lid a little wider - still carefully, still with an agent at the controls, and still writing down every place we stepped off the path. Phase 2 is where this exploration goes from listening at the door to stepping inside, and the view from in here is a lot more promising than we expected.
Previously, on the Bench
In our Phase 1 post, we plugged in a Waveshare MK10 and simply listened to what was going on - we found two USB devices hiding behind one port, a chatty application protocol where we’d hoped for a console, and keys that take different paths to your computer depending on what they do. We also walked away with a long list of questions - and one uncomfortable fact sitting over all of them: we still had no backup. If we broke this unit, it was going to stay broken.
Phase 2 was about changing that, and then carefully taking a closer look under the hood. The session rules moved from listen, don’t talk to look, but don’t touch anything you can’t put back. Here’s what we found, and why we’re starting to get pretty excited about what the device could be turned into.
The Files Are In The Computer
At the end of Phase 1, we noted, almost in passing, that the microSD card slot wasn’t empty - and that turned out to be the most important card on the table (sorry). We had assumed it held some common UI assets and maybe a few Wi-Fi settings - but it turned out to be the one and only storage for the entire Linux side, and, even better, it was completely unencrypted.
This is a critical engineering hinge - and scores an early victory for any future development efforts since everything that the Linux side runs - bootloader, kernel, root filesystem, apps, and settings - lives on a 4 GB microSD card you can pop out with a fingernail. That’s great news for us. Indeed - with the card removed, the MK10’s Allwinner T113 doesn’t boot at all. Instead, it shows up on USB as an Allwinner device in FEL Mode - the chip’s built-in recovery and flashing mode, which it falls back to when it can’t find anything to boot.
The agent imaged the card twice, read-only, and both reads produced the same SHA-256. For the first time since it landed on the bench, the Linux side of this device has a verified backup. With FEL Mode as a fallback and a backed-up microSD card holding the whole filesystem, the T113 side of the equation suddenly looks very hard to lose for good. One thing the card still can’t help with, though: the GD32 keyboard controller kept enumerating as a keyboard even with the T113 sitting in FEL Mode. It runs its own firmware, from its own flash, and we don’t have a copy of that yet.
Here’s how that 4 GB card is laid out:
| Partition | Filesystem | Size | Mounted at | What it holds |
|---|---|---|---|---|
| (before the first partition) | - | ~20 MiB | - | The partition table, and on Allwinner cards, normally the early bootloader stages too |
boot-resource | FAT, labeled Volumn | 32 MiB | /mnt/SDCARD | The boot logo, screen images, config files, a boot log, and any lunch.sh |
env | raw | 252 KiB | - | U-Boot’s settings |
env-redund | raw | 252 KiB | - | A backup copy of U-Boot’s settings |
boot | raw | 6.2 MiB | - | The kernel |
rootfs | ext4 | 1 GiB | /rom, read-only | The stock root filesystem, 91% full |
UDISK | ext4 | 2.7 GiB | /overlay, read-write | The writable layer on top of rootfs, where settings and changes live - 1% used |
And no, Volumn isn’t our typo - that’s the card’s actual label, straight from the factory. It’s a small thing, and a harmless one, but we ran into a couple more examples as we kept working through the device.
A Front Door, Left Open
Next, we wanted to see the running system from the inside. We expected that to take some work - a hardware UART, maybe, or some careful surgery on the card image. It didn’t.
The procd init system runs a vendor script, qt_app1, that looks for a file called lunch.sh on the card’s small FAT partition, copies it into place, and runs it as root at every boot - right before the stock app starts. No, it’s not a lunch break - it’s a launch script (with the same kind of typo as Volumn, baked right in), and it’s an optional pre-startup hook - the stock card doesn’t even ship with one. Then qt_app1 fires off the actual Qt app’s appLunch.sh, which carries the same misspelling. Other than that, it’s a perfectly ordinary init hook, and it meant the front door was already unlocked - all we had to do was knock politely.
We wanted to use that built-in init hook to get further inside the device, so the agent wrote a series of lunch.sh scripts, each built around the same set of safety rules:
- Run once. Each hook writes its results to a folder on the card and does nothing at all if that folder already exists. If a run goes badly, the very next boot is stock.
- Never block boot. The hook returns immediately and does its work in the background, with time limits on every command.
- Leave things alone. No network, no module loading, no changes to services or power settings, nothing sent to the GD32, and no reading of the device’s secrets or Wi-Fi configuration.
The first agent-built hook only took a system inventory: the kernel, the hardware, the processes, and the memory map both before and after the stock app started. The second hook watched the app’s serial traffic without changing it, so we could keep an eye on what the vendor app was actually sending across the wire. The last one went a step further - it gave the vendor app a fake USB serial port and put a root shell on the real one, so the agent could ask questions directly from the host. And yes, you read that last sentence right - we aren’t using it for much right now, but that’s a full root shell, directly on the hardware, so at this point we’ve managed to pwn the stock system… that was fast.
Between the three hooks we deployed, we were also able to piece together the device’s whole boot order, from power-on to the app on your screen:
| Step | Stage | What it does |
|---|---|---|
| 1 | Boot ROM | Built into the T113. Looks for a bootable microSD card, and drops into FEL Mode if there isn’t one |
| 2 | boot0 | Allwinner’s first-stage loader, which sets up the RAM and loads U-Boot (standard for this chip, but not something we’ve captured) |
| 3 | U-Boot | Reads its settings from env, probably draws the boot screen from boot-resource, and loads the kernel from boot |
| 4 | Linux kernel | Mounts rootfs directly, with no initramfs, and brings up all 11 screens by about 3 seconds in |
| 5 | procd | Takes over as the init system at about 4 seconds, starts the message bus, and runs the startup scripts |
| 6 | Startup scripts | Layer UDISK over rootfs, mount the FAT partition, and start the background services |
| 7 | qt_app1 | Runs lunch.sh from the card, if there is one, at about 5 seconds - this is where our hooks live |
| 8 | appLunch.sh | Loads the app’s environment and starts the app |
| 9 | KeyboardDevice | Brings up the USB serial port to your computer, loads the first keymap into the GD32, and starts drawing pages |
| 10 | Video player | Plays animated and video content with the chip’s hardware video decoder |
The GD32 doesn’t wait for any of this. It boots from its own flash and shows up as a keyboard no matter what the T113 is doing - even when it’s sitting in FEL Mode.
Every Screen, All At Once
The displays are a huge part of the appeal of this device (otherwise it’s just another macropad, and we have plenty of those already), but from an engineering perspective they also turned out to be one of the more interesting parts of the system. Every screen on the MK10 is its own small SPI panel - 128×128 for each key, and 240×296 for the main screen - spread across two separate SPI buses. The stock app draws everything onto one big 896×304 virtual canvas, then slices it up and manually pushes each piece to a hardware display panel.
With the stock app, that works out to about 22-25 frames per second on each panel, for roughly 11 MB/s of SPI traffic. When no video is playing, the panels speed up to about 33 fps. With the app paused, the agent measured what a single key panel could do on its own, and it managed the equivalent of about 49 full frames per second. We don’t want to over-read a single benchmark, but it does line up with what we said in Phase 1: the hardware has more headroom than the stock software is currently using.
We spent quite a bit of time pulling apart the display path during this phase so that we could better understand some of our upcoming options for improving the user experience. One of our favorite oddities along the way: the chip’s display engine is configured to drive an 896×304 LCD at about 162 frames per second - and there’s no LCD attached. None of the chip’s LCD pins are even switched on. The display engine is busy painting a screen that doesn’t exist, and the picture only reaches real glass when the app reads it back and ships it out over SPI. There’s a lot going on in the stock device, though, and in a couple of places we’ve had to infer the specifics without access to source code - but by the time we were done poking and prodding there wasn’t really that much left to guess about.
Here’s the full path a frame takes in stock form, from the app’s drawing code to the panels:
| Step | Stage | Where it lives | What happens |
|---|---|---|---|
| 1 | Qt draws the UI | /dev/fb0 via DISP2_SUNXI | The app draws the whole interface and copies it into an 896×304 32-bit canvas |
| 2 | Video decodes | Hardware video decoder engine | On pages with video, a separate video player decodes it into its own layer |
| 3 | Display engine composites | Two display layers via DISP2_SUNXI | The video sits underneath, and the app’s UI sits on top with transparency enabled, composited at about 162 fps |
| 4 | Frame read back | An 800 KB buffer via DISP2_SUNXI | The composited picture is read back out of the display engine, in 24-bit color |
| 5 | Format conversion | Hardware 2D graphics via SUNXI_G2D | The canvas is converted to the panels’ native 16-bit color - exactly 896×304×2 bytes |
| 6 | Slice into tiles | App memory | The canvas is cut into ten 128×128 key tiles and one 240×296 main-screen tile |
| 7 | Hand off to the panel drivers | /dev/fb1 to /dev/fb11 | Each tile is written to its panel’s framebuffer as a complete frame, every time |
| 8 | Kernel prep | Panel driver buffers | The driver copies each frame again and reorders its bytes for the panel |
| 9 | SPI transfer | Two SPI buses | Every panel gets a full frame on every update, adding up to about 11 MB/s |
That’s five or six copies of every frame, and about half of them run on the CPU rather than on dedicated hardware. That goes a long way toward explaining where the stock app’s CPU time goes - and why a single panel, driven directly, can run about twice as fast.
The Hidden Link, Discovered
This was the big open question from Phase 1: key presses reach the T113, shortcuts leave the GD32 as keyboard input, and neither chip is the other’s USB host. So how do they talk?
The answer is a plain serial link - a UART at 115200 baud, showing up on the Linux side as /dev/ttyS1 - and our second hook caught the whole conversation. The T113 end of that link isn’t some hidden system service - it’s held open by the stock application itself, and that’s the key detail. When you press a key, the GD32 sends a small framed message with the key’s row, column, and state, and the app handles it as a generic event.
From there, the application can respond to that key-press event any way it wants. It can update the UI, switch pages, or start a video - or even load an entirely new keymap into the GD32. That last one is how pages work: when the page changes, the app sends the GD32 a fresh keymap, entry by entry. When the page we captured loaded, its new entries looked an awful lot like Ctrl+C and Ctrl+V in standard keyboard codes.
That settles the “which chip decides” question from Phase 1, as far as we can tell. The GD32 turns key presses into real keyboard input using whatever keymap it’s currently holding, and the application on the T113 side decides what keymap is loaded - along with everything else a key press should do. That’s why “select all” showed up as clean HID with no serial frame - the keymap was already loaded, so the keyboard side didn’t need to ask anyone.
Where We Weren’t Careful Enough
Same as last time, we’re going to talk about our soft underbelly:
- The card got mounted. When we first put the microSD card into our reader, the desktop automatically mounted all three of its filesystems read-write. We caught it and unmounted them about half a minute later, and every read after that was strictly read-only. But that brief mount may have updated filesystem metadata, so our backup is of the card as it was after that moment, not before it.
- The hooks leave a footprint. The stock startup script copies
lunch.shinto the device’s own storage before running it, so a copy of our most recent hook is still sitting there. Apart from that and the results folders on the card, nothing we ran made a lasting change. - Our shell was a CPU hog. The first version of our shell bridge spun at about half a CPU core, which made the device look far busier than it really was. We fixed it, and the CPU numbers in this post come from after the fix.
- We did touch some things. To measure the panels, the agent paused the stock app and wrote test patterns straight to the key screens. That’s a deliberate step past “just looking”, and everything it changed was in memory and gone on the next boot. The app was always resumed, and an automatic timer was set to resume it even if our session dropped.
The Wi-Fi dongle also stayed unplugged for the whole phase, so the only network interface on the device was loopback (lo).
Here’s What We Found
As of right now, here’s the system that’s been hiding behind those keycaps:
| Part | What we found |
|---|---|
| OS | Tina Linux, Allwinner’s OpenWrt-based distribution, built in September 2025 |
| Kernel | Linux 5.4.61 - so Phase 1’s 0x0504 hint was right |
| Bootloader | U-Boot 2018.05 |
| CPU / RAM | Dual-core Cortex-A7 with NEON, 128 MB of RAM |
| Storage | Read-only root filesystem (91% full) with a 2.7 GiB writable overlay that’s almost empty |
| Stock app | KeyboardDevice, a Qt 5.12 application running as root, plus a separate video player |
| Screens | 10 GC9107 key panels and one GC9307 main panel, all on SPI |
| Link to the GD32 | A plain UART, /dev/ttyS1, at 115200 baud |
| Audio | One codec, with both playback and capture |
| Also on board | An ATSHA204A crypto authentication chip, which we’re deliberately leaving alone |
Some of the open questions about the rest of the T113 have started to shrink. The video player uses the chip’s hardware video decoder for animated content, and the stock app leans on the chip’s 2D graphics engine. Strings inside the app also mention a USB audio mode and processes for a voice assistant, which may be what the microphone side of that codec is for. We haven’t seen anything running on the RISC-V core, though, and the HiFi4 DSP has a kernel messaging worker but no sign yet of real work.
Phase 1’s Questions, Revisited
| Phase 1 question | Where it stands |
|---|---|
| Is there a backup? | Yes, for the Linux side. A verified image of the microSD card. The GD32 isn’t backed up yet |
| What kernel is it? | Linux 5.4.61. Confirmed |
| What’s the hidden link? | A UART at 115200 baud, carrying key states one way and keymaps the other |
| Which chip decides? | The T113, as far as we can tell. It loads per-page keymaps into the GD32 |
| What does boot look like? | Partly answered. The kernel’s serial console is switched off, but our hook read the kernel log from inside |
| What about the rest of the T113? | Partly answered. The video decoder and 2D engine are in use. The RISC-V core and DSP are still open |
Where We’re Headed
Going into this phase, the plan was to keep working the stock stack from the outside in. Next on the list were the GD32 firmware and how to back it up safely, the rest of the serial protocol in both directions, what the voice and audio pieces actually do, and what the panels could really do with a little more care. All of that was aimed at understanding the vendor software well enough to work alongside it - and hopefully get some improvements in place for a better user experience.
Phase 2 changed that picture dramatically. What we found on that card is, as far as we can tell, a fairly open Linux system - a standard Linux kernel under an OpenWrt-based distribution, a standard init system, a boot hook anyone can use today, and the hardware exposed through ordinary drivers. And since the vendor software sitting on top of it is exactly where most of the complaints about the MK10 have landed, rather than spend the next few phases learning to live with that software, we may set it aside entirely. It’s tempting to see what this hardware can do with our own high-performance stack - one that treats the T113 as the capable little computer it is. We already know the panels can go roughly twice as fast with a more direct path, and that’s before we’ve touched any of the hardware acceleration the stock software leaves idle.
Nothing’s decided yet, and we’ll still be careful - the backup stays close and the ground rules stay in place. But if you’ve been waiting for the MK10 to live up to its hardware, watch this space. We’ll keep writing each phase up as it closes, along with what we’ve proven, what we’re still guessing, and where we slipped. In the meantime, if you’ve been down this road with your own MK10, or if you’ve got your own lunch.sh recipes to share, we’d love to hear from you - find us on GitHub or reach out through our team page.
Want Your Own?
Still not from us - yet. Phase 2 didn’t turn up anything that changes our store plans, and the hardware continues to look solid. If that holds as we keep going, we still expect to add the MK10 to the 315Concepts webstore, and we’ll say so here when we do. 315Concepts is not affiliated with Waveshare in any way. If you pick one up elsewhere and start opening it up, you do so entirely at your own risk - and please, image your card first.
