[OP8][OOS 21AA/BA/DA] Unbrick tool to restore your device to OxygenOS

Search This thread
Disclaimer: By attempting any of the processes listed in this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches fire, or turns into a hipster and claims to have been modified before it was cool.

Hi everyone, similar to the previous threads for
OP3, OP3T, OP5, OP5T, OP6, OP6T, OP7, OP7PRO, regular OP7T, T-Mobile OP7T, regular OP7TPRO, T-Mobile OP7TPro 5G and OP8Pro here are the EDL packages (also known as MSM tools or unbrick tools) that can revive a bricked unlocked OnePlus 8 (except T-Mobile/Sprint IN2017 ones and Verizon IN2019 ones, head to https://forum.xda-developers.com/oneplus-8/how-to/op8-unbrick-tool-to-restore-device-to-t4093043 and https://forum.xda-developers.com/oneplus-8/how-to/op8-unbrick-tool-to-restore-device-to-t4191723 for that)

You should also be able to rollback your phone to a previous release of OOS with them if for some reason you want to go back to an older firmware :)

You can download the following versions:

IN21BA tools (european firmware):


IN21AA tools (international firmware):


IN21DA tools (indian firmware):


Warning:

As this happened on OnePlus 8 Pro, it is advised to take backup of /persist partition before crossflashing (eg going from International to Indian build) as fingerprint reader may give an error related to enrollment issue. You can do so by using dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img (you must have root access, which is not something I'm going to explain here) and moving it to your computer/cloud.

Instructions:

Launch MsmDownloadTool V4.0.exe.

On Android 11 MSMs and up Windows 7 users may need to launch MsmDownloadTool V4.0_Win7.exe instead, but it hasn't been tested


On the login prompt select "Other" in the dropdown menu and click on Next.
Wait a few seconds until main window shows up.

Click on Target button and select O2 while using international tool or India while using indian tool or EU when using european tool.
Power your device off.
Maintain volume up and volume down keys to get into Qualcomm EDL mode.
Plug your device to your computer using stock OnePlus cable. (You may let volume keys go once done.)
Click on Enum to be sure your device is detected and press Start.
Wait ~300 seconds.
Enjoy your brand new device.

FAQ:

Does this work on Mac or on Linux?

Unfortunately no, tool is Windows only. You should need at least Windows 7.

Why is my antivirus freaking out when unzipping the archive or running the tool?

In an effort to protect reverse engineering from being done (and by extension prevent conversion process like it was done on 6T and 7Pro), OnePlus now use VM Protect V3 in their MSM tools. As this tries to detect debug environment, this is seen as malicious behaviour by some antivirus.

My device isn't detected when I click on "Enum" button

Go to device manager and make sure your phone shows up as QDLOADER 9008.
If it shows up as QHUSB_BULK, it means Qualcomm driver wasn't installed automatically by Windows Update. Download the latest one from Microsoft website at http://download.windowsupdate.com/c..._fba473728483260906ba044af3c063e309e6259d.cab (source https://www.catalog.update.microsoft.com/Search.aspx?q=qualcomm hs usb 9008 ) and install it manually by right clicking on QHUSB_BULK and selecting "Update driver software" and "Browse my computer for driver software" to where you downloaded CAB file.

MSM tool is stuck on "Param pre-processing"

Ensure you're using the Qualcomm drivers linked above.

MSM tool is stuck on "Sahara communication failed"

Unplug your phone, get in fastboot mode, turn off phone, wait 15 secondes and get back in Qualcomm EDL mode. You can also try using a USB 2.0 port instead of a 3.0 one.

What is SMT Download mode?

Just don't try to unlock that mode, it will wipe your IMEI and your Widevine certificate if you use it.

How can I fix "SMT config not found" error?

Please refer to https://forum.xda-developers.com/showpost.php?p=83448961&postcount=61, all credits to @Shadow12347 for finding it out.

Credits:

@LL Starks for getting 10.5.3 indian link from OnePlus
@Titokhan for being a friend and providing inspiration in writing
@headsh0t95 for being a friend and suggesting me to request an access to upload files on AndroidFileHost now one year ago for my previous threads
@AndroidFileHost for the hosting
@Zer0De8th for OOS 11.0/11.0.1.1/11.0.2.2/11.0.3.3/11.0.4.4 MSMs.
OnePlus for the device and OS
 
Last edited:

sameog

Senior Member
Apr 21, 2010
562
112
San Francisco
Quick question:. I currently have a OnePlus 6t and that man tool for the OnePlus 6t also unlocked my bootloader. Will the msntool for the OnePlus 8 do the same? I need to know this before I upgrade.

Thanks for all that you do!
 

LeBronJu

New member
Apr 27, 2020
1
0
Backup the persist partition is very very important!!! This issue is also happen in H2OS, and some people they just relock the bootloader the fingerprint is dead. I think the best opinion is backup the persist partition after unlock the bootloader Immediately.
 

Ibramj12

Member
Apr 28, 2013
40
11
Backup the persist partition is very very important!!! This issue is also happen in H2OS, and some people they just relock the bootloader the fingerprint is dead. I think the best opinion is backup the persist partition after unlock the bootloader Immediately.
My OP8 fingerprint is dead,

is there any way to fix it? Screenshot_20200428-014048.jpg

Sent from my IN2015 using Tapatalk
 

Ibramj12

Member
Apr 28, 2013
40
11
Guys please help me.

I need the persist partition image


here is how you get it.





Code:
adb shell

su

dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img

exit



Sent from my IN2015 using Tapatalk
 

Ibramj12

Member
Apr 28, 2013
40
11
Guys please help me.

I need the persist partition image


here is how you get it.





Code:
adb shell

su

dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img

exit



Sent from my IN2015 using Tapatalk
My oneplus 8 is the international version (if it matters)


anyway

if you're rooted you can get it without pc
using any terminal app

Screenshot_20200428-230215.jpg

Sent from my IN2015 using Tapatalk
 

sta3b

Member
Nov 2, 2019
23
10
heyy, does this help me regarding OP 8 verizon ? can i switch it to the international version ? thanks
 
Added 10.5.4 IN21AA/BA/DA MSM tools.

heyy, does this help me regarding OP 8 verizon ? can i switch it to the international version ? thanks

This doesn't work like that: OP8 Verizon has a different hardware (supports mmWave while unlocked versions don't) and also there are several checks to prevent conversion process as said in the OP.
Should someone wish to spend effort on attempting to do that, they will need to modify tool and/or .ops file to make it flash on their device with absolutely no guarantee this will work (especially since this tool relocks bootloader automatically when used). This is not something that I can do as way beyond my skills.
Not to mention that should experiments fail they will need to recover their device (which isn't actually possible as MSM tool for it isn't available yet). Feel free to PM me if you want to help in getting it.

Does it work with the Chinese version (IN2010)?

Yes, this should work but as I said in the OP you should backup your /persist partition before performing any operation.
 

sakun-ice

Senior Member
Nov 10, 2012
323
59
Added 10.5.4 IN21AA/BA/DA MSM tools.


Yes, this should work but as I said in the OP you should backup your /persist partition before performing any operation.

Let's imagine that I am in this situation: I am at version 10.5.7.IN21AA (international), but I want to install version 10.5.6IN21BA (European). I cannot install it from Local Upgrade because it is an older version. I also can't make a copy of my persist/ partition because I don't have root access (since there is no boot.img for magisk for my version 10.5.7IN21AA). So what should I do to install version 10.5.6IN21BA, root with magisk and not lose the persist/ partition? Thanks
 

jkyoho

Senior Member
Aug 4, 2011
412
199
toronto
Let's imagine that I am in this situation: I am at version 10.5.7.IN21AA (international), but I want to install version 10.5.6IN21BA (European). I cannot install it from Local Upgrade because it is an older version. I also can't make a copy of my persist/ partition because I don't have root access (since there is no boot.img for magisk for my version 10.5.7IN21AA). So what should I do to install version 10.5.6IN21BA, root with magisk and not lose the persist/ partition? Thanks
Just learn how patch boot.img manually. Easy
 

Gnahznuy

Senior Member
Jun 18, 2019
76
2
I'm new for this, but I like to learn how to use it and at the same time I have a question for it. Why we need to back up persis partition before operation? Why oneplus 7 or earlier device doesn't have to?(if Im not wrong)
 

Top Liked Posts