In this guide, we will show you two different methods through which you could go back to stock/flash OxygenOS ROM over a custom ROM in OnePlus. Ever since the OEM decided to ditch its in-house OxygenOS in favor of Oppo’s bloated OS skin, we are witnessing a massive influx of users moving toward custom ROMs. Moreover, as of now, the custom ROM support for the OnePlus devices is quite incredible, with users being spoilt for choices.
So if you are among those tech enthusiasts who like to try out numerous ROMs, then you might be aware that directly flashing a custom ROM over another is never a great idea [in some cases, even a factory reset might not work]. Moroever, the lack of custom recovery support from Android 12 onwards only makes the matter worse.
All in all, before you move over to the next custom ROM on your OnePlus device, you should first go back to the stock OxygenOS ROM and then flash the desired ROM. While this might prove to be a slight length process but it is the most fail-safe and risk-free approach. So keeping this in mind, this guide will show you two different methods of getting this job done. Follow along.
How to Flash Stock ROM OxygenOS over Custom ROM in OnePlus
You could carry out this task either via MSM Download Tool or via the Fastboot Enhance Tool. Both these methods have their fair share of benefits and drawbacks. If we talk about MSM Tool, then it is sure to give out a successful result, but to make that happen, you will have to carry out a long list of prerequisites.
On the other hand, if we talk about Fastboot Enhance Tool, then it will get the job done in just a couple of clicks. However, this tool was only designed for OnePlus 8T, however, I have personally tested it on OnePlus 7T and 10 Pro and it works well and good, but apart from those devices, the results are yet to be ascertained.
So MSM Tool is the recommended approach and only opt for the Fastboot Tool if the former doesn’t work under any circumstances. With that said, both these methods will wipe off all the data from your device, so take a complete device backup beforehand. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.
Using MSM Download Tool
STEP 1: Install Android SDK
First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform tools folder, which will be used throughout this guide.
STEP 2: Install Qualcomm USB Drivers
Next up, you will have to download and install the Qualcomm USB Drivers. This is needed so that your PC (and the MSM Tool) is able to identify the connected device in EDL Mode. So refer to our guide on Qualcomm HS-USB QDLoader 9008 Drivers: Download & Install
STEP 3: Download MSM Download Tool
Now get hold of the MSM Download Tool corresponding to your OnePlus device from this post. Once downloaded, extract it to any convenient location on your PC. This will give you the Tool as well as the OPS Firmware for your device.
NOTE: For many OnePlus devices, the latest MSM Tool available will be based on Android 11. That’s not an issue. Even if you are currently running Android 13 custom ROM, you could easily flash the stock Android 11 and then install the Android 12 update [if required] via the OTA.
STEP 4: Boot OnePlus to EDL Mode
You will now have to boot your OnePlus device to Emergency download mode. For that, please refer to our comprehensive tutorial on How to Boot any OnePlus Device to EDL Mode. Or you could also refer to the below shorter instructions.
Via ADB Commands
If you could access the OS, then use the below steps to boot your device to EDL Mode
- Head over to Settings > About Phone and tap on Build Number 7 Times.
- Then go to Settings > System > Developer Options and enable USB Debugging
- Now launch CMD inside the platform tool folder and type in the below command:
adb reboot edl
Via Hardware Key Combinations
If you cannot access the OS, then use the below steps to boot your device to EDL Mode:
- To begin with, power off your device. Connect one end of the USB cable to your PC.
- Then press and hold the Volume Up and Volume Down keys together.
- With both these keys pressed, connect the other end of the USB cable to your device.
- That’s it. Your device is now booted to EDL Mode. To verify the same, press Windows+X and select Device Manager.
- Then expand the Other Device or Ports section and your device will be listed as Qualcomm HS-USB QDLoader 9008.
If your device is still being shown as QHUSB_BULK, then reverify driver installation, use USB 2.0 Port, or try using a different USB cable. Any one of these tweaks could fix the EDL connection error.
STEP 5: Disable Driver Signature Verification
You will now have to disable the driver signature verification on your Windows PC so that Windows doesn’t conflict with the Qualcomm drivers as well as the EDL Mode. So refer to our guide on How to Disable Driver Signature Verification on Windows 10/11. [Make sure that your phone remains connected to your PC in EDL Mode during the entire process].
STEP 6: Flash Stock OxygenOS on OnePlus via MSM Download Tool
- To begin with, launch the MSM Tool by double-clicking on the MsmDownloadTool V4.0.exe file.
- In the Login screen, select Others under User Type. Leave the Username and Password blank and click Next.
- The tool will now load and it should detect the connected device.
- You could verify the same from the COM/Status of Connection section.
- If that’s well and good, then press Start to initiate the flashing process. It could take a few minutes for the process to complete.
- Once done, you will be notified of the same and your device will automatically boot to stock OxygenOS.
That’s it. These were the steps to go back to stock ROM by flashing OxygenOS over a custom ROM on OnePlus using the MSM Download Tool. let’s now show you how this could be done using the Fastboot Enhance Tool.
Using Fastboot Enhance Tool
This is a tool created by XDA Senior Member xzr467706992 and beholds a slew of intriguing features, including the ability to directly flash the payload.bin file, without the need to even manually extract it first. Do note that even though this tool was created for OnePlus 8T, however, I have personally tested it on OnePlus 7T and it works well and good [but still, could prove to be a risky bet if you try it out on any other device except for the 8T].
STEP 1: Download Fastboot Enhance Tool
Download the Fastboot Enhance Tool from GitHub [direct link]. Once downloaded, extract it to any convenient location on your PC. The biggest advantage of this tool is that you could directory flash the payload.bin file, there is no need to extract it and get the resultant IMG files!
STEP 2: Download OnePlus Stock ROM
- Next up, get hold of the firmware for your device from below:
- Once downloaded, extract it and transfer the resultant payload.bin file to the Fastboot Enhance Tool folder.
STEP 3: Install Android SDK
Next up, install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform tools folder, which will be used throughout this guide.
STEP 4: Install Fastboot Drivers
The tool doesn’t come with the Fastboot Drivers, so you will manually have to install it on your PC. For that, please refer to our guide on How to Install Fastboot Drivers in Windows 11. Likewise, make sure to install the OnePlus USB Drivers as well [they are usually automatically installed as soon as you connect your device to the Windows PC for the first time].
STEP 5: Boot to Fastboot Mode
- Connect your device to the PC via a USB cable. Make sure USB Debugging is enabled.
- Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
- After that, type in the following command in the CMD window to boot your device to Fastboot Mode
adb reboot bootloader
- To verify the Fastboot connection, type in the below command and you should get back the device ID.
STEP 6: Flash Stock Firmware on OnePlus via Fastboot
- To begin with, launch the Fastboot Enhance Tool via its EXE file.
- Your device should be listed under the Fastboot Virtualization tab, select it.
- After that, click on the Reboot to FastbootD button.
- Your device will boot to FastbootD Mode.
- Now go to the Payload Dumper tab and click on Browse.
- Navigate to the payload.bin file, select it and click Open.
- The file will now be loaded in the tool, displaying the resultant information.
- Now go to the Fastboot Virtualization tab and click on Flash payload.bin. If the flashing starts, well and good.
- However, if you get the ‘Virtual A/B temporary partitions exist’ popup, then click on No.
- After that, go to the Partitions tab and type in cow in the Filter by name box.
- Select all the partitions from the results that have cow in their name and hit the Delete button.
- Once done, click on Flash payload.bin. This time the flashing will start without any issues.
- Once complete, you will be notified of the same. You may now boot to the OS by clicking on Reboot to System.
That’s it. These were the two different methods to go back to stock ROM by flashing the OxygenOS over a custom ROM on OnePlus. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.
- How to Enable VoLTE and VoWiFi on any OnePlus Device
- How to Enable Call Recorder on any OnePlus Device
- Enable and Use ADB Commands in OnePlus Stock Recovery
- How to Enable Factory Mode in any OnePlus Device