How to Unroot the OnePlus 3 & Get Back to Stock (Video)
Perhaps you want to sell your OnePlus 3, send it in for warranty or, you know, give it away. Regardless of the why, they how involves unrooting the OnePlus 3 and getting it back to stock.
In this tutorial, I’ll walk you through installing the stock ColorOS ROM, then flashing the stock recovery, and, finally, relocking the bootloader so we can get OTAs and hide any sign that it was ever rooted in the first place.
I. Before You Begin
- This will erase the device, so make sure to save things to your computer you might need.
- I’m using Windows to do this tutorial but you can use Mac if you are familiar with Mac terminal commands.
- I’m going to assume you did my rooting tutorial. If you didn’t please just use my setup ADB tutorial and do that so you have the proper tools on your computer and in the right places (don’t worry, it’s a 60 sec tutorial).
- Enable USB debugging (if it isn’t already enabled) by going to Settings > About Phone and tapping on Build Number until it tells you you are a developer. Then hit back and go to Developer Options, and turn on USB debugging.
II. Flash the Stock ROM and Unroot the OnePlus 3
So first we’re going to unroot the phone and flash the stock ROM to get back to a close to out of box state.
- Download the stock ColorOS ROM and save it inside the adb folder you should have from doing my how to setup adb tutorial above.
- Plug the phone in via USB and hold Shift and right-click in a blank area in the adb folder (where adb and the new ROM .zip file is) and type the following with hitting enter at the end of the line:
adb push ota.zip
adb reboot recovery
- After it transfers the file and then boots into recovery, on the phone, select Wipe > Factory Reset (this will erase the phone FYI).
- Then tap Install and tap on the ota.zip file and swipe to confirm.
- Tap Wipe Cache/Dalvik.
- Tap Reboot System and wait for it to reboot.
- After it boots up, go through the normal setup process until you get to the home screen.
- Reenable USB debugging by going to Settings > About Phone and tapping on Build Number until it tells you you are a developer. Then hit back and go to Developer Options, and turn it on.
III. Flash the Stock Recovery
Now that we have the stock ROM, we need to replace the recovery with the original.
- Download the stock recovery and save it inside the adb folder like we did with the stock ROM.
- Hold Shift and right-click in a blank area in the adb folder (where adb and the new ROM .zip file is) and type the following with hitting enter at the end of the line:
adb reboot bootloader
fastboot flash recovery stockrecovery.img
IV. Relock the Bootloader
To finish it off and be completely stock, we need to now lock the bootloader.
- Still in command prompt from the last step, type the following into it with hitting enter at the end of the line:
fastboot oem lock
- Use the volume buttons on the phone to select and power to choose Yes.
There you go! All stock and like the OnePlus 3 was when you first got it. You can now send it in for warranty, sell it, or whatever else you wanted to do with it. Let me know in the comments below if you had any issues.