Flashing GammaOS Core with Rockchip RKDevTool (WINDOWS ONLY) - TheGammaSqueeze/GammaOSCore GitHub Wiki
This page describes an alternative way to flash GammaOS Core using the Rockchip RKDevTool, rather than using SDDiskTool. This approach can help users who are:
- Experiencing boot loops.
- Finding that SDDiskTool does not recognize their SD card.
- Having other difficulties during the standard flashing process.
- Or want to flash GammaOS to their EMMC instead of a SD card (supported devices only)
Overview
The video tutorial demonstrates how to flash a Rockchip-based device (such as a Miyoo Flip) with GammaOS Core.
- SD CARD: https://www.youtube.com/watch?v=_-6ZYrNGTRs
- EMMC: https://youtu.be/L--gXeHTA6I?si=GmZ8-kMSOc-tb4ZT
This method can also apply to other Rockchip devices (RK3566 or similar) if you can get them into loader/maskrom mode. (Some devices may show a IDB load fail error if they don't have an eMMC, this is normal and you can proceed as normal)
Prerequisites
-
Rockchip Driver
- A Windows PC with the RockUSB driver installed for Rockchip devices.
- The driver is included in the
RKDevTool
bundle; if needed, install it from there.
-
GammaOS Files
- Download the latest GammaOS Core
.img
file from GammaOS Core GitHub Releases. - (MIYOO FLIP ONLY) Download any required “Gamma Reboot” files, to use the “Reboot to Loader” app. Download here: GammaReboot.zip
- Download the latest GammaOS Core
-
RKDevTool
- Download the
RKDevTool_vX.XX.zip
(version 2.96 is shown in the video) from here: RKDevTool_Release_v2.96.zip . - Unzip it to a convenient location on your PC.
- Download the
-
Device-Specific Requirements
- Some Rockchip devices have an SD card slot (for external storage) and eMMC (internal storage).
- If your device does not have onboard storage (eMMC), simply power it on without an SD card inserted to force loader/maskrom mode.
- If your device has eMMC, you can either use the “Reboot to Loader Mode” app (FLIP ONLY) or run
adb reboot loader
to enter loader mode.
Step-by-Step Instructions
1. Enter Loader/Maskrom Mode
-
Using the “Reboot to Loader Mode” app (Flip devices):
- Copy the “Gamma Reboot” files to an SD card.
- Insert the SD card into the device.
- Launch the “Reboot to Loader Mode” app. The device’s screen may go blank or freeze at a splash screen—this is normal.
-
For devices without eMMC (no internal storage):
- Eject all SD cards and power on the device. It should automatically enter loader/maskrom mode, though you may not see any display output.
-
For devices with eMMC (via ADB):
- While the device is running normally, connect it via USB and run:
adb reboot loader
- The device will reboot into loader mode.
- While the device is running normally, connect it via USB and run:
2. Confirm Device Connection and Install Drivers
- Connect the device to your PC via USB.
- Open Device Manager in Windows; you should see a “Rock USB” device (or similar).
- If the device isn’t recognized, install (or update) the RockUSB driver included in the
RKDevTool
ZIP.- Right-click the unknown device → Update Driver → Browse to the RKDevTool’s “Driver” folder.
3. Configure RKDevTool
- Launch
RKDevTool.exe
. - In the Download Image (or “Loader”) tab, fill in these fields (if empty):
- Storage: (leave blank)
- Address:
0x00000000
- Name:
Loader
- Path: Browse to
RK356x_SPL_loader_*.bin
(the exact filename may vary, e.g.RK356x_SPL_loader_v1.01.bin
). If using GameMT E5 Plus or having issues, use MiniLoaderAll.bin instead!
- Check Write by Address and click Run. (on certain devices without eMMC, you may see IDB load fail, you can ignore this and continue with the rest of the process)
4. Switch to Maskrom Mode and chose Storage Type
- In the top menu, click Advanced Function → Go Maskrom.
- Watch the log panel for “Prepare IDB Success” or “Maskrom Success.”
- Now go back to the Download Image tab and click Run again like in Step 3.
- Return to Advanced Function and click Switch Storage → choose
SD
(if you intend to flash your SD card rather than internal eMMC), otherwise chooseEMMC
for internal storage.
5. Flash the GammaOS Firmware
- Navigate to the Upgrade Firmware tab.
- Click the Firmware button and select your GammaOS
.img
file (e.g.GammaOS_Core_Beta3.img
). - Wait for the tool to read in the firmware details (Fw Ver, Loader Ver, Chip Info, etc.).
- Click Upgrade.
- Let the process run. You should see messages such as “Download Firmware Start,” “(100%)…,” and finally “Download Firmware Success.”
6. Reboot and Verify
- After flashing is complete, the device reboots automatically.
- You should see the GammaOS splash screen or a quick “erasing” message, followed by a normal first-time setup sequence.
- The first boot can take a few minutes; watch for any debug messages or LED activity (if applicable).
- Eventually, you’ll reach the GammaOS setup wizard screen.
Troubleshooting
- Tool Closes Unexpectedly
- Sometimes RKDevTool may crash mid-flash. Simply relaunch RKDevTool and repeat the Step 3 – 5 process.
- Reboot Loops
- Double-check that you flashed the correct
.img
for your device type. - Confirm you have installed the “Gamma Loader” first if your device requires it.
- Double-check that you flashed the correct
- Driver/Connection Issues
- Try a different USB cable or port.
- Ensure the RockUSB driver is properly installed with no exclamation marks in Device Manager.