• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[OP8T][OOS KB05AA/BA/DA] Unbrick tool to restore your device to OxygenOS

Search This thread

radialblur

Member
Jun 4, 2012
47
8
To anyone getting "Automatic Detection of DDR failed" what fixed it for me was to use the supplied OnePlus USB-C to USB-C cable, as soon as I changed to it MSM worked perfectly on my 8T.

Also the dd command given doesn't work, you'll need to do:
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img

Hope that helps.
 

BillGoss

Senior Member
Sep 2, 2010
4,728
4,145
Sydney
OnePlus 3T
OnePlus 8T
So you're all rooted with lpddr5 and no issues I'm glad. I should be getting mine soon and this is good to know.

And well basically i could do everything like normal, right?
"Like normal" - yes, normal for an 8T. But an 8T is quite different from the simple partition structure older phones have. So, not like "normal" old phones.
 
  • Like
Reactions: ddaharu

cheshyre

Senior Member
You can read the sad story of how I hard-bricked my phone at https://forum.xda-developers.com/t/help-ota-update-bricked-my-rooted-phone.4323889/

  • KB05AA (NOT T-Mobile)
  • Updated all my ADB & Qualcomm drivers
  • Downloaded OOS 11.0.7.9 from the link in this thread
  1. Ran MsmDownloadTool V4.0.exe
  2. Set User Type to Other
  3. Set Target to O2
  4. Pressed Start
Automatic detection of DDR failed​
Waiting for device​
Nothing seemed to be happening (checking procexp etc) so I Stopped the app

Any advice on getting past this?


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, regular OP8, T-Mobile OP8, OP8Pro and OP Nord here are the EDL packages (also known as MSM tools or unbrick tools) that can revive a bricked OnePlus 8T.

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:

KB05AA tools (international firmware):
ANDROID 11:


KB05BA tools (european firmware):
ANDROID 11:


KB05DA tools (indian firmware):
ANDROID 11:


Tips:

While crossflashing does not seem to break your /persist unlike on 8-series, it is advised that you back it up before attemting to do so as fingerprint reader may give an error related to enrollment issue. You can do so by using dd if=/mnt/vendor/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.
Windows 7 users may use 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 global tool or India while using indian tool or EU when using european tool.
Press Start button (this is done so that device will be "captured" automatically by tool instead of going back to normal boot after 10 seconds)

Power your device off.
Let it cool down for one minute.
Hold both volumes in to get in Qualcomm EDL mode and the screen will stay black. While holding, plug in the USB cable from your phone to your computer. Let volumes go alter plugged in.
Wait some time (should not be longer than ~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.

Why is my device getting in Qualcomm crashdump mode in spite of a successful download?

Your unit was most likely manufactured after March 9th 2021, see https://forum.xda-developers.com/t/...ice-to-oxygenos.4180837/page-14#post-84789741 for reference. You therefore need to use HydrogenOS 11.0.7.12 MSM to recover your device linked at https://www.oneplusbbs.com/thread-5886794-1.html (mirrored at https://mega.nz/file/O8UySbgR#cXGlHkdA_7CYEhKIrek9zzAEwJ7Vx1D5BZdemnPlvGE by @pikatenor ). Getting new OxygenOS MSM tools is nowadays impossible unless you own the device it is meant for, so OP will not be updated to add new OxygenOS MSM tools allowing to workaround this issue. Feel however free to reach out to me in DM if you would like to get told how to maximise your chances to obtain one.

Credits:

@viperbjk for KB05AA and KB05BA OOS 11.0 files
@LLStarks for KB05AA OOS 11.0.1.2 file
@FullOfHell for testing 11.0 KB05AA tool and downgrade possibility
Votton for providing a server as an alternative mirror
OnePlus for the device and OS
 

Attachments

  • MsmDownloadTool_Log_2021-08-28_16_04_43_017.txt
    4.4 KB · Views: 5

zzjea

Senior Member
Jan 16, 2017
77
10
Houston
OnePlus 8T
I tried about 20 times or more before success. Must have right drivers installed. If Windows 10, restart without signed drivers enabled. Try different USB ports on your PC. I was persistent because I had a new $750 device I had inadvertently bricked.
 

BillGoss

Senior Member
Sep 2, 2010
4,728
4,145
Sydney
OnePlus 3T
OnePlus 8T
You can read the sad story of how I hard-bricked my phone at https://forum.xda-developers.com/t/help-ota-update-bricked-my-rooted-phone.4323889/

  • KB05AA (NOT T-Mobile)
  • Updated all my ADB & Qualcomm drivers
  • Downloaded OOS 11.0.7.9 from the link in this thread
  1. Ran MsmDownloadTool V4.0.exe
  2. Set User Type to Other
  3. Set Target to O2
  4. Pressed Start
Automatic detection of DDR failed​
Waiting for device​
Nothing seemed to be happening (checking procexp etc) so I Stopped the app

Any advice on getting past this?
Have a look at this post https://forum.xda-developers.com/t/...your-device-to-oxygenos.4180837/post-85053037
 

BillGoss

Senior Member
Sep 2, 2010
4,728
4,145
Sydney
OnePlus 3T
OnePlus 8T
Unfortunately, my phone isn't bootlooping; it's booting straight to the QUALCOMM CrashDump Mode screen.
I suggested you have a look at that post because of the failed DDR detection, not because of bootloop.

To get out of CrashDump hold power+vol up. Then straight after hold power+vol up+vol dn which should get you into bootloader/fastboot.
You can then turn the phone off, hold vol up+vol dn and connect to PC running MSM.

If you wait too long after getting out of CrashDump the phone will reboot - back to CrashDump.
 

cheshyre

Senior Member
I suggested you have a look at that post because of the failed DDR detection, not because of bootloop.

To get out of CrashDump hold power+vol up. Then straight after hold power+vol up+vol dn which should get you into bootloader/fastboot.
You can then turn the phone off, hold vol up+vol dn and connect to PC running MSM.

If you wait too long after getting out of CrashDump the phone will reboot - back to CrashDump.
Oh, thank you!
I was finally able to get back into fastboot, and from there managed to fastboot boot twrp.img
I'm back where I was 4 days ago (I need more time & spoons to deal with this), so maybe I can still pull out of this without having to completely start over from stock
 

sbcrumb

Senior Member
Apr 17, 2010
847
369
Ohio
OnePlus 8T
Seeing "Automatic detection of DDR failed" and "Waiting for device" in a red font. Anything I should do? I believe I have the correct drivers installed as it's listed as Qualcomm HS-USB QLOADER 9008 (COM3) in device manager.

---------- Post added at 06:51 AM ---------- Previous post was at 06:34 AM ----------



Did you end up finding a solution for the "Automatic Detection of DDR failed" issue?

---------- Post added at 06:54 AM ---------- Previous post was at 06:51 AM ----------



Sorry to spam, did you find a solution?

Nevermind! I think I fixed it but I'm not sure just yet.
How did you fix the DDR issue? I can't get my phone to boot to anything but a black screen and the restore doesn't work just gives me the DDR error.
 

FauconSpartiate

New member
Sep 5, 2021
2
1
Hi,

So I have Cyberpunk 8T, on HydrogenOS 11.0.4.5. I think I messed up my device. Currently normal boot goes to Qualcom CrashDump, and I can also boot to fastboot and recovery still.

I am trying to use this MSM "https://androidfilehost.com/?w=files&flid=320230" linked previously here for my phone to restore to HydrogenOS. I also installed qualcom drivers for win10 from this link.

My problem is that:
1) I do not think my phone is going to EDL? followed instructions but nothing. Holding both vol keys and plugging the charger just boots me to fastboot.
2) When I start MSM (yes with admin privilege), it shows no COM ports or any indication its waiting for a device.


Really appreciate if someone could help. Thank you.


ps: was able to run it on another pc. MSM tool ran windows 7 version with compatibility mode. Restored to HydrogenOS.
Hey, do you have more indications on how you solved the issue? I can't find out how, and your instructions aren't very clear...
I have the same issue that no COM port is showing up in the software.
 

5star02707

Senior Member
Dec 1, 2015
158
52
OnePlus 5T
OnePlus 6
  • Like
Reactions: FauconSpartiate

Poomsmart

Member
Aug 18, 2021
11
0
Done everything! Now I need to flash local files from the phone, To get back to the Global version?



Screenshot_2.png
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Unfortunately, my phone isn't bootlooping; it's booting straight to the QUALCOMM CrashDump Mode screen.
    I suggested you have a look at that post because of the failed DDR detection, not because of bootloop.

    To get out of CrashDump hold power+vol up. Then straight after hold power+vol up+vol dn which should get you into bootloader/fastboot.
    You can then turn the phone off, hold vol up+vol dn and connect to PC running MSM.

    If you wait too long after getting out of CrashDump the phone will reboot - back to CrashDump.
    1
    Hey, do you have more indications on how you solved the issue? I can't find out how, and your instructions aren't very clear...
    I have the same issue that no COM port is showing up in the software.
    Install the driver


    Also click enum before selecting start on MSM tool
    1
    Thank you very much, you took a giant load off my chest, it worked perfectly with those drivers after some tinkering...
    1
    can u guys share a link for msmdownload tool for op8t? i cant find it
    I see you're new here. Welcome.
    Maybe read the OP for a start? I think the MSM download links are there.
    1
    Can you send a link to the instruction?
    I was flashing through MsmDownloadTool V4.0, but the phone still does not turn on.
    Check OP. Also check if you have downloaded region specific firmware.
  • 23
    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, regular OP8, T-Mobile OP8, OP8Pro and OP Nord here are the EDL packages (also known as MSM tools or unbrick tools) that can revive a bricked OnePlus 8T.

    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:

    KB05AA tools (international firmware):
    ANDROID 11:


    KB05BA tools (european firmware):
    ANDROID 11:


    KB05DA tools (indian firmware):
    ANDROID 11:


    Tips:

    While crossflashing does not seem to break your /persist unlike on 8-series, it is advised that you back it up before attemting to do so as fingerprint reader may give an error related to enrollment issue. You can do so by using dd if=/mnt/vendor/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.
    Windows 7 users may use 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 global tool or India while using indian tool or EU when using european tool.
    Press Start button (this is done so that device will be "captured" automatically by tool instead of going back to normal boot after 10 seconds)

    Power your device off.
    Let it cool down for one minute.
    Hold both volumes in to get in Qualcomm EDL mode and the screen will stay black. While holding, plug in the USB cable from your phone to your computer. Let volumes go alter plugged in.
    Wait some time (should not be longer than ~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.

    Why is my device getting in Qualcomm crashdump mode in spite of a successful download?

    Your unit was most likely manufactured after March 9th 2021, see https://forum.xda-developers.com/t/...ice-to-oxygenos.4180837/page-14#post-84789741 for reference. You therefore need to use HydrogenOS 11.0.7.12 MSM to recover your device linked at https://www.oneplusbbs.com/thread-5886794-1.html (mirrored at https://mega.nz/file/O8UySbgR#cXGlHkdA_7CYEhKIrek9zzAEwJ7Vx1D5BZdemnPlvGE by @pikatenor ). Getting new OxygenOS MSM tools is nowadays impossible unless you own the device it is meant for, so OP will not be updated to add new OxygenOS MSM tools allowing to workaround this issue. Feel however free to reach out to me in DM if you would like to get told how to maximise your chances to obtain one.

    Credits:

    @viperbjk for KB05AA and KB05BA OOS 11.0 files
    @LLStarks for KB05AA OOS 11.0.1.2 file
    @FullOfHell for testing 11.0 KB05AA tool and downgrade possibility
    Votton for providing a server as an alternative mirror
    OnePlus for the device and OS
    9
    Finally, I just got the MSM Tool mentioned in that post and was able to get my phone back to H2OS!

    Here is the link for those who don't have a OnePlus account or Baidu account:
    (Note that this is for H2OS 11.0.7.12.KB05, not OxygenOS.)

    Hope this helps someone out there.

    I have also noticed few tips when using MSM Tools:
    - If you get a "packed image not exist" error, make sure that your downloaded path does not contain multi-byte characters
    - If downloading image to the phone fails in progress, you can try again by checking the "Use Firehose Lite" option (to use little slower and safer protocol)
    7
    Seeing "Automatic detection of DDR failed" and "Waiting for device" in a red font. Anything I should do? I believe I have the correct drivers installed as it's listed as Qualcomm HS-USB QLOADER 9008 (COM3) in device manager.

    ---------- Post added at 06:51 AM ---------- Previous post was at 06:34 AM ----------



    Did you end up finding a solution for the "Automatic Detection of DDR failed" issue?

    ---------- Post added at 06:54 AM ---------- Previous post was at 06:51 AM ----------



    Sorry to spam, did you find a solution?

    Nevermind! I think I fixed it but I'm not sure just yet.

    I had the same issue " automatic detection of ddr failed"

    I was not able to get into fastboot or recovery and the OS was constantly in a bootloop

    I was able to get the device working using the following steps:

    1. Boot the device (let it bootloop)
    2. Ensure the device shows up properly in Device manager. (might need to disable driver enforcement in win10 )
    3. Start the MSM tool and start and let it wait for device
    4. Connect the device using the Oneplus cable
    5. It should show as connected now.
    6. Boot to edl mode using Power button + Vol up +Vol down(with cable connected)
    7. Now the MSM tool should take care of the rest

    Took me literally 10 hours to get this right. Hope this helps someone.

    Cheers.
    6
    Added OOS 11.0.5.6 MSMs for all regions.
    3
    Finally, I just got the MSM Tool mentioned in that post and was able to get my phone back to H2OS!

    Here is the link for those who don't have a OnePlus account or Baidu account:
    (Note that this is for H2OS 11.0.7.12.KB05, not OxygenOS.)

    Hope this helps someone out there.

    I have also noticed few tips when using MSM Tools:
    - If you get a "packed image not exist" error, make sure that your downloaded path does not contain multi-byte characters
    - If downloading image to the phone fails in progress, you can try again by checking the "Use Firehose Lite" option (to use little slower and safer protocol)
    For those who had problem with oneplus 8t released after March 2021,this new version of MSM Tools will fix it can goes back to HydogenOS stock.After that if you prefer oxygen OS just download a update zip and update from there.