Skip to content

Handtop v0.3.6 — Security fixes, YouTube on the video engine, audit clean-up

Choose a tag to compare

@junsulee119 junsulee119 released this 02 Nov 12:08
· 69 commits to main since this release

Security and reliability release: FFmpeg brought up to Debian's 7.1.5, Bluetooth controller modes that only accept what a controller needs, YouTube and Chromium decoding on the video engine, and fixes for every finding of an external review of the whole codebase.

This release carries security fixes. Installed handhelds only get them by reflashing (an update system without reflashing is planned).

⚠️ Known issue (still open): Bluetooth is sometimes missing on the first boot after flashing (the Bluetooth icon shows it off and External Controller → Bluetooth can't start). Restart once (Power → Restart); it works from then on.

Which image do I need?

  • Most RG35XX H units: handtop-20261102-v0.3.6.img.xz
  • If that image does nothing at power-on (no LED at all), your unit has DDR3 RAM: handtop-20261102-v0.3.6-DDR3.img.xz

Flash with balenaEtcher or Rufus, boot from the TF1 (left) slot. Login rg / rg35xxh; SSH is off until Apps → Enable SSH.

File SHA-256
handtop-20261102-v0.3.6.img.xz d8de59b58f4b173cfd4a66fe4ef5d0477da33bd6aa950dd0e439fb6cbc2b8965
handtop-20261102-v0.3.6-DDR3.img.xz 5ffd2627dfb7eecfffd8555b12577279921d4bfbeead6a04d1d01ced6ae778e3

What's new in v0.3.6

Security

  • FFmpeg 7.1.5. The hardware-decoding FFmpeg was based on 7.1.3 while Debian ships 7.1.5: about 390 upstream commits behind, including fixes for two crafted-media-file bugs (CVE-2026-8461, CVE-2026-38347). Because it replaces Debian's libraries, Debian's updates never reached it. It's now built on 7.1.5 with the same hardware decoding; ffmpeg -version shows 7.1.5-handtop-v4l2request-….
  • Bluetooth controller modes no longer accept everything. While a mode waited for a PC or Switch, any nearby device could pair, and in Bluetooth: Xbox it was trusted for good, so it could have posed as a keyboard. Now each mode accepts only what a controller needs, Bluetooth keyboards and mice pause while a mode is on (yours come back afterwards), only the device that actually uses the handheld as a controller is trusted, and anything else that paired during the mode is removed when it ends. Pairing works as before.

Video

  • YouTube plays on the video engine in Chromium. Chromium installs the enhanced-h264ify extension on first launch, so YouTube sends H.264, which the handheld decodes in hardware. Pick 480p: the screen is 640×480.
  • Chromium and VLC use hardware decoding (VA-API over the V4L2 request API), with no flags. Contributed by @stockmind (#5). Measured at 1080p: Chromium about 160 % of one core instead of 255 %, VLC 11 % instead of 227 %.

Fixes

  • Controls are harder to lose. A typo in rg35xxh-input.conf used to stop the input daemon, leaving no buttons; now that line is ignored and the reason logged. Input errors restart the daemon within seconds, and buttons no longer get stuck held after a busy moment.
  • External Controller: over Bluetooth, a button release could get lost when the radio was busy; it's now sent again. Stopping USB mode while it's still starting always cleans up.
  • Screen off: logging out (or a crash) while the screen was off no longer leaves the next session with the screen dark and one CPU core.
  • Display: with an HDMI monitor at a scale other than 1, Extend puts the handheld's screen right below the monitor (no gap). A resolution Test always switches back after 15 s.
  • Wi-Fi from wifi.txt: if the password is refused (WPA needs 8–63 characters), your existing Wi-Fi profile now stays.

For builders

  • Go 1.27.3 for the launcher; kernel modules build on arm64 hosts too; an edited kernel patch is picked up by the next build.
  • CI on every push and a weekly check for upstream updates of everything Handtop builds itself (docs/upstreams.md). Security reports: see SECURITY.md (private reporting is on).

About the review

Codex reviewed the whole codebase against v0.3.5 and reported 18 findings (2 High, 13 Medium, 3 Low). All were confirmed and all are fixed in this release; every fix that touches the handheld was tested on it. The report, its evidence and what was done about each finding are in docs/audits/.

Thanks

  • @stockmind for the VA-API work (#5) that gets Chromium and VLC onto the video engine, including the fixes to the VA-API driver for this handheld's decoder.

Disclaimer

Handtop is an unofficial hobby project, not affiliated with Anbernic, ROCKNIX, Microsoft or Nintendo. Use at your own risk; see the Disclaimer section in the README.

Full history in CHANGELOG.md.