GammaOSWiki 1.5.0
Display
Theme
Text size
Reading font
Spacing
Links
Motion
SectionInstall

Private beta

GammaOS Next 1.5.0 for the Duo Lite is in a private beta. The packages are handed out to beta testers by the GammaOS team and are not on the public releases page yet. This is the first GammaOS release for the device, so there is no upgrade path from an older GammaOS: every install is a clean install and the flash script erases the device at the end.

Read this first. Installing wipes everything on the device: apps, saves, photos, files. Back up anything you want to keep. Keep the device charged above 50 percent and do not unplug it while a script is running. The whole install is done from your computer with one script and takes about fifteen minutes. No bootloader unlock is needed on this device.

Prerequisites

  • Grab your release

    • The beta ships the Lite edition only: RPDuoLite_GammaOSNext_Lite_v1.5.0_beta, GammaOS Next without Google apps or the Play Store. Install apps from APK files or an app store of your choice.
  • 7-Zip

    • Install 7-Zip (or another archive tool) to extract RPDuoLite_GammaOSNext_Lite_v1.5.0_beta.7z: right-click the file, 7-Zip, Extract Here. You get a folder with FlashPartitions.bat / FlashPartitions.sh, EraseUserData.bat / EraseUserData.sh and a flash folder with the partition images. Keep the folder structure as it is; the scripts look for the images in the flash folder next to them.
  • ADB & Fastboot tools

  • Windows: install ADB & Fastboot++ from https://github.com/K3V1991/ADB-and-FastbootPlusPlus/releases/download/v1.1.1/ADB-and-Fastboot++_v1.1.1.msi (it also installs the USB driver the scripts need).
  • macOS: brew install android-platform-tools
  • Linux: your distribution's android platform tools package.

  • On the Retroid Pocket Duo Lite

  • Enable USB debugging in Developer Options (Settings → About device → tap Build number seven times → back to Settings → System → Developer options). Connect the device, tick Always allow on the USB debugging prompt and tap Allow.
  • No bootloader unlock is needed on this device. Skip any unlock steps you know from other GammaOS installs; the scripts flash everything from fastbootd.

Step 1: Flash the Firmware

  1. Close any other ADB or fastboot windows.
  2. Run the Flash script from the extracted folder:
    • Windows: double-click FlashPartitions.bat
    • macOS / Linux: bash FlashPartitions.sh
  3. The script lists the connected device and asks you to confirm. It then reboots the Duo Lite into fastbootd, a flashing mode where both screens show a plain text menu, and flashes the partitions one after another. The system image is the long one, about three minutes; the whole script takes about ten.
    • On the device the screens go black, then show the fastbootd text menu. Leave it alone; the script drives everything.
    • A few lines in the script window saying a partition could not be deleted are expected: those partitions do not exist on this device.
  4. As its last step the script arms a data wipe: on the next start the device erases its own data in recovery, which removes the stock firmware's data that GammaOS cannot use. The device stays in fastbootd; the script does not reboot it.

Step 2: Reboot the device

  1. When the script says the installation is complete, pick Reboot system now in the menu on the device: move with the volume keys and confirm with Power. From the computer, fastboot reboot does the same.
  2. The device boots into recovery, erases itself (about half a minute), reboots again on its own and starts GammaOS.

You do not need the EraseUserData script for the install; the flash script already erased the device. Keep it for later: it resets a GammaOS install back to its first boot.

Installing from a Mac or Linux

Everything the Windows steps do, a Mac or a Linux PC does from the terminal with the .sh scripts in the same package. No driver is needed and there is still no bootloader unlock. Intel and Apple silicon Macs both work. Steps 1 and 2 install the tools on a Mac; Linux users take the Linux tools step below instead and then continue with step 3.

Linux tools. Install ADB and Fastboot and a 7z unpacker from your distribution's packages: Debian, Ubuntu, Mint: sudo apt install android-sdk-platform-tools p7zip-full Fedora: sudo dnf install android-tools p7zip p7zip-plugins Arch, Manjaro, Garuda: sudo pacman -S android-tools p7zip openSUSE: sudo zypper install android-tools p7zip-full Check with adb --version and fastboot --version. Unpack the package with 7z x RPDuoLite_GammaOSNext_Lite_v1.5.0_beta.7z (or your file manager's extract option) and open a terminal in the unpacked folder. If adb devices or fastboot devices shows the device as no permissions, install your distribution's android udev rules package (android-udev on Arch, android-sdk-platform-tools-common on Debian and Ubuntu), unplug and replug the device, or run the scripts with sudo bash FlashPartitions.sh.

  1. Install ADB and Fastboot with Homebrew. Open Terminal (Applications, Utilities, Terminal). If you do not have Homebrew yet, install it from https://brew.sh (one command on that page). Then run: brew update brew install android-platform-tools Check with adb --version and fastboot --version; both should print a version. If the commands are not found, close and reopen Terminal so it picks up Homebrew's path (brew doctor explains any path problem).
  2. Unpack the package. macOS cannot open .7z archives on its own. Either install The Unarchiver from the App Store and double-click the archive, or use Homebrew: brew install p7zip 7z x RPDuoLite_GammaOSNext_Lite_v1.5.0_beta.7z You get the same folder as on Windows, with FlashPartitions.sh, EraseUserData.sh and the flash folder. Keep the folder structure as it is.
  3. Enable USB debugging and connect. As in the prerequisites: Settings, About device, tap Build number seven times, then Developer options, USB debugging on. Connect the Duo Lite with its USB-C cable, tick Always allow on the prompt and tap Allow. In Terminal, adb devices lists the device. If macOS asks whether the accessory may connect to the Mac, click Allow.
  4. Run the flash script. Open a Terminal window in the unpacked folder: type cd (with the space), drag the folder from Finder into the Terminal window and press Return. Then run: bash FlashPartitions.sh From here on everything matches Step 1 and Step 2 above: the script lists the device, asks you to confirm, reboots the Duo Lite into fastbootd and flashes the partitions (about ten minutes), arms the data wipe and leaves the device in fastbootd. Pick Reboot system now on the device or run fastboot reboot.
  5. The reset tool is bash EraseUserData.sh, run the same way from the folder. If fastboot devices does not list the device once it is in fastbootd, try another cable or a USB port on the Mac itself rather than a hub.

First Boot

  • The very first boot may restart itself once a few seconds in: the bottom screen's display firmware is updated and the device reboots to bring the panel up cleanly. This is expected.
  • The GammaOS logo then shows on the top screen while a notice appears on the bottom screen. Read it and touch the bottom screen to continue.
  • GammaOS Nano walks you through a short setup: language and time zone first, then Wi-Fi. The Wi-Fi step waits for the first boot to finish in the background, which takes a couple of minutes on a fresh install; the wizard says so and continues on its own.
  • When setup finishes, Nano's home appears on the top screen with its menu on the bottom screen. Copy your games into the ROMs folders Nano creates, or over the network from Nano's settings. Open Applications on the home to start any installed app, and use Boot Android in Nano's settings for the regular Android desktop.

Troubleshooting Tips

  • The script says no device found
  • Check USB debugging is on and that you accepted the prompt on the device. Try another cable or port, and on Windows make sure ADB & Fastboot++ finished installing (it installs the driver). adb devices should list the device.
  • The device is in fastbootd but the script cannot see it
  • Windows needs a driver for the fastboot interface: in Device Manager, update the driver of the Android device with the warning sign and point it at the ADB & Fastboot++ installation (or let Windows search). fastboot devices should then list it.
  • The script stopped half way
  • Run it again from the start; every step is safe to repeat. A device sitting in fastbootd is detected and the script continues from there.
  • Black screen or boot loop after flashing
  • Run EraseUserData: the device erases itself in recovery and reboots. If it still loops, run FlashPartitions once more.
  • Stuck in fastbootd
  • Hold Power for about ten seconds, or run fastboot reboot.
  • Other errors
  • Provide the log.txt the scripts write next to themselves on the GitHub Issues page.

Stock Firmware (Optional)

A stock restore package, RPDuoLite_Stock_Backup_QFIL_20261004.7z, is provided next to the GammaOS download. It is a backup of a Duo Lite's original firmware in QFIL form: it rewrites every partition from a Windows PC, brings back the original Retroid software and also recovers a device that no longer boots. It wipes the device completely.

  1. Install the tools: QFIL comes with Qualcomm's QPST suite; install it together with the Qualcomm USB driver (the device shows up as Qualcomm HS-USB QDLoader 9008).
  2. Unpack the package with 7-Zip. The folder holds prog_firehose_ddr.elf, rawprogram0.xml, patch0.xml and the partition images.
  3. Enter EDL mode:
    • From a running GammaOS with USB debugging on: adb reboot edl
    • A device that does not boot: power it off, hold Volume Up + Volume Down together and, still holding them, plug in the USB cable. Keep holding until Windows shows the QDLoader 9008 device.
  4. Open QFIL: Select Port and pick the QDLoader 9008 entry. Choose Flat Build. Under Select Programmer browse to prog_firehose_ddr.elf. Click Load XML and select rawprogram0.xml, then patch0.xml.
  5. Configuration, FireHose Configuration: Device Type emmc, Validation Mode 0 - No Validation, Reset After Download ticked. Leave the rest at default.
  6. Press Download. The flash takes a few minutes and the device reboots into the stock Retroid software. GammaOS can be installed again at any time.