How to Unroot OnePlus 5 and Return to Stock

In this article, we will tell you how to Unroot OnePlus 5 and completely return it to Stock. At this point, it is no doubt that OnePlus 5, just like all the other OnePlus devices, is an extremely developer friendly device with a lot of development going for it. You can install a custom ROM, custom Kernel, custom TWRP Recovery and even root the device to take full control of it. But there are times when you have tried everything and you just feel like going back to stock. Of course, being on the stock ROM has its own advantages. The most important one is that you always receive the latest update as OTA to your device. You don’t have to download and install a zip file manually every time you need the latest software on your device. Read ahead to know how to unroot and return your OnePlus 5 completely to stock.

Requirements

  1. ADB and Fastboot: Follow this link – Download, Install, and setup latest ADB and Fastboot drivers on your computer.
  2. Ensure that your phone has at least 50% of charge, just in case.
  3. Enable USB debugging: Go to Settings > About phone > Tap on Build number seven times. This will enable Developer options. Now again go to Settings > Developer Options > Enable USB debugging.
  4. Enable OEM Unlocking: Go to Settings > Developer options and then click on ‘OEM Unlocking‘ to enable the same.

Download Necessary Unroot Files for OnePlus 5

You need two things to bring your rooted OnePlus 5 completely to stock:

  1. OnePlus 5 Stock Recovery: Download it here. Rename the downloaded file to ‘recovery.zip.
  2. Latest Oxygen OS: Download it here. Rename the downloaded file to ‘update.zip.

How to Unroot OnePlus 5 and return to stock

Follow the below steps carefully:

  1. Now copy the above-downloaded OnePlus 5 Stock Recovery and latest Oxygen OS to the folder where ADB and Fastboot are installed. Most probably C:\Minimal ADB and Fastboot.
  2. Rename the recovery file to ‘recovery.img‘, if not done already.oneplus-5-stock-recovery-minimal-adb-fastboot
  3. Reboot OnePlus 5 into fastboot mode.
    • Switch off your phone. Wait a few seconds to make sure it is completely turned off.
    • Press and hold Power Button + Volume Down button at the same time.
  4. Once your phone reboots into fastboot mode, connect it to your PC using USB cable.
  5. Open the folder where ADB and fastboot are installed. Now, hold down Shift Key and Right Click and select ‘Open command window here‘.oneplus-5-stock-recovery-adb
  6. Now run the below command in the command prompt:
    fastboot flash recovery recovery.img
  7. You now have stock recovery on your OnePlus 5. To reboot into stock recovery:
    • Power Down your OnePlus 5.
    • After the phone is completely switched off – Press and Hold the Power Button and Volume Down Buttons at the Same Time.
    • Continue Holding these two buttons past the OnePlus/Android Splash Screen that appears.
    • When the phone boots into Recovery Mode, release the power and volume down buttons.
  8. Once you are in Stock Recovery, choose the option that says ‘Install from ADB‘. Now the phone will be put into ADB sideload mode.
  9. Make sure your device is connected to your PC via USB cable. Open the command prompt in the folder where ADB and fastboot are installed. Make sure the ‘update.zip’ file is present inside it.
  10. Run the below command in the command prompt:
    adb sideload update.zip
  11. Please note that the flashing process will take around 5 to 10 minutes and once it completes, reboot your OnePlus 5.

Congratulations, your OnePlus 5 is now unrooted and completely in stock mode. Enjoy!

Need root again? [Guide] OnePlus 5 – Root, Install TWRP, and Unlock Bootloader

If you have any doubts or need help with any of the steps above, do drop a comment below!

13 thoughts on “How to Unroot OnePlus 5 and Return to Stock

  1. Bonjour quand je suis sur le recovery stock, il me demande un mot de passe??ce n est pas un des miens???du coup je ne peux pas rentrer dedans

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.