AOSP Flashing Guide for POCO X6 Pro (Duchamp)
Your complete guide to installing AOSP ROMs on your POCO X6 Pro (Duchamp).
Warning!
Flashing AOSP ROMs in Duchamp
-
Download Files
Obtain the required files:
vendor_boot.img(recovery image)boot.img- The ROM file (
ROM.zip)
-
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 -
Boot into Recovery
Use the button combination (Power + Volume Up) or execute:
fastboot reboot recovery -
Wipe Data
In the AOSP recovery, navigate to Wipe data/factory reset and confirm the wipe.
-
Prepare for Update
In recovery, go to Apply update, then choose Apply update via ADB.
-
Sideload the ROM
On your PC, navigate to the folder where the
ROM.zipfile is located.Open a terminal or command prompt and type:
adb sideload ROM.zipImportant 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!
-
Flash GApps (Optional)
Required for Vanilla ROMs.
Option A: Standard GApps (Flash ZIP)
- Reboot to Recovery again after flashing ROM
- Select Apply Update → Apply Update via ADB
- 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.
-
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
- Select Apply Update → Apply Update from ADB.
- Sideload the new ROM zip:
- Confirm 'Yes' on the prompt that tells you to reboot to recovery after sideloading.
- If you did not flash GApps previously, select Reboot System Now.
adb sideload rom.zip
If you flashed GApps previously:
- DO NOT REBOOT to System. Select Apply Update → Apply Update from ADB again.
- Sideload the GApps zip:
- Select Reboot System Now.
adb sideload gapps.zip
Method 2: Updating Through OTA
Note: This method does not work for major version upgrades (for example, 4.x to 5.x).
- Navigate to Settings → System → System updates.
- Download the latest available build.
- Tap Reboot in the updater once the download is complete.
- The device will automatically update and reboot.