- Ensure you're running OxygenOS 11.1.2.2 firmware on your current slot.
If you do not have that firmware installed, grab it for you device from the following links:
enchilada (OnePlus 6)
fajita (OnePlus 6T)
-
Download the latest platform-tools.
The filename will be in the following format:platform-tools-latest-*.zip
Download Link -
Download the needed files for you device from here:
enchilada (OnePlus 6)
fajita (OnePlus 6T)The following list has all the files you need to get:
boot.img
copy_partitions.zip
super_empty.img
vbmeta.img
- the latest OTA zip for you device (
evolution_{enchilada,fajita}-ota-xxxxxxxxxxx.zip
)
You may NOT substitute any of these files with files that you've downloaded elsewhere.
Notice that each command is prefixed with a ./
. This is important. Please keep that prefix when you run each command.
-
Unzip the
platform-tools-latest-*.zip
file you got earlier to any folder that you want. -
Move the following files into the same folder where you extracted platform-tools:
boot.img
copy_partitions.zip
super_empty.img
vbmeta.img
- the latest OTA zip for you device (
evolution_{enchilada,fajita}-ota-xxxxxxxxxxx.zip
)
-
Open your terminal and navigate to the extracted platform-tools folder. Use
cd
to navigate to the folder.- If you are on Windows, use PowerShell. Do NOT use Command Prompt.
- If you are on macOS or Linux, then use your preferred terminal and shell.
-
Boot/Reboot your phone to the bootloader.
Do this by unplugging your phone, powering it off, then holding Vol Up + Vol Down + Power until you see a screen with giant text at the top of the screen. -
Run the following to flash the retrofit dynamic partitions boot/recovery image and the empty vbmeta to the current slot:
./fastboot flash vbmeta vbmeta.img ./fastboot flash boot boot.img
-
Erase the old Android partitions in the current slot with the following:
./fastboot erase system ./fastboot erase odm ./fastboot erase vendor
This ensures that we erase any super partition metadata from other ROMs that use retrofit dynamic partitions, no matter if they store the metadata in system, odm, or vendor. If we don't do this, then we will end up encountering errors later on during the wipe-super or sideloading steps.
This needs to be done only for the current slot and not the other slot. Step 9 describes how we will handle the other slot. -
Reboot your phone into recovery.
Do this by using the volume buttons to scroll through the options until you seeRecovery mode
. Press the power button to select that option. -
In recovery, choose
Advanced -> Enter fastboot
to enter fastbootd. -
Initialize the retrofit super partitions for the current slot:
./fastboot wipe-super super_empty.img
When we sideload Evo X later, update_engine will handle initializing the other slot using the current slot's metadata.
WARNING: If fastboot returns some error message about not recognizing
wipe-super
or prints a long help message instead, then that means you are running a very old version of fastboot. Please go back and download the latest version of platform-tools, as mentioned in the Required Files section. -
Choose
Enter recovery
to return to recovery. -
While in recovery, navigate to
Apply update -> Apply from ADB
. -
Run the following to sideload
copy_partitions.zip
to copy your firmware partitions to the other slot:./adb sideload copy_partitions.zip
You may receive an error from recovery, which will state the following:
Signature verification failed
Install anyway?Choose the "Yes" option to continue, since this zip doesn't have a signature in the first place.
-
Navigate to
Apply update -> Apply from ADB
again. -
Run the following to sideload Evolution X:
./adb sideload [Evolution X OTA zip name]
If you encounter installation errors when sideloading, run
./adb pull /tmp/recovery.log
to get logs to share while asking for help. -
If this is a new install, choose the
Factory reset
option. If you're migrating from non-retrofit Evolution X, skip this step. -
Choose
Reboot system now
& #KeepEvolving
What is the procedure to go back to non-retrofit roms?