yashsingh1/xdaforums huggingface dataset:
[OnePlus Nord 2 5G] TBearV:
Okay guys, there really needs to be some form of order to these guides, because everyone gives different methods and avenues for absolutely everything when it is effectively the same phone, and my situation has gone from bad to worse.

I'm pretty sure my phone is hard bricked after this guide. I had started with a magisk root, which broke WiFi and Bluetooth, so with flashing fixes trying to get back to stock to fix that I ended up breaking the recovery, which in turn took me back to the error message we saw at the beginning of this thread with people saying they addressed it with MTK. So I had to load up MTKClient Live OS, fine, and flashed the A.16 stock firmware images, but that didn't work, and now im pretty sure it's entirely hard bricked. Won't turn on at all.

Any suggestions before I try a warranty claim?
[OnePlus Nord 2 5G] TBearV:
Okay so it managed to startup finally back here:

Before I make any more mistakes. What is the clear avenue from here

Edit-----

Alright I've managed to get back to fastboot and have PartitionBackup working. But I'm back to square one. I'm experiencing an issue after flashing Super, where it reboots to stock fastboot (not sure what it's called, says Fastbootd), and it hangs there. If I reboot back to the small text fastboot, it continues, but with serious sounding errors citing not available in locked state, but I'm pretty sure the bootloader is unlocked. Until it finishes and gets stuck on a boot loop.

I attached the PBlog.txt

I'll deal with it in the morning. If someone could help here I'd be eternally greatful, seriously. 😅
[OnePlus Nord 2 5G] Kingslayer9988:
I got the same problem noone here explaind it very well!

The thing is this phone got 2 fastboot-modes:

1 fastboot reboot bootlaoder - "bootloader fastboot"

2 fastboot reboot fastboot - "userspace fastboot"

the partitions you can't flash is because you cant boot into the "userspace fastboot" after messing with the phone!

but don't worry you can easy fix it!

my recommend way is to go boot into bootloader fastboot (with key combo) and flash twrp + vbmeta from the twrp threat!

in twrp go into -> reboot -> reboot fastboot

then go and restore everything with partionsbackupper!

after 1 frist boot go into bootloader again and flash vbmeta (maybe not neccesery)

your phone should now boot again!
[OnePlus Nord 2 5G] TBearV:
Hey,

So I've managed to flash twrp again, however when entering the twrp fastboot mode, the device is still undiscoverable.

Others in this thread said the stock "userspace fastboot" should have worked as well, but for some reason the device isn't being recognized in either of these methods. Only the small text "bootloader fastboot" shows the device, but I get errors there.

I've also tried flashing the provided preloader_ul1.bin in the OP, but that's made no difference in detecting the device in these modes.

I'm also pretty sure the persist is gone, as the partition shows 0mb. And the backup of these partitions failed in TWRP. So it looks like an RMA. I mean people give warnings about bricking your phone in rooting, but hell I didn't expect the guides to be this bad. I won't be rooting my replacement that's for sure.
[OnePlus Nord 2 5G] Kingslayer9988:
Are you using windows ? check it in device-manager when you are in "userspace-fastboot" it should report as adb-bootlaoder-interface. If not click on use driver - > adb bootlaoder interface
[OnePlus Nord 2 5G] TBearV:
Thank you! You beautiful person Kingslayer! It's unbricked!

Sometimes you overlook the obvious when you're dealing with issues, and for me it was as you said - not installing the device as 'adb bootloader interface' from device manager while in the userspace fastboot. I also started PartitionBakckupper from TWRP as you said so that may have helped as well. But also, as a note for anyone who may face this issue - after it all completed, I received the same red boot error message as earlier, but by booting into fastboot from that screen and reflashing the vbmeta.img from the latest a.16 stock in the OP, it allowed it to boot fine. Is that what you meant at the end there?

Fingerprint scanner and camera are working fine as well, so the persist is actually still intact too.

Bloody hell, what a relief. Thank you again man, you saved me the stress of an RMA request I was prepared to make in the morning. And thanks as well Raygen for the tool, once you understand how to actually work it, it does the trick.
[OnePlus Nord 2 5G] Kingslayer9988:
No problem brother ;)
[OnePlus Nord 2 5G] lubixxx96:
Hi guys,

I am trying to put my phone back to stock, but I cant find the stock A16 files anywhere.

Does anyone have a link or can someone upload?

Thanks a lot!
[OnePlus Nord 2 5G] pankspoo:
I can't able to take backup of partations cmd fc when I hit 1 enter
[OnePlus Nord 2 5G] deceirem:
hey,

the rom is not 100% complete, there is no rewriting of the persist partition. Anyone know how to solve this problem?
[OnePlus Nord 2 5G] pankspoo:
Persist partation is Device specific so author removed that from partation backup folder similarly he also removed nvdata(responsible for imei etc) and userdata.

U can not solve persist issue if you don't have your own backup of persist.

Even if you FALSH anyone's persist still u r issue will be reamains there only way is to go back to OP
[OnePlus Nord 2 5G] deceirem:
on xiaom/pixeli there are persist repair tools, why not on onePlus?
[OnePlus Nord 2 5G] Elaba:
I'm back, Question about unreliable behavior:

So far i've had my phone bootloop a couple of times after i rooted it back in november. First time it happened about after a month of use . With great help from forum member "Scarythib" i was able to revive my fully bricked phone. Another month went by and it somehow happened again after a reboot, another bootloop. Lucky i remembered what to do and after trying a few things i got it back running from scratch. And again a couple of days ago it happened again. Is there an explenation why this phone gets into bootloop after a few reboots? I have tried a few versions of Magisk as i read this could be the problem, but even the Canary edition is no good. It sucks this phone is not reliable when rooted, cause you always need a computer to get it back on its feet.

A twrp Nandroid seems to be not enough to fix a broken boot, nor partitionbackup doesn't help in my case.

My latest Fix procedure:

Open Powershell

Boot phone into Fastboot (Vol- & PWR buttons)

Connect USB

Command Fastboot flash recovery recovery_stock

command Fastboot reboot recovery

In stock recovery -> wipe data -> format data

Fastboot flash recovery twrp 3.6

Do a twrp restore to a recent nandroid backup

Reboot in fastboot

Command Fastboot flash persist persist_image.emmc (file from twrp backup to fix fingerprint scanner)

Fastboot reboot
[OnePlus Nord 2 5G] Giovix92:
Hey there! Nord 2 5G user and, mostly, developer.

@Raygen I guess you can add another 'usecase' to the overall guide: managed to hard brick the device. Basically wasn't booting in any mode: fastboot, recovery or whatever; achieved this by flashing boot.img into recovery partition (don't ask me why lol).

By the way, used your "Locked bootloader" guide with a little modification:

- I've also added lk & lk2 from my backup, because those apparently are 'damaged' by the previous command (don't ask me how cause I don't have any clue about it).

- Instead of using

python mtk wl img

as you described, I just used a one-liner command based on mtkclient's README:

python mtk w lk,lk2,boot,recovery,vbmeta lk.img,lk2.img,boot.img,recovery.img,vbmeta.img

The syntax is the following one:

python mtk w name_1,name_2 name_1.img,name_2.img

The one-liner command basically flashes everything in one shot, and afterwards, when you disconnect the usb cable and power it on, it *should* boot up. If it doesn't, flash preloader like you did, re-trigger BROM mode and redo that one-liner command.

Hard bricked intentionally another time to test this out and, at least, have some proofs. :)

I could attach mines lk & lk2, if needed.

Hope y'all like it! Cheers!
[OnePlus Nord 2 5G] 8vasa8:
I got same behavior with Magisk. But with my phone data format in twrp was always enough to get my phone working again.

Because of this I am now using custom tom (LOS) and everything is okay so far.
[OnePlus Nord 2 5G] Raygen:
Looks like you had issues getting your phone recognized after rebooting into fastboot mode.

Hope you got it sorted out.

I've added a way to detect this type of issues in the updated version of the script anyway.

Never saw this kind of issues sorry, hope you you got it sorted out.

If you're aware of a fix that worked, let me know! I'll add it to the collection of methods in the main post.

Don't worry about the DN2101 reported model btw, looks like fastboot always reports that, even if it's really DN2103.

Also, PartitionsBackupper already reboots between bootloader and userspace fastboot automatically, no need to do it manually (technically, at least).

Thanks for the procedure! This phone is pretty picky about getting rooted, can confirm that.

One morning, without doing anything to it, I found it in a bootloop after turning it on. And while trying to root it with Magisk, usually it works, but after a single reboot it gets back in a bootloop, or wifi and data cease to work yeah.

I don't really have a solution for this kind of behaviors, just some insights:

- Try rooting the phone with the latest Magisk Canary available

- Try rooting the phone after starting completely fresh, after formatting it with the stock recovery, and before restoring any backup. This includes even

not

restoring Google cloud backup, or any apps, or settings. Install just the Magisk app and setup it, and flash the patched boot image. If it's stable, then proceed with everything else.

- Do not forget to flash the patched vbmeta image after an OTA, before rebooting back to system. It shooould not be needed with the new versions of Magisk but, yeah, so far it doesn't look it changes anything.

- When patchting the stock boot image with the magisk app, you have an option to choose about vbmeta, try both options.

- I feel like, both Magisk and Nandroid backup don't really play well with the encryption of this phone / OxygenOS. An advice is to disable any security pattern / fingerprint you have before messing around. And also after restoring a backup, to disable and re-enable those.

Heylà, I was thinking about adding a method to flash the whole rom via Mtkclient yeah, you're not the first one that was able to revive his brick by flashing everything through it, and this is just another success with it!

lk & lk2 should already be included in the stock rom, I'll see to do some experiments in the future to reproduce your steps and put down a new usecase. Thanks for the suggestion!
[OnePlus Nord 2 5G] jiritomanek85:
Hello i cannot unlock bootloader. I had allready unlock but i lock it again. A now i cannot unlock. In fastboot mode a type fashing unlock after i select yes : unlock failed. Can somebody help me?

I try method for locked bootloader but not work.

Iam on A16 EU Firmware
[OnePlus Nord 2 5G] Raygen:
If the listed method didn't work out, I can only suggest you to try flashing all the partition images of the stock rom through Mtkclient.

Follow a similar steps like in the "unlocked bootloader" method, but drop in the "img" folder all the .img partitions of the stock rom. And remember to do a backup of all your partitions first.
[OnePlus Nord 2 5G] pankspoo:
Onelinear command is awesome.

So u unbricked fully dead Nord 2 now?
[OnePlus Nord 2 5G] Giovix92:
Yep I did.

It was fully dead, no signs of life whatsoever.
[OnePlus Nord 2 5G] Giovix92:
They're already included, I know.

Just a tip: don't mess with it too much.
[OnePlus Nord 2 5G] pankspoo:
A

Any way to get persist partation issue
[OnePlus Nord 2 5G] DeMiane:
Download link not available
[OnePlus Nord 2 5G] characterdivide:
Indeed, download link is broken ('oops, no mirrors found')
[OnePlus Nord 2 5G] Mr.Vag:
hello...you can fix the DL link please?
[OnePlus Nord 2 5G] Raygen:
I've reuploaded the file, please try again
[OnePlus Nord 2 5G] characterdivide:
Thanks, works again! :)
[OnePlus Nord 2 5G] DeMiane:
Can you tell me how to update ota packages? A17? After removing Magisk, it did not install from TWRP.
[OnePlus Nord 2 5G] Raygen:
1) Flash stock boot.img via fastboot

2) Flash OTA.zip via TWRP

DO NOT REBOOT TO SYSTEM.

3) Reboot to bootloader and reflash the patched vbmeta with

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

4) Reboot back to system.

If it doesn't work, I suggest a factory reset
[OnePlus Nord 2 5G] DeMiane:
Thanks! Can you tell me where the update is downloading? in data/ota or ota_pockege - there are no packages.
[OnePlus Nord 2 5G] Raygen:
I usually use Oxygen updater to download the .zip OTAs
[OnePlus Nord 2 5G] HofaTheRipper:
/cache/
[OnePlus Nord 2 5G] Mr.Vag:
Thnx for re upload bro.

I have a question.. I'm rooted with twrp and magisk, I want to go back to stock and re lock BL. There any easy way- steps to do that?

Thenk you.
[OnePlus Nord 2 5G] Raygen:
I do not advice to relock the bootloader for a risk of bricking, but these should be the steps:

- Restore stock boot image, restore stock recovery, restore stock vbmeta.

- Format data via stock recovery

- Relock bootloader

Take a backup of everything first ofc
[OnePlus Nord 2 5G] Mr.Vag:
Ok try it bqz may I sell it (maybe)!

Idk I'm confused about updates every time to not lose root etc...
[OnePlus Nord 2 5G] Mr.Vag:
@Raygen this method can be work? anyone tested? https://xdaforums.com/t/guide-stock-full-rom-how-to-flash-oxygenos_11-3_a-15-eu-dn2103.4382405/
[OnePlus Nord 2 5G] andrea7376:
Hi all,

Is it possible to upload again the rom file? it show 'no mirrors found.', thanks.
[OnePlus Nord 2 5G] Raygen:
Link updated.

Looks like androidfilehost is having issues these days
[OnePlus Nord 2 5G] andrea7376:
Thanks
[OnePlus Nord 2 5G] gawain.j:
Hi and thanks a lot for this really helpful guide! My nord 2 was stuck in a bootloop (after about 1.5 month rooted) and I was able to get it back with this guide, congrats!

I'm on the A.17 EU rom from this thread and I wanted to update to A.19 before doing anything else (rooting). I used the OTA update from this thread: https://xdaforums.com/t/stock-dn2103-eu-incremental-update-packages-boot-images.4385291/

I've followed the usuall method: flash stock boot, flash OTA, flash vbmeta

But, when flashing OTA file I got this error: Error 2004 my_heytap.01000100 fails to recover

I've tried it two times with the OTA from the thread mentionned earlier and from Oxygen Updater app, same results

Have you ever had this error? Do you know what I can do to prevent it and update my phone to A.19?
[OnePlus Nord 2 5G] edulcorante1:
Update DN2103_11_A.19 --- https://mega.nz/folder/lMUAjJQa#YB7cBeekIxPNEfQ-osaPbA
[OnePlus Nord 2 5G] KeinePanik:
I want to root my new Nord 2. Latest oxygen A19 is installed. Can I extract boot.img and vbmeta.img from this zip, patch boot.img via magisk and finally flash patched boot.img and vbmeta.img in Fastboot? Bootloader is unlocked off course.
[OnePlus Nord 2 5G] Mr.Vag:
Full ROM A19?
[OnePlus Nord 2 5G] edulcorante1:
Update for the month of March, downloaded from my phone.

To root, follow the usual steps, boot img, try magisk, etc...
[OnePlus Nord 2 5G] Raygen:
Never seen this error sorry.

You could try with a factory reset:

1) remove any password / pattern / pin before.

2) backup /data with TWRP

3) format data with stock recovery & stock boot

4) update via OTA

5) flash TWRP and restore /data

6) restore any password / pattern / pin and root again

The images inside OTA packages are not complete. You need to flash the OTA package first and then extract the full partition image from your system.

Uploading it rn.
[OnePlus Nord 2 5G] bossie1975:
anyone have the boot.img for A19? trying to reverse the bootloop...
[OnePlus Nord 2 5G] 8vasa8:
You can find it here: https://xdaforums.com/t/stock-dn2103-eu-incremental-update-packages-boot-images.4385291/
[OnePlus Nord 2 5G] bossie1975:
Thanks, but that only runs to A16. I need A19 . It is looping on the Oneplus logo. I can boot into fastboot and TWRP is also still active.. but I can't get the phone to start...
[OnePlus Nord 2 5G] Raygen:
File attached.

Full rom coming today
[OnePlus Nord 2 5G] Giovix92:
Hi @Raygen, little suggestion: you don't need to reboot into BROM mode each time you flash an image. Even if you do subsequent flashes, you don't need a reboot into BROM mode to let the flashing begin (hopefully doesn't work like QCOM's EDL.)

Also, I'd suggest changing the command python mtk wl img to python mtk w file file.img.

Cheers!
[OnePlus Nord 2 5G] characterdivide:
Hello, I tried to restore my phone with the use of this tool. First I had problems with bluetooth, fingerprint, camera and wifi not working, but I fixed that with the help of this thread. I thought my phone was working perfectly again, but now I realised that I don't have my phone secured with a fingerprint/password. I tried to setup a password + fingerprint, but this doesn't work. These are the steps I try to follow:

Settings menu -> Password & Biometrics -> Set lock screen password

I put in a new password (2 times)

Phone asks 'add fingerprint'? -> Add

And then I am back in the 'password & biometrics' menu, so I don't get the screen to add the fingerprint security. My phone is not protected with a fingerprint or password

So it seems like my fingerprint sensor is not working. Everything else is working fine (bluetooth, wifi, camera). Does anybody have any idea how this is possible? Thanks a lot for your help!

Edit: I forgot to tell that I had many problems with TWRP that got overwritten by stock recovery. I had TWRP installed and after reboot the recovery would be stock again. Don't know if this could have anything to do with it, but I'll leave it here to give you as much as possible information.
[OnePlus Nord 2 5G] Giovix92:
Best bet would be restoring stock recovery and formatting data from there. Or running fastboot -w from fastboot, in order to wipe all the user data and let OOS recreate encryption again.

You'll loose all your data! Take a backup beforehand.
[OnePlus Nord 2 5G] roldev:
Hello,

I want to update to latest A19 on rooted phone with patched magisk boot.img.

Will this procedure correct? Is there a better one?

The reason I don't want to install TWRP is that seems soon on later gives problems.

Thanks.
[OnePlus Nord 2 5G] Giovix92:
A little question, cause I can't seem to exit out of this loop:

I've tried to restore both PAC-MAN edition or the normal edition on my PAC-MAN variant. Sadly I always end up in the "android" logo root. Reflashing vbmeta has no effect (tried only with the patched one). Anyone has any clue of what's happening? Thanks!

@Raygen
[OnePlus Nord 2 5G] DanOnNord:
Hello everybody,

unfortunately im faceing the same issue.

Got the phone a couple of month an rooted it at day 1 with magisk v24.

Yesterday i tried to upgrade magisk to v24.3 after that i stuck in a bootloop.

I tried to uninstall magisk -> no effect, tried to install a backup -> no effect, factory reset -> no effect.

Than i tried this How To: https://www.droidwin.com/how-to-unbrick-oneplus-nord-2-5g-flash-stock-firmware/

after this TWRP was gone and bootloader was locked and i got the message: "The current image(boot/recovery) have been destroyed and can not boot. Please flash the correct image or contact customer service to fix".

Now i tried this guide but the error message is the same.

How do i flash the "correct" image?

Can anybody help?

Thank in advance.
[OnePlus Nord 2 5G] Giovix92:
You can overcome that issue by re-running 'fastboot flashing unlock' while in bootloader mode. 99% should unlock without any issues.
[OnePlus Nord 2 5G] DanOnNord:
I can access the stock recovery but when is press Volume down + Power i get the error message.

Edit: Had to press Volume down + Volume up + Power. Now the bootloader is unlocked.

Edit2: Got the V19 installed but it still stuck in the bootanimation and after a couple minutes it restarts and get into recovery.

And suggestions?
[OnePlus Nord 2 5G] satanishere16:
i worked my way around with windows (no pen drive needed), you just need to install python from its web site to c:/python310. it will give python access in full system and then you can use these commands.

wonderful job done on this unbrick guide. Respect+

although last resort (full rom flash via mtkclient) worked for me.
[OnePlus Nord 2 5G] DanOnNord:
Thanks for this Guide. Got my Phone nearly back.

Unfortunately the Camera is not working it closes instantly and i cant define a security pin.
[OnePlus Nord 2 5G] GaryFisher88:
anyone has a way to root a.19 version?

need to pass safetynet but dont want to look the bootloader :)
[OnePlus Nord 2 5G] carlese:
Hi everyone, I debloated (removed) some apps and now I want to restore everything back to stock. Will the system restore be enough or should I flash something like the rom in this thread?
[OnePlus Nord 2 5G] DeMiane:
Hello everyone ... a post about the sadness of rutting, unfortunately 3 times this is not an accident .. after 3 times recovery from the bootlap, the device lives with the root for literally a month and a half. then miracles happen... bootlap out of the blue, NOT installing anything new before (updating magisk modules, etc.)... those kernel seems to be counting the lifetime with root.. figuratively, fun! I didn’t find how to overcome the problem anywhere, rather it’s because of the core of the firmware under the media library and the locked seLinux .... can anyone know how to overcome this problem?
[OnePlus Nord 2 5G] REDOTHELLO:
backup and restore stock same as oppo reno 6 "mtkclient" backup all partition .bin and restore them via mtkclient this only way with no error
[OnePlus Nord 2 5G] Raygen:
I've encountered the same issue a couple of times. Bootlooped out of the blue, without doing anything to the phone.I still have no idea what triggers it, also because I cannot find a way to replicate the issue, it just happens randomly afaik.

It could be because of root, but strangely the boot partition looks like to not be the cause.

Anyway, the only "fix" I know how to deal with it right now is to: Backup /data form TWRP (/boot too if you want to), format everything via stock recovery, and restore TWRP, /data backup, and root (or /boot).

PS: once booted for the first time after restore, you could find the UI is absent / glitched out. Just reboot once more and it should fix itself.

Also, remove and remake the pattern / pin / password / fingerprint you had in the settings.
[OnePlus Nord 2 5G] edulcorante1:
New DN2103_11_A.20
[OnePlus Nord 2 5G] klaushans:
Thanks for this it saved my phone!!!!!
[OnePlus Nord 2 5G] Raygen:
Updated to A.20, and rewritten the thread to use Mtkclient GUI for windows instead of the Live ISO.
[OnePlus Nord 2 5G] REDOTHELLO:
Hi Raygen i have backup all partition but with .bin extension its safe to restore with mtkclient
[OnePlus Nord 2 5G] Raygen:
.bin and .img files are identical.
[OnePlus Nord 2 5G] Raygen:
Reuploaded the A.20 version in a more compact size, by removing partitions already included in

super

.

For anyone that had downlaoded the A.20 please re-download this version since I had forgot to delete the

proinfo

partition.

Also, from now on the included

vbmeta

partition will also be stock. If anyone needs the patched vbmeta for rooting purposes, you can find it in the attached files of the thread.

thanks to @Giovix92 for the hint
[OnePlus Nord 2 5G] mikoto114514:
I upgraded to Oxygen 12open beta, cant enter to bootloadedr, so I used mtkclient to downgrade Oxygen 11 and then I couldn't boot, black screen and hard bricks, maybe it's anti-rollback, I don't know how to solve it . any one has solution?
[OnePlus Nord 2 5G] REDOTHELLO:
Power and vol+ button 30 second will boot

All files flashed is from your backup?