How to Unbrick and Restore OnePlus One to Cyanogen OS 12 Stock Firmware [Fastboot Method]

The much awaited Cyanogen OS 12 for OnePlus One was released earlier today through an OTA update and the flashable zip file is available as well. Since then a lot of OPO users are looking to update their device to CM12 which one can update easily by installing the update manually using stock recovery. The process isn’t straight forward if one wants to update to CM 12 from Oxygen OS. Unfortunately, several OPO users have bricked their device some or other way while trying to update it. In case, you’ve bricked OnePlus One or it’s stuck in a boot loop then our guide below will help you bring back your lovable phone back to alive state.

This process allows you to flash the official Cyanogen OS 12 (based on Android 5.0.2 Lollipop) factory image on OnePlus One and restore it back to factory state. The guide is pretty easy and doesn’t requires using any commands or a toolkit. A simple script will let you automatically flash the stock firmware on OnePlus One in a few minutes. If you’ve a custom recovery installed or your phone is rooted then that will be switched to default state as well.

Note: This process will WIPE entire data on your phone, including the data on internal storage. Before proceeding, make sure your phone is charged and you’ve taken a backup of your important data such as photos, media, files, etc.

Mayur Agarwal is the founder and editor of WebTrickz. He is a Tech enthusiast and an Internet freak who loves to try out new gadgets and smartphones. You will usually find him sharing useful How To’s and Tips & Tricks. Follow him @mayurjango on Twitter where he is extremely active.

The flash-all.bat file is indeed missing.
Can you please explain what do you mean by \”manually install every file\”?
I see the flash-radio.sh file. Do I need to perform all the 8 fastboot commands listed there?

Finally I managed to make it work. Here is what I did
1. I put the phone into a fastboot mode
2. I had to find USB 2.0 socket is requires (didn’t work for me with USB 3.0). Few seconds and the PC recognized the phone
3.installing files is still impossible. I had to unlock the device: fastboot oem unlock
4. the phone automatically responded by changing the screen, and after few seconds a question in Chinese. I tapped the right (gray) option and the wiping started.
5. The phone restarted, and I put it again in fastboot mode.
6. Then I ran the following commands:
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash oppostanvbk static_nvbk.bin
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot reboot

Go to the adb fastboot folder where you have extracted all the files, the adb.fastboot zip and also the cyanogen fastboot zip and open a command prompt over there in the same folder by clicking shift and right key and then open command prompt here. Then copy paste the commands from the top comment and paste it there and wait for the magic to happen. 😀

THESE FREAKING WORKSSS. thanks. I didnt unlock the something at the first place so it didnt work.

I then simply keyed in \”fastbook oem unlock\” in the command prompt and my phone has rebooted(back into the 1+ Powered by android screen and stuck there but its alright)

Now, something has been unlocked in my phone but idk what tefuck is that but i dont care,

then I boot phone to fastboot mode once again and proceed with copying those commands into command prompt and pressed enter at the final command \”fastboot reboot\” and my damn brick is gone and phone rebooting normally.

One problem with this method is the userdata.img file is for 16gb model. I successfully used this method, then installed slimsaber 5.1.1. everything looked good, until I found that my storage had dropped to 12.7gb. you must replace the userdata.img file with the userdata_64G.img file available at the link below to get your full 64gb back.https://drive.google.com/file/d/0B2E1iiyvwZxhSS1sZHJOQjlwN00/edit

Hey Guys! My phone is not working from 7 days. 🙁 it says \”error while searching for networks\” and the sim does not work. (P.S even the IMEI number was missing before I could put it back to stock, now the IMEI number is showing after flashing stock CMS.

Still I am not able to get my sim to work on this phone 🙁 could someone please help me out 🙁

Many thanks for the links and article – My OnePlus One was screwed up after the OxygenOS1.03 patch update, and things coming back in order now that I\’ve fastboot flashed it down to Cyanogen12 … Looking forward to putting marshmellow CM13 next 😉

Hello guys,
I recently broke my OPO screen and installed a new screen with frame myself. Since then my phone turns on only when connected to a charger and is stuck in the boot screen. I was able to get into fastboot mode when connected to a PC via USB and was able to flash all images as mentioned above. But on rebooting I was still stuck on the boot screen. If the phones not getting any power then it won\’t even turn on. Can anyone help me please!!!

i have done everything right, i fastbooted and unlocked oem and even downloaded cm 12 put it into fastboot mode and then ran the flashall.bat file, my phone gets flashed but for some reason it is still stuck in the boot loop and i cant seem to get out of it, i was running previously on cm13 sultan rom and one day it shut down all by itself and got stuck in a boot loop! nothing seems to work. Please do help!

I have the same problem as you akash, I haven\’t found any solution, even flashing a new rom via fastboot doesn\’t fix the bootloop. also was running sultans rom and now it seems like my device is bricked. When installing zips via TWRP the phone also reboots.

Please help, I\’m sort of a noob with all this. Whenever I unlock the bootloader, the phone reboots to the TWRP page. Then, when I try to enter the other command prompts, I get errors saying the bootloader is locked. Arghh.

The \”fastboot oem unlock\” isnt working!
How ever after rebooting i check with \”fastboot oem device-info\” and it says its not unlockt. Repeated it 100 times. but i cant unlock this fastboot any advice?