Please remember: this is a community reverse-engineering mod, not an official HiBy release. Everything below was verified by diffing a full unpacked stock rootfs against the modded one, file by file. Test it, break it, report back. Also, I'm not a developer — I'm just a curious reverse-engineering addict who can't resist poking at firmware to see what happens. 😄
I basically flip every switch I can find, cross my fingers, and release the modded firmware into the wild. There's no way I can test every single feature or setting on my own. So think of this as a community experiment: you break it, test it, report it, and together we'll figure out what actually works and what still needs tweaking. Every bug report, success story, and weird discovery helps make the next release better. Without your feedback, I'm just a guy enthusiastically pressing random buttons in an editor.
I am currently raising funds to purchase other HiBy devices to expand this modding ecosystem.
🎯 Target: $200 USD
Your support directly funds the purchase of hardware for reverse engineering and firmware testing. Next Targeted devicees - Hiby R3 Pro II, Hiditzs AP80 Pro-X, Tempotec V1 and others
💖 Sponsor me on GitHub
via USDT : 0xcb6989985389f0a983bb20582d97e665128735e1 ( BEP20 )
via Paypal : bidhata@gmail.com
Every dollar keeps this project alive and motivates future updates!
🔬 HiBy R1 Firmware V2.0: A Teardown, Byte by Byte
HiBy pushed V2.0 to their OTA server before posting a public download link anywhere, so I asked the server politely and it handed it over. Then I spent a weekend inside a MIPS binary with Ghidra and a lot of coffee. This is what I found.
The rule this time: nothing here is a guess from strings. Every claim about hiby_player was traced to the code that actually uses it. (Lesson learned the hard way. More on that in §9.)
The package: official r1.upt, MD5 c9577de224859fc76272ca340ed6eb82, 44,255,232 bytes. It came from otaserver.hiby.com, which redirects to oss.hiby.com/HiBy R1/en-us/2.0/…. Built 2026-10-09.
📦 1. What's in the box (r1.upt)
Surprise: the .upt is just an ISO 9660 image wearing a fancy extension. Same container as previous releases, so the repo's unpack_pack/unpack.sh and repack.sh still apply (with one catch, below).
ota_config.in current_version=0
ota_v0/ota_compatibility.in compatibility=hiby_r1_x1600_auto_rf_auto
ota_v0/ota_update.in kernel xImage 3,731,520 B md5 c446c0a3…
rootfs rootfs.squashfs 40,103,936 B md5 f50a0ca0…
ota_v0/ota_md5_<img>.<md5> per-chunk md5 list
ota_v0/xImage.NNNN.<md5> 8 × 512 KiB chunks
ota_v0/rootfs.squashfs.NNNN.<md5> 77 × 512 KiB chunks
ota_v0/ota_v0.ok
Things worth noticing:
- The compatibility string grew a suffix:
…_auto_rf_auto. One image now serves two different wireless chipsets and figures out at boot which one it's on. See §3; this is the biggest change in the whole release.
- Integrity is MD5 only. No signature. Each chunk's file name carries the MD5 of the chunk before it, a cute little hash chain. It catches corrupted downloads, and it lets us roll our own firmware. 🎉
- ⚠️ The repo's
repack.sh doesn't write ota_v0/ota_compatibility.in. V2.0 ships one, so a V2.0 mod should too.
🐧 2. The system underneath
| Thing |
Value |
| SoC |
Ingenic X1600 family. MIPS32r2, 32-bit little-endian. Yes, MIPS, in 2026. Respect. |
| Kernel |
Linux 4.4.94+ PREEMPT, gcc 5.2.0 (Ingenic r3.2.1), build #112, Fri Oct 9 12:04 CST 2026 |
| Userland |
Buildroot 2020.02.1 + BusyBox 1.31.1 (built 2026-09-14) |
| Libraries |
OpenSSL 1.1.1f, libcurl 7.68.0, BlueZ 5 (libbluetooth 3.19.2), bluealsa, ALSA, glib/dbus |
| Hostname |
ingenic (nobody renamed it, and honestly, same) |
| Rootfs |
read-only squashfs, 88 MB unpacked, 4,409 files |
| Your stuff |
UBIFS volume userdata on /usr/data (/data is a symlink to it) |
How it boots (/etc/init.d)
| Script |
What it does |
| S10mdev |
creates device nodes |
| S11jpeg_display_shell |
the boot logo. Reads a theme:N byte from /dev/mtd5 at 0x20000 and shows logo.jpeg, logo1.jpeg or logo2.jpeg to match your theme, then sets the backlight to 60 |
| S11module_driver_default |
loads every kernel module in /module_driver |
| S21mount_ubifs |
mounts userdata. If the mount fails it formats the partition and tries again. Bold. |
| S30dbus |
dbus |
| S39_recovery.recovery |
if /data/recovery_all exists: factory reset, then reboot |
| S40network |
networking |
| S43wifi_bcm_init_config |
MAC setup, Broadcom units only (bails out on AIC units) |
| S50sys_server |
the sys_server daemon (clears /mnt/* first) |
| S52wifi_aic_init_config |
🆕 new: MAC setup for the AIC8800 |
| S80_bt_init |
Bluetooth |
| S92_03_start_music_player |
runs hiby_player.sh, which starts hiby_player and reboots the device if the player ever exits. No desktop to fall back to here. |
| T90adb |
ADB gadget (VID 0x18d1 / PID 0xd002) |
bootmode.sh flips between two kernel slots by writing ota:kernel or ota:kernel2 to /dev/mtd5.
📡 3. Plot twist: there's a new R1 board
This is the headline, and it isn't in any changelog. A new script, module_driver/r1_wireless_select.sh, asks the AXP2101 power chip for the SoC ID and loads a different radio driver depending on the answer:
| SoC ID |
SoC |
Wireless chip |
Driver |
| 0x0A00 |
X1600E |
Broadcom/Cypress (the original R1) |
cywdhd.ko via cywdhd.r1 |
| 0x4A00 |
X1600EN |
AIC8800D40 |
aic8800_bsp.ko, aic8800_btlpm.ko, aic8800_fdrv.ko |
| 0x4900 |
X1600HN |
AIC8800D40 |
same as above |
| unknown |
— |
falls back to Broadcom |
— |
So HiBy quietly swapped the Wi-Fi/Bluetooth chip (and the SoC variant) on newer units. Details:
- The verdict is saved to
/run/r1_wireless_type (bcm or aic), and other scripts check it.
- On AIC units the Wi-Fi driver loads only when needed (
aic8800_fdrv.load) with disable_5g=1. New-board R1s are 2.4 GHz only.
axp2101.sh got a new knob, dcdc4_auto_x1600e_en_hn=1, which sets the core voltage per SoC variant.
- New helpers came along:
aic_radio.sh, bt_enable_aic.sh, bt_test, cmd_gpio, and even iperf3.
🚨 For modders, this matters a lot. If you bought an R1 recently, it may have the new X1600EN/HN + AIC8800 board. Mods built on ≤1.8b2 have no AIC drivers, so Wi-Fi and Bluetooth simply won't work on those units. Build new mods on 2.0, and don't touch r1_wireless_select.sh, aic8800_*, lib/firmware/aic8800d40_sdio_fw or S52wifi_aic_init_config.
The rest of the board (read off kernel module parameters)
| Part |
Detail |
| DAC |
Cirrus CS43131. I²C bus 3 is bit-banged on PB30/PB31 (old school), power PB02, reset PB21 |
| PMIC |
AXP2101, charges to 4.40 V, 100 mA termination |
| Fuel gauge |
CW2015 with a custom battery profile |
| Display |
LG35583 panel, 480×800, SPI bus 5, PWM backlight on PC00 at 30 kHz (max 101) |
| Touch |
CST8xx at 0x15 on I²C1, single touch |
| Keys |
Power PC31, Next PC28 (GPIO). ADC keys: 164 Play/Pause, 114/115 Vol |
| Inline remote |
sa_earpods_adc on ADC ch2 (play/pause, vol+, vol−) |
| LEDs |
red PC01 (breathing!), blue PC02 |
| USB-C |
TCS1421 (CFG0 PA09 / CFG1 PB24) |
| SD |
msc1, removable, card-detect PB22, power PC25, 50 MHz |
sau.ko |
a small new "SmartAction" module exporting sa_set/get_sau_verify. Smells like a device-verification hook. Keeping an eye on it 👀 |
🎵 4. hiby_player: the whole show in one binary
usr/bin/hiby_player: 5,103,852 bytes, MIPS32 ELF, stripped, dynamically linked (libasound, libcurl, OpenSSL 1.1, libqrencode, libz, libwpa_client).
- One binary runs three products: HiBy R1, MiDi R1 and the unreleased R1 Pro. A config JSON decides which one it is.
What's new in 2.0
🎚️ PEQ (parametric EQ), in layout/theme*/peq/hiby_peq.view and dialog/peq_filter.dlg
- Filter types: Low Shelf, Peaking, High Shelf. Fc 30–20,000 Hz, Q 0.2–20, gain ±9 dB, preamp −9…+2 dB.
- Presets live in
/data/peq/<name>.peq.
- Import: drop files exported from the HiBy Music app into a
peq folder on the SD card.
- 🤓 It also parses AutoEQ text format:
Preamp: %f dB and Filter N: ON PK Fc %f Hz Gain %f dB Q %f. A ParametricEQ.txt from AutoEQ should import directly. (The error message for a bad file reads, verbatim, "Parse autoeq faile not txt". We love it.)
- There's a hidden internal debug dialog, "PEQ Combined Settings", with 32 bands (Band 0–31) and an FFT view.
🎮 Games, with a launcher icon at litegui/theme*/launcher/games.png
- 2048: save file
/data/game_2048.dat
- Sudoku: difficulty levels, hints, a timer, best score. Save file
/data/game_sudoku.dat
- 24 Points: the card game where you make 24 from four numbers (
games/hiby_24.view, icon games/24_points.png). It's right there in the Games menu, not hidden.
⏸️ Timed playback pause, under Play settings → "Timed playback pause". If it clashes with standby, power-saving shutdown or sleep shutdown, the app offers to turn those off.
Who it phones home to
| Endpoint |
Why |
otaserver.hiby.com/app/ota/getOtaInfo (POST productName=HiBy R1 — yes, with a space — plus versionNumber, deviceNumber, languageCode) |
firmware updates (this is how I got V2.0 early) |
otaserver.hiby.com/app/ota/updateDeviceVersion?productName=%s%%20%s |
reports your version |
otaserver.hiby.com/app/radio/getRadioInfo |
internet radio list |
otaserver.hiby.com/app/earphoneSet/getEarphoneSet |
headphone presets |
otaserver.hiby.com/app/disclaimer/getDisclaimer |
the EULA |
track.hiby.com/app/product/guide |
online manual |
api.tidal.com, auth.tidal.com (device OAuth) |
TIDAL |
www.qobuz.com/api.json/0.2 |
Qobuz |
http://<ip>:4399 |
Wi-Fi file transfer (thttpd + udp_server) |
Also on board: AirPlay (shairport), a DLNA renderer (dmrd), a Samba client, HiByLink, Bluetooth input, USB DAC (UAC) and SPDIF screens.
The audio stack (from strings)
LDAC (HQ/SQ/ABR), aptX/aptX-HD, SBC. Gapless, ReplayGain (track/album), a resampler, DSD2PCM (DSD64–512) and native DSD.
Demuxers: FLAC, APE, DSF, DFF, AAC, AIFF, ASF, TS, WAV, MP3, and M4B with bookmarks kept in /usr/data/m4b_bookmarks.sqlite3. Audiobook people, rejoice.
⚙️ 5. Config files, feature flags, and the R1 Pro
usr/resource/config.json (stock R1)
product: HiBy / R1 / version 2.0 / ota_name "HiBy R1" / VID 0x32BB PID 0x0101 / DAC PID 0x0004
screen: 480×800, topbar 50, list item 126
volume: default 20, warn 34, lock 50 (headset)
function: ON: book_set_percent most_played dark_theme_enable screen_short_enable lyric_color_enable
OFF: dac_to_store tf_image_cache_enable tf_music_db_enable explorer_in_cue_enable
otg_scan_enable qplay3_enable playmenu_eq_disable
usr/resource/set_functions.json: rows HiBy switched off (0)
usb_mode, dac_charge_disable, dac_feedback, car_mode, car_mode_auto_play, double_touch_wakeup, volkey_locked, rotation, operating_instruction.
Tempting! But most of these come from HiBy's shared codebase for its other players, so "the row exists" doesn't mean "it does anything on the R1". §9.2 has the verdicts from the actual code.
👀 The R1 Pro (unreleased)
Three files give it away: r1pro_config.json, r1pro_ot_devices.json, and r1pro_bt_name ("HiBy R1PRO").
device: R1PRO, version: 0.01, ota_name: HiBy R1PRO. Same 480×800 screen, the same USB VID/PID and the same feature flags.
- Its output-device table is identical to the R1's except for three extra ports:
balance (priority 5), balance_lineout (4) and lineout (2).
- Translation: the R1 Pro adds a balanced headphone output, balanced line out and single-ended line out. Sample rates (up to 384 kHz), DSD over DoP and the volume tables are unchanged.