How To Guide Root OnePlus 9

Search This thread

AtoZ0to9

Senior Member
Jul 27, 2007
9,705
3,029
OnePlus 5T
OnePlus 9
I'm on c48 rooted and anytime i try and update I get installation failed error (magisk uninstalled). Same thing happened on .c61 and now happening on .c62.
Also same. It seems I can only get to the next update with a fully untouched everything (directly from msm, then applying update after update). If it any point I had an unlocked bootloader or rooted, despite undoing them, I still get installation failed.
 

AxelM

Senior Member
Jul 10, 2007
143
13
OnePlus 9
Also same. It seems I can only get to the next update with a fully untouched everything (directly from msm, then applying update after update). If it any point I had an unlocked bootloader or rooted, despite undoing them, I still get installation failed.
I had the same issue. What worked for me:
1. uninstall magisk, restart
2. install OPLocalUpdate_For_Android12.apk
3. install via localupdate c.47 full
4. update via Oxygen updater to C.61
5. Boot via fastboot the modified boot.img for c.61

6. install Magisk

With this all my issues have been avoided...
 

AxelM

Senior Member
Jul 10, 2007
143
13
OnePlus 9

AxelM

Senior Member
Jul 10, 2007
143
13
OnePlus 9
I don't know. Maybe you will find a solution, how to get the boot.img out of the incremental. I was not able to do it, even with payload-dumper-go. But somehow it should work...maybe somebody can jump in!?
 

Makime

Member
Oct 2, 2009
16
2
OnePlus 9
I put you the files that I extracted.

I would just like to have the procedure after that.
because a week ago I simply flashed the boot.img with Magisk and I found myself in bootloop on the bootloader...

So I would like not to have to redo the unbrik in EDLMode a second time :)

Sans titre.png
 

Attachments

  • vendor_boot.img
    6 MB · Views: 9
  • vbmeta.img
    8 KB · Views: 7

arebelspy

Senior Member
Nov 18, 2003
98
9
Also same. It seems I can only get to the next update with a fully untouched everything (directly from msm, then applying update after update). If it any point I had an unlocked bootloader or rooted, despite undoing them, I still get installation failed.

I did get it working.

Try this:
1) uninstall magisk.
2) download .c48 full from first post of this thread:
3) copy the zip (i had to rename the extension to zip cause google drive downloaded it as .txt for some reason) to your device root directory
4) use the system updater app (linked above.. not the system settings, but a separate app you install) and click the upper right button on it and select the zip you just copied.

this does a full reinstall of c48 (you keep all your data)

5) install OTA updates via system settings
6) download .c62 rooted boot image from first post here: https://forum.xda-developers.com/t/oos-custom-roms-oneplus-9-stock-patched-boot-images.4288727/
7) adb Fastboot Boot <filename.img>
8) open magisk, direct install (recommended). reboot.

now you're on c62 rooted.

my problem was all steps went from 1 to 5, and when i tried step 5, i got install failed. doing the full reinstall as suggested by @AxelM (steps 2-4) fixed it so that I could do the OTA updates, then put in the root.

I was only getting install errors no matter what I tried--the full clean reinstall off a 4GB file was needed. Didn't lose any data, never had to do any MSM stuff, ended with being able to update, then root. Hope that helps!
 

Oggy512

Senior Member
Mar 13, 2010
90
7
Saarland
I did get it working.

Try this:
1) uninstall magisk.
2) download .c48 full from first post of this thread:
3) copy the zip (i had to rename the extension to zip cause google drive downloaded it as .txt for some reason) to your device root directory
4) use the system updater app (linked above.. not the system settings, but a separate app you install) and click the upper right button on it and select the zip you just copied.

this does a full reinstall of c48 (you keep all your data)

5) install OTA updates via system settings
6) download .c62 rooted boot image from first post here: https://forum.xda-developers.com/t/oos-custom-roms-oneplus-9-stock-patched-boot-images.4288727/
7) adb Fastboot Boot <filename.img>
8) open magisk, direct install (recommended). reboot.

now you're on c62 rooted.

my problem was all steps went from 1 to 5, and when i tried step 5, i got install failed. doing the full reinstall as suggested by @AxelM (steps 2-4) fixed it so that I could do the OTA updates, then put in the root.

I was only getting install errors no matter what I tried--the full clean reinstall off a 4GB file was needed. Didn't lose any data, never had to do any MSM stuff, ended with being able to update, then root. Hope that helps!

Which Magisk verison did you use?

I have a LE2113 (OP 9 - EU) and I'm on OOS12.2_C62. Lost root while updating to C62...

I downloaded the patched boot img form the thread you linked (those are form the global, not EU version, but should work?). They say the images are patched with the "latest" Magisk Canary, which is v33 (25201), which I just downloaded.

But after booting the patched img, Magisk don't let me install directly. It just give the option to choose a file?
 

arebelspy

Senior Member
Nov 18, 2003
98
9
Which Magisk verison did you use?

I have a LE2113 (OP 9 - EU) and I'm on OOS12.2_C62. Lost root while updating to C62...

I downloaded the patched boot img form the thread you linked (those are form the global, not EU version, but should work?). They say the images are patched with the "latest" Magisk Canary, which is v33 (25201), which I just downloaded.

But after booting the patched img, Magisk don't let me install directly. It just give the option to choose a file?
I have the global. Magisk version was from the patched boot, then clicking direct install after I did a fastboot from the patched one. In Magisk it says 25201 is installed.
 

rfilipoiu

Senior Member
Nov 10, 2008
50
2
LE2113_11_C.62 just installed
Lost root since upgraded to C.47 (around March this year)
Is somebody so nice to write the re-rooting procedure from scratch?
(read the forum is not the best answer - the previous posts are full of obsoleted and dangerous pieces of advice)
Many thanks!
 

badlucky

Member
Jul 2, 2022
26
1
OnePlus 9
This is for Europe (11.2.2.2.LE25DA). If you are on Global, EU version works, but up to you. It appears for last year, unless you are from India, OnePlus doesn't care. It might be a while before a Full OTA update for Global is released, you'll notice updates come without it for Global or on their Global support site, the firmware is outdated.
- On T-Mobile have full 5G. I don't know about AT&T and Verizon. Should be same.

If you are on Global and you just received your phone. Do all the updates from the incremental through device. If you want root, you can flash with the EU patched boot.img and everything will work as normal
**** but once you do this, you will need to wait for Global full OTA to update next time, unless you managed to have a backup copy of the unpatched boot.img

Do the usual to unlock your OnePlus 9: oem unlock, usb debugging from developer. Boot into bootloader and use adb command /fastboot flashing unlock

This will wipe your phone and reboot. Setup your phone

Install Magisk from his official github: https://github.com/topjohnwu/Magisk/releases/tag/v22.0
- Topjohn provides full instructions on how to do this yourself as well.

Reboot into bootloader

Flash boot the magisk modified boot.img. /fastboost flash boot boot.img

Go into Magisk app and install via direct install and all done.

Return to stock
- Restore boot.img from Magisk
- Uninstall Magisk
- Flash the stock boot.img
- Relock the bootloader, will wipe and return to factory reset.

Stock 11.2.33 Boot.img
Magisk Patched 11.2.33 boot.img

Patched Boot.img for Europe (11.2.2.2.LE25DA)
Stock Boot.img for Europe (11.2.2.2.LE25DA)

Future Full OTA Updates
- Update as usual
- Go into Magisk and choose direct install and then install to inactive slot after OTA
- This will retain root

How to do it yourself:

Download full OTA, usually Oxygen Updater App, XDA has links or from https://www.oneplus.com/support/softwareupgrade

Download Payload Dumper

Extract and place payload.bin in input folder
View attachment 5273909

Run the payload_dumper.exe

In the output folder will be boot.img, move that onto your phone, folder of your choice

Go to Magisk app, click install
Choose Select and Patch a File
Choose the file and it will patch it, Magisk will say where the file is located.
That is your patched boot.img file. Use that to flash / root your phone.

Remember only have do this once, you don't have to do this again with subsequent updates.
Hello friends, my phone is OnePlus 9. I rooted the phone a few days ago and last night I wanted to upgrade it from Android 11 to Android 12. The phone didn't work, so far it's just a black screen and it doesn't connect to fastboot or MSM.Please, what is the solution to this problem, please be withme
 

mikiwinds

Senior Member
Apr 8, 2013
60
1
I dude, i have Android 11, 11.2.10.10.LE25BA on Op9, how can i root my phone? Thk.
 
Last edited:

Nhatlienhoan

Member
Jun 17, 2020
43
11
Here what I did:
1. Tried everything above (restore image, uninstall magisk,... Didn't help)
2. Uninstall magisk, reboot, use local updater to install my current rom (C.48), reboot, local updater to install C.63
3. Got C.63 boot.img already. And patched before hand.
4. Booted to fastboot, fastboot boot patchedboot.img, phone booted fine.
5. Cancel the asking to install something for magisk to work. Direct install. Reboot and qualcomm crashdump

Question: how to fix this?
Should I have installed the thing they asked, get reboot and lost temporary root, fastboot boot patched again and direct install?

I tried to switch slot (B) but it always gets back to slot A.

I wanted to write my process so you smarts know the dumb things I did and maybe be able to help me.
Thank you in advance.
 

sansanc

Senior Member
Oct 1, 2014
726
127
Guys i'm on c62 rooted. If i upgrade to c64, can i simply install magisk to both slots as usual before rebooting? EU version. Oh, do i need to install the ROM's full version or partial is ok?
 

phoneturf

Senior Member
Feb 28, 2008
386
120
OnePlus 9
Can't get fastboot on PC to connect to phone on Android 13 beta 2. ADB works.

I tried to extract the boot image with payload dumper but it does not show a boot.img file. I found software called fastboot enhance that does, so using it, I extracted boot.img, loaded to the phone, patched it with magisk, copied back to the PC. So now all I should have to do is fastboot boot magiskboot.img and run magisk. But despite the phone being in fastboot, neither platform tools fastboot nor the fastboot in fastbootEnhance see the phone. Anyone gotten fastboot to work in Android 13?

Adb devices does work on the phone when you choose "transfer files with USB" when plugging in the cable.

Where I got the file in the Oneplus community forums there is also a downgrade procedure to get back to 12, which includes a complete ROM, so I will do that if I can't get 13 rooted.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    This is for Europe (11.2.2.2.LE25DA). If you are on Global, EU version works, but up to you. It appears for last year, unless you are from India, OnePlus doesn't care. It might be a while before a Full OTA update for Global is released, you'll notice updates come without it for Global or on their Global support site, the firmware is outdated.
    - On T-Mobile have full 5G. I don't know about AT&T and Verizon. Should be same.

    If you are on Global and you just received your phone. Do all the updates from the incremental through device. If you want root, you can flash with the EU patched boot.img and everything will work as normal
    **** but once you do this, you will need to wait for Global full OTA to update next time, unless you managed to have a backup copy of the unpatched boot.img

    Do the usual to unlock your OnePlus 9: oem unlock, usb debugging from developer. Boot into bootloader and use adb command /fastboot flashing unlock

    This will wipe your phone and reboot. Setup your phone

    Install Magisk from his official github: https://github.com/topjohnwu/Magisk/releases/tag/v22.0
    - Topjohn provides full instructions on how to do this yourself as well.

    Reboot into bootloader

    Flash boot the magisk modified boot.img. /fastboost flash boot boot.img

    Go into Magisk app and install via direct install and all done.

    Return to stock
    - Restore boot.img from Magisk
    - Uninstall Magisk
    - Flash the stock boot.img
    - Relock the bootloader, will wipe and return to factory reset.

    Stock 11.2.33 Boot.img
    Magisk Patched 11.2.33 boot.img

    Patched Boot.img for Europe (11.2.2.2.LE25DA)
    Stock Boot.img for Europe (11.2.2.2.LE25DA)

    Future Full OTA Updates
    - Update as usual
    - Go into Magisk and choose direct install and then install to inactive slot after OTA
    - This will retain root

    How to do it yourself:

    Download full OTA, usually Oxygen Updater App, XDA has links or from https://www.oneplus.com/support/softwareupgrade

    Download Payload Dumper

    Extract and place payload.bin in input folder
    output.jpg


    Run the payload_dumper.exe

    In the output folder will be boot.img, move that onto your phone, folder of your choice

    Go to Magisk app, click install
    Choose Select and Patch a File
    Choose the file and it will patch it, Magisk will say where the file is located.
    That is your patched boot.img file. Use that to flash / root your phone.

    Remember only have do this once, you don't have to do this again with subsequent updates.
    4
    11.2.4.4LE25AA is out!

    Here's what I did to get the partial OTA
    --always back up your critical data--
    0. Download Magisk-patched boot.img and SDK tools
    1. Uninstall Magisk (restore backup)
    2. Reboot
    3. Settings>System>Check for update> Download and install>Reboot
    4. Verify installation (Settings >About phone)
    5. Reboot to bootloader
    6. Hookup phone to desktop, navigate to the directory with patched boot.img
    7. "Fastboot devices" to ensure connection
    8. "Fastboot boot boot11244magisk.img"
    9. Once the OP9 started rebooting, I pulled out the USB and let it finish booting up
    10. Launch Magisk, tap Install, and then select Direct Installation. Reboot!

    Here's the Magisk-patched 11244AA boot.img:
    4
    I uploaded 11.2.6.6DA images here
    3
    This method worked for me, though I'm now running the same issue as Slikkster2k, since I don't have an unpatched boot.img, I can't uninstall magisk to update via OTA.

    I would suggest, for those wanting to be able to update in the future (until we get a custom recovery), that instead of /fastboot flash boot boot.img, use /fastboot boot boot.img and then let Magisk finish the install. When Magisk patches the boot image, it will take a backup of the stock one to be used for uninstallation.
    3
    I'm on 11.2.7.7.LE25BA Europe version and I just made an img for use with this guide if you want to save yourselves the trouble of making one: