The stock firmware ("HidizsOS")
Status: draft, 2026-11
The AP30 runs a firmware that Hidizs calls "HidizsOS". It is built on Rockchip's RKnano SDK for the RKNanoD (dual Cortex-M3), and it shares one code base with the Snowsky / FiiO Echo Mini player [AP30]. It is not a preemptive RTOS. One main loop on core A runs the current "task" (a screen such as the main menu, the music player or a game) and a list of background services. Code that is not always needed sits in overlays: numbered sections that are copied from flash into shared RAM windows on demand. Core B is used only as an audio decoder. It loads one codec module per track and talks to core A through a hardware mailbox [AP30]. This section of the collection describes that firmware as found in the official images, mainly V1.7.8 (HIFIYF18.IMG).
Contents
- Structure at a glance
- Pages in this section
- Which firmware versions are covered
- Naming and addresses used in these pages
- Open questions
- Sources
Structure at a glance
eMMC / SD-NAND (internal flash)
┌──────────────┬──────────────────────┬──────────────────────┬──────────────┬──────────────────┐
│ IDB: boot │ FW1 slot (30 MiB) │ FW2 slot (30 MiB) │ part 1 200MiB│ part 2: user FAT │
│ loader │ RKnanoFW image │ copy of the image │ settings, DB │ volume (USB disk)│
└──────┬───────┴──────────┬───────────┴──────────────────────┴──────┬───────┴────────┬─────────┘
│ loader copies │ overlays, images, fonts, │ settings, │ music,
│ sections 0,1,2 │ strings read on demand │ library, │ update file
▼ ▼ │ favourites │
┌─────────────────────────────────────────────────────────────┐ │ │
│ CORE A (system core), 640 KiB SRAM │◄────┴────────────────┘
│ │
│ section 0 (resident, 185 KiB code + 127 KiB data/bss) │
│ OS layer: main loop, tasks, windows, services, messages, │
│ SysTick 10 ms, software timers, PendSV audio service │
│ drivers: LCD, keys/wheel, ADC, I2C, I2S, DMA, SD/MMC, │
│ FAT/exFAT, USB PHY, RTC, power, watchdog, mailbox │
│ overlay loader, text renderer, tag readers, code pages │
│ │
│ overlay windows (one occupant each at a time) │
│ main window ── boot init │ main menu │ library │ player │
│ screen │ browser │ settings │ e-book │ │
│ pictures │ USB │ games (29 + 4 hidden) │ │
│ BT Music │
│ playback engine (ov 33, + 34-36: file side, EQ) │
│ codec front-ends (ov 41-57, one at a time) │
│ library build (ov 37-40), updater (ov 8), USB (9-12) │
└──────────────┬──────────────────────────────▲───────────────┘
│ mailbox (4 channels) │ decoded PCM (DMA copy)
│ OPEN/DECODE/SEEK/CLOSE, │ file data requests
▼ file-service replies │
┌─────────────────────────────────────────────┴───────────────┐
│ CORE B (calculation core), HIGHRAM 384 KiB │
│ one codec module (ov 71-80, linked at 0x01000000): │
│ MP3 · WMA · AAC · WAV · OGG · FLAC · ALAC · APE · DFF · DSF │
│ each = shared core-B runtime + one decoder library │
│ accelerators: IMDCT36/SYNTH (MP3), HIFIACC (FLAC/ALAC/APE) │
└─────────────────────────────────────────────────────────────┘
PCM out: core A ── DMAC1 ch5 ── I2S1 ── CS43198 DAC ── RT6863 amp ── jacks[AP30, analysis of firmware V1.7.8.] Sizes and windows: architecture.md. The flash layout is described in full in ../formats/idb_and_flash_layout.md.
Pages in this section
| Page | What it covers |
|---|---|
| architecture.md | SDK lineage, sections and overlays, the overlay map by number, overlay windows, tasks / windows / services, the message model, interrupts, the configuration block, RAM use |
| boot_loader.md | the boot loader in the IDB area: boot flow, boot markers, button check, FW1/FW2 choice, loader USB mode |
| startup.md | from reset to the main menu: trampoline, vector tables, init order, boot checks, update scan, library rebuild after an unclean shutdown |
| audio_playback.md | player flow, codec selection, the track-change sequence and its gap, EQ, fades, volume, gain, filters, DSD, sample-rate switching |
| core_b_codecs.md | the core-B runtime, the full mailbox protocol, the info struct, each codec module 71-80 and the accelerators it uses |
| storage_and_filesystems.md | storage drivers, FAT16/FAT32/exFAT, partitions, the media library database and its limits, favourites, bookmarks |
| ui_and_settings.md | windows, menus, the settings tree, the configuration block fields, languages |
| display_and_input.md | screen driver, screen-off modes, key handling, volume wheel |
| power_management.md | power-off paths, battery, backlight, watchdog, clock policy |
| usb_modes.md | USB mass storage, vendor SCSI commands, the hand-over to the Realtek USB DAC |
| bluetooth.md | Bluetooth control from the firmware side |
| update_process.md | how HIFIYFnn.IMG updates work, what is checked, how FW1/FW2 are written |
| games.md | the built-in games, including four hidden ones, and how they are launched |
| third_party_components.md | libraries and code inside the firmware, and their licences |
| known_bugs.md | firmware bugs found by analysis, with impact and workarounds |
Which firmware versions are covered
| File | Header date / version | Role in these pages |
|---|---|---|
HIFIYF18.IMG (V1.7.8) | 2026-10-19 / 8.0.0 | the reference: every address and fact is from this image unless another version is named [AP30] |
HIFIYF05.IMG ("11-Game Firmware") | 2026-08-19 / 5.0.0 | the factory firmware; used for differences (codec modules, EQ gating, open limits) [AP30] |
HIFIYF26.IMG | 2026-07-23 / 0.0.0 | the oldest image available; used for differences [AP30] |
Hashes, download links and the full release history: ../overview/firmware_releases.md.
Naming and addresses used in these pages
- Addresses are run-time addresses in the core-A or core-B map, e.g.
0x0308bf84. For overlays they are given with the overlay number ("overlay 33 at 0x0308bf84"), because several overlays share one address window. - Overlay numbers are the slot numbers in the image's section table (0-112). The table format is in ../formats/stage3_sections.md.
- Tasks are the firmware's screen numbers (0-47); see architecture.md.
- Messages are numbered flags (e.g. message 0x192 = "update file found"); see architecture.md.
- These pages describe behaviour in their own words. They do not reproduce vendor code or SDK function names.
Open questions
- Which parts of the firmware differ between V1.7.8 and the two earlier images beyond the codec modules, EQ gating and the game list? Partly answered per page; no complete list yet.
- The "1.x.y" version strings reviewers saw in Settings → About (1.2.9, 1.3.5) do not map one-to-one to the header versions; see ../overview/firmware_releases.md.
Sources
- [AP30] analysis of firmware V1.7.8, cross-checked with 5.0.0 and 0.0.0 images; measured on a device where stated.
- [EM] Echo Mini RKNanoD study: berettavexee/echo-mini-newfw (
ETUDE.md), also published as iamcheyan/echo-mini-newfw. - [WEB] brnomt/ReChord: open firmware for the Echo Mini that contains a copy of the Rockchip RKNanoD SDK, used to confirm library code in the AP30 image.
- [WEB] Hidizs Download Center: official images.