5S/5G Roms and Root Mega thread [Updated August 12 2023] *Official Lineage 20*

Should I Release a Modified Over clocked Kernel for the 5S device and Roms ?

  • Yes

    Votes: 10 90.9%
  • No

    Votes: 0 0.0%
  • Not really interested. Phone is fast enough.

    Votes: 1 9.1%

  • Total voters
    11
  • Poll closed .
Search This thread

kreezer010

New member
Apr 18, 2013
3
0
IMG_20210516_084818.jpg

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.
 
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.
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..
 

Patrick Morgan

Senior Member
Mar 20, 2008
592
477
Montreal QC
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..
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.
 
Last edited:
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.
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
 

FerdCV

Member
May 3, 2021
19
0
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.
Add this to your option is go back to previous firmware like i did.
 

FerdCV

Member
May 3, 2021
19
0
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!
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.
 
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.
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 .
 

Patrick Morgan

Senior Member
Mar 20, 2008
592
477
Montreal QC
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 .
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.
 
Last edited:
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.
I do it by my self and restore it to manufacture made but I lose gyroscope. How I can fix it
 

Patrick Morgan

Senior Member
Mar 20, 2008
592
477
Montreal QC
I do it by my self and restore it to manufacture made but I lose gyroscope. How I can fix it
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.
 

Patrick Morgan

Senior Member
Mar 20, 2008
592
477
Montreal QC
My I Dea i will try installing Android 11 for redmagic 5S with twrp
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.
 
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.
Ok I understand
 
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.
Ok I understand
hey Pat do you have instructions on how to unroot the device ?
Yes I had root it be for
 

Fr0z3nK1n6

Member
Nov 21, 2020
27
2
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 !
 

Patrick Morgan

Senior Member
Mar 20, 2008
592
477
Montreal QC
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 !
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.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    TWRP - ROOT for Android 10 and 11

    Read notes to be fully clear on steps.

    _________________________________________________________________________________________
    NOTES.
    - Android 11 steps are below the Android 10 steps.
    - Steps are for Windows operating systems only.
    - Run steps in a new folder made on the C.drive. You may get errors running from downloads or desktop.
    - if on stock, you will need to wipe your data. BACKUP all your data.
    - Files required are on my Mirror linked on the First post.
    - All these steps must be performed on a clean system. you need to wipe data and cache to complete setup
    - OEM Unlocking in the Developer options is only required for Android 11 this is temporary
    - Android 10 steps where performed on a clean unbricked Locked device.
    - Android 11 steps where performed on a clean unbricked Locked device and locally updated to 8.70 data formatted after update.
    ___________________________________________________________________________________

    Android 10 Steps.

    1. Backup all your data.

    2. Find the ADB-Fastboot installer bat file in my mirror and run it (as Administrator) in a new folder on the C drive

    3. open CMD prompt with admin privileges

    4. CD to the ADB folder you made. (CD = Change Directory)

    5. Connect your device in Fastboot mode
    - power off. hold volume down button while the phone boots

    6. Once in fastboot mode, with cable connected to the computer run these commands

    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 replace TWRP. to keep TWRP as your recovery, and stop the system from re writing the stock recovery.

    12. Reboot to system for the first time and complete the initial setup. this is to create the user space partitions data/media ( preferably do not make a pin or pattern at this stage)

    13. once in the rom, you can download the Magisk zip found here rename the apk to zip to flash in recovery

    14. once back into TWRP (if you created a pin during setup TWRP will ask you for your pin to access data) go into install and flash the Magisk.zip you moved in step 13 then reboot. once back into the rom, you will see a Magisk app, tap it and allow to update, the APK will install latest version of the manager.


    _______________________________________________________________________________

    ******************************************************************************
    ________________________________________________________________________________
    Android 11 Steps.

    Android 11 removed the ability to install vbmeta skip on the locked bootloader. so these steps will require opening the bootloader during the process of rooting and installing a custom recovery.

    * Following these step exactly as written will not wipe your fingerprint sensor data.

    These step will assume you have installed the fastboot and ADB files for rooting Android 10 already.

    1. Download the correct files you will need for the process (found in my mirror in first post)
    - vbmeta skip / twrp for A11 / magisk apk from latest releases on github
    2. BACKUP ALLLL your data. you will wipe your data during these steps

    3. Move the files required to the ADB folder you created on your Cdrive.

    4. go to Settings / About Phone / tap 7 times on the Build number field to become a developer.

    5. back to settings and choose advanced settings / developer options

    6. enable the option OEM unlock (accept the agreement)

    7. you can reboot your phone to fastboot. power off. then while powering on hold volume down button

    8. when fastboot loads run these commands in CMD (with admin privilages)
    - fastboot flashing unlock (accept the process on your phone to wipe all data)

    9. the phone will reboot hold volume down button to load fastboot again

    10. CD to your folder in the Cdrive and Run these commands once fastboot is loaded again
    - fastboot flash recovery (TWRP for A11) choose the correct TWRP image in my mirror
    - fastboot flash vbmeta vbmeta_skip.img
    - fastboot flashing lock

    11. phone will reboot hold volume up to allow recovery to load
    - TWRP will do some first time setup and reboot (hold volume up button again while it reboots)

    12. in TWRP wipe user data

    13. go to mount and mount userdata

    14. move / copy magisk.zip to the phone (rename the apk you download from github to zip to flash in TWRP)

    15. unmount userdata once you've copied the magisk file.

    16. go to flash and flash the magisk.zip you copied earlier

    17. reboot to system

    18. SKIP everything on initial setup.

    19. you can connect to wifi / mobile data to download the magisk APK (the app does not get installed on first setup)

    20. entering magisk will demand to update install through the magisk app, reboot and continue to setup magisk. (Hide app, Deny list etc)

    21. once you've added all stock apps to deny list you can start setting up your device as before, restore your data.
    - just note you should add any new app to the deny list that you don't want ot see root. regardless of what it is. any app can report to google that your device is rooted, that will mess up your detection.

    Some troubleshooting I've experienced.
    - Magisk app will not be installed at first boot. download apk form githib and install
    - Magisk will ask to update by rebooting, this wont work, and requires you to update in the app
    - magisk app sometimes fails to open (black screen with magisk symbol) go into app data and force close and clear cache of magisk to open the app again.


    Big thanks to Dr.Brown for helping with these steps and testing over months to make sure they're perfect.



    Thanks to those that created all these great tools.



    Dr. Brown and Doc714 - for TWRP

    John Wu - for Magisk

    mslezak for the original vbmeta_skip



    If i've helped you root your device, please hit thanks.
    6
    Nubia Red Magic 5G and 5S Roms and Root support Thread
    Second post for TWRP and Magisk installation.
    Mirror for all roms and tools at end of post

    Latest Official Rom updates

    Android 11

    US/Asia - V8.70 Nubia Link MD5: 463361d743ee1e6dc4cd17286714bb4a
    EU - V7.70 Nubia Link MD5: 3ae36259d3e22935445345535e4d9923
    China - V9.50 Nubia Link MD5: 361AC13CA52AB83C239783FBAB088CEA

    Android 10

    US/Asia - V8.12 Nubia Link MD5: 6e930fc2431b3daeae2d94145926a6c1
    EU - V7.15 Nubia Link MD5: bb9e3153716851e87f196ae6b4f44a2e
    China - V6.23 Nubia Link MD5: BD447840ACA4D48F9443B94D2EAD890F

    Change Log - 8.70 / 7.70 Android 11

    - Security Patch October 2022
    - Game Space enhancements
    - Game space Gyro sensitivity menu
    - game space touch sample rate improvement
    - Fixed: corner of screen non-touchable in some cases
    - Fixed: issue where game would fail to close
    - Fixed: location of caller display
    -Fixed: screen tearing when using 144hz
    -

    Bugs -
    in Testing

    - Always on display notification not showing
    - memory leak in nubia launcher (requires forced close often to stop phone from lagging)
    - small window mode for telegram and discord have wrong zoom/ aspect levels.

    _____________________________________________________________________________________________________________
    UNBRICK TOOL for 5S - Courtesy of @johnny886
    Use this tool, with directions on the thread to restore your device to USA/Asia 8.07
    you can then install TWRP and after flash any region rom after creating a somewhat universal unbrick tool for those in different regions.

    Follow directions on the thread. but here is a link to the Thread. A Mirror for the tool is in my Personal Mirror at the bottom of this thread post.

    Link to Thread
    Confirmed working with 5G devices - but its recommended to update as soon as you unbrick.
    _____________________________________________________________________________________________________________
    For unlocked bootloader
    Fix your fingerprint sensor.
    here Link
    _____________________________________________________________________________________________________________

    Custom Roms and Kernels

    Kernel
    Mattofthedead's Redmagic 5S kernel for LOS and Stock roms LINK

    Roms
    Please post any bugs or issues in the related Rom threads I won't help with bugs on these Roms.

    Pixel Experience Plus - Ra (Ralovesoc)

    Ressurection Remix- Ra (Ralovesoc)

    Lineage 20 (Android 13)- Davide (DD3Boh) (Confirmed new update working on 5S check post #3 of Davide's thread)


    NOTES :
    to boot any of Ra's Custom roms on the 5S device. Flash the Rom following the directions in their thread. then flash Matts LOS kernel Version 3

    *** NEW *** Lineage 20 is newly updated And now OFFICIALLY Supported on the Lineage website. Any old kernels will not work on this rom. new Kernels are being developed for it and coming soon.
    __________________________________________________________________________________
    ------------------------------
    Old roms

    Android 11

    V8.65 Nubia Link MD5: 3d52e18c66366d3d23744184425d3926
    V8.64 Nubia Link MD5: a7e61f5e2f7c377a6850cf6ac3a62aa7
    V7.65 Nubia Link MD5: 746dad5b6145dfba1108355095a6ad46
    V7.64 Nubia Link MD5: 55371ee8e5728aee2bc7df5b3a7d6585
    V9.42 Nubia Link MD5: D492B92DD83B366508CDD74DE7D152A3
    V9.40 Nubia Link MD5: D28F26289A9B75F771EF4F623F0BB367
    V8.57 Nubia Link MD5: 266819d4b09c2c52aadb39e948dc84bc
    V8.59 Nubia Link MD5: d7e32b7a3e833adc57fcf734aa47f5a3
    V7.57 Nubia Link MD5: 81ee71869f660a28b631d871ffb59524
    V7.60 Nubia Link MD5:
    V9.26 Nubia Link MD5: 8997375CD97D8F7F261F21121FC8EFAA

    Android 10

    v6.18 Link MD5: 9AC5EA5F64835C1995E4A81D4973FB71
    V6.13 Link MD5: F38ED2D7CB58252D308B29D1D4517DB9
    V7.07 Link MD5: ffc3fdaf4afc522aa3a084d9275f2cb6
    V7.14 Link MD5: 0f879160fbf8b556de5303207b93d0d1
    V8.07 Link MD5: b30dab221be73292c5da7884afc0363f
    V8.11 Link MD5: 85d9366a3017112cb68d66041e725ce6

    ________________________________________________________
    Personal Mirror - Located in Eastern Canada
    ________________________________________________________
    3
    Screenshot_AnTuTu Benchmark_2021-01-30-13-48-17-200.png
    Screenshot_3DMark_2021-01-30-12-05-56-432.png
    Screenshot_AnTuTu Benchmark_2021-01-30-13-48-17-200.pngScreenshot_3DMark_2021-01-30-12-05-56-432.png


    I did a little bit of editing on the Stock kernel.

    Everything exactly the same as stock, except the clocks of the GPU and the memory timings of the ram.

    Tried to keep the speed / heat under control.

    I tested in the quebec winter -8'c and also in room temp 23'c

    These are my best scores, but i've seen the temps do well, Genshin impact tops out at 76 under heavy load.

    For stock kernel, with just a little basic tweaking, those scores are very impressive.
    2
    Hello! I just ugraded to V7.64 and I cannot login to my Google Account: after I accept the conditions, it says "Your account is not been added. Retry". Any solution, please?
    EDIT: problem solved, thanks.
    I'm not sure if your issue persist but google servers in Europe are having issues (https://support.google.com/accounts...dd-my-google-account-to-android-devices?hl=en). The way you can work around is connecting to Americas servers via vpn
    2
    I just updated to NA 857 last night and I regret it.

    All my apps on my desktop have been removed. They are still installed but I can no longer drag and set them on my desktop. Holding the power button to bring up the "Power off/Reset/Emergency" option now completely takes over the screen instead of appearing in a small box on the right side like it used to.
    It also installed some kind of web browser called NextWord Browser which randomly displays news pieces and ads, which I never asked for. Not only that, but I can't seem to permanently uninstall this app through regular means.

    I don't know if anything else is up with this new update, but I already don't like what this has done to my phone. I want to go back to the previous version and soon.