Installation Video Guide
- GammaOS Next on Anbernic RG406V: Installation Guide by eightiesjapan
- GammaOS Next is here for the Anbernic RG556, RG406H, RG406V and RG Cube! by Joey's Retro Handhelds
- GammaOS Next - Installation Guide for Anbernic T820 Devices
Prerequisites (Windows Only)
Note: Unlocking the bootloader will factory-reset (wipe) your device.
Note: Installing GammaOS will wipe your device if your bootloader is already unlocked.
Note: If you are already running GammaOS Next and previously followed this guide, your bootloader is already unlocked and your USB drivers are installed. In that case, you can skip Step 1 and Step 2 and go straight to Step 3 and the upgrade section.
-
Patreon Password
- If you’re a Patreon supporter, obtain the GammaOS Next password from the Patreon post itself (https://www.patreon.com/GammaOS). The release is locked behind that password until it goes public in 60 days.
-
7-Zip
- Install 7-Zip (or another archive tool capable of extracting split archives). You’ll need it to combine and extract the
.7z.001/.002/.003files.
- Install 7-Zip (or another archive tool capable of extracting split archives). You’ll need it to combine and extract the
-
UnisocTools
- Download the UnisocTools.7z flashing toolkit from the release page (https://github.com/TheGammaSqueeze/GammaOSNext/releases/tag/v.1.0.0-T820).
- Extract the UnisocTools folder from the archive; you’ll find subfolders for drivers, bootloader unlock, and the flashing utility (
ResearchDownload.exe).
-
Install Latest, 2005, 2008 and 2010 Microsoft Visual C++ Redistributable version
Step 1: Install USB Drivers
If you are already on GammaOS Next and have flashed your device previously using this guide, your drivers should already be installed. You can skip this step.
- Open the UnisocTools folder and navigate to the UnisocDrivers subfolder.
- Run the driver installer (e.g.,
DPInst64.exeor whichever installer is provided) to install UniSoc/Spreadtrum USB drivers.- On Windows 11, the Windows 10 driver package works fine.
- After installation, you should see UniSoc-related drivers listed in Device Manager once a device is connected in bootloader mode.
Step 2: Unlock the Bootloader
If you are already on GammaOS Next, your bootloader is already unlocked. You can skip this step and go straight to Step 3 and then the upgrade section.
- Power off your Anbernic device completely, ensure there is no USB cable connected.
- In the extracted UnisocTools/UnlockBootloader folder, open the UnlockBootloader.bat script.
- Hold down the Back button on the device (for RG556/RG-CUBE/RG406V/RG406H, the Back button is in the same location regardless of model, on the RG Slide, this is the button on the RIGHT side of the screen).
- While still holding Back, connect the USB cable to your PC.
- The Unlock Bootloader tool will send the necessary commands; the device screen will show text indicating the bootloader is being unlocked. You can now let go of the Back button.
- Wait until you see a confirmation message on the device (e.g., “INFO: LOCK FLAG IS: UNLOCK!!!”). Now disconnect the USB cable and ensure the device is powered off.
Step 3: Prepare the Firmware Archive
- Download the GammaOS Next split archive files (e.g.:
RG_406H_GammaOS_Next_Full_v1.7z.001RG_406H_GammaOS_Next_Full_v1.7z.002RG_406H_GammaOS_Next_Full_v1.7z.003
) from the GitHub release.
- Right-click on the
.7z.001file and choose “7-Zip → Extract Here”. Enter the Patreon password when prompted. - 7-Zip will automatically combine and extract all parts, producing a
.pacfile.
Step 4 (Fresh Install from Stock only): Flash the Firmware
Use this method if you are coming from stock firmware or any non-GammaOS ROM. This will fully wipe the device.
- In the UnisocTools/SPRD_Download_Tool folder, locate and run
ResearchDownload.exe(or the equivalent “SPD Flash Tool”). - In the Flash Tool window, click Load Packet (or the folder icon).
- Browse to the folder you just extracted and select the
.pacfile for your device model (e.g.,RG_406H_GammaOS_Next_Full_v1.pac). - The tool will parse the file and display information like device name (e.g., “RG406H”) and firmware version. Confirm it matches.
- Ensure your device is still powered off (after bootloader unlock, it should remain off).
- Click the Play/Start button in
ResearchDownload.exe. - Hold down the Back button on the device, and while holding it, connect the USB cable to your PC. The flash tool will detect the device in “Download” mode.
- The flashing process will begin, this takes around 5 minutes. You’ll see a progress bar; do not disconnect or power on during this step.
- Once flashing completes, the tool will show a “Passed” or “OK” or “Reset” status. The device will automatically reboot and perform an internal format (factory reset). Disconnect your USB cable after this point.
- Let the device finish formatting and then reboot. It will boot into GammaOS Next on its first launch, which can take up to 2-3 minutes as it initializes.
Step 4 (Upgrading an existing GammaOS Install only): Updating an Existing GammaOS Next Installation
Use this method if you already have GammaOS Next installed and want to update to a newer GammaOS Next version while keeping your data where possible.
Important:
- Only update Lite → Lite and Full → Full.
- Do not switch variant (e.g., Lite → Full or Full → Lite) using this update method. For that, perform a full flash as described in Step 4 (Fresh Install from Stock only).
- Prepare the new GammaOS Next version as in Step 3: Prepare the Firmware Archive and extract the
.pacfile for your device. Make sure you pick the same variant you are currently running (Lite or Full). - Open
ResearchDownload.exefrom theUnisocTools/SPRD_Download_Toolfolder. - Click Load Packet and select the new
.pacfile for your device model and variant. Confirm that the device name and version look correct. - Instead of pressing the Play/Start button, click the Settings icon (two cogwheels) at the top of the Research Download window.
- In the Download settings popup, on the Main Page tab:
- Uncheck Select All Files.
- In the file list, ensure that only the following FileIDs are checked:
FDL1FDL2Super
All other entries should be unchecked.
- Click OK to return to the main Research Download window.
- Make sure your device is powered off.
- Click the Play/Start button in
ResearchDownload.exe. - Hold down the Back button on the device, and while holding it, connect the USB cable to your PC. The tool will detect the device in “Download” mode and begin flashing.
- Wait for the process to complete. This update is usually quicker than a full flash, but do not disconnect the device until you see a “Passed”, “OK”, or “Reset” status.
- The device will reboot into the updated GammaOS Next build. First boot after an update can still take a couple of minutes while Android optimizes apps.
- While in the Android system, to make the new quick settings tiles appear, pull down the full quick settings/notification drawer from the top, press the Pencil icon, and press the Reset option.
If the device behaves unexpectedly after an update (e.g., repeated crashes or boot loops), you can fall back to the full-flash method in Step 4 (Fresh Install from Stock only) to perform a clean install.
Step 5: Initial Setup
- First Boot takes a bit longer, be patient while Android sets up file systems and initial configurations.
- If you installed the Full (with Google Services) build, follow the on-screen prompts to sign into your Google account or skip it.
- After Google setup (or skipping), GammaOS Next will run a brief configuration phase, installing key apps (RetroArch, Flycast, Daijisho, etc.).
- Once that completes, you’ll land on the GammaOS Next home screen. Congratulations, your device is now running the new firmware!
Troubleshooting Tips
- If the flash tool fails to detect your device, verify:
- USB drivers were installed correctly.
- The Back button is held down firmly during connection.
- USB cable and port are functional.
- If the device doesn’t boot into GammaOS Next after flashing:
- Double-check that you used the correct
.pacfor your model (e.g., RG406H vs. RG406V). - Ensure the device filesystem was formatted (it may reboot and re-format automatically).
- Try unlocking the bootloader again and re-flash.
- For any errors or unexpected behavior, post details (error messages, device model) on the GammaOS Next GitHub Issues page.
You’re all set, enjoy exploring GammaOS Next on your Anbernic T820 device! If you encounter any issues or have feedback, let me know on Discord or GitHub.
Stock Firmware (Optional)
Video guide, including FIXING OTA: https://youtu.be/AqGeh6AWo3s?t=482
Flashed using the same instructions as GammaOS Next (use SPD Factory tool instead):
- RG 556: https://drive.google.com/file/d/1hYuUPBTHAghZXXVt5urnAhJP-_vofg3K/view?usp=sharing
- RG Cube: https://drive.google.com/file/d/1DBl9ZwvyqUdjMmetA2ekYWKS1uUcmI0b/view?usp=sharing
- RG 406v: https://drive.google.com/file/d/10ivdlP5CsVInWOa66RpjjCxLI38Lo1-2/view?usp=sharing
- RG 406h: https://drive.google.com/file/d/1UVdcEFBBagm4Dmj28w8tyiQuGFyVhXAk/view?usp=sharing
- RG Slide: https://drive.google.com/file/d/1cyom-UX0uiVYRq8MovFcDb8nRYm_68nb/view?usp=sharing
- RG 476H: https://drive.google.com/file/d/1IKqne9SkjVwHpeS-LMyrDfELTW7vb4N_/view?usp=sharing
To fix OTAs after flashing stock again:
- https://github.com/TheGammaSqueeze/Bootloader_Unlock_Anbernic_T820/commit/e5f7dfc160c819460d095a83baec8bf81689af1b
SPO Factory tool: https://spdflashtool.com/factory-tool/spd-factory-tool-r27-24-2301
Linux Install
A big thank you to beebono for working this out: https://github.com/beebono/GammaOS-Linux-Tools Currently untested by me, but others have reported success.