AOSP Flashing Guide for POCO X6 Pro (Duchamp)

Your complete guide to installing AOSP ROMs on your POCO X6 Pro (Duchamp).

Warning!

/* * Your warranty is now void. * * Most custom ROMs are released stable and safe to use… * but if you decide to play mad scientist, mess something up, and * end up corrupting your SD card, turning your phone into a fancy paperweight, * or bricking it beyond recognition—don’t blame me. * I warned you. In fact, I’ll probably just laugh. Loudly. 😂 */

Flashing AOSP ROMs in Duchamp

  1. Download Files

    Obtain the required files:

    • vendor_boot.img (recovery image)
    • boot.img
    • The ROM file (ROM.zip)
  2. Flash the Recovery

    Connect your device to your PC via USB and boot into fastboot mode (usually by holding Power + Volume Down while the device is off).

    Use the following commands:

    fastboot flash vendor_boot_ab vendor_boot.img
    fastboot flash boot_ab boot.img
  3. Boot into Recovery

    Use the button combination (Power + Volume Up) or execute:

    fastboot reboot recovery
  4. Wipe Data

    In the AOSP recovery, navigate to Wipe data/factory reset and confirm the wipe.

  5. Prepare for Update

    In recovery, go to Apply update, then choose Apply update via ADB.

  6. Sideload the ROM

    On your PC, navigate to the folder where the ROM.zip file is located.

    Open a terminal or command prompt and type:

    adb sideload ROM.zip

    Important Warning

    • After 47% progress, a confirmation prompt (Yes/No) will appear on the recovery screen. Select Yes to proceed.
    • Some ROMs need 5-7 minutes after 47%. Do NOT disconnect until the pop-up appears on the device!
  7. Flash GApps (Optional)

    Required for Vanilla ROMs.

    Option A: Standard GApps (Flash ZIP)

    1. Reboot to Recovery again after flashing ROM
    2. Select Apply UpdateApply Update via ADB
    3. Sideload the GApps zip file

    Option B: Sandboxed GApps (No ZIP) Note: Only for ROMs with ported GMS compat from GrapheneOS (e.g., Voltage OS).

    Skip flashing GApps zip.

    Reboot to System.

    Download and install the GrapheneOS App Store.

    Open the app and install Google Play services, Google Services Framework, and Google Play Store.

  8. Reboot and Enjoy

    Once the installation is complete, select Reboot system now in recovery.

Updating ROM

You can update the ROM using two different methods. Pick the one that’s relevant for you.

Method 1: Dirty Flash

  1. Select Apply UpdateApply Update from ADB.
  2. Sideload the new ROM zip:
  3. adb sideload rom.zip
  4. Confirm 'Yes' on the prompt that tells you to reboot to recovery after sideloading.
  5. If you did not flash GApps previously, select Reboot System Now.

If you flashed GApps previously:

  1. DO NOT REBOOT to System. Select Apply UpdateApply Update from ADB again.
  2. Sideload the GApps zip:
  3. adb sideload gapps.zip
  4. Select Reboot System Now.

Method 2: Updating Through OTA

Note: This method does not work for major version upgrades (for example, 4.x to 5.x).

  1. Navigate to SettingsSystemSystem updates.
  2. Download the latest available build.
  3. Tap Reboot in the updater once the download is complete.
  4. The device will automatically update and reboot.