Some time ago I installed LineageOS on my smartphone, a OnePlus Nord (avicii
); however, after a major update of LineageOS / Android, the WiFi just stopped working.
The reason? The LineageOS update didn’t come with an update to the WiFi firmware.
The solution? Re-install the original OS (OxygenOS, an Android-based operating system developed by OnePlus exclusively for their smartphones).
But how? I installed LineageOS precisely because I didn’t want anything to do with OxygenOS; I threw the whole OxygenOS out of the window thinking I wouldn’t need it anymore; how could I reinstall it on my phone?
Just as with my old Samsung Galaxy II (i9100
), it took me a disproportionate amount of time to find a solution online, and even more to find one that would actually work with my phone.
The problem is the huge amount of deprecated guides, broken links, wrong instructions, forums that used to house the information I needed but are now closed for good, copycat guides, etc…
In summary, it’s a mess!
However, I somehow did it and now the WiFi firmware on my phone is up to date.
In the unlikely event that I will ever need to go through this procedure again, I’m leaving here a short guide on how to do that again, just like I did with my old Samsung Galaxy II. Unfortunately, this time around I cannot leave the files here on GitHub (even after zipping everything, it’s still a whopping 3GB!) and according to GitHub my repository is “over its data quota”; therefore, this time around I’m leaving the files on Google Drive; hopefully I’ll remember not to delete them.
Disclaimer: By attempting any of the processes listed in this post 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.
In this guide we will restore a OnePlus Nord phone to factory settings using the tool that the service centers use.
This tool go by the name of MSM tool
(or EDL package
, or unbrick tool
) and work on both locked and unlocked bootloaders.
It can revive a bricked OnePlus Nord. It can also rollback our phone to a previous release of OxygenOS if we would like to go back to an older firmware, like in our case.
however, it will completely wipe our phone of all data (pictures, music, app data, etc), so make sure you make a backup and save it to your PC first.
Instructions:
- Download the MSM tool here
- Unzip the content of the zip file in a folder of your choice
- Launch the MSM Download Tool on your PC (double click on the
MsmDownloadTool V4.0.exe
file for that) - On the login prompt under
User Type
selectOther
in the dropdown menu and click onNext
- Now click on the
Target
button. From the drop-down menu that appears, selectEU
(we are using the European tool) - Press the
Start
button. This should be situated at the top left of the tool. This is done so that the device will be “captured” automatically by the tool instead of going back to normal boot after 10 seconds - Power off your device and leave it in that state for a minute or so.
- Boot your OnePlus Nord into
Qualcomm EDL Mode
. To do that, press and hold theVolume Up
andVolume Down
keys for at least 40 seconds. Note that your screen will not post anything while in Qualcomm EDL mode. In other words, it will look like your phone is still powered off, but trust me, if you’ve done everything correctly your phone is now in Qualcomm EDL Mode. - Plug your device to your computer using the official (stock) OnePlus USB cable (recommended). You may let volume keys go once done.
- Wait for around 300-400 seconds and let the tool do its job. After this, your device will then boot to the Android OS.
- Enjoy your newly rolled back device.
FAQ:
Does this work on Mac or Linux?
Unfortunately no, the 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, 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
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 here (source) 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.
Originally posted here
Some instructions were originally posted here