yashsingh1/xdaforums huggingface dataset:
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] TopoX84:
reboot to bootloader by... power off device -> press and hold volume down and power button until you see the logo -> connect device to your computer then do the steps 7 to 12

also once you are in TWRP make sure you ... this must be done on a clean system. you need to wipe all data partitions to boot to system. re writing VBMETA causes encryption to break. until you reboot. so you lose everything Make a backup of your data partition on to your PC before doing anything.

7. fastboot oem nubia_unlock NUBIA_NX659J (this allows you to flash the device partitions)

8. fastboot flash recovery TWRP-xxx.img (xxx being the version number of the TWRP image you choose to install)

9. fastboot flash vbmeta vbmeta_skip.img

10. reboot to recovery (from the fastboot menu) it should load TWRP

11. if TWRP does not ask you to keep recovery from being over written, go to advanced and choose disable overwrite TWRP. to keep TWRP as your recovery, and stop the system from re writing the stock recovery.

12. Magisk zips files are in the folder. copy to device and flash through twrp. and install the apk after boot. done twrp and root.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
if you have not removed your pin before flashing any of the roms. it asks you for YOUR own pin that you made when you setup the phone. so use your own pin.

the process of rooting your device, clears a security partition. (the VBmeta partiton)

this deletes the encryption you had on your phone. so the devices partitions are unaccessable and need to be wiped before you can boot to system.

you need to clear data. all data. then check in TWRP file browser if your data partition is clear. .. if you see folders with random letters its not been formatted correctly.

so, in the wipe menu on TWRP you should go into advanced and change the partition type to ext4 then back to f2fs to clear the partition of data.

once your phone is clear you should be able to wipe cache and davik then reboot to system for it to start like a factory reset.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] josehdx:
How should i relock the bootloader? Via cmd, command doesn't work. Should i lock also via developer options?
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] TopoX84:
adb devices

adb reboot bootloader

fastboot devices

fastboot flashing lock
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] sansha1211:
via cmd -- fastboot flashing lock
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Anakinnn:
After i reboot in TWRP and disable replace TWRP, i install magisk from a USB otg, and then i wipe all data, then i reboot system but it keeps opening TWRP in every reboot, i had to install Stock Rom to have my phone back but without root, what im doing wrong?? thanks

Edit: now it worked, tried a few times and worked don't know what failed
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] FerdCV:
Hi again, successfully unbricked and was reverted back to 3.12 (rooted), now i need help to unroot it to get have OTA and banking app.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] FerdCV:
I did a bit of research and found out the solution to my/our problems, here's the link just follow the steps and you will be good. Just got back to 8.12 with working bank apps and OTA with no error.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
Using the unbrick tool would have removed root.

If you tried to update with an unlocked bootloader it may have stopped. Or maybe you rooted after unbricking im not sure.

But usually when you use the unbrick tool your phone is set back to factory. - unless your bootloader is unlocked, then this is still flagged by the system until you relock the bootloader.

Either way, glad your sorted.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] FerdCV:
I wish i have the answers but i just did what the instructions here, anyway i am good now thanks, gonna stick to 8.12v.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] ares_shad0w:
From step 11, I keep getting into twrp!!

Red Magic 5S
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
Probably data was not wiped correctly. You will continue to boot to recovery if data is encrypted.

Go to wipe and choose advanced wipe. Format data to ext4, then whwn the fotmat is complete, RE-Format the data partiton to F2FS.

Then try to boot. (remeber to save twrp in the advanced menu before you boot to system)
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] madnezzz:
My phone is not rooted. It was resetting each time i restarted the phone it would reset the launcher and icons and show a message at launch saying the phone had been updated. I did a full reset and it seems to have fixed the problem.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] mhd4mhd:
I received the update to android 11 today , and I wish i didn't updated it

1. I am not able to change the launcher to Microsoft launcher since its was my main launcher

2. when I holding power button to power off or restart , the icon for power off and restart is not showing View attachment 5306491

3.when i try to added my apps to nubia launcher they disappear from home

any fix for this ?
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] FerdCV:
Same scenario here brother, what I did was to unbrick my nubia 5G and update until 8.12. Try to backread it will help you understand new things.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
Hi .

I have try install twrp in my phone but it's corrupt and fixed new I got 3 issues it's stock on game play and I lose my finger print and gerscop not working.

Please advise for more advance.

By the Iam ready to install new program to keep the performance as before.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
Freeze problemView attachment 5309871
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
fixes to 2 and 3 are posted on my first post. under the bugs section of the change log.

1. is still a current bug. there is a work around fix. but its not simple and it breaks other options.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
Am sorry ready up date it to 8.57 androide11
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
Hello
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
I`m sorry. I have no idea what you're asking me.

you can use google translate if you are trying to explain something complicated.

write your own language and a translation to english here. I will try to help you. but I need to understand what you are asking me.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] kreezer010:
Hi there. I do regret updating my firmware of my RM5s due to tons of bugs. Whenever i connect my phone through android car play there was no sound and it was very laggy unlike before the update.

Is there a way to downgrade my firmware im running on eu 7.57 on my redmagic 5s.

Thanks for your reply.cheers mate.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Friedrich_Schultz:
Hello, I updated my phone with a beta version of the firmware, then restored it using Red_Magic_5G_Unbrick_Tool_ (EU), and now I can not get updates via WIFI! Writes your device is root!

Help me fix it please!
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
you could try using different Bluetooth driver settings in the developer options ( i found using Aptx on Aptx compatible head units to be very good and clear) but if you reall have no other option after trying different bluetooth settings, backing up your photos and other important data, and unbricking back to Android 10 is all you can do.

if you have installed TWRP or root before, and even unrooted, the phone state is still flagged as root until you clear all the modified flags.

to avoid getting the error you can download the full update zip on the first post or directly from Nubia and install that through local update instead of using the OTA option.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Friedrich_Schultz:
Большое спасибо! Все получилось после обновления!
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] kreezer010:
View attachment 5310521

Thank you for your reply.. im planning to unbrick my phone back to android 10 on my 5s. Should i follow this thread as per my screenshot above. Im on EU version. Can I flash my device using USA/Asia 8.07 since there were no EU version on the instruction.

Thank you so much sir patrick.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
OK I said am or ready updated my phone to 8.57 android 11 and I got 3 issues in my phone lose fingerprint and gerscope and shutdown suddenly

I need advice. What I have to do..
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
Ok. That depends on what you did to your phone for those things to stop working.

Fingerprint sensor stops working when you unlock bootloader, gyroscope breaks when you mess with persist partition. The random shut down could be many things, like a bug or overheating.

Can you give me more information on what you have done with your phone?

Model type? rooted or not? have you flashed any mods? what are you doing when the phone shuts off etc?

Please use a translator to understand what im trying to ask. - you can write in your own language also, just add a translation too.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
i dont wanna make actione and install something am not sure its software worke wit my phone because i break my software once i got rrong files... thanks
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] FerdCV:
Add this to your option is go back to previous firmware like i did.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] FerdCV:
Here's what i did, after i unbricked it was reverted to 3.12 firmware and got the same problem, and i just manually update it to 3.13 and after that for some reason i was able to update back to 8.12 via OTA and bank apps working.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Agera:
Haven't tried since v7.57 update, has g-pay been fixed so we can use?
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
I try to install TWRP on my phone I get rowng file for TWRP so it's corrupt it

And I called therty party to unlock it .
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
If you follow my guide on the second post, you can install TWRP on any Android 10 rom for the Red Magic 5g/s. So any rom up to 7.15/8.12

You need a windows computer.

Your phone will be wiped.

You can relock your bootloader during fastboot steps, so before you flash twrp, you can relock your bootloader to hopefully restore your fingerprint.

Once you've installed twrp and root, you can update root then install the rest of your apps.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
I do it by my self and restore it to manufacture made but I lose gyroscope. How I can fix it
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
Gyroscope breaking like I said before could be a hardware fault, or your persist partition was corrupted.

You could try flashing the stock persist through fastboot, and wiping your device after to see if that fixes the issue.

But if after that its still broken, you probably have hardware fault.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
I think hardware fault
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
My I Dea i will try installing Android 11 for redmagic 5S with twrp
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
Not worth it.

And updating wont change your persist partition. Then you'll be stuck on android 11 with the bugs i've posted on the first post.

Nubia will release a bugfix version soon. Its best to wait for the next update for android 11 if you want to update.

The unbrick tool does not flash the persist partition. You should find it in the unbrick tools temporary files and flash that seperately in fastboot and see if that fixes your problem.

Updating to Android 11 will not fix your problem.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
Ok I understand
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Fr0z3nK1n6:
hey Pat do you have instructions on how to unroot the device ?
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
Ok I understand

Yes I had root it be for
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Fr0z3nK1n6:
oops, hey Patrick do you have instructions on how to rwmove root of the device, btw i am not planning to upgrade to Android 11, i just want to remove the root, thanks in advance !
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
If you just want to unroot the two safest ways are using the magisk uninstaller, or flashing your stock boot.img.

But this will remove the root control, it wont reset the flag that the phone was once rooted. So apps that detect root will still flag.

You would probably need to use the unbrick tool and make sure your bootloader is locked, this will report to google and the apps that, are blocking that your phone is clean.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Fr0z3nK1n6:
what will be the rom of the device after using unbrick tool ?
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
NO
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Fr0z3nK1n6:
are you Patrick ?
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
YES
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
Depends on the version you use.

The 5g versions for US or EU regions go back to the first rom released with those models.

The 5S unbrick tool brings you up to 8.07 if you use the 5s tool on the 5g its recommended to update to at least 8.11 / 7.14 as these were made for the 5g.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
It's USA reg tody install tool v8.12 but I still same problem the gerscope out of service.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
Ok I think Its hardware fault what advice and i try 3 version of softwares and I sent screenshot of fault hardware
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Fr0z3nK1n6:
hey Pat is there a way to hide rooted phones from apps ? i tried magisk hide but still detected
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
If magisk, is updated to the latest,, and you've cleared cache / data /reinstalled / rehid/ the app and google play services and google play store. And the app still does not work.

Then, its possible that magisk needs to be updated, or you've not hidden the app correctly, or, the app knows its rooted still because its got its device id flagged.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Fr0z3nK1n6:
copy that
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
red magic 5g problems left shoulder trigger problems
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
The left has been almost always a hardware fault.

Usually caused by overheating in the reports i've read. If its not working, and the right side is, then your trigger is dead.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] DD890:
I can fixed or no
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
If you can find a replacement its possible to put a new trigger sensor into the case. But they are sont sold seperately. At least from what i can find online
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] letzdoit:
I am not Patrick but maybe I can help. This method only works if you have Android 10 without bootloader unlocked and TWRP installed. Take backup of all your data

1) Press vol down+power button till you enter fastboot

2) Choose enter recovery mode to get into TWRP. Check for TWRP overwrite option in advanced... If it is enabled, disable it.

3) Go to advanced---> remove/ uninstall root/ unroot option

4) Reboot to system. While your device has no root, it is still running a modified firmware with traces of supersu left and hence you can call it dirty unroot. You need to install a fresh copy of the firmware (will wipe your data)

5) Download the firmware you want to have in your properly unrooted device on your phone.

6) Go to settings, update... Choose local update and the firmware you just installed.

This will have removed TWRP to factory recovery, and install a fresh copy of the OS with all data deleted. Restore the data now which you want, and you should be good to go.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] letzdoit:
Mostly no. Try resetting your phone with a clean firmware install, and if it doesnt work, it is a hardware issue. You can always purchase external triggers if you cannot play without triggers.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] letzdoit:
You can always downgrade. Just try installing Android 10 TWRP. It will brick your OS. Then use fastboot to install Android 10 ROM. I downgraded my phone 2 times using this method.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] ManPare:
Hai, i just upgrade my nubia to android 11. So how can i root my phone?
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] gh279760559:
Hi Patrick,

sorry I have a problem with my red magic 5s.

Before I tried to install the old version of the system by following the official website (go to the update, install from local place blah blah). Then it stopped at 81% then reboot automatically. Then it said few words in the top and cannot boot anymore. Afterward I used the unbrick tool to help. Now I can go into the fastboot and recovery mode. I tried to use recovery mode to install the latest version of the official system. Again it stuck at 81% around and then moving quickly to finish and then rebooted again. But unfortunately it stuck at the second page (after the red magic 5(G?!) page). I tried to follow your step to install TWRP. But fastboot devices cannot recognize it.

The system was the latest one, I think it should be A11. I can get into the fastboot mode but laptop cannot recognise it.

Could you please help with this issue which is really appreciated!
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
Try unbrick again.

This will install android 10.

Then install from recovery (using a OTG usb drive) version 7.15 of 8.12 depending on your region.

Its possible the android 11 zip you have is corrupt.

In my opinion the update is not good enough, some apps still dont work correctly, and the bugs reported on the first post are a hassle.

Nubia is planning to release an update to fix the bugs reported last month. The average ETA we were given was June 10th. I personally would not hold my breath for that date, but at least we may get an update without the bugs anyway.

Meaning it may be better for you to wait and see how this new update works out before trying again.

Stay on android 10 on the latest update. Version 7.15 or 8.12 thats what im doing. Waiting fornthe fixed update.

Unbrick and update to whichever region rom you need on android 10. Use a MD5 chexk tool to make sure the file you download is not corrupted before you try to install.

Let me know if you have more issues.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] gh279760559:
Hello Patrick, thanks for your message, I tried to unbrick using the unbrick tool (5G one, I could not find the official 5S one but I think they are the same) It stuck at "Download software image..." could you please help?
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] gh279760559:
Update:

Thank you, seems works finally! Have a nice day Patrick and you save my life! :D
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Tjmi3y:
Hello, Is there root for android 11 5s NX659J v7.57 ?
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] letzdoit:
Is there a way to switch to a chinese ROM on an official global set? I see there are some extra options in gamespace in Chinese version. But whenever I try to flash (using TWRP or system update- local), I get flash error. Thanks.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
Just install the chinese game space apk
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Fr0z3nK1n6:
done it, thanks !!!
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] SSRAFF13:
Can I do this on a fresh factory reset RedMagic 5S running Android 11 to downgrade to Android 10?

The latest update keeps soft freezing my phone, i have to press the lock button and unlock to resume functionality. I can't change the default launcher anymore either...
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
Our community is currently testing the next release of android 11. Ver 8.59 join the telegram to get a link, ask for me Patrick or Necrowakker. We'll give you the link to download the update. It seems stable and have fixed alot of the bugs the 8.57 had.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] SSRAFF13:
I've joined the 5S kernel group, not sure if that's the right one.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] fabianff:
Patrick

Question... Can I change my rom from EU to USA on my 5G with manual rom update? Also can you please confirm that USA rom have Spanish lenguage...
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
I added the language selection of NA 8.12

It should have the same languages as the euro version.

Since the combined rom i think, Nubia have allowed cross region installs i believe. I have read of many on 7.14 installing 8.12 and vice versa and many on the new android 11 update in europe have verified that they could install 8.59 from 7.57 so i think its possible to install each region without bother.

Only issue i would expect, is the radio and modem files, your mobile network quality may change.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Fr0z3nK1n6:
hey Patrick, i am on 8.12, is it ok to update to 8.59 ?
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
It should install correctly.

But note that nubia removed the nubia unlock code to root wirhout unlocking bootloader.

If you need root you will need to unlock your bootloader.

But if you're full stock, its actually a fine rom and should install directly feom the local update menu. it even fixed some issues 8.12 had so thats nice too.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Fr0z3nK1n6:
its fine, now at 8.59 and testing for bugs, none so far
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Fr0z3nK1n6:
no more option to enable 5G connection ?
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Abhijeetnd:
Is there unroot method for redmagic 5g? Thanks
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Mikedot:
Hello everyone. I posted this request in the questions & answers section of the forum, but didn't seem to get a response, so I will try here:

Whenever I try to update my firmware to a v8.57, whether it's from OTA or fully downloaded and saved onto the phone, whenever it tries to update itself, it keeps giving me an error that tells me "Install Package Failure" whenever it reaches 24% installation.

I have tried a factory/hard reset, as well as a complete wipe and reformat using TWRP, but still can't get the phone to update properly. How can I fix this so I can update to v8.57 (and eventually v8.59)? Thank you.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] FerdCV:
Have you tried local update? If youre not a fan of local update, then try to restore/flash it to its first firmware and from there do OTA.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Mikedot:
I believe I have tried it, but I could always try again.

I have flashed it back to the base firmware before and did multiple OTA updates with it. It's just when I get to v8.57 android 11 update, it always have installation failures.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Patrick Morgan:
what you are having trouble with is your recovery.

A10 TWRP is not compatible with A11. 8.57 and over is Android 11.

its failing a recovery partition check.
[Nubia Red Magic 5G / 5S Guides, News, & Discussion] Mikedot:
Okay, so what should I do to fix this so I can get onto A11 version?