[Nubia Red Magic 5G / 5S Guides, News, & Discussion] mslezak:
Red Magic 5G Bootloader Unlock Guide: OR get ROOT & TWRP without unlocking the BL!!!

***Bootloader Unlock Instructions for the Nubia Redmagic 5G + installing TWRP:***

WARNING: ANY BOOTLOADER UNLOCK METHOD INVOLVES THE RISK OF BRICKING YOUR DEVICE PERMANENTLY. WHILE THERE IS USUALLY A WAY TO RECOVER, DO NOT ATTEMPT THIS PROCEDURE IF YOU DO NOT KNOW WHAT YOU ARE DOING. BAD THINGS CAN HAPPEN. YOU HAVE BEEN WARNED!!! YOU MAY BE LEFT WITH A USELESS BRICK!!! READ ALL FURTHER WARNINGS EXPERIMENTAL METHOD IN ORIGINAL DOWNLOAD FILE WORKS, I'M USING IT :)

If you want a NOOB guide look at this post: https://xdaforums.com/nubia-red-magic-5g/how-to/beginner-tutorial-unlock-bootloader-t4131585/

Also note a user has managed to fix the FP sensor post BL unlock, see this post here: https://xdaforums.com/nubia-red-magic-5g/how-to/guide-calibration-finger-print-loss-t4132961

Still, I suggest root bypass it's better.

MegaNZ Link for Root without unlocking the Bootloader, and without breaking the FP, also includes instructions for installing BlackMagic5G (explanation below), adding HD VOLTE, how to restore from a brick, and some other cool tricks: https://mega.nz/file/igphSCTD#OybJo9t1zwvJ0bdbAcN2BCqxWXAfHdhk3JFB4_5xkVc

I suggest you flash my BlackMagic5G and don't unlock your bootloader at all - just root. It's CN 2.52 ROM based. You'll get VOLTE, , GApps installed, Rooted with Magisk, TWRP, debloated, YouTube Vanced, AdAway, SmartPack Kernel Manager, etc. - looks like the Global / NA variant of the ROM. Almost perfect except still uses Messages and Phone from Nubia. Plus you will enable Face Unlock not available in the Global or NA versions of the ROM, and FP will still work! Click on the Google Search bar widget and the mic icon takes you to the Google Assistant, the left icon is Google Feed, type in the middle bar for a Google Search. Has 1Weather Free weather widget that looks great, and Google Calendar widget for your whole month of activities. Translate, Lens, Chrome, all the Google Apps are there. And the Chinese Nubia apps are nearly all GONE!

MegaNZ Link for BlackMagic5G Beta - IT'S ONLY THE DATA PARTITION + ROOTED KERNEL + NA SPLASH SCREEN, you NEED to 1) install the Red Magic 2.52 ROM below FIRST 2) Root using the first link posted above 3) Flash restore this from TWRP: https://mega.nz/file/r9hF2BwS#RrAXiFWSBNX8dLqfrH8nNHo_uigPC8uYXonwhALhGbo

MegaNZ Link for the Red Magic 5G CN 2.52 ROM: https://mega.nz/file/aoxBFAqY#EDt2OZBGTME4ZGKnERKpK_t-aJT_rWgD0aqBFkilRcY

*** NOW THE BOOTLOADER UNLOCK INSTRUCTIONS ***

Go to Settings / About phone / Build Number (NX659_J_ENCommon_V3.08 on North American Variant), click 7 times, Now you are a developer message appears, go back a menu to Settings / Other system settings / Developer options.

Enable:

OEM unlocking "Allow the bootloader to be unlocked"

USB debugging "Debug mode when USB is connected"

Install Minimal ADB and Fastboot (Windows 10 in this example): https://www.androidfilehost.com/?fid=746010030569952951

Default install path is:

C:\Program Files (x86)\Minimal ADB and Fastboot\

Go to the Search button on the bottom on Windows 10, type cmd, Command Prompt will appear in the menu. Right click it and Run as Administrator. All commands to be typed will be run in this Command Prompt window (referred to as terminal) unless otherwise stated to run on the phone.

Now Terminal window appears (it says Administrator: Command Prompt in the heading):

Text displayed is:

Microsoft Windows

(c) 2020 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>

Typed in terminal:

cd "c:\Program Files (x86)\Minimal ADB and Fastboot"

I now connected the phone to a USB port on the PC.

On the phone, a Window appeared:

"Allow USB debugging?"

The computer's RSA key fingerprint is:

[36 digit code] Example:

C8:A1:D7:E2:01:F6:A1

:36:D8:10:E8:33:20:FB:

93:7D

Always allow from this computer (it's my computer so I clicked it since I trust the computer)

CANCEL / ALLOW (I clicked ALLOW)

Typed in terminal:

adb reboot bootloader

The phone reboots. Once the phone screen boots, in the center it says: Now you are in fastboot mode.

From the terminal I typed:

fastboot oem nubia_unlock NUBIA_NX659J

The terminal now displayed:

...

(bootloader) START update nubia fastboot unlock flag!!!

(bootloader) START set state to 1 ok!!!

In the terminal I typed:

fastboot flashing unlock *** DO NOT TYPE THIS IF YOU WANT TO KEEP A WORKING FP!!! READ TOP OF POST!!! AVOID THIS WITH THE EXPERIMENTAL METHOD OF ROOT WITH NO BL UNLOCK ***

Now a screen appeared on the phone with a big <!> red icon in the left corner. The rest in white text is a warning message. "By unlocking the bootloader, you will be able to install custom operating system on this phone. A custom OS is not subject to the same level of testing as the original OS, and can cause your phone and installed applications to stop working properly-

Software integrity cannot be guaranteed with a custom OS, so any data stored on the phone while the bootloader is unlocked may be at risk.

To prevent unauthorized access to your personal data, unlocking the bootloader will also delete all personal data on your phone.

Press the Volume keys to select whether to unlock the bootloader, then the Power Button to continue."

I selected UNLOCK BOOTLOADER and my device was completely erased. The factory OS loaded then. This process takes some time to complete.

Now the device rebooted with a warning message, and a big <!> yellow icon in the left corner.

"The boot loader is unlocked and software integrity cannot be guaranteed. Any data stored on the device may be available to attackers. Do not store any sensitive data on the device.

Visit this link on another device:

g.co/ABH"

Now the device reloads the firmware apparently and wipes all user data. Upon setting up the phone, the fingerprint display registration comes up and asked to place my finger on the back of the phone. There is no fingerprint sensor on the back of the Redmagic 5G! It is under the screen! So this step must be skipped. The ROM setup is corrupt or incomplete, a beta possibly. I setup the phone then went into Settings / Security to try to add a fingerprint. The button to add fingerprint then appears. Once I click the button, I get this error:

Loss of fingerprint calibration data

Loss of fingerprint calibration data was detected.

Currently unable to complete fingerprint entry,

please contact Nuia after-sales service via

4007006600

See the XDA post for recalibrating the FP: https://xdaforums.com/nubia-red-magic-5g/how-to/guide-calibration-finger-print-loss-t4132961

ROOT FOR ALL DEVICES:

(These files are included in the tools download zip, Magisk 20.4 and MagiskManager-v7.5.1.apk, but this is the official source as updates post): Go to XDA and Download Magisk Manager and install the APK. Download the latest Magisk as well from the Manager. You can then reboot to Recovery (volume up + power, release the power button once the screen shows it loading, hold the volume up down until you see TWRP pop up). Flash Magisk from TWRP Install / Zip / sdcard / Magisk.zip reboot and you'll have root.

BL unlock first method was tested on North American variant and it works. But it breaks your FP sensor and gives you an annoying boot prompt.

If at any time you want to remove the OEM Bootloader unlock, you plug into the PC, go to the terminal for Minimal ADB and Fastboot, type:

adb reboot fastboot

fastboot oem nubia_unlock NUBIA_NX659J

fastboot flashing lock (screen will prompt to relock BL, choose to Relock)

The phone should reboot and install the original software. BUT...

If it says you are corrupted well, you have more issues.

You'll have to reflash the stock recovery.img, reboot to stock recovery, wipe data, wipe cache, and flash the CN update.zip rom to a flash drive FORMATTED TO FAT32 (annoying as hell) But you NEED a USB-C to OTG Adapter to attach a Flash Drive / SDCARD this way). If you don't have one, you better reflash TWRP using the prior instructions and flash the update.zip from there. Install, select the update.zip, flash. Wipe Data, Cache, ART/Dalvik. Reboot.

Now it should WIPE the entire phone and be back to normal Android 10 setup non rooted, no unlocked bootloader. Always beware of data loss doing root functions!!! Always be prepared to setup your phone entirely over again. Google Backup is very good to turn on before you do any of this stuff if you have already installed apps.

*** WARNING - THIS BYPASS METHOD COULD GO AWAY AT ANYTIME. IT SHOULD EVENTUALLY BE FIXED BY NUBIA ***