The Chinese underdog OnePlus has gained immense popularity with its OnePlus One that came with an apt tagline Flagship Killer. Powerful hardware, customizable OS, pocket-friendly price and a strange marketing strategy helped OnePlus One to attract a lot of buzz from both the Android fanboys and developers. As any other flagship device, OnePlus One has a huge developer network and you would a lot of custom ROMs, kernels and mods to try on every now and then. But do you have a contingency plan in case you brick your device in the tweaking process?
Flashing ROMs, kernels and fiddling with system partitions is highly dangerous and could potentially brick your device. In case your device is bricked or you want to restore your device back to stock, you’ll need to flash the stock firmware and remove any traces of software tampering. In this tutorial, we will guide you on how to restore OnePlus One to stock CM11S using different methods. So, without any further ado, let’s get on with the tutorial.
Flashing a firmware is deemed hazardous and you might end up with a bricked device in worst case scenario. Even though the practiced method is safe and tested, there might be a chance for misfortunes. So, you alone are responsible for any consequences that might occur during the process. We shall not be held responsible for any damage to your device but we will try our best to provide assistance if you land into any trouble.
- Charge your device above 60% to make sure it doesn’t die in the middle of the process which may be fatal sometimes.
- Make a backup of everything on your device so that you can restore the files if something goes wrong. Here’s the usual checklist:
- Install proper drivers on your PC. If you haven’t installed them already, you can follow our detailed USB driver installation guide.
- Setup ADB and Fastboot files on your PC. If you don’t know how, follow our detailed guide on how to setup ADB and Fastboot on your PC.
- Prepare your device:
- Enable developer options: Go to your device’s Settings » About phone » Scroll to the bottom and tap on “Build number” seven times to enable developer options.
- Enable USB Debugging: Go to your device’s Settings » Developer options » tick the “USB debugging” check-box (sometimes listed as Android Debugging)
- You should unlock the bootloader on your device before flashing the stock firmware. If you’re not sure of the process, follow our definitive guide on how to unlock bootloader on OnePlus One.
Download stock firmware [XNPH05Q] [Method 1 & 2]
Download OnePlus One Recovery Tool [XNPH44S] [Method 3]
Guide: Restore OnePlus One to Stock
In this guide, we will provide you three methods to restore your OnePlus One to stock. The first method and the preferred method includes a one-click installer file which does the job, the second method provides you commands to flash the entire firmware manually. The third method uses an automated tool which will flash the stock firmware on your device. Choose the method of your choice and restore your OnePlus One to stock.
Method 1: Using 1-Click Installer File
- Download the firmware file suitable for your OnePlus One from the downloads section above.
- Extract the firmware to the folder where you’ve installed the ADB and Fastboot tools on your PC.
- The firmware files consists one-click installer files, Flash-all.bat (for Windows) and Flash-all.sh (for Linux and Mac). Running these files would install the firmware on your device.
- Boot your device into fastboot mode. To do this:
- Switch off your OnePlus One.
- Now press and hold the Power + Volume Up buttons simultaneously until you see the Fastboot text on your device.
- Once you see the fastboot text, you can let go of the two buttons.
- Connect your device to the PC using a USB cable and make sure the device is detected. If not detected, make sure you’ve installed proper USB drivers and enabled USB debugging in the developer options.
- Now run on the one-click installer file Flash-all.bat or Flash-all.sh depending on the OS you’re using on your PC.
- The device will automatically reboot once the flashing is completed. So, just sit back and relax while the device reboots.
Method 2: Manually Restore Stock Firmware
Sometimes, the one-click installers will be buggy and throw crazy errors during the process. In that case, you can simply flash the firmware files manually using the fastboot commands. Follow the below procedure for the detailed process.
- Boot your device into fastboot mode and connect it to the PC using a USB cable.
- Navigate to the folder where you have extracted the firmware files and open a command prompt inside the folder by pressing Shift key + Right click in the empty space inside the folder, and select Open command window here option from the Windows context menu.
- Now execute the below commands one-by-one.
fastboot flash modem NON-HLOS.bin fastboot reboot-bootloader fastboot flash sbl1 sbl1.mbn fastboot reboot-bootloader fastboot flash dbi sdi.mbn fastboot reboot-bootloader fastboot flash aboot emmc_appsboot.mbn fastboot reboot-bootloader fastboot flash rpm rpm.mbn fastboot reboot-bootloader fastboot flash tz tz.mbn fastboot reboot-bootloader fastboot flash LOGO logo.bin fastboot reboot-bootloader fastboot flash oppostanvbk static_nvbk.bin fastboot reboot-bootloader fastboot flash system system.img fastboot reboot-bootloader fastboot flash userdata userdata_64G.img ::(or userdata.img if you have the 16GB version) fastboot reboot-bootloader fastboot flash boot boot.img fastboot reboot-bootloader fastboot flash recovery recovery.img fastboot reboot-bootloader fastboot flash cache cache.img fastboot reboot
- The initial reboot will take a lot of time, so be patient while the device boots up.
Method 3: Using OnePlus One Recovery Tool
- Download the OnePlus One recovery tool suitable to your variant from the downloads section above. Extract the tool to a suitable location on your PC.
- Right click on the downloaded tool and select “Run as administrator” to run the program with administrator privileges.
- Switch off your OnePlus one device and connect it to your PC using USB data cable.
- Now press and hold Volume Up + Power buttons until your PC detects the device. If it doesn’t detect, make sure you’ve installed proper drivers on your PC.
- Click on the refresh button on the tool. This changes few fields in the tool and you’re ready to go.
- Select the Normal restore option on the tool and click on start button to start the flashing process.
- Once the flashing process is completed, a green color circle will be displayed indicating successful flashing of firmware.
- Now disconnect the phone from your PC.
There might be another thing that should be taken care of to completely restore your OnePlus One to stock. It is to reset Unlock & Tamper bit on your device which were set during the bootloader unlock process. We have covered a simple tutorial for the same, follow the below link once you’ve finished with the firmware flashing on your OnePlus One
That’s all! Reach us in the comments section below for any queries or assistance regarding the process in the tutorial. Also, do suggest any modifications or additions to this simple guide, your feedback is important to improve our content and services.
If you find our tutorial useful, kindly share this tutorial with others using the share buttons below. Remember, Sharing is Caring!