How to Unbrick OnePlus 7 Pro & Restore to Stock OxygenOS ROM

restore oneplus 7 pro to stock
The OnePlus devices run an almost standard version of Android with a clear skin that makes it an OxygenOS. This allows many tweaks and mods designed for Android to also work with OxygenOS. OxygenOS is still a reduced version of Android. Fortunately, OnePlus allows users to change the phone as they please and even install custom ROMs without voiding the warranty. However, there is a good chance that you sometimes encounter problems and want to restore the ROM in stock, in order to debrick your device. Here's how to unplug OnePlus 7 Pro and restore it to the OxygenOS ROM.

Unbrick OnePlus 7 Pro Using ROM Fastboot

Although the dual partition system on OnePlus 7 Pro facilitates system upgrades for non-root users, it does pose some problems for ROM installation. If you're not careful, linking your OnePlus 7 Pro to a bootloop is very easy. If you are not lucky, you can even tinker with your device. You can not start it, so encrypted storage is not available for TWRP. In the case of a soft brick, the flashing of a normal ROM does not work either. This is when a quick ROM can be useful.

That's why XDA member mauronofrio has created several Quick Start ROMs for multiple OnePlus devices. This simplifies the process of restoring OnePlus 7 Pro and other OnePlus devices to easily store and delete the OxygenOS ROM. Otherwise you will have to download a lot of things, handle an MSM tool and all the rest. However, like many popular tools for Android devices, this only works on Windows. That's unless you want to get your hands dirty and flash manually.


  1. OnePlus 7 Pro with an unlocked bootloader.
  2. Windows users will also need to install the OnePlus USB drivers.
  3. Installing the Quick Acceleration ROM will erase your entire device. So make sure to save everything, if possible.

Download the OnePlus 7 Pro Oxygen OS ROM

Unbrick OnePlus 7 Pro and standard OxygenOS ROM

  1. Download a quick start ROM for OnePlus 7 Pro.
  2. We have linked the latest versions above for your convenience, but if you see this later, you should check the other versions. Maybe a newer version is available.
    • At the time of writing these lines, is the last on the stable channel.
    • If you want the open beta, is currently the last.
  3. Extract the downloaded zip into a folder on your computer.
  4. Restart your OnePlus 7 Pro in quick start mode.
    • Turn it off.
    • Now, hold the power and volume up buttons at the same time.
    • Keep the buttons pressed until text appears on the screen, as shown below.
  5. In Quick Start mode, connect your phone to your computer with a USB cable.
  6. From there, Windows users can easily unplug their OnePlus 7 Pro. OnePlus 7 Pro Flash all.bat
    • Double click on the flash all.bat file in the quick extract ROM folder.
    • Assuming all the drivers are properly installed, Windows will detect your device and the ROM will be displayed there.
  7. During the process, you might see a message saying "Invalid source file format in the magic header". This is what you expect and there is probably nothing to complain about, so wait and do not worry.

Other "Flash All" files

OnePlus 7 Pro firmware files

When you extract the Fastboot ROM files, you will find that there are many other Flash files other than flash all.bat. Under normal circumstances, the only file you need to use to unbrick the OnePlus 7 Pro is flash-all-scores-fastboot.bat. However, depending on your situation, you can also use one of the other Flash files. In case of hard brick, when nothing seems to work, you may need to use flash-all-partitions.bat.


This .bat file will flash all possible partitions via fastboot (except persist), some critical partitions can not be flashed via fastboot.


This .bat file will only flash the persistent partition in quick start mode (suitable for people with sensor problems).


This .bat will start the twrp and flash the critical partitions, use it carefully.


This .bat file is identical to the old flash-all.bat and it will only flash vendor, system and boot.


This .bat will run flash-all-scores-fastboot.batthen Flash-only-persist.bat then flash-all-partition-recovery-criticals.bat.

To familiarize yourself with all the actions that can be performed via ADB and Fastboot, please see our detailed list of ADB, ADB Shell, and Fastboot commands.

Read more: 10 things I hate about Android

Leave a Reply