Restore OnePlus 6 to Stock ROM (Unbrick, Unroot and Fix Bootloop)

How To Restore OnePlus 6 to Stock ROM (Unbrick, Unroot and Fix Bootloap) | Download OnePlus 6 Stock ROM/Firmware: OnePlus devices are one of the most popular devices among the developers. These devices come with a very lightweight skin called Oxygen Os which is close to Google’s stock firmware. For these reasons, there are loads of development happen around the OnePlus devices. The all-new OnePlus 6 is no different.

There are sometimes when users want to flash the Stock ROM/ Firmware back on the device. If you are using an Android device and you like to root and install custom ROMs on your device, then you may have already faced bootloop or bricked device kind of situation. In that case only flashing back the official stock firmware can save the device. Here we will be sharing step by step guide to Restore OnePlus 6 to Stock ROM / Firmware

As I mentioned before, OnePlus is one of the major Android manufacturers in the world. The company has achieved this place in a very short time. The hardware components are great and collectively, it is their selling point. Since it is a developer-friendly device, you cannot resist yourself to root the device and try out custom ROMs and MODs as compatible with the device. But you have to be careful otherwise your device may get damaged.


Must Read: How to transfer apps and data from your old phone to OnePlus 6


About OnePlus 6

The Oneplus 6 has been marketed as the fastest device in the market and the specs are also very convincing. The device is powered by Qualcomm’s latest Snapdragon 845 SoC coupled with 6 or 8GB RAM. It also has 256GB storage option. This is the first OnePlus device to have a notch on top of the display. The CPU is clocked at 2.4GHz which is octa-core processor (Snapdragon 845 SoC).

The OnePlus 6 comes equipped with a 6.28-inch Full HD+ AMOLED display. OnePlus sports dual rear cameras, a combination of 20MP and 16MP sensors. Both the back camera has an aperture of 1.7. Thanks to this wide aperture, low light photos will come great. The OnePlus 6 runs Android 8.1 (Oxygen OS) Oreo out of the box and houses a 3300mAh non-removable battery.


Must ReadHow to Install TWRP Recovery and Root OnePlus 6


How To Restore OnePlus 6 to Stock ROM/Firmware (Unbrick, Unroot and Fix Bootloop)

Restore OnePlus 6 to Stock ROM (Unbrick, Unroot and Fix Bootloop)

This is very simple, you just have to download the stock firmware of OnePlus and manually flash that on your device. That will fix all these issues and your OnePlus 6 will be restored to the stock ROM. Follow the linked guide to Restore OnePlus 6 to Stock ROM

Download and Install OxygenOS 5.1.5 On OnePlus 6 (Full Rom + OTA)

Restore OnePlus 6/6T to Stock via Fastboot Commands

NOTE

Prerequisites

  1. Create a Device Backup: Make sure to back up your device data before proceeding as the restoration process involves wiping off all data.
  2. Install Android SDK Platform Tools: Download and install the SDK Platform Tools on your PC to get the necessary ADB and Fastboot binaries.

Step 1: Boot OnePlus 6/6T to Fastboot Mode

  • Method 1: If your device is soft-bricked, it might already be in Fastboot.
  • Method 2: If in a boot loop, let the battery drain, then power on while holding Volume Up and Power buttons.
  • Method 3: If working normally, use Advanced Reboot from Developer Options or the adb reboot bootloader command.

Step 2: Download OnePlus 6/6T Stock OxygenOS ROM

  • Visit the OnePlus Support Forum and download the latest OxygenOS firmware for your device model.

Step 3: Extract OnePlus 6/6T Payload.Bin File

  • Use an appropriate tool (like 7ZIP or WinRAR) to extract the payload.bin file from the downloaded ROM, which contains all necessary partition IMG files.

Step 4: Flash OnePlus 6/6T Stock ROM – Initial Setup

  • Transfer all extracted files to the platform-tools folder.
  • Open Command Prompt in the same folder and connect your device to the PC.
  • Ensure your device is in Fastboot Mode for flashing.

Step 5: Restore OnePlus 6 Stock ROM via Fastboot Commands

  • Execute the listed Fastboot commands in the Command Prompt to flash each partition.
  • Commands vary for Android 10 and Android 11; follow the ones relevant to your firmware version.
  • The fastboot -w command will wipe all data, and fastboot reboot bootloader will reboot your device to Fastboot Mode.
Android 10 Commands
fastboot -w
fastboot flash aop_a aop.img
fastboot flash aop_b aop.img
fastboot flash bluetooth_a bluetooth.img
fastboot flash bluetooth_b bluetooth.img
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash dsp_a dsp.img
fastboot flash dsp_b dsp.img
fastboot flash dtbo_a dtbo.img
fastboot flash dtbo_b dtbo.img
fastboot flash modem_a modem.img
fastboot flash modem_b modem.img
fastboot flash oem_stanvbk oem_stanvbk.img
fastboot flash qupfw_a qupfw.img
fastboot flash qupfw_b qupfw.img
fastboot flash storsec_a storsec.img
fastboot flash storsec_b storsec.img
fastboot flash system_a system.img
fastboot flash system_b system.img
fastboot flash vbmeta_a vbmeta.img
fastboot flash vbmeta_b vbmeta.img
fastboot flash vendor_a vendor.img
fastboot flash vendor_b vendor.img
fastboot flash LOGO_a LOGO.img
fastboot flash LOGO_b LOGO.img
fastboot reboot bootloader
Android 11 Commands
fastboot -w
fastboot flash abl_a abl.img
fastboot flash abl_b abl.img
fastboot flash aop_a aop.img
fastboot flash aop_b aop.img
fastboot flash bluetooth_a bluetooth.img
fastboot flash bluetooth_b bluetooth.img
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash cmnlib_a cmnlib.img
fastboot flash cmnlib_b cmnlib.img
fastboot flash cmnlib64_a cmnlib64.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash devcfg_a devcfg.img
fastboot flash devcfg_b devcfg.img
fastboot flash dsp_a dsp.img
fastboot flash dsp_b dsp.img
fastboot flash dtbo_a dtbo.img
fastboot flash dtbo_b dtbo.img
fastboot flash fw_4j1ed_a fw_4j1ed.img
fastboot flash fw_4j1ed_b fw_4j1ed.img
fastboot flash fw_4u1ea_a fw_4u1ea.img
fastboot flash fw_4u1ea_b fw_4u1ea.img
fastboot flash hyp_a hyp.img
fastboot flash hyp_b hyp.img
fastboot flash keymaster_a keymaster.img
fastboot flash keymaster_b keymaster.img
fastboot flash LOGO_a LOGO.img
fastboot flash LOGO_b LOGO.img
fastboot flash modem_a modem.img
fastboot flash modem_b modem.img
fastboot flash reserve_a reserve.img
fastboot flash reserve_b reserve.img
fastboot flash storsec_a storsec.img
fastboot flash storsec_b storsec.img
fastboot flash system_a system.img
fastboot flash system_b system.img
fastboot flash vbmeta_a vbmeta.img
fastboot flash vbmeta_b vbmeta.img
fastboot flash vendor_a vendor.img
fastboot flash vendor_b vendor.img
fastboot flash xbl_a xbl.img
fastboot flash xbl_b xbl.img
fastboot flash xbl_config_a xbl_config.img
fastboot flash xbl_config_b xbl_config.img
fastboot reboot bootloader

Completion and Device Setup

  • After executing all commands, your device will reboot.
  • The first boot may take longer than usual.
  • Set up your device as it will be in a factory reset state.
Important Notes
  • Be careful with each step to avoid any errors.
  • Ensure all drivers and tools are correctly installed and updated.
  • Always follow the steps in the given order for a successful restoration.
Dibyashree Sharma
Dibyashree Sharma
Dibyashree Sharma, who graduated in Computer Science from NIT Rourkela, is an experienced blogger and an enthusiast of Android technology. She has spent eight years writing about Android OS, earning a reputation as a reliable source in the technology field. Away from the digital sphere, Dibyashree enjoys playing tennis, a sport she is as passionate about as she is about technology.

Leave a Comment