Mobile Technicians

ALL ABOUT SMARTPHONES TOOLS

Thursday, 14 June 2018

OnePlus Series Mega UNBRICK Guide + TWRP Flashing

Let’s rescue/unbrick our OnePlus One, 2 and 3 series, including OnePlus X, OnePlus is a “developer” phone in the first place. What does that mean? This means your bootloader can be unlocked with a simple fastboot command and you are ready to “develop” ROMs or apps. This means OnePlus won’t be out of warranty if you “root” it, as rooting and unlocking the bootloader freely are a part of being a developer phone. Thanks to OPPO, yes you read right– OnePlus One was an identical twin of the Oppo Find 7 series from inside, we are able to find “unbrick” roms of these developers phones since a while. Oppo Find 5 was the first model as an example of this story. Actually, I am the first one in the world who has unbricked OnePlus One from a death brick ( i like to call this a coma brick ), from Qualcomm HS-USB Diagnostics 9006.


Rescue Files :
OnePlus 3T
OnePlus 3
OnePlus 2
OnePlus X
OnePlus One
Qualcomm Driver :
Qualcomm QdLoader driver

STEP 1: Before we start, we need to put our Windows operating system into “Test Mode”, so we don't have to deal with any driver install issues in between our work.

To do this just :
Press Start->Search->cmd then right-click on it and click Run as administrator. In the CMD window type or copy this “Bcdedit.exe -set TESTSIGNING ON” and press enter.
Restart PC.

After your work with unbricking is done, if you want to get out of this test mode, detailed instructions are here: Windows Test Mode.

This is a pure unbricking method with its own flasher inside the rescue folders so we don't need any adb or fastboot command to get in EDL (Qualcomm HS-USB Qdloader 9008) mode like we did in our Xiaomi guide before. We will use a simple key combination like I described in our Lenovo/ZUK guide. Special thanks to OnePlus for not hiding it from us, like Xiaomi did.

OnePlus’s own flashers : MsmDownloadTool V3.0 is for OnePlus 3, MSM8994DownloadTool is for OnePlus 2, MsmDownloadTool V2.0 is for OnePlus X and Msm8974DownloadTool is for the OnePlus One. These tools will be in every rescue package that you will download from links above. I will be working on OnePlus One today. This model has Color OS 2.0 as rescue ROM, so after you flashed this rom your OPO will boot with Color OS (Chinese-English version), BUT whats important for us is to get back our “fastboot mode” back, its a developer phone remember?

After we have fastboot mode back we will be able to flash TWRP recovery to our phones and flash any ROM that we want, including stock ROMs. Rescue packages for other models than the OnePlus One contain only rescue partitions in it, so no “system.img” and “userdata.img’s”. They will give you stock recovery and bootloader (fastboot). There are also complete  rescue ROM files but because they are big packages, hard to upload them all to our servers, if you are a “custom ROM” guy like me, you won't need those stock ROMs, flashing TWRP will be more then enough to go to the second step after rescue (flashing a custom ROM).

STEP 2: Let’s put our OnePlus’s into the Qualcomm HS-USB Qdloader 9008 /EDL mode. To do this, we will use the default key combination of Qualcomm for this: Phone is completely off> Press Volume “+” button> Plus the USB cable in (without pressing power button), that's all. Before that, I presume that you have installed “Qualcomm QdLoader driver” on your system, if yes, your new device will be like in the picture, if not, please do it in this step and get ready for the next step. opo_9008_logo

Our flasher will be “Msm8974DownloadTool.exe”, but I pictured here all the ROM folders because I want you to see some other files too and understand what we are doing here. “rawprogram0.xml”, “patch0.xml”, “prog_emmc_firehose_8974.mbn” and “MPRG8974.mbn”, these files are Qualcomm’s engineer files and cant be found in any rom than these kinds of “service” roms. All the XML files can be regenerated but that mbn files not. They include vendor (maker) related model specific sign codes in it and cant be used on cross models. What I’m trying to explain here is — You have seen those files in your Xiaomi’s fastboot roms too, like in your Lenovo and ZUK’s Qfil ROMs, but like I said, you cant use Xiaomi Mi4’s “MPRG8974.mbn” to rescue a OnePlus One for example. They share same chipsets, Snapdragon 801’s but because of the different “signs” in them they just won't work, so don't lose time on this field. I know some users are.. opo_folder_logo

STEP 3: Right click “Msm8974DownloadTool.exe” and run it as “administrator”, this flasher is in Chinese but does not matter we will only use 2 buttons on it. “Enum” to identify our EDL ports and then “Start” to start the flashing. Here my port is on Com 28, don't get confused Windows’s com port number and this tool’s numbers — same port, different numbers.
Msm8974 Download Tool_enum_logo
After you click on Start,  “8974_msimage.mbn” will be sent to your phone and you will hear a USB unplug and plug sound from your computer. If this is your first time you will see this :
error_logo

An error on the Msm8974DownloadTool with red color (it says can't find the necessary port) and a new device under your device manager as “QHUSB_BULK”. Windows will automatically install drivers, just wait for a minute till you see your new port “Qualcomm HS-USB Diagnostics 9006”. This port will be used to flash the rest of the files, its so-called “EMMC” mode of the Qualcomm device.
9006_logo

STEP 4: Lets close Msm8974DownloadTool first. Then press “power button” of the phone long enough while you are pressing Volume “+” button same time — this will reset Qualcomm 9006 port to 9008 again. Then, run Msm8974DownloadTool as administrator and click “Start” again. Because our 9006 drivers are now installed and you will see this :
download_start_logo
The tool will start to send rescue files to our bricked OnePlus’s. In this example, the whole Color OS 2.0 files including systemimg and userdata.imgs.
download_ok_logo
download_finish
After it finishes you'll see our port line will become green saying it's done.

STEP 5: Our last step will be to press our phone’s power button long enough till it vibrates and wakes up back to life again. Remember, just put your phones in “fastboot” mode pressing Volume “+” button while powering on. Then download our “OnePLus Latest TWRP Recovery Package for all Models”.

Copy your OnePlus model’s TWRP.img to your “fastboot.exe” working folder and type:

“fastboot flash recovery twrp-3.0.2-0-oneplus1.img” for OnePlus One

“fastboot flash recovery twrp-3.0.2-2-oneplus2.img” for OnePlus 2

“fastboot flash recovery twrp-3.0.2-0-oneplus3.img” for OnePlus 3 and

“fastboot flash recovery twrp-3.0.2-0-oneplusX.img” for OnePlus X of yours.

To boot into TWRP right away type :

“fastboot boot twrp-3.0.2-0-oneplus1.img” for OnePlus One

“fastboot boot twrp-3.0.2-2-oneplus2.img” for OnePlus 2

“fastboot boot twrp-3.0.2-0-oneplus3.img” for OnePlus 3 and

“fastboot boot twrp-3.0.2-0-oneplusX.img” for OnePlus X

Your OnePlus will boot to TWRP recovery, just copy your desired stock or custom ROM from your PC to your phone and flash it. That’s all.

No comments:

Post a Comment