[OnePlus Nord N20 5G] mvincent2k:
These instructions are for the

CPH2459 – Unlocked Nord N20 50

I wanted to give back and distribute an easy to follow step-by-step guide as many were asking for a complete guide and I had a little time to create it today. Hopefully this will help kick off some good dev for the device as we are light currently.

I take no responsibility for any issues with your device and do not have backups in the steps, so use at your own risk as always...

COMPLETE STEPS......

Update your phone to the latest OS/patch level over Internet OTA from 1+ and reboot

Verify you are running OS/patch à CPH2459_11_C_10 (latest at time of this)

Enable developer options by clicking on the build number until activation appears (Under Setting-->About-->Version)

Enable Unlock bootloader in the new Developers Options section now in the Phone menu

Enable USB debugging under the new Developers Options

Plug in your phone with usb connected to pc and select transfer files if prompted

Download and extract install latest ptools-n20.zip (with included patched boot files)

Open a windows command prompt in the folder that you extracted the platform tools into

Run adb devices and be sure the phone shows up as a device that is attached

Accept device fingerprint if asked

Run command to boot to bootloader: adb reboot bootloader

Run command to ensure connection in bootloader to your phone: fastboot devices

Run Command to unlock bootloader: fastboot flashing unlock

Lave command prompt open

Use volume keys to select “unlock bootloader” then press “power” to unlock

The device will reset and will now be unlocked

After phone boots, complete the quick setup

Repeat step #3, #5-6, #9-12

In Command prompt where platform tools are installed run command: fastboot flash boot a.img

Reboot phone and you will be patched

Install Magisk 25.2 App from official repo & Enable Zygisk in settings

Enable Magisk hide and reopen the app

Add your google account if not already added and use Play Store or use Aurora store to install Safetynet Checker by flink apps

Run Safetynet checker and notice the device fails 2 checks

Transfer 2 zip files included to your phone: Shamiko & Safetynet fix. These will help hiding root and will allow your phone to pass Safetynet fixes

Install both zips under module section in Magisk. (you can do 1…don’t reboot when asked, then do other and reboot to activate both)

Run Safetynet Checker again and you should pass all checks.

Viola…you are unlocked/rooted/patched and pass safetynect checks.....ENJOY!

I will update here on how to take future OTAs as more come out and if time allows.

NOTES: Files in platform tools

a.img = boot_a.img magisk patched

b.img = boot_b.img magisk patched (just in case)

boot_a.img = Unpatched a (just in case)

boot_b.img = Unpatched b (just in case)

==============================================

2/3/23 UPDATE: How to take an OTA and preserve root

==============================================

1. First, Under developer options, make sure the option to apply automatic updates on reboot is ENABLED. (If you do not do this, you will loose root)

2. Unroot the device. We wont completely remove Magisk, just restore images. To do this Open Magisk, click uninstall magisk, and only click "restore images". DO NOT REBOOT!

3. Check for software updates. Install OTA update after downloaded. DO NOT REBOOT!

4. Open Magisk again and now reinstall it but select "inactive slot" for the option.

5. REBOOT. Boot will take about 30 seconds to apply.

You are now updated