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.
Here’s how.
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
fastboot reboot
- 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.
Hi there, I’ve followed all your steps and have successfully unrooted my OnePlus 3. However, now I have an OTA update but halfway through installation it terminates and makes me reboot. Do you know how I can fix this? Thank you.
Try doing a factory reset from settings if that doesn’t work then try unrooting again :/
I am having the exact same problem. Any fix for this yet? I tried the factory reset from settings but it looks like I’ll have to try unrooting all over.
Did you relock the bootloader at the end of the tutorial?
Yes, bootloader has been locked and the phone boots normally.
Then I’d try and unroot again first and just see if that fixes it.
Hi, I tried following your video to unroot my phone. Downloaded the 1.2G stock file and placed it in the adb folder.
I followed this step no. 3 “After it transfers the file and then boots into recovery, on the phone, select Wipe > Factory Settings”. However, as I followed the ‘wipe’ step in the video, this error message was displayed and it wiped off the file that was to be installed as well. The image of what the error message looks like as it wipes is shown here: https://uploads.disquscdn.com/images/bf0cfd021648050c239df8dc79bb0b39d6728b6e93eb08faeb42bb9d2245d1b6.jpg
Please help me with the further steps. 🙂
Did you put the file in the sdcard folder like in the video? Make sure that’s where you put it as it shouldn’t get wiped in that folder, then try again. Then ignore that warning it’s fine, as it continues to wipe the things needed in there, then go to the next step of flashing it via Install.
I followed your video about rooting the oneplus3 and successfully completed it. Though now i am having a doubt on what to do with the supersu file installed during rooting it, as i want to unroot the phone. Should i uninstall it from the phone itself or continue unrooting the phone as it still remains installed?
Don’t use the SuperSU to unroot, use this tutorial and follow the steps and video.
Hi there,
after I installed ota.zip my phone does not even start anymore…. any ideas? 🙁
Hey! So here’s my problem…I did everything as you said except the fact that i used the latest OTA available(4.0.2). Everything seemed good until I locked the bootloader. After i did that, it reboots and enters a screen where it asks me for a password to unlock my android. I also can’t enter recovery mode. Can you please help me ?
Hit cancel on that password screen and you’ll get past it.
I didn’t have that option. I unlocked the bootloader again and now I got in but I still can’t go into recovery mode even after I’ve flashed another one.
Wait are you flashing a stock recovery and saying you can’t get into the stock recovery? Or is this for flashing a custom recovery?
I’ve flashed another stock recovery from here: https://www.androidfilehost.com/?fid=24591000424943319 and it still doesn’t work. This is how my phone looked when i finished your tutorial and the booloader was still locked:
https://drive.google.com/open?id=0B73SDOUbw1Z4aHlFNGZjenNrWUk
Hello, It happend to me too.
i’ve done alll the steps. After setup the ota.zip phone opened and said “Android is upgrading” after that it asked me password for open the Android and i tried all the possible passwords that i could set. But all of them was incorrect. And phone opened but it said “Your data is corrupted. And needed to factory reset my phone.” And now there is nothing i can do. i restart the phone and same things happend all over again. Can you help me ?
Hi, is there a solutione for the password problem?
Hmm it’s because of the new file system in the new version of Android. Normally, you can just tap cancel to get past it. Let me know if that works. Thanks!
I have Oneplus 3 device with the latest rom “OnePlus3Oxygen_16_OTA_041_all_1702081756_f9fb218af59d4aa6” and I am being ask for a password during startup
That’s a password that you set. Did you buy the phone used then used this tutorial to reset it?
i faced this problem but i got to recovery mode and wiped cache and data it worked for me it didnt ask for any password while startup
.
HI im getting worried now i don’t want to be in this position anymore i done everything you said but a on a 3t using the OTA for a 3t not the 3 that you provided and the recovery for the 3t but i am getting this message when i restart my phone “the dm-verity is not started in enforcing mode and may not work properly”
That warning happens if you don’t have the stock firmware. Try again and make sure you used the right firmware for your version of the phone and that you go all the way through and lock the bootloader at the end.
Hi David thanks for the quick reply can you tell me where i can find the right files for one plus 3t
Sorry but I don’t have the files, you’ll have to search online for them like how you found the ones you just tried. Good luck.
dude its displaying like “this package is for “OnePlus3” not for device “oneplus3”, how can change o and p to capital
That shouldn’t matter. Are you using a One Plus 3 or do you have a different model (even if it’s the 3T and not the 3)?
am using oneplus3 but it is not installing in twrp recovery its displaying message as mentionedd above.
If this is an issue with rooting please post in the comments on the rooting tutorial instead of here so I can reference files/links there for others who might have a similar issue.
am performing unrooting of oneplus3. I want to go back to stock rom and i lost by back up files.
Then you’ll just have a totally stock stock or of box device when you’re done with this tutorial and will have to set it up manually. Good luck.
https://uploads.disquscdn.com/images/0b9e921c5969f4b34135361e08bc41b8702a2a7128bfb56877bb7eae3535536c.png
i mean i can’t install stock rom on my oneplus3
Then you either need to redownload it or Google Error 7 and it night be that you have a different version of Android and need to find the correct OTA.zip for your device. Good luck
thanks for your viedo i figured how to slove error 7, and am in stock rom now.
same Problem, how do you solve error 7??
did you got solution for your problem
https://uploads.disquscdn.com/images/9dac03105f632a66d0829d34587ec3f4f988412b4f5a4d5483817e63fd8c7423.png
https://uploads.disquscdn.com/images/0b9e921c5969f4b34135361e08bc41b8702a2a7128bfb56877bb7eae3535536c.png
hi Jordan. Have you found the right files for OP3T?
i have question, if i install this ROM can i get offical updates form oneplus?
Yes, this is how you get back to the stock firmware on the OnePlus so it’s their own firmware and will get their updates.
I have a problem. I made a mistake and mistakenly typed the word fastboot oem unlock and clicked yes. What should I do when the phone is turned on and off?
It’s fine. You can just reboot the phone into bootloader mode and type fastboot oem lock to relock it.
press “power+volume down” button and boot into fastboot mode and unlock bootloader.
Thanks for helping out!
My phone is OnePlus 3 i have same problem. I look bootloader but dm verity problem not solved
https://www.xda-developers.com/xda-external-link/here-is-how-to-disable-dm-verity-warning-on-the-oneplus-3t/
Lock bootloader but dm verity problem not solved
HI,
looks like i brick my one plus 3.
I already had stock OS rooted so started from the step 3 “Flash the Stock Recovery”.
And now it does not boot anymore. Have tried the down volume and power button, but no luck.
Please need your help.
When i hold only the power button for a while, the oneplus logo keeps flashing. This i guess is the boot loop it is stuck in, the it loops in less then a second time.
hello i succesfully installed the rom but it is asking me for the password what should i do now please tell me the pin