The Custom Droid

Android Tutorials, Tips and Tricks

How to Restore OnePlus 5 Stock Firmware

Restore OnePlus 5 Stock Firmware

About to give your device to RMA or concerned about your device’s integrity? Just follow the tutorial to restore OnePlus 5 stock firmware.

Advertisement

You might want to restore OnePlus 5 to stock for a variety of reasons. If you’re submitting your device to the RMA for any physical repairs, then you would require your phone’s software to be intact and as near to stock as possible. In another situation, you might want to sell your device to someone, and that person might not have the taste for custom ROM, so it always better to hand over while your phone is running stock firmware. You would also want to restore OnePlus 5 stock firmware because the custom ROMs just don’t cut for you and you prefer the hassle-free vanilla experience over everything else.

Restore OnePlus 5 Stock Firmware
Restore OnePlus 5 Stock Firmware

So if you are here for the above reasons or any other reasons for that matter, then we are here to help you restore OnePlus to stock. Just follow the simple instructions laid below. All you will need is an internet connection, the device, and your hands.

Advertisement

How to Restore OnePlus 5 Stock Firmware

You might have thought that restoring OnePlus 5 would require a lot of head work with tools/software. But no, you don’t need anything to restore OnePlus 5 stock firmware, it’s way simpler than that.

— How to Install OnePlus 5 OxygenOS 4.5.10 Right Now!

Prepare Your Device

  • Restoring the stock ROM and locking the bootloader will removes/format the complete data stored on the device. So make sure that you take a complete backup before heading any further.
  • Charge your OnePlus 5 to a sufficient battery level.

Download OnePlus 5 Stock Firmware

The manufacturer provides the firmware package for all major updates for OP5. You can download this firmware and stock recovery, and flash them to your device pretty easily. Later you may also lock the bootloader.

Following are the OxygenOS OnePlus 5 stock firmware available:

Download the OnePlus 5 stock recovery image:

Read – How to Install LineageOS on OnePlus 5

Instructions to Restore Stock Firmware on OnePlus 5

  1. Connect your device to the PC while it is loaded in the operating system.
  2. Transfer the downloaded stock ROM to the device storage.
  3. Setup ADB and make sure your device is accessible over ADB.
  4. Reboot your device into recovery mode (Stock or TWRP) – Tutorial
  5. In the next step, you will restore OnePlus 5 stock firmware by flashing the ROM package, either through stock recovery (Step #6) or TWRP (Step #7).
  6. In stock recovery:
    • Choose “English” as the preferred language.
      Restore OnePlus 5 Stock Firmware - Stock Recovery
      Restore OnePlus 5 Stock Firmware – Stock Recovery
    • Go to “Wipe data and cache”. Select “Reset system setting” and press “Yes” to confirm the process.
    • Now go back to the main recovery screen and select “Install from internal storage”.
    • Navigate the internal storage and select the ROM package (Example: OnePlus5Oxygen_23_OTA_015_all_1708252353_e6d7756780064352.zip).
    • Confirm the process by select “Yes” when prompted.
    • After the process is complete, tap on “Reboot”.
  7. In TWRP recovery:
    • Open “Wipe” and select “Advanced wipe”. Select the Dalvik/ART Cache, System, Boot, and Cache options. Then swipe the button on the bottom of the screen to wipe the device.
      Install Custom ROM TWRP Wipe
    • Go back to the main TWRP screen.
    • Go to the “Install” tab. Browse the internal storage and select the ROM package (Example: OnePlus5Oxygen_23_OTA_015_all_1708252353_e6d7756780064352.zip).
    • Swipe the button on the bottom of the screen to flash the file.
    • Finally, tap on “Reboot System”.
  8. That’s it, you have been successful to restore OnePlus 5 stock firmware.

Flash Stock Recovery and Lock Bootloader

  1. (Optional) If you already have stock recovery, then you shall skip this step. Now to flash the stock recovery, boot into bootloader mode. Transfer the “OP5_recovery.img” file to the ADB folder where the fastboot binaries are present.
  2. (Optional) Connect your device to the PC and enter the following command to flash stock recovery:
    fastboot flash recovery OP5_recovery.img
  3. Finally, lock the bootloader back:
    fastboot oem lock
  4. As soon as your register the command, the phone will prompt with a confirmation message, accept it by selecting “Yes”.
    Restore OnePlus 5 Stock Firmware - Lock Bootloader
    Restore OnePlus 5 Stock Firmware – Lock Bootloader
  5. Your OnePlus 5’s bootloader will be locked instantly and it will reboot into the fresh stock firmware.

There you have it! You have been successful to restore OnePlus 5 stock firmware. Go ahead enjoy the stock experience again.

If you face any problems during this process, let us know by commenting below.

About the Author

Founder and Editor-in-Chief

Dhananjay has more than 11 years of experience in Android software customization and development, and has spent the past 10 years writing about it. He spends most of his prime time reading, learning and writing about Android and other open-source projects. He is also a community-taught web developer. Apart from that, he loves mountain biking and playing video games on his PlayStation.

Leave a Reply

Comments are moderated, and published only if they are relevant to the topic and add value in a constructive way. If you disagree with something, please be polite and respectful. We suggest you read our comment policy before commenting.