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

Installation Video Guide

Prerequisites (Windows Only)

Note: A clean install of GammaOS Next or stock firmware will wipe all user data. Back up your files before proceeding.
The only exception is the optional in-place upgrade from GammaOS Next using rawprogram_unsparse0_upgrade.xml, which is designed to keep your data.

Step 1: Prepare the Device and Enter EDL Mode

  1. Power off the Mangmi Air X completely.
    Ensure no USB cables are connected.

  2. Enter EDL mode:

    • Hold Volume Down + Volume Up together.
    • While continuing to hold both buttons, insert the USB cable.
    • Keep holding until the device enumerates in Windows as
      Qualcomm HS-USB QDLoader 9008.
  3. If it does not appear as a QDLoader device, repeat the process ensuring:

    • Device was off
    • Buttons were held before cable insertion
    • Drivers are installed properly

Step 2: Launch QFIL and Load the Firmware

  1. Open QFIL from the QPST installation folder.

  2. Click Select Port.

    • Choose the entry that shows Qualcomm HS-USB QDLoader 9008.
    • If no port appears, return to Step 1 and confirm the device is in EDL mode.
  3. Ensure Flat Build is selected.

  4. In Select Programmer, click Browse and choose:

    • prog_firehose_ddr.elf inside the extracted firmware folder.
  5. In Select Flat Build, click the Load XML button. QFIL will automatically prompt you for two XML files:

    • If you are performing a new install (coming from stock, another ROM, or if you want a completely clean GammaOS Next install):
    • First select: rawprogram_unsparse0.xml
    • Then select: patch0.xml
      This path will wipe all data and is the recommended option when you are not already on GammaOS Next.

    • If you are already on GammaOS Next and want to upgrade without losing data (optional upgrade):

    • First select: rawprogram_unsparse0_upgrade.xml
    • Then select: patch0.xml
      This path is designed to preserve your existing data while upgrading the system.
      Do not use rawprogram_unsparse0_upgrade.xml if you are not already on GammaOS Next. Make sure to remove any PIN/Password/Lock screen gestures before performing any upgrades.
  6. Open Configuration → FireHose Configuration and set:

    • Device Type: emmc
    • Validation Mode: 0 - No Validation
    • Reset After Download: checked
    • Leave other values at default.

Your QFIL settings should match the reference screenshots.

Screenshot

Screenshot

Screenshot

Step 3: Flash the Firmware

  1. Confirm the correct QDLoader 9008 port is still selected in QFIL.
  2. Click Download.
  3. QFIL will immediately begin flashing once the device is detected.
  4. Wait for Download Succeeded.
  5. The device will reboot automatically. First boot may take several minutes.

These steps are identical for both GammaOS Next and stock firmware, as well as for the optional in-place upgrade for existing GammaOS installs.

Troubleshooting Tips

  • No QDLoader port appears:
  • Reinstall Qualcomm drivers
  • Use a different USB cable or port
  • Hold both volume buttons before inserting the cable
  • Ensure the device is completely powered off

  • Flashing fails or errors shown:

  • Restart the PC
  • Reinstall drivers
  • Verify the correct files (prog_firehose_ddr.elf, rawprogram XML, patch XML)
  • Ensure you selected the correct XML for your scenario:

    • rawprogram_unsparse0.xml for new installs
    • rawprogram_unsparse0_upgrade.xml only for upgrading from GammaOS Next v.1.1.0
  • Device stuck on boot:

  • Reflash the firmware
  • Ensure you used the correct Full or Lite build

  • Device shows 32GB instead of 64GB internal storage:

  • After flashing or upgrading, check your internal storage in Android settings.
  • If it reports ~32GB instead of ~64GB, your partition layout is not fully expanded.
  • In this case, perform a new install by reflashing using rawprogram_unsparse0.xml (clean install).
  • This will wipe your data, so back up beforehand.

If issues persist, open a GitHub Issue and include screenshots or QFIL logs.

Stock Firmware (Optional)

Stock firmware (no password required):
https://mangmi.com/pages/download

Flash using the same QFIL procedure described above.