[OnePlus Nord N200 5G] scanman0:
I have posted all the boot.img files for N200 A12 to AFH for DE2117 US OEM firmware and now latest for DE2118 (Tmobile/metro)

I am also posting the OFFICIAL Lineage Magisk patched boot.img but may not always be up to date, so do check the date as you must have same version!

N200 Official LineageOS_2023_06-14-Magisk 26.1 pre-patched

boot.ing for OFFICIAL Lineage

I have posted both the original file as well as pre-patched with Magisk v25.2 for each.

The T-Mobile/Metro image versioning is ONE NUMBER BEHIND the OEM version. As of today the current version with December update is:

DE2117-C_24 (OEM)

DE2118-C_23 (T-Mobile/Metro)

PREREQUISITES: (see other guides)

You must have your bootloader unlocked.

USB debugging enabled and your PC authorized. (ADB commands working)

Latest Android Platform Tools installed on PC

1. Simply allow phone to take OTA updates until your on latest version.

2. Open Settings and click: "About Device" -> "Version" and Build Number must match EXACTLY on your system information screen with the boot.img file you are going to install:

View attachment 5696281

In this example it is US/OEM (DE2117) at patch level C_17.

You MUST patch the boot.img with

EXACT SAME

model version AND Patch level!

I wrote a simplified dummies guide to flash US OEM rom with Fastboot Enhance tool and convert T-Mobile/PCS phone to US/OEM wiith only Fastboot Enhance GUI tool along with msmtool backup.

3. Go to my "Boot.img Files" folder on AFH and download the Magisk pre-patched boot.image file for YOUR MATCHING version and place it to the same folder that you installed Android Platform Tools.

I used to post a link to every boot.img file in this space, but the moderators at XDA do not allow off-site linking to Telegram and I can't post them all here as attachments, so I have removed the links to the full set and will only be attaching the MOST CURRENT updates at XDA from now on.

With File Explorer in the folder with platform tools and the boot.img file you just downloaded, type "cmd" in the address bar and a dos window will open up in that folder.

4. Then switch the phone to fastboot mode:

C:\>adb reboot bootloader

You should see the phone fastboot screen and the last line MUST say the bootloader is: UNLOCKED.

5. Flash the Magisk Patched boot.img file.

In this example the command would be:

C:\>fastboot flash boot DE2117.boot.C_18.Magisk_Patched.v25.2.img

6. Reboot phone:

C:\>fastboot reboot

7. After phone boot up there will be a green android icon with Magisk v1.0 on your home screen/drawer. Run it and it will upgrade itself to the latest Magisk version.

Your now ROOTED.

8. To KEEP root and avoid an OTA update before I have posted the latest boot.img file you should:

Open settings -> "System Settings" -> "Developer Options" and then turn off "Automatic System Updates"

I should post new boot.img updates within 24 hours to the same folder.

Technical Information:

Before A12 you could use the command: "fastboot boot boot.img" and boot the previous patched Magisk boot image and then let Magisk backup your current image and then patch it as the old one was usually still working enough to get the new boot.img this way and let Magisk store the untouched boot.img file so it could remove the patch in app.

This ability has been removed starting with the first A12 C_15 image.

Also, the OP OTA update is checking for more than just the original boot.img and will fail an OTA update with Magisk installed with the boot.img restored and Magisk loaded in ram.

Hiding the Magisk app, installing safetynet-fix-v2.2. and Shamiko-v0.5.2-120 Magisk Module will allow you to pass Safetynet and get your banking/streaming apps working, but only removing Magisk completely will allow OTA updates now.

There are two ways to get partial OTA update boot.img file if you want to do it on your own at this point.

1. Grab the partial ota update .zip file by looking at syslog when OTA app on phone starts downloading it. Take the last dumped full OTA and patch it with the only payload dumper that will merge partial OTA's with existing full OTA:

https://github.com/vm03/payload_dumper

2. If you don't mind wiping your phone, you can take the newest partial OTA update and then change to inactive slot and install the last full OTA image and then pull the boot.img from the inactive slot that has the newest OTA installed. And then reinstall full ota update again and take latest partial update.

UPDATE: If you flash the last full OTA C_16 and want OTA updates to work, you must flash it TWICE now. Once in fastboot mode and only the MODEM.IMG file will flash and then switch to fastbootd mode and flash it again and every image other than the modem will flash. If the modem does not match the rom, as well as the BOOT.IMG (non modified) then OTA WILL FAIL!!