Close
0%
0%

NZEUS Deck: Linux 7.2 on a cheap R36S clone

Linux 7.2 + Debian 12 on the HiChip R36S clone that no custom firmware supports, with a desktop made for its screen and buttons.

Similar projects worth following
52 views
0 followers
The R36S is a cheap retro handheld. Most use a Rockchip chip, but the V2.7 clone uses a HiChip E3100 (MIPS 74Kc) with the maker's own Linux 4.4, and none of the community images run on it. I traced its boot with an Arduino as a UART logger, found the kernel hiding on the SD card as an encrypted "advapi32.dll", and now it boots Linux 7.2 and Debian 12 from the card, with a desktop, Wi-Fi, Bluetooth, Python and car and bench tools. Nothing is flashed, and an uninstaller brings the stock system back.

Why

I bought an R36S and got the clone: a HiChip E3100 instead of the usual Rockchip. ArkOS and the other custom firmwares can't run on it, so I decided to find out how it boots and put a real Linux on it.

How it boots

  • A receive-only Arduino Uno on the debug pads (19200 baud) gave me the boot log.
  • A backup of the NOR flash showed how the bootloader finds the kernel: on the SD card, as cubegm/advapi32.dll, a uImage wrapped in ChaCha20 with a CRC32 and no signature check.
  • The SD card's first sector is XOR'ed with DEADBEEF, and the card only boots if two flag bytes in it are set.
  • I started with a rescue kernel that runs from RAM only, so a bad build could never damage the card.

The port

Building on Siarhei Volkau's linux-hichip work, the console now boots Linux 7.2 with:

  • a native display driver for the 640x480 screen
  • an ALSA driver for sound, which lives on a second processor
  • about 117 MiB of usable RAM (stock: about 39 MiB)
  • a 900 MHz clock, because at the factory clock the FPU corrupts memory stores (30 out of 30 test runs passed at 900 MHz vs 13 out of 30 at 1188 MHz)

Fun bugs along the way: screen colours that went wrong after two minutes, sound that needed its own co-processor driver, and that FPU fault.

The desktop: NZEUS Deck

A small desktop made for the console's screen and buttons, on top of Debian 12:

  • Terminal with an on-screen keyboard, Files, Editor, Python 3, Notes, a web browser, Media, Images
  • Wi-Fi and Bluetooth, with keyboard and mouse support
  • Car: live engine data and fault codes over an OBD-II adapter, plus a PDF health report
  • Bench tools: resistor colour codes, Arduino serial monitor, and a voltmeter, oscilloscope and I2C scanner with the NZEUS Probe board
  • 6 colour themes, a desktop mode with movable windows, Arabic text, signed app updates

Security

In November 2026 I did a security review of my own project: five issues found, four fixed in v1.0-beta.3, each with a test that fails on the old code (including an out-of-bounds read in the picture decoder and an update downgrade weakness). The review is public in the repo.

New and next

  • New in beta 4: an App Store with more than 9,800 free Debian programs, installed and opened with the buttons
  • New in beta 5: Retro Games, with PS1, SNES, NES, Game Boy and Mega Drive emulators made for this console by contributor hedgeg0d (Crash Bandicoot runs at 60 fps), installed with one button from the App Store; plus USB and Bluetooth gamepads, Bluetooth headphones, videos and Arabic menus
  • Next: copying games and files over the USB cable (built in, switched off until a USB driver fix lands), then HDMI and sleep
  • More consoles: the code is split so each new console gets its own port folder

Install

Copy to the SD card with install.bat (Windows). The flash chip is never touched, and uninstall.bat brings the stock system back. It only works on the R36S V2.7 clone with the HiChip E3100 (board marked HC16E3100V20). No games or BIOS files are included.

How it was made: AI assisted; the hardware work and the testing on real consoles I did on my bench.

Source, install guide and the full write-up: github.com/nzeuslab/nzeus-deck

  • 1 × R36S handheld, V2.7 clone HiChip E3100 (MIPS 74Kc), board HC16E3100V20
  • 1 × Arduino Uno Receive-only UART logger for the boot log (19200 baud)
  • 1 × microSD card The console's own card; NZEUS needs about 5 GB free
  • 1 × USB Wi-Fi dongle On the USB-C OTG port
  • 1 × OBD-II adapter (optional) For the Car app: live engine data and fault codes

View all 6 components

  • Beta 5: retro games, gamepads and Bluetooth headphones

    Naser Ashknani • 8 hours ago • 0 comments

    NZEUS Deck 1.0 beta 5 is out, and the console now plays games.

    Retro Games: hedgeg0d, another owner of this HiChip clone, built emulators made for this console: PlayStation, NES, Game Boy / Color, SNES and Mega Drive / Master System / Game Gear. One button installs them all from the App Store. Bring your own games: nothing is included or downloaded.

    Also new:

    - USB and Bluetooth gamepads work as the console's buttons

    - Bluetooth headphones and speakers (SBC)

    - Videos: MP4, MKV and AVI full screen with MPlayer from the App Store

    - Arabic menus, mirrored right to left

    - Icon packs (Flat, Glossy, Classic)

    - install.bat now offers to put your programs back after a reinstall

    Not done yet: copying games over the USB cable is in the system but switched off, because the console's USB driver drops some packets. That's the next fix. HDMI and sleep are still to do.

    Release: https://github.com/nzeuslab/nzeus-deck/releases/tag/v1.0-beta.5

    Thanks to hedgeg0d for Retro Games and the power menu.

  • Beta 4: an App Store for the console

    Naser Ashknani • 2 days ago • 0 comments

    NZEUS Deck 1.0 beta 4 is out, and the big new thing is an App Store. You can now add Debian programs to the console with the buttons: pick a category, open a program, press A. No Linux commands needed.

    App Store list Home page with a tile for each installed program

    • 10 programs tested on the real console and shown first: 2048, bastet, ninvaders, nsnake, moon-buggy, greed, btop, mc, tmux and cmatrix.
    • More than 9,800 others passed an automatic check on a PC copy of the system and are marked "Should run".
    • Every installed program gets its own Home tile, and programs run full screen with button mappings (START opens a menu to close them).
    • If an install gets cut off (power pulled, card full), Repair finishes or undoes it.

    Also new: the boot logo now stays until Home is ready, and three contributions from hedgeg0d: a choice of A or B to confirm, a silent speaker at 0% volume, and a picture buffer for the 2D graphics engine, groundwork for emulators.

    Download and full notes: github.com/nzeuslab/nzeus-deck/releases/tag/v1.0-beta.4

  • From a boot log on an Arduino to Linux 7.2

    Naser Ashknani • 2 days ago • 0 comments

    This page is new, but the project isn't: NZEUS Deck is already open source on GitHub, and its latest release is v1.0-beta.3.

    Where it stands now:

    • Linux 7.2 and Debian 12 boot from the SD card on the HiChip R36S clone
    • The desktop has a terminal, Python, Wi-Fi, Bluetooth, car and bench tools
    • A security review of the project is public, with four of five issues fixed
    • Outside contributors have started sending kernel driver work (a 2D graphics engine driver and a speaker fix)

    Coming next: an App Store with more than 9,900 Debian programs, and PS1 / Mega Drive emulators from a contributor. I'll post logs here as each one lands.

View all 3 project logs

Enjoy this project?

Share

Discussions

Does this project spark your interest?

Become a member to follow this project and never miss any updates