Repository navigation
Firmware image structure
Note: This document covers the AZ01 firmware container format in detail. For a comparison of all three Engine OS 5.x firmware formats (AZ01, AZ0x, SC6000), see Firmware formats comparison.
- Overview
- Image Layout
- Header Format
- Partition Chain
- XZ Compressed Filesystem
- Boot Process
- Update Mechanism
- Security
- Build System
- Reverse Engineering Notes
- References
The Denon PRIME 4 firmware update image (PRIME4-5.0.0-Update.img) is a custom container format, referred to here as AZ01, that chains together a small number of named, individually hashed partitions. For this image that chain holds exactly three entries: an uncompressed boot splash bitmap (splash), an uncompressed update/recovery splash bitmap (recoverysplash), and an XZ-compressed EXT2 root filesystem (rootfs) containing the U-Boot script, Linux kernel, device tree blobs, and the Qt-based Engine application.
Image Size: 182,211,296 bytes (173.9 MB)
XZ Compressed rootfs Data: 174,018,872 bytes (166.0 MB) at offset 0x7D0194
Decompressed rootfs Filesystem: 515,374,080 bytes (491.5 MB)
Every byte offset and field described below has been confirmed by an independent Go implementation that parses the container, recomputes every partition's hash, and reassembles a byte-for-byte-equivalent image from scratch. It was cross-checked against eight real firmware images (PRIME 4, PRIME 2, PRIME GO, SC5000, SC5000M, SC6000, SC6000M, Mixstream Pro), all of which verify successfully.
graph LR
subgraph Header["Header, variable length, 160 bytes here"]
H1[0x00 - Magic: AZ01]
H2[0x04 - Version: 1]
H3[0x08 - Header Size: 0xA0]
H4[0x0C - Description string]
H5[Product code list]
H6[Unidentified 32-bit values]
H7[Description 2 string]
end
subgraph Chain["Partition chain, starts at Header Size"]
P1[splash entry plus 4,096,000 bytes data]
P2[recoverysplash entry plus 4,096,000 bytes data]
P3[rootfs entry plus 174,018,872 bytes XZ data]
P4[EOF sentinel, 16 bytes]
end
H1 --> P1
P1 --> P2
P2 --> P3
P3 --> P4
style Header fill:#E8F4F8
style Chain fill:#FFF3CD
The image is a custom AZ01 container made of two parts:
- Header (variable length, 160 bytes for this device family) - build metadata and the list of compatible product codes
-
Partition chain (starting exactly at the offset given by the header's
HeaderSizefield) - a sequence of self-containedname + metadata + datablocks, one per partition, terminated by a smallEOFsentinel
There is no separate, fixed-size "partition table" region distinct from the data itself - each partition's metadata sits immediately before its own data, and the next partition's metadata begins immediately after that data ends. Knowing one partition's exact data size is therefore both necessary and sufficient to jump straight to the next partition (or, for rootfs, to know exactly where to stop reading before handing the bytes to an .xz decompressor).
The header is technically variable-length: everything from the description string onward is encoded as either a uint32 length followed by that many string bytes, or a uint32 count followed by that many further elements. Its total length - and therefore the absolute offset where the partition chain begins - is given by the Header Size field itself, so a parser never needs to assume a fixed 160-byte (or 136-byte, for SC6000) header.
Every variable-length string field (whether introduced by an explicit length or terminated implicitly) is followed by a mandatory 0x00 byte and then zero-padding until the field's end lands on a 4-byte boundary relative to the start of the header.
| Offset | Size | Field | Value (5.0.0, PRIME 4/PRIME 2/Mixstream Pro) | Description |
|---|---|---|---|---|
| 0x00 | 4 | Magic | AZ01 |
Image format identifier |
| 0x04 | 4 | Version | 1 |
Header version |
| 0x08 | 4 | Header Size |
0xA0 (160) |
Total header size in bytes; also the absolute offset of the first partition entry |
| 0x0C | 4 | Description Length |
0x17 (23) |
Length of description string |
| 0x10 | 23 | Description | SNAPSHOT-20260507060852 |
Build snapshot identifier |
| 0x27 | 1 | Padding | 0x00 |
NUL terminator doubling as alignment padding |
| 0x28 | 4 | Product Code Count | 3 |
Number of product codes that follow |
| 0x2C | 4+13 | Product Code 1 | len=12, inmusic,jc11
|
Length-prefixed, NUL-terminated, padded to 4 bytes |
| 0x40 | 4+16 | Product Code 2 | len=12, inmusic,jc16
|
" |
| 0x54 | 4+16 | Product Code 3 | len=12, inmusic,nh08
|
" |
| 0x68 | 4 | USB Device ID Count | 3 |
Number of USB VID/PID pairs that follow |
| 0x6C | 12 | USB Device IDs |
0x15e4d008, 0x15e4d00b, 0x15e4203f
|
Each is `(VID << 16) |
| 0x78 | 4 | Description 2 Length |
0x21 (33) |
Length of second description |
| 0x7C | 33+3 | Description 2 | Planck AZ01 Console upgrade Image |
Human-readable description, NUL-terminated and padded to 4 bytes |
| 0xA0 | - | (end of header) | - | First partition entry (PART magic) begins here, per Header Size
|
Product codes are <vendor>,<product-code> pairs. inmusic is the vendor string used by every Engine OS 5.x device observed so far (Denon DJ, Numark and Akai gear are all sold under the same corporate umbrella, InMusic Brands). See Device List for the complete, up to date mapping of product codes to devices.
Note: Multiple product codes in the header indicate the firmware image is compatible with multiple device variants. For example, PRIME4-5.0.0-Update.img contains codes for jc11 (PRIME 4), jc16 (PRIME 2), and nh08 (Mixstream Pro), meaning it can be flashed to any of these devices - PRIME4-5.0.0-Update.img, PRIME2-5.0.0-Update.img and MIXSTREAMPRO-5.0.0-Update.img are, in fact, byte-for-byte identical files.
Instead of a fixed-size partition table, the container holds a simple linked chain: each partition is described by a small metadata block immediately followed by that partition's own (possibly compressed) data, immediately followed by the next partition's metadata block, and so on, until a 16-byte EOF sentinel is reached.
Each entry uses the same length-prefixed/NUL-terminated field encoding as the header (see above), with alignment computed relative to the start of the entry rather than the start of the header:
| Offset (from entry start) | Size | Field | Description |
|---|---|---|---|
| 0x00 | 4 | Magic | Literal ASCII PART
|
| 0x04 | 4 | Entry Length |
uint32 LE - total byte length of this metadata block only (not including the data that follows it) |
| 0x08 | 8 | Data Size |
uint64 LE - byte length of the data that immediately follows this entry |
| 0x10 | 4+N+pad | Name | Length-prefixed partition name, e.g. splash, recoverysplash, rootfs
|
| ... | 4 | Compression ID | Numeric compression algorithm id (4 = none, 2 = xz) |
| ... | M+pad | Compression Name | NUL-terminated compression algorithm name, e.g. none, xz
|
| ... | 4 | Flags | Bitfield, meaning not identified; 1 on every entry observed so far |
| ... | 4 | Hash Algorithm ID | Numeric hash algorithm id (4 = sha1) |
| ... | K+pad | Hash Algorithm Name | NUL-terminated hash algorithm name, e.g. sha1
|
| ... | 4 | Hash Length | Length of the hash that follows, in bytes (0x14 = 20 for SHA-1) |
| ... | Hash Length | Hash | Content hash of the partition's stored (i.e. still compressed, if applicable) data |
The 4-byte "Entry Length" field is a little-endian uint32 giving this entry's own metadata header length. For the three partitions in this image that length (80, 88 and 76 bytes respectively) happens to render as the printable ASCII characters 'P' (0x50), 'X' (0x58) and 'L' (0x4C) when viewed as raw bytes immediately after the PART magic - but it is a length, not a partition-type code. A parser can confirm this by validating that the declared entry length exactly matches the number of bytes actually consumed while decoding the entry's fields, which always holds.
Despite being called a "signature" elsewhere, the per-partition hash is a bare content hash with no asymmetric cryptography involved - anyone can recompute and replace it after modifying the corresponding data (see Update Mechanism below).
| Name | Stored Size | Compression | Decompressed Size | SHA-1 |
|---|---|---|---|---|
splash |
4,096,000 bytes | none | (same) | 77c32868c5da1014d4e7a660ecf4f84ce06a620a |
recoverysplash |
4,096,000 bytes | none | (same) | a312316ea89d9397efd0002d9670787661a1b5f4 |
rootfs |
174,018,872 bytes | xz | 515,374,080 bytes | 518b94a2e35202ce56fea18da81319e6906185e4 |
All three hashes were independently recomputed and confirmed to match exactly, and this also holds for the other seven AZ01/SC6000-format images tested (PRIME 2, PRIME GO, SC5000, SC5000M, SC6000, SC6000M, Mixstream Pro).
Only these three partitions are actually present inside the update image file. There is no separate boot, kernel, system, cache, data etc. entry in the container - the kernel, DTBs and U-Boot boot script all live as regular files inside the rootfs partition's /boot directory (see Filesystem Contents below), exactly like the older FIT-based 4.x update image format did with its three images (splash, recoverysplash, rootfs) - AZ01 is best understood as a from-scratch reimplementation of that same three-image concept using a custom binary encoding instead of a flattened device tree.
The chain is terminated by a 16-byte sentinel immediately following the last partition's data:
| Offset | Size | Field | Value |
|---|---|---|---|
| +0x00 | 4 | Magic | EOF\x00 |
| +0x04 | 4 | Unknown |
0x10 (16) on every image observed so far |
| +0x08 | 8 | Padding | All zero |
Some images (PRIME 4, PRIME 2, Mixstream Pro) have 4 extra zero bytes before this sentinel; others (PRIME GO, SC5000, SC5000M, SC6000, SC6000M) do not. The meaning of that difference has not been identified; a lenient parser should tolerate both forms.
The bulk of the firmware image is an XZ-compressed EXT2 filesystem containing the root filesystem.
The rootfs partition's data is a complete, valid .xz stream (magic, blocks, index and a standard 12-byte footer) - it just needs to be bounded to its exact declared size (174,018,872 bytes for this image, per the rootfs partition entry's Data Size field) rather than read through to the end of the file, which contains unrelated trailing container data (the EOF sentinel).
# Extract exactly the rootfs partition's data size, starting right after its
# partition entry header (0x7D0194 for this image), then decompress normally
dd if=PRIME4-5.0.0-Update.img bs=1 skip=$((0x7D0194)) count=174018872 of=rootfs.xz
xz -d rootfs.xz
mv rootfs rootfs.ext2
# Mount read-only (requires root)
sudo mount -o loop,ro rootfs.ext2 /mnt
# Or use debugfs for read-only access without mounting
debugfs -R "ls /" rootfs.ext2The go/pkg/az01 Go package and its az01dump CLI tool locate this offset and size automatically:
az01dump extract -d PRIME4-5.0.0-Update.img rootfs rootfs.ext2The decompressed filesystem (515 MB) contains:
/boot/
├── boot.scr.uimg # U-Boot script
├── zImage # Linux kernel (5.6 MB)
└── rk3288-az01-jc11.dtb # Device tree blob (53 KB)
/etc/
├── az01-release # Release info
├── default/az0x-bootargs # Kernel command line
└── fw_env.config # U-Boot environment config
/usr/
├── Engine/ # Main application (44 MB)
│ ├── Engine # Qt application binary
│ ├── Firmware/ # Controller firmware files
│ └── Scripts/ # Startup scripts
├── SoundSwitch/ # Audio switching daemon
├── bin/ # System binaries
│ ├── sshd # SSH daemon
│ └── ...
├── lib/ # Libraries
│ ├── libmali.so.14.0 # Mali GPU driver
│ └── ...
└── lib/systemd/system/ # Systemd services
├── engine.service
├── soundswitch.service
├── sshd.service
└── ...
sequenceDiagram
participant Power as Power On
participant Uboot as U-Boot
participant Kernel as Linux Kernel
participant Systemd as systemd
participant Engine as Engine App
participant Sound as SoundSwitch
Power->>Uboot: Bootloader runs
Uboot->>Uboot: Load boot.scr.uimg
Uboot->>Kernel: Load zImage + DTB
Uboot->>Kernel: bootz kernel_addr fdt_addr
Kernel->>Kernel: Initialize hardware
Kernel->>Systemd: Start init process
Systemd->>Systemd: Mount /data partition
Systemd->>Systemd: Setup overlayfs
Systemd->>Sound: Start soundswitch.service
Systemd->>Engine: Start engine.service
Engine->>Engine: Launch Qt application
The device uses U-Boot as the primary bootloader, stored in the bootloader partition (not in the update image).
Boot Script (/boot/boot.scr.uimg, 535 bytes):
load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} ${prefix}zImage || exit
load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${fdtfile} || exit
if test "${board_name}" = "az01b"
then
if load ${devtype} ${devnum}:${distro_bootpart} ${loadaddr} ${prefix}rk3288-az01b.dtbo
then
fdt addr ${fdt_addr_r}
fdt resize
fdt apply ${loadaddr}
setenv bootargs "${bootargs} fsck.repair=yes"
bootz ${kernel_addr_r} - ${fdt_addr_r}The boot script:
- Loads
zImage(kernel) from boot partition - Loads
${fdtfile}(DTB) from boot partition - If board is "az01b", loads and applies
rk3288-az01b.dtbooverlay - Adds
fsck.repair=yesto bootargs - Boots kernel with
bootzcommand
- Version: 6.6.119-az01-2025-12-17-rt67 (real-time patch)
- Architecture: ARM (32-bit)
- SoC: Rockchip RK3288
-
File:
/boot/zImage(symlink tozImage-6.6.119-az01-2025-12-17-rt67, 5.9 MB)
Boot Partition Contents:
| File | Size | Description |
|---|---|---|
zImage |
symlink | Kernel image (points to zImage-6.6.119-az01-2025-12-17-rt67) |
zImage-6.6.119-az01-2025-12-17-rt67 |
5,898,280 bytes | Actual kernel image |
rk3288-az01-jc11.dtb |
53,401 bytes | DTB for Denon PRIME 4 |
rk3288-az01-jc11-c.dtb |
53,477 bytes | DTB for Denon PRIME 4 (variant C) |
rk3288-az01-jc16.dtb |
53,935 bytes | DTB for Denon PRIME 2 |
rk3288-az01-jc16-c.dtb |
53,859 bytes | DTB for Denon PRIME 2 (variant C) |
rk3288-az05-nh08.dtb |
48,236 bytes | DTB for Nakamichi DD-100 |
boot.scr.uimg |
535 bytes | U-Boot script |
Kernel Command Line (set in U-Boot environment):
console=ttyS2,115200 earlycon=uart8250,mmio32,0xff140000
root=PARTUUID=8f868bbe-d889-f84f-a64d-d077e73b4f09
rootfstype=ext4 rootwait
swiotlb=512
fw_cfg0=0xd0000000,0x20
fw_cfg1=0xd0008000,0x04
fw_cfg2=0xd0008004,0x01
fw_cfg3=0xd0008008,0x00
fw_cfg4=0xd000800c,0x00
fw_cfg5=0xd0008010,0x01
consoleblank=0
loglevel=7
systemd.log_level=info
systemd.log_target=console
systemd.show_status=yes
usbcore.autosuspend=-1
dw_mmc.hs400_freq=200
dw_mmc.max_sectors=2048
-
File:
/boot/rk3288-az01-jc11.dtb(53 KB) - SoC: Rockchip RK3288
- Board: AZ01 (Denon PRIME 4)
The DTB defines hardware configuration including:
- CPU cores (Cortex-A17 quad-core)
- Memory layout
- Peripheral configuration (USB, Ethernet, Audio, Display)
- GPIO mappings
- Power management
Multiple DTB Variants:
| DTB File | Device |
|---|---|
rk3288-az01-jc11.dtb |
Denon PRIME 4 |
rk3288-az01-jc11-c.dtb |
Denon PRIME 4 (variant C) |
rk3288-az01-jc16.dtb |
Denon PRIME 2 |
rk3288-az01-jc16-c.dtb |
Denon PRIME 2 (variant C) |
rk3288-az05-nh08.dtb |
Nakamichi DD-100 |
rk3288-az01b.dtbo |
AZ01B overlay (loaded conditionally) |
DTB Overlay: The rk3288-az01b.dtbo overlay is loaded only when board_name is "az01b", allowing hardware variant support without separate firmware images.
The EXT2 filesystem is mounted as root and contains:
- Systemd services
- Qt-based Engine application
- SSH daemon
- Audio subsystem (ALSA, PulseAudio)
- Network configuration
- User applications
The official Windows updater EXE is a self-extracting archive (7zS2 for 4.3.4, PE32 for 5.0.0) containing:
| File | Size | Description |
|---|---|---|
FirmwareUpdater.exe |
3.4 MB | Main updater application (JUCE 7.0.9) |
libusb-1.0.dll |
756 KB | USB library for device communication |
Config.json |
1.1 KB | UI configuration (device name, colors, etc.) |
Background.png |
~15 KB | UI background image |
update.img |
149-182 MB | Firmware image (FIT blob for 4.3.4, AZ01 container for 5.0.0) |
The updater is device-specific - each device family has its own updater EXE with hardcoded device name and UI strings, but the FirmwareUpdater.exe binary is identical across all device families and firmware versions.
Analysis of FirmwareUpdater.exe (the official Windows updater binary) reveals it uses:
- Contains an "AZ01 programmer" component that parses the AZ01 header and partition chain
- Error message: "Failed to initialise AZ01 programmer"
- Dynamically reads partition names from the AZ01 header (no hardcoded partition names)
Uses fastboot-like protocol with custom commands:
| Command | Description |
|---|---|
getvar:max-download-size |
Query maximum download size |
getvar:version-bootloader |
Get bootloader version |
getvar:partition-type:%s |
Get partition type |
getvar:sparse-image-support |
Check sparse image support |
getvar:power-source |
Get power source |
download:%08x |
Download data (32-bit size parameter) |
flash:%s |
Flash partition (partition name parameter) |
write-part |
Write partition data |
write-boot |
Write boot data |
reboot |
Reboot device |
reboot-bootloader |
Reboot to bootloader |
-
Hashing:
BCryptCreateHash,BCryptHashData,BCryptFinishHash,BCryptDestroyHash -
Key Management:
BCryptOpenAlgorithmProvider,BCryptImportKeyPair,BCryptDestroyKey,BCryptGetProperty -
Signature Verification:
BCryptVerifySignature - Uses
RSAPUBLICBLOBformat for public keys
| Command | Description |
|---|---|
oem inmusic-unlock-magic-7de5fbc22b8c524e |
Unlock magic string for update mode |
oem flash-bootloader |
Flash bootloader |
oem update-bootloader |
Update bootloader |
oem fetch-pubkey:%s |
Fetch public key from device |
oem set-panel-map:%s |
Set panel map |
oem set-flag:%s |
Set flag |
oem resetenv |
Reset environment |
oem format |
Format device |
-
inmusic,devices- Device list -
inmusic,version- Version information -
getvar:version-bootloader- Bootloader version query
-
Device Detection
- Updater scans for devices in update mode via libusb
- Uses
getvar:*commands to query device capabilities - Checks power source (
getvar:power-source) - refuses to write if not on mains power
-
Firmware Parsing
- "AZ01 programmer" parses the firmware image header
- Extracts partition names, sizes, and hashes from the partition chain
- Validates partition hashes using SHA-1
-
Firmware Download
- Downloads firmware images to device using
download:%08xcommand - Each partition's data is sent in chunks
- Downloads firmware images to device using
-
Firmware Flashing
- Writes firmware to partitions using
flash:%sorwrite-part/write-bootcommands - Verifies each partition's hash after writing
-
splash,recoverysplash,rootfsare written in order
- Writes firmware to partitions using
-
Reboot
- System reboots into new firmware using
rebootorreboot-bootloadercommand
- System reboots into new firmware using
1. User initiates update (USB stick or network)
2. Updater scans for device in update mode via libusb
3. FirmwareUpdater parses the AZ01 header and partition chain
4. Each partition's data is decompressed (if applicable) and its hash verified
5. Partitions are downloaded to device via USB
6. Partitions are flashed in order: splash, recoverysplash, rootfs
7. System reboots into new firmware
The firmware uses SHA-1 hashing for integrity verification:
- Each partition entry carries a SHA-1 hash of its own (stored, possibly still-compressed) data
-
FirmwareUpdaterverifies each partition's hash before writing it to flash - Because this is a bare content hash with no signing key involved, a modified partition's hash can simply be recomputed and substituted - see Implications for Custom Firmware
U-Boot environment is stored at offset 0 on the disk:
Config File (/etc/fw_env.config):
/dev/sda 0 0x2000 0x2000
-
Device:
/dev/sda(first SATA/USB disk) - Offset: 0 (start of disk)
- Env Size: 0x2000 (8 KB)
- Sector Size: 0x2000 (8 KB)
-
PARTUUID:
8f868bbe-d889-f84f-a64d-d077e73b4f09(root partition)
Key Environment Variables:
| Variable | Description |
|---|---|
bootargs |
Kernel command line |
bootcmd |
Boot command |
board_name |
Board identifier (e.g., "az01", "az01b") |
devtype |
Device type (usb, sata) |
devnum |
Device number |
distro_bootpart |
Boot partition number |
fdt_addr_r |
FDT load address |
fdtfile |
DTB filename |
kernel_addr_r |
Kernel load address |
loadaddr |
Generic load address |
prefix |
Boot directory prefix |
SSH is enabled by default:
-
Service:
sshd.service -
Binary:
/usr/bin/sshd(907 KB) -
Login Script:
/usr/bin/az01-ssh-login(enforces constraints via ForceCommand) -
Configuration:
/etc/default/ssh
The az01-ssh-login script uses fw_printenv to read U-Boot environment and applies constraints via a ForceCommand embedded in an SSH certificate.
The device uses the following partition layout (from manifest):
| Partition | Size | Purpose | Mount Point |
|---|---|---|---|
bootloader |
- | U-Boot (not in update image) | - |
boot |
2 MB | Kernel + DTB | /boot |
splash |
4 MB | Boot splash screen | - |
system |
512 MB | Root filesystem | / |
cache |
32 MB | System cache | /var/cache |
recovery |
64 MB | Recovery mode | - |
misc |
1 MB | Miscellaneous data | - |
firmware |
256 MB | Firmware storage | - |
data |
768 MB | User data | /media/az01-internal |
persist |
32 MB | Persistent data | - |
Data Partition:
-
PARTUUID:
931ad49d-ad59-0849-833a-9bf00af5b60e -
Mount Point:
/media/az01-internal - Purpose: User storage, recordings, settings
-
Setup: Formatted by
az01-data-mkfs.serviceon first boot
The firmware is built using OpenEmbedded/Yocto:
Release Version: 20a9f889 (from /etc/az01-release)
Build Tag: jenkins-Planck-Embedded_Yocto_Branch-472
Build Date: May 7, 2026 (from snapshot ID SNAPSHOT-20260507060852)
Git Commit: 12d16a34d428
Repository: dj/planck
S3 Bucket: prod-inmusicbrands-cdn
- Kernel: Custom Linux 6.6.119-az01-2025-12-17-rt67 with Rockchip and inmusic patches
- Userland: Yocto-based with Qt5, systemd, OpenWRT packages
- GPU Drivers: Custom Mali T76x drivers (libmali-r1p0.so.14.0)
- Audio: Custom ALSA codecs for TAS5805M and ETA5805 DSP
Stored in /etc/az01-release:
AZ01_VERSION=20a9f889
BUILD_TAG=jenkins-Planck-Embedded_Yocto_Branch-472
-
Bootloader:
/boot/boot.scr.uimg(U-Boot script, 535 bytes) -
Kernel:
/boot/zImage-6.6.119-az01-2025-12-17-rt67(Linux 6.6.119-rt67, 5.9 MB) -
DTB:
/boot/rk3288-az01-jc11.dtb(Device tree, 53 KB) -
Application:
/usr/Engine/Engine(Qt binary, 44 MB) -
Updater:
/usr/bin/FirmwareUpdater(1.4 MB) -
Services:
/usr/lib/systemd/system/*.service -
Release Info:
/etc/az01-release(version: 20a9f889)
/
├── boot/
│ ├── boot.scr.uimg # U-Boot script
│ ├── zImage # Kernel symlink
│ ├── zImage-6.6.119-az01-2025-12-17-rt67 # Kernel image
│ ├── rk3288-az01-jc11.dtb # Device tree
│ ├── rk3288-az01-jc11-c.dtb # Device tree (variant C)
│ ├── rk3288-az01-jc16.dtb # Device tree (PRIME 2)
│ ├── rk3288-az01-jc16-c.dtb # Device tree (PRIME 2, variant C)
│ └── rk3288-az05-nh08.dtb # Device tree (Nakamichi)
├── etc/
│ ├── az01-release # Release version
│ ├── fw_env.config # U-Boot environment config
│ └── default/
│ ├── mountall
│ ├── ssh
│ └── volatiles
├── usr/
│ ├── Engine/ # Main application (44 MB)
│ │ ├── Engine # Qt application binary
│ │ ├── Firmware/ # Controller firmware files
│ │ │ ├── JC11 Controller/
│ │ │ ├── JC11 Display/
│ │ │ ├── JC16 Controller/
│ │ │ └── ...
│ │ └── Scripts/
│ │ ├── engine # Startup script
│ │ ├── runengine # Run script
│ │ └── engine.service # Systemd service
│ ├── SoundSwitch/ # Audio switching daemon
│ ├── bin/
│ │ ├── sshd # SSH daemon
│ │ ├── FirmwareUpdater # Update tool
│ │ ├── az01-signed-fs # Signature verification
│ │ └── ...
│ ├── lib/
│ │ ├── libmali.so.14.0 # Mali GPU driver
│ │ ├── libQt5*.so # Qt5 libraries
│ │ └── ...
│ └── lib/systemd/system/
│ ├── engine.service
│ ├── soundswitch.service
│ ├── sshd.service
│ ├── az01-data-mkfs.service
│ ├── az01-libmali-setup.service
│ └── ...
└── media/
└── az01-internal/ # Data partition mount point
Key systemd services enabled at boot:
| Service | Description |
|---|---|
engine.service |
Main Qt application |
soundswitch.service |
Audio switching daemon |
sshd.service |
SSH server |
az01-data-mkfs.service |
Format data partition |
az01-libmali-setup.service |
GPU driver setup |
az01-setup-hostname.service |
Set device hostname |
az01-machine-id.service |
Fix machine-id after mount |
touch-fw-update.service |
Touchscreen firmware update |
xmos-update.service |
XMOS audio firmware update |
az01-usbsata-fixer.service |
USB-SATA bridge config |
usb-gadget.target |
USB gadget mode |
Custom kernel modules for audio and hardware:
-
snd-soc-rockchip-inmusic-jp07.ko- Audio codec for JP07 -
snd-soc-rockchip-inmusic-nh08.ko- Audio codec for NH08 -
snd-soc-tas5805m-inmusic.ko- TAS5805M amplifier -
snd-soc-eta5805.ko- ETA5805 DSP codec -
ilitektouch driver modules
# Extract the rootfs partition's exact xz data and decompress it
dd if=PRIME4-5.0.0-Update.img bs=1 skip=$((0x7D0194)) count=174018872 of=firmware.xz
unxz firmware.xz
mv firmware firmware.ext2
# Explore filesystem (read-only)
debugfs -R "ls /" firmware.ext2
# Mount (requires root)
sudo mount -o loop,ro firmware.ext2 /mnt
# Extract specific files
debugfs -R "cat /boot/zImage" firmware.ext2 > zImage
# Disassemble DTB
dtc -I dtb -O dts rk3288-az01-jc11.dtb > rk3288-az01-jc11.dts
# Analyze binaries
arm-linux-gnueabihf-objdump -d /usr/Engine/Engine > Engine.asm
arm-linux-gnueabihf-strings /usr/Engine/Engine | grep -i "version\|license\|copyright"- Firmware formats comparison - Comparison of AZ01, AZ0x, and SC6000 formats
- Device List - All supported devices and their product codes
- SSH persistence guide - Persisting SSH access across firmware updates
- Yocto build guide - Reconstructing a matching Yocto/OpenEmbedded build environment