[OnePlus 6 Guides, News, & Discussion] Funk Wizard:
How to Unroot & Go back to Stock Recovery without loosing Data !!

How to Un-Root & Go back to Stock Recovery Without Loosing Data :o

As discussed earlier, Unofficial TWRP is still unable to flash the full OOS zips and Does not restore Nandroid for now, i guess a lot of users would want to go back to stock recovery / unroot their devices for now, TBH there is nothing much to flash for now and Most people who wanted to go back to stock either had to use the Unbrick Tool or Flash the Fastboot Zip which either bricked their device or got them into soft brick/bootloop and then ended up loosing their data.

Just to make it simpler, below is a small 3 Step Tutorial to do so without loosing the data or bricking your device :fingers-crossed:

After a few tests in continuation of this & this post last night i found that below is the easiest way to Unroot and go back to Stock Recovery Without Loosing Data:fingers-crossed:

Follow below if you are on OOS 5.1.5 with TWRP & Magisk installed and you want to Unroot and Go back to Stock Recovery :good:

Before you continue, please remove any Substratum overlays, Xposed/Magisk Modules or any other mods :fingers-crossed:

Downloads:

OOS 5.1.5 boot.img

Full Rom OOS 5.1.5

Official | AFH

MD5: 6ce6648dbe58dc8827801d3c1a7f67f0
​

Unroot Your OnePlus 6 :fingers-crossed:

1. Download both these files and place it on device internal storage

2. Reboot in TWRP Recovery

3. Install > Install img > Select boot.img > Select Boot > Swipe to Flash (Unroot Done)

4. Reboot System (You would boot into OS with NO ROOT Access any more)

Remove TWRP & Go Back to Stock Recovery :fingers-crossed:

1. Boot into OS, Navigate to Settings > System Updates > Settings Icon on Top Right > Local upgrade > Select the OOS 5.1.5 Full Zip

2. Confirm install

3. System will install the full zip which will also overwrite TWRP and replace it with stock recovery

4. Once the the installation is complete 100%, system will prompt Reboot

5. Reboot system and you are done :highfive:

Not you have an Un-Rooted OnePlus 6 with Stock Recovery without any Data Loss without having to use the any Unbrick Tool or Multiple Fastboot commands to flash the zip via fastboot.

For users who further want to completely go back to stock device and want to lock the bootloader, may continue :fingers-crossed:Before locking the bootloader we would have to completely wipe the device to please take the necessary backup now.

Once you have backed mu your data, continue with below to LOCK the Bootloader :fingers-crossed:

1. Reboot to Recovery (Stock Recovery)

2. Decrypt your data with you pin/pattern/password > Select English

3. Select Wipe Data & Cache > Erase everything (Cant be undone)

4. The recovery will wipe everything and perform a factory reset.

5. Once done the device will boot into OS (Be patient the boot will take a few minutes)

6. Once done again switch off the device and boot into bootloader by pressing Power on + Vol Up key together till you get vibration

7. Plug/Connect the phone into your PC, then open a command prompt window on the desktop (Shift + Right Click -> Open Command Window here) and type:

fastboot devices

This command will list the connected devices. If your phones serial number shows up you are good to go and may continue. If the phone is NOT listed this indicates that your drivers are not installed correctly. In order for you to continue you must fix your drivers so that your phone is listed under fastboot devices.

If the phone has been recognized by the command above, proceed with the following command to Lock the Bootloader:

fastboot oem lock

You would be greeted with a Lock Bootloader Warning page on the device, Hit the Vol button to select LOCK THE BOOTLOADER to turn it BLUE and Hit the Power Button to Execute the selection :good:

Your device will WIPE and Reboot & the SECURE BOOT WARNING IS GONE :laugh:

You are now back with your device at Factory state and are now Locked and Un-Rooted with Stock Recovery Ready for OTA's :laugh:

Hope the above made sense and i've kept it as simple as possible for all users to follow :highfive:

Thank you for your continued support :good: i shall be back with the next OP6 OTA's :good:

Cheers :highfive: