Skip to content

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 ​

                     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 ​

PageWhat it covers
architecture.mdSDK 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.mdthe boot loader in the IDB area: boot flow, boot markers, button check, FW1/FW2 choice, loader USB mode
startup.mdfrom reset to the main menu: trampoline, vector tables, init order, boot checks, update scan, library rebuild after an unclean shutdown
audio_playback.mdplayer flow, codec selection, the track-change sequence and its gap, EQ, fades, volume, gain, filters, DSD, sample-rate switching
core_b_codecs.mdthe core-B runtime, the full mailbox protocol, the info struct, each codec module 71-80 and the accelerators it uses
storage_and_filesystems.mdstorage drivers, FAT16/FAT32/exFAT, partitions, the media library database and its limits, favourites, bookmarks
ui_and_settings.mdwindows, menus, the settings tree, the configuration block fields, languages
display_and_input.mdscreen driver, screen-off modes, key handling, volume wheel
power_management.mdpower-off paths, battery, backlight, watchdog, clock policy
usb_modes.mdUSB mass storage, vendor SCSI commands, the hand-over to the Realtek USB DAC
bluetooth.mdBluetooth control from the firmware side
update_process.mdhow HIFIYFnn.IMG updates work, what is checked, how FW1/FW2 are written
games.mdthe built-in games, including four hidden ones, and how they are launched
third_party_components.mdlibraries and code inside the firmware, and their licences
known_bugs.mdfirmware bugs found by analysis, with impact and workarounds

Which firmware versions are covered ​

FileHeader date / versionRole in these pages
HIFIYF18.IMG (V1.7.8)2026-10-19 / 8.0.0the 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.0the factory firmware; used for differences (codec modules, EQ gating, open limits) [AP30]
HIFIYF26.IMG2026-07-23 / 0.0.0the 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 ​

Text CC BY 4.0 · data tables and snippets CC0 1.0 · not affiliated with Hidizs