Repository navigation
Releases
Rockbox Tiny5 v0.0.5
Rockbox v0.0.5 — the UI is just ui
Follows v0.0.4. The interface is renamed, and one rendering bug is
fixed: lists with a second line broke when the Kode Mono font was chosen.
apps/newui is apps/ui
The code-drawn interface was "new" for as long as it was being written. It is
not any more, so the name goes:
apps/newui/→apps/ui/, includingui.h, the geometry headers
clef_geometry.handlogo_geometry.hfonts/newui/→fonts/ui/; the CJK facesfonts/ui/mkfonts.shcan
generate are nowui-14.fnt,ui-18.fnt,ui-20bold.fnt,ui-22bold.fnt,
ui-40bold.fntdocs/newui/→docs/ui/—PLAN.mdandPOWER.md- the language ids
LANG_NEWUI_*→LANG_UI_* - the settings
newui_theme,newui_style,newui_font,newui_clock→
ui_theme,ui_style,ui_font,ui_clock
The config names are unchanged — theme, selection style, font, status bar clock — so an existing .rockbox/config.cfg is read exactly as before.
The UI's folder on the card
The cover cache and the battery log lived in .rockbox/newui; they now live in
.rockbox/ui. The firmware renames the folder the first time it is needed, so
nothing is rebuilt: already-decoded covers stay decoded, the Battery Usage
history stays, and the first boot after updating looks like every other boot.
Lists in Kode Mono
Kode Mono is 14 px tall, but the row grid was fixed for Tiny5 Mono's 9 px: a
row with a grey second line was 24 px, which cannot hold two 14 px lines. The
line offset is computed from unsigned font heights, so it wrapped to a huge
number and the text of every row after the first was drawn off the screen —
Music › Songs showed its first row and a column of blanks, and the simulator
stopped with a segfault. Home, the settings menus and the album lists, whose
rows are a single line or 48 px, were unaffected.
A two-line row is now two lines of the chosen face plus the 6 px between them:
24 px with Tiny5 Mono, as before, 34 px with Kode Mono — six rows of Songs or
Albums on a page instead of nine. The row's line positions are computed in
signed arithmetic too, so a band shorter than both lines can never put text
off screen.
Install
- Archive:
rockbox-v0.0.5.zip(about 2.6 MB) — the firmware, the codecs
and the two UI faces, Tiny5 Mono (452 KB) and Kode Mono Regular (215 KB). - The player needs the official Rockbox bootloader for the Eros Q native;
this tree does not build bootloaders. - Unzip to the card root:
unzip -o rockbox-v0.0.5.zip -d /path/to/sdcard.
Over an existing install it leavesconfig.cfg,bt_config.confand
bt_devices.txtalone, so settings and Bluetooth pairings survive. Bluetooth
audio needs hardware revision 4 (hw4). - Eject the card and reboot.
- An older install may still carry
.rockbox/fonts/newui-*.fnt— the Noto CJK
faces (27 MB) the UI no longer uses; they can be deleted.
Rockbox Tiny5 v0.0.4
Rockbox v0.0.4 — a font you can choose, a charge you can cap
Follows v0.0.3. Two new settings: the face the interface is drawn
with, and how far the battery is allowed to charge. The layout itself is
unchanged.
The UI font is a setting
Settings › General › Display › Font chooses the face for the whole interface.
Two are installed:
- Tiny5 Mono (9 px, SIL OFL 1.1) — the default, the pixel font the UI has
always drawn with. - Kode Mono Regular (14 px) — taller and more even, for anyone who finds
Tiny5 cramped.
Choosing one re-pins every screen to it at once, not just the screens that were
written to ask: the lists, the menus, the database browser, Cover Flow, Now
Playing, Home and the status bar all follow. Each face keeps its own set of five
slots, so switching does not rescale anything, and rows stay 16 px either way.
- Tiny5 Mono is the default on purpose: it is the only face with the transport
and status glyphs (play, pause, stop, fast forward/back, the lock) and with
Cyrillic. Kode Mono has neither, so with it selected those marks come from the
font's fallback glyph and Cyrillic text does not read — Latin is complete. - Both faces are installed from
fonts/newui/, and their glyphs load from the
card on demand, so the extra face costs disk space, not RAM. The setting is
font: tiny5orfont: kodemonoin.rockbox/config.cfg; an old value in an
existingconfig.cfgstill maps cleanly, the list just has two entries now.
Charge limiting
Keeping a Li-ion cell at 100% is the quickest way to age it, so charging can now
stop short of full. Settings › General › System › Battery › Charge limit
offers 80, 85, 90, 95 and 100% (no limit, the default).
- The limit is enforced by the power chip (the AXP2101 on hw4): when the battery
reaches the limit the charge current is set to 0 mA, and it is restored once
the cell has fallen 5% below it. The charge then lives in a band — 75–80% with
an 80% limit — instead of the charger switching at a single value. - While charging is halted the status bar shows no charging
+, and the battery
readout behaves as if the player were running on its own. - The limit takes effect at boot and as soon as you leave the setting.
- hw1–hw3 use a different power chip with no 0 mA charge-current step, so the
setting is ignored there.
The battery number is steady now
The power chip reports a fuel-gauge percentage directly, and reading it had one
weakness: a failed transfer — a transient I2C NACK, or the chip busy — returned
an uninitialised byte, so the readout and the Battery Usage chart could show a
random number between 0 and 255. The read is now retried three times, and only
when all three fail does it fall back to the filtered voltage-based estimate that
was always there. The number moves only when the charge does.
Two screens changed
- The lock screen shows the cover instead of the time and date: the playing
track's art, centred above the title, artist, album and file lines, the
Rockbox clef when the album has no cover, and the clef square alone when
nothing is playing. - Now Playing gives each readout line a little air, so title, artist, album,
position and file read as separate lines; the cover above shrinks by the same
amount and still shows.
Install
- Archive:
rockbox-v0.0.4.zip(about 2.6 MB) — the firmware, the codecs
and the two UI faces, Tiny5 Mono (452 KB) and Kode Mono Regular (215 KB). - The player needs the official Rockbox bootloader for the Eros Q native;
this tree does not build bootloaders. - Unzip to the card root:
unzip -o rockbox-v0.0.4.zip -d /path/to/sdcard.
Over an existing install it leavesconfig.cfg,bt_config.confand
bt_devices.txtalone, so settings and Bluetooth pairings survive. Bluetooth
audio needs hardware revision 4 (hw4). - Eject the card and reboot. An older install may still carry
.rockbox/fonts/newui-*.fnt— the Noto CJK faces (27 MB) the UI no longer
uses; they can be deleted.
Rockbox Tiny5 v0.0.3
Rockbox v0.0.3 — eight palettes, a flatter interface
Follows v0.0.2. The layout is unchanged; what changed is how it is
drawn.
Eight palettes, one layout
Dark, Light, Nord, Gotham, Rose Pine, Tokyo Night,
One Light and GitHub Light: same screens, same row heights, same
selection mechanics, only the colours differ. Set it under
Settings › General › Display, or theme: nord in config.cfg.
- The accent is part of the palette — the "accent colour" setting is gone. Each
theme carries its own accent, its lighter accent for fills, icons and plots,
and its own warning red. A leftoveraccent colour:line in an old
config.cfgis ignored. - Each palette states its own secondary text colour, so the Minimal selection
band no longer has a hard-coded grey. - Palettes live in one table,
apps/newui/ui_style.c. Adding one is a row in
four tables plus a language phrase; no screen code is touched.
Terminal-flat: the rules are gone
- The status bar is no longer a gradient band — it is the page's own colour, with
only the play-state glyphs, clock, Bluetooth and battery drawn on it. - Hairlines under list title rows and art rows, the top rule of the Now Playing
info and volume bands, the line under the System Status title and the outlines
of the Cover Flow song panel are removed. Bands are separated by colour only. - Selection bands span the whole row height instead of
row_h - 1. UI_C_BAR_LINEnow means "the track a bar fills", not a separator.
Kept deliberately: the battery chart's dashed grid, and the cover frames in
Cover Flow, which are the edges of the covers, not decoration.
The logo is drawn, not shipped
Both marks of the Rockbox logo are vector geometry in the binary, cut from the
SVGs in docs/logo by tools/svg2poly.py (stdlib only):
paths are flattened to polygons, normalised into a 1024 box and committed as
headers.
- The boot splash is the Rockbox icon —
logo_geometry.h, 9 painted paths,
17 rings, 570 points, each path with its own fill.ui_logo_draw()paints it
even-odd at 120 px, half the screen height, in the bottom-left corner, and
boot fades it in, opacity 0 to 1 easing over 2 s. The 230 KBrockboxlogo.bmp
is gone. - An album with no cover carries the clef —
clef_geometry.h, 200 points in
four rings — in every placeholder square: list rows, Cover Flow, and Now
Playing, which keeps the cover square rather than letting the text float. - Both are anti-aliased by sampling each pixel row on four sub-scanlines; the
clef's coverage is cached per size, so a list of rows without art redraws
cheaply while the wheel spins. - Covers in a list's title row line up with the text below them: the edge
column when the rows beneath have covers (the album page), the text margin
when they do not (the context menu).
Home knows the collection
Stuck to the bottom edge of Home, in the theme's secondary grey, is the music
database: 1246 tracks · 41 h 12 min. The total is tag_length summed over every entry, scanned once and cached,
keyed on the entry count, how far a scan has got and the commit step; Home
refreshes the line when the database finishes building, so it does not have to be
left and re-entered. While the database is not searchable the line says so —
Music database not ready yet [3/12] — and when it holds nothing,
No music in the database.
Pop-up panels are flat
The bar a scan shows during a disk or database scan is a flat 6 px band rather
than a pill, and the yes/no rows use the same flat selection band as every list.
The splash shows both versions
The boot splash has two version rows now, fading in with the icon:
Rockbox: 96fcf9e958-261126
Tiny5 UI: v0.0.3
The first is the Rockbox build revision the firmware was compiled from; the
second, in the theme's muted grey, is the tag this repository is cut from.
tools/version.sh --release resolves it — HEAD's tag on a release build,
otherwise the release the notes table says is next — and tools/genversion.sh
writes it to rbversion.h as RBRELEASE next to RBVERSION. A tree with no
tags prints only the Rockbox line.
Releases are named rockbox-vX.Y.Z.zip
The h2 prefix is gone: the Release workflow now publishes
rockbox-vX.Y.Z.zip (the assets of earlier tags keep their names), with the
release titled "Rockbox Tiny5 vX.Y.Z". It no longer overrides VERSION when it
builds, so RBVERSION stays the build revision and the tag shows up as the
Tiny5 UI: line. A tag containing a - (e.g. v0.0.4-rc1) is published as a
prerelease.
Documentation split up
The README is an introduction, a feature list, screenshots and references. The
detail lives in:
| File | Contents |
|---|---|
docs/INTERFACE.md |
screens, controls, fonts, languages, selection styles |
docs/BLUETOOTH.md |
the Bluedroid port, the BCM4343A1 driver, the settings |
docs/CUT-DOWN.md |
everything removed from upstream Rockbox |
docs/DEVELOPING.md |
builds, the simulator, the commit gate, releases |
docs/screens/ has two folders, dark and light: ci/screens.sh runs
ci/screens.script in the headless simulator and ci/scaleimg.py upscales the
320×240 shots 4× to 1280×960, so the 9 px font is legible. THEMES="nord gotham" ci/screens.sh shoots others.
Install
- Archive:
rockbox-v0.0.3.zip(2.64 MB) — the firmware, the codecs and the
UI font, Tiny5 Mono (452 KB). - The player needs the official Rockbox bootloader for the Eros Q native.
This tree does not build bootloaders. - Unzip to the card root:
unzip -o rockbox-v0.0.3.zip -d /path/to/sdcard.
Over an existing install it leavesconfig.cfg,bt_config.confand
bt_devices.txtalone, so settings and Bluetooth pairings survive. Bluetooth
audio needs hardware revision 4 (hw4). - Eject the card and reboot.
- An older install still carries the Noto Sans CJK faces (~27 MB) that are no
longer used — delete.rockbox/fonts/newui-*.fntto reclaim the space.
H2 Rockbox v0.0.2
H2 Rockbox v0.0.1 — the Tiny5 Mono interface
Rockbox for the HiFi Walker H2 (AIGO Eros Q native, Ingenic X1000, 320×240):
a UI drawn by hand in C, album covers throughout, and Bluetooth audio. This is
the first packaged build of the tiny5-rockbox tree.
Archive: rockbox-h2-v0.0.1.zip — unzip to the root of the SD card (it
contains .rockbox/).
What's in it
- A code-drawn interface (
apps/newui/): Home, Now Playing, Cover Flow,
file and music-database browsers, playlists, settings menus, System screens,
pop-ups, on-screen keyboard, lock screen, USB screen, boot animation. No
theme/skin engine, no WPS files, no bitmap icons. - Tiny5 Mono (9 px, SIL OFL 1.1) for the whole UI: 16 px rows, a 22 px
status bar. Latin, Greek and Cyrillic — Russian and other Cyrillic tags
display correctly. Chinese/Japanese/Korean is not supported yet. - Cover Flow: albums as covers that slide with the scroll wheel, with
reflections and perspective. Covers are decoded once and cached on the card
(.rockbox/newui/thumbs) — decoding JPEGs while scrolling is too slow on the
X1000. - Album art in lists and on Now Playing: title, artist, album, "3 of 12",
codec · bitrate · sample rate, progress band. The wheel sets the volume;
Centre twice (or held) scrubs. - Looks: Dark or Light theme, Classic or Minimal selection, six accent
colours, optional status bar clock. - Bluetooth audio (A2DP + AVRCP): paired headphones play/pause, skip and
change volume. Hardware revision 4 (hw4) only. - Battery and power: nothing is drawn while the screen is off, the LCD
sleeps instead of polling, the Bluetooth chip sleeps between packets, the DAC
and headphone amp are off when streaming over Bluetooth. System ›
System Status (CPU, memory, storage, I/O, database, uptime) and System ›
View Battery Usage (level against hours since the last charge). - Power locks the keys and blanks the display from any screen; press again to
wake it.
Install
- The player needs the official Rockbox bootloader for the Eros Q native
(Rockbox Utility, or a stock Rockbox build once). This tree does not build
bootloaders. - Unzip to the SD card root. To update in place and keep your settings and
pairings:unzip -o rockbox-h2-v0.0.1.zip -d /path/to/sdcard—config.cfg,
bt_config.confandbt_devices.txtare not in the archive. - Eject the card and reboot.
The archive is about 2.6 MB: the firmware, the codecs and Tiny5 Mono (452 KB),
the only font the interface uses. The Noto Sans CJK faces (~27 MB on the card)
from the earlier UI are no longer installed; fonts/newui/mkfonts.sh can still
make them for a future CJK build. Updating from an older build leaves them
behind — delete .rockbox/fonts/newui-*.fnt to reclaim the space.
Build it yourself
sudo apt install build-essential git perl zip unzip wget flex bison texinfo \
autoconf automake libtool libtool-bin
git clone https://github.com/roman-kiselenko/tiny5-rockbox.git
cd tiny5-rockbox
RBDEV_PREFIX=$HOME/rockbox-toolchain RBDEV_TARGET=i tools/rockboxdev.sh # once
export PATH=$HOME/rockbox-toolchain/bin:$PATH
mkdir build && cd build
../tools/configure --target=erosqnative --type=n
make -j$(nproc) && make zipKnown limits
- CJK text is not rendered yet.
- Bluetooth works on hw4 only; other revisions still run the firmware.
- No plugins (the loader is removed), no themes, and codecs this player will not
use were dropped (MOD, game music, RealMedia, AC3, Speex...). - New UI strings are English only; other languages fall back to English.
Credits
Based on dismal-ad/h2-rockbox, a
cut-down fork of upstream Rockbox (commit
212bb63ee4). Bluetooth from
thiagoelg/h2-rockbox-bt (Thiago
Lugli, on Skye's Bluedroid port). Font:
Tiny5 Mono, SIL OFL 1.1. GPL v2, like
Rockbox.
H2 Rockbox v0.0.1 — Tiny5 Mono UI
Rockbox for the HiFi Walker H2 — first release
Rockbox for the HiFi Walker H2 (AIGO Eros Q native, Ingenic X1000, 320×240)
with a UI drawn by hand in C, album covers throughout, and Bluetooth audio.
This is the first packaged build of the tiny5-rockbox tree.
Archive: rockbox-h2-v0.0.1.zip (~15 MB) — unzip to the root of the SD card.
Known limits
◉ CJK text (Chinese, Japanese, Korean) is not rendered yet.
◉ Bluetooth works on hw4 only; other revisions still run the firmware.
◉ No plugins (the loader is removed), no themes, and some codecs this player
does not need were dropped (MOD, game music, RealMedia, AC3, Speex...).
◉ New UI strings are English only; other languages fall back to English.
Credits
Based on dismal-ad/h2-rockbox (https://github.com/dismal-ad/h2-rockbox), a
cut-down fork of upstream Rockbox (https://www.rockbox.org/) (commit
212bb63). Bluetooth from thiagoelg/h2-rockbox-bt (https://github.com/thiagoelg/h2-rockbox-bt)
(Thiago Lugli, on Skye's Bluedroid port). Font: Tiny5 Mono (https://github.com/Gissio/font_Tiny5Mono),
SIL OFL 1.1. GPL v2, like Rockbox.
Live screenshots: