Question How to root OnePlus 9RT 5G?

Search This thread

archz2

Senior Member
Jan 25, 2013
356
63
New Delhi
OnePlus 9RT
What version you use? I use this one
Okay. I have 2.1.3 . You are using more recent one. I'll try that instead.

Edit. Same situation. Not able to pass safetynet. I uninstalled the previous version from Magisk.
Then I rebooted .

Then I cleared play store data and play services data. Then I flashed the latest zip given on your link. Then I cleared play store data and play services data again. Couldn't pass the safetynet test. Then I rebooted. Cleared play store data and play services data again.

Same issue.

Okay. Now I recall whey I was using 2.1.3. It supports Riru.
1643287334222.png





The one you shared is zygisk version. I have riru installed for LSposed.
 
Last edited:

penguinus

Senior Member
Nov 29, 2009
76
73
OnePlus 5
OnePlus 9 Pro
Actually, I just checked my device and found this module inactive after OTA update. But Certification still exist. Probably the key is not this module, but Zygisk and its DenyList. Try to add Google Play Store and Google Play Services to DenyList. Probably it will work even without module.
 

penguinus

Senior Member
Nov 29, 2009
76
73
OnePlus 5
OnePlus 9 Pro
The one you shared is zygisk version.
Well, I see. Zygisk and Riru are incompatible between each other and basically do the same. I didn't tried Riru yet. I made additional tests with Zygisk versions, and looks like both Zygisk and module should be installed and activated in order to pass certification. Certification check updates when data for Google Services and Google Play Store is cleared. So i.e. if you previously passed certification and then deactivated Zygisk, it doesn't mean certification will be lost immediately.

So steps are
1. Install module and activate it (it will show that reboot is needed)
2. Activate Zygisk and add Google Services and Google Play Store to DenyList
3. Reboot.
4. Clear data for Google Services and Google Play Store.
5. Check certification.

Don't know steps for Riru, but I think there should be a way to get it worked also.
 
  • Like
Reactions: archz2

archz2

Senior Member
Jan 25, 2013
356
63
New Delhi
OnePlus 9RT
Well, I see. Zygisk and Riru are incompatible between each other and basically do the same. I didn't tried Riru yet. I made additional tests with Zygisk versions, and looks like both Zygisk and module should be installed and activated in order to pass certification. Certification check updates when data for Google Services and Google Play Store is cleared. So i.e. if you previously passed certification and then deactivated Zygisk, it doesn't mean certification will be lost immediately.

So steps are
1. Install module and activate it (it will show that reboot is needed)
2. Activate Zygisk and add Google Services and Google Play Store to DenyList
3. Reboot.
4. Clear data for Google Services and Google Play Store.
5. Check certification.

Don't know steps for Riru, but I think there should be a way to get it worked also.
Thanks. I'll try this process and get back to you. 👍🏻
 

bonez56

Member
Mar 30, 2008
34
6
Yes, it is not available on site. If you have chinese firmware (ColorOS), you can get full rom from OTA servers. Even more, for the most recent versions I can provide ready to use boot.img. But for indian Oxygen full roms not availabe yet. You can try to dump boot.img from your phone using dd.

Hi,
Thanks for sharing a lot of info so far in this thread. I have a Chinese handset running ColorOS.
When you mention that with the Chinese version, I can get full from from OTA servers, are you referring to ColorOS or OxygenOS?

I'm really keen to install Oxygen on my Chinese model, as ColorOS is completely crippling my hardware without proper support for apps installed from Google Play (yes, I have it sideloaded but still doesn't work properly).

I understand this being a brand new phone that has only launched in India a week ago, but would appreciate any info that anyone has regarding the availability of OxygenOS on this phone. I've been rooting and tinkering with custom ROMs for years, but I'm not a dev.

Best regards
 

archz2

Senior Member
Jan 25, 2013
356
63
New Delhi
OnePlus 9RT
Thanks. I'll try this process and get back to you. 👍🏻
Hi @penguinus . I actually got worried about bootloop so I dropped the idea temporarily. Help me clear the following doubt.

Since zygisk and Riru are incompatible with each other, if I enable Zygisk, reboot my phone, I might end up in a bootloop. Currently there is no way to get out of bootloop without data loss as no TWRP has been released to play safe.

If I remove Riru and then reboot, then do the zygisk enabling, I will lose Lsposed framework which is essential for running GravityBox module.
 

g96818

Senior Member
Dec 27, 2014
545
175
Hi @penguinus . I actually got worried about bootloop so I dropped the idea temporarily. Help me clear the following doubt.

Since zygisk and Riru are incompatible with each other, if I enable Zygisk, reboot my phone, I might end up in a bootloop. Currently there is no way to get out of bootloop without data loss as no TWRP has been released to play safe.

If I remove Riru and then reboot, then do the zygisk enabling, I will lose Lsposed framework which is essential for running GravityBox module.
You have nothing to worry about, I switch between depending on what I need. Riui safetynet fix doesn't work so I need to switch to zygisk if I need to use it. Turning on zygisk will just disable riui and all riui dependent modules.

Also, you need to install this ColorOSTool. It's a riui module and has some useful tweaks, including didable the auto launch limit!
https://github.com/Xposed-Modules-Repo/com.oosl.colorostool
Downloading from LSposed didn't work for me, but downloaded from the github did work.
 

kydan2002

Member
Jul 29, 2013
15
1
@penguinus I also have the Chinese version of the phone. Did you install gapps on it? If so, how did you do so without TWRP? Also, where did you find the full ROM for ColorOS? The oneplus 9RT doesnt appear to be listed on https://www.oneplus.com/cn/support/softwareupgrade yet either. I'd like to extract the boot.img from it as I am not familiar with how to do so directly from the device.
 
Last edited:

g96818

Senior Member
Dec 27, 2014
545
175

futureflash98

Member
Oct 2, 2018
14
1
24
Visakhapatnam
Okay.

Okay can I install a normal magisk app now since my device is already rooted?

Having a direct internet repository in magisk is quite convenient.

Another question. I want to install Lsposed on this phone to install GravityBox module. Now in my previous phone, (oneplus 5t running stock oxygen OS, Android 10) , I always used to keep a edxposed uninstaller zip file which helped in cases when there would be a bootloop after installing a module. I used to flash that zip in the TWRP, get back things to normal, and then uninstall a particular xposed module.

Now I don't have any TWRP on this phone. I don't have any custom recovery installed on this phone!

What do you recommend for doing xposed/lsposed/edxposed based flashing and module installation?
There's no point tbh even if you downgrade your magisk to 23
Since modules repository is long been depricated and the modules in the repo are no longer updated to latest one's. So you'll end up flashing outdated modules. Just go to specific module's git to download them
 

archz2

Senior Member
Jan 25, 2013
356
63
New Delhi
OnePlus 9RT
Hey, i also bought the phone a week ago. If you have successfully rooted the phone can you personally help me too ?
I really don't want to risk bricking my phone it costed a lot of my savings.
Thankyou
Read all the posts starting from post number 1 to number 9 in this thread.

Let me know if you have any questions. I was also quite scared in the beginning but the process is quite linear if you follow all the instructions. 🙂
 
  • Like
Reactions: Midnight _king66

sifatulrabbi

New member
Aug 16, 2022
4
1
Dhaka
sifatulrabbi.github.io
Can anyone help me with rooting my 9RT running on oxygen os 12.1? I have tried booting a patched boot.img but it kept booting on the bootloader.

Also, I don't have a boot.img for the oxygen os 12.1. Does anyone have one?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Well, looks like to dump boot.img you need root. Please try attached file (unzip it). Found it in TG, labeled as boot.img for indian Oxigen. Please note that you should NOT flash it to your device, so it should be safe enough. We will try to sideload it.

    You already have installed fastboot to your PC, so I will skip this part.

    To check boot.img
    1. Place boot.img to your computer, to the same folder where you have fastboot installed
    2. Reboot your phone to fastboot mode i.e with adb reboot bootloader
    3. Do fastboot boot boot.img.
    If phone will start normally, looks like boot is ok and you can use it to get rooted.

    To install Magisk (get root)
    1. Place boot image to phone.
    2. Download Magisk and install it to the phone. Note that we use canary version of Magisk. Latest stable version doesn't work at least on chinese (ColorOS) version.
    3. Start Magisk on a phone, press "Install" and choose "Select and Patch a File" (the only available option), select boot.img file.
    4. Patched boot.img will be placed to Download directory named something like "magisk_patched*.img". Download this file back to PC, place to the same directory with fastboot.
    5. Reboot your phone to fastboot mode i.e with adb reboot bootloader
    6. Do fastboot boot magisk_patched*.img (change to correct name of file). Phone should start correctly.
    7. Start Magisk again. Select "Install". This time all options should be available. Select "Direct Install (Recommended)".
    8. At the end reboot and check if root is working.
    2
    Hi @penguinus . I actually got worried about bootloop so I dropped the idea temporarily. Help me clear the following doubt.

    Since zygisk and Riru are incompatible with each other, if I enable Zygisk, reboot my phone, I might end up in a bootloop. Currently there is no way to get out of bootloop without data loss as no TWRP has been released to play safe.

    If I remove Riru and then reboot, then do the zygisk enabling, I will lose Lsposed framework which is essential for running GravityBox module.
    You have nothing to worry about, I switch between depending on what I need. Riui safetynet fix doesn't work so I need to switch to zygisk if I need to use it. Turning on zygisk will just disable riui and all riui dependent modules.

    Also, you need to install this ColorOSTool. It's a riui module and has some useful tweaks, including didable the auto launch limit!
    https://github.com/Xposed-Modules-Repo/com.oosl.colorostool
    Downloading from LSposed didn't work for me, but downloaded from the github did work.
    1
    Use fastboot flashing unlock instead of oem unlock.
    1
    No TWRP for now. You should get boot.img from stock firmware, then patch it using Magisk Manager, then load the phone using patched boot.img, an then install magisk to the system
    1
    Thanks a bunch! It worked perfectly!