A collection of custom firmware modifications for HiBy digital audio players, along with documentation of the proprietary OTA firmware format for the benefit of the modding community.
This project is part of the hiby-modding organization. Also see:
- hiby_os_crack by Tartarus6 — complementary firmware modding project with clean unpack/repack scripts, QEMU emulation setup, Windows support, and SOC hardware documentation.
Provides custom firmware builds and tools for modifying HiBy OS on supported devices. Modifications are built on top of the stock firmware and distributed as ready-to-flash .upt files.
Current modifications in v1.4+:
- Database Manager — new Settings menu entry to save/load the music library database to/from SD card without rescanning. Supports all 13 languages.
- PC Database Updater — Python script and GUI app to generate the music library database on your PC in seconds
- Unified Theme — modernized UI including updated system dialogs, battery icon, WiFi/BT scanning dialogs, and more
- Alphabetical sorting — multi-language article support, symbols sort to top, updated scrollbar
- Extended Unicode font support — adds rendering for scripts not included in the stock firmware
- ADB support — root shell access via USB, enabled through a hidden easter egg
- Custom firmware identifier — About page shows
1.4+to distinguish from stock
Known Limitations:
- Added Unicode scripts display left-to-right regardless of the script's natural reading direction — the HiBy OS text renderer does not support bidirectional text
- Characters appear in isolated forms and do not connect to each other — the OS renderer does not support contextual shaping
- Device: HiBy R3 Pro II (r3proii)
- Base firmware: Stock HiBy OS (January 2026)
- Host OS used for building: Ubuntu / Pop!_OS (Linux)
⚠️ Compatibility: The pre-built firmware in this repository has only been tested on the HiBy R3 Pro II. Do not flash on other devices unless you have built and verified it yourself.
If you just want to flash the latest modifications without building from source:
- Download
r3proii-v1.4-hmod.uptfrom the Releases section - Verify the checksum matches the one listed in the release notes
- Copy it to the root of your SD card and rename it to
r3proii.upt - Insert the SD card into your HiBy R3 Pro II
- Hold Volume Up and press Power to enter the updater
- Let it flash — it will say "Upgrading..." then "Succeeded"
- Remove the SD card before the device reboots
- Done
Note: After flashing go to Settings → UI Themes and reselect your preferred theme to ensure the correct boot logo displays.
Recovery: If something goes wrong, you can always restore by flashing the original stock firmware from HiBy's website using the same procedure.
Instead of waiting for the device to rescan your music library, generate the database on your PC in seconds:
- Insert your SD card into your PC
- Run
tools/Update_Database.pyor use the GUI app - Insert the SD card back into the device
- Go to Settings → Database Manager → Copy Database from SD
- The library reloads instantly — no rescan needed
ADB can be enabled on any firmware version (including stock) without any modification:
- Go to Settings → About
- Tap the "About" text 10 times
- A message saying "Test Mode Turned On" will appear
- Connect the device to your PC via USB
- Run
adb devicesto confirm the connection
To disable ADB, tap "About" 10 times again.
Note: ADB and USB mass storage share the same USB interface and cannot run simultaneously. While ADB is enabled the device will not appear as a storage drive.
sudo apt install squashfs-tools xorriso fontforge python3-fontforge p7zip-full# 1. Clone this repository
git clone https://github.com/hiby-modding/hiby-mods
cd hiby-mods
# 2. Place your stock .upt firmware in the Firmware/ folder
# 3. Run the mod tool
./tools/universal_mod_tool.sh# 1. Clone this repository
git clone https://github.com/hiby-modding/hiby-mods
cd hiby-mods
# 2. Download the stock firmware from HiBy's website
# Place it at: firmware/r3proii_stock.upt
# 3. Run the rebuild script
./tools/rebuild.shhiby-mods/
├── README.md
├── binaries/
│ ├── Sorting Patch/ # Sorting-only patched binary
│ └── DB Manager Patch/ # Sorting + Database Manager patched binary
├── docs/
│ ├── FIRMWARE_FORMAT.md # Detailed OTA format documentation
│ └── SCREENSHOTS.md # ADB screenshot guide
├── themes/
│ └── Unified Theme/ # Community UI theme (3 variants)
├── tools/
│ ├── build_upt.sh # Manual build script
│ ├── merge_arabic_font.py # Font merging utility
│ ├── universal_mod_tool.sh # Interactive mod tool
│ ├── MOD_TOOL.md # Mod tool documentation
│ ├── rebuild.sh # Quick rebuild script
│ ├── Update_Database.py # PC database updater script
│ └── Update Database README.md
└── firmware/
├── r3proii-arabic.upt # v1.0
├── r3proii-v1.1.upt # v1.1
├── r3proii-v1.2.upt # v1.2
├── r3proii-v1.3.upt # v1.3
└── r3proii-v1.4-hmod.upt # v1.4+ (latest)
See docs/FIRMWARE_FORMAT.md for complete documentation of the OTA update format, partition layout, boot sequence and hardware details.
See docs/SCREENSHOTS.md for a guide on capturing screenshots from the device via ADB.
- Database Manager — load/save music library database via Settings menu, all 13 languages supported
- PC Database Updater — Python script and GUI app for fast library generation on PC
- Custom firmware identifier — About page now shows
1.4+
- Updated Unified Theme — expanded system dialog modernization, new icons throughout
- ADB support — fixed USB gadget conflict enabling reliable ADB connectivity
- Unified Theme — modernized launcher, screensaver, playing screen, stream media icons, boot logo
- Updated alphabetical sorting — multi-language article support, symbols sort to top
- Extended Unicode font support for scripts not included in stock firmware
- Alphabetical sorting fix — entries starting with "The" now sort correctly
- Initial release
- Documented OTA firmware format
- Proof of concept custom firmware build
This firmware is provided as-is with no warranty. Flashing custom firmware carries a small risk of making your device temporarily unbootable. In the event of a boot loop, you can always recover by flashing the original stock firmware from HiBy's website using the Volume Up + Power method described above.
This project is not affiliated with or endorsed by HiBy Music.
Contributions are welcome. Areas where help would be valuable:
- Testing on other HiBy devices that share the same firmware format
- Investigating kernel source availability (check github.com/hiby-music)
- Adding support for additional Unicode scripts
- GUI and theme modifications
- RockBox Bluetooth/WiFi integration
- Further ADB exploration and live system research
- @Jepl4r — Unified Theme, sorting patch, Database Manager, PC database updater, mod tool
- @Tartarus6 — hiby_os_crack tooling and collaboration
- Noto Naskh Arabic font by Google (OFL licensed)
- HiBy Music for making a great device
- The head-fi.org community
- The Reddit r/hiby community