How To Guide Root OnePlus 9

Search This thread

rophiroth

Senior Member
Dec 11, 2010
519
34
I couldn't do a direct install(magisk manager force close), I try to install on unused slot and reboot... now phone is bricked.

phone is LE2111 I use patched boot of DA12.c60 of the that post

PS: I have to restart into bootloader, then fastboot --set-active=a and reboot, then direct install works, reboot, and now its rooter. Thanks
 
Last edited:

teh_pwnrer

Senior Member
Jun 3, 2012
149
21
I need a stock boot.img OnePlus 9 in the USA purchased from T-Mobile I have searched the forums and can't find it the bootloader is unlocked, I'm on 11.2.7.7 out of the box I'm trying to root so I can block the Android 12 update and stay on Android 11
 
  • Like
Reactions: BRANDENDEUCE

NLhardcore

Senior Member
Feb 2, 2014
100
20
36
Cuijk
Samsung Galaxy Note 3
OnePlus 6
After 3.times trying I have LE2113_11_C.48 Android 12 with magisk and working Viper4Android plus as always ainur_sauron with custom setting and that gives very good sound even with Bluetooth !
 

Attachments

  • Screenshot_2022-07-08-20-00-50-95_f7aa348215f5d566f9e4ca860f474209.jpg
    Screenshot_2022-07-08-20-00-50-95_f7aa348215f5d566f9e4ca860f474209.jpg
    151.6 KB · Views: 57
  • Screenshot_2022-07-08-20-01-08-82_fc704e6b13c4fb26bf5e411f75da84f2.jpg
    Screenshot_2022-07-08-20-01-08-82_fc704e6b13c4fb26bf5e411f75da84f2.jpg
    196.3 KB · Views: 58
  • Screenshot_2022-07-08-20-03-09-08_1f7d930ac4546e961acbbe2ed3d9ab7f.jpg
    Screenshot_2022-07-08-20-03-09-08_1f7d930ac4546e961acbbe2ed3d9ab7f.jpg
    392.4 KB · Views: 56

Nick James

Senior Member
Feb 5, 2011
491
129
OnePlus 9
Google Pixel 7 Pro
Have any of you had experience with using a OP9 Pro boot.img on a OP9 (non Pro)? I got stuck on C.61 unrooted after upgrading from C.48 to C.61. I started messing around with the flashing different boot.img's and eventually couldn't boot my phone (forgot to use fastboot boot instead of fastboot flash). Desperate I flashed a C.61 OP9 Pro stock boot.img and it got me back into a working C.61. The same user provided a patched magisk boot.img on v25.1 and thought I'd try it and sure enough, it worked. All my magisk settings were still in there too. And certified on Google Play.

Anyhow... interesting day in Android flashing to say the least. :cowboy:
 
  • Wow
Reactions: No.9527

No.9527

Member
Oct 15, 2018
7
2
Have any of you had experience with using a OP9 Pro boot.img on a OP9 (non Pro)? I got stuck on C.61 unrooted after upgrading from C.48 to C.61. I started messing around with the flashing different boot.img's and eventually couldn't boot my phone (forgot to use fastboot boot instead of fastboot flash). Desperate I flashed a C.61 OP9 Pro stock boot.img and it got me back into a working C.61. The same user provided a patched magisk boot.img on v25.1 and thought I'd try it and sure enough, it worked. All my magisk settings were still in there too. And certified on Google Play.

Anyhow... interesting day in Android flashing to say the least. :cowboy:

Could you please provide which thread and your device model?

I wanna be the Kamikaze No.2.
 
  • Haha
Reactions: Nick James

Nick James

Senior Member
Feb 5, 2011
491
129
OnePlus 9
Google Pixel 7 Pro

Attachments

  • Screenshot_2022-07-10-23-12-31-32_fc704e6b13c4fb26bf5e411f75da84f2.jpg
    Screenshot_2022-07-10-23-12-31-32_fc704e6b13c4fb26bf5e411f75da84f2.jpg
    83.8 KB · Views: 58
  • Love
Reactions: No.9527

No.9527

Member
Oct 15, 2018
7
2
Post #1264

Op9, LE2115, unlocked boatloader, C.61
You're my HERO!!!

Magisk

MagiskHide Props Config

Shamiko

SafetyNet Fix

Zygisk

It all work perfectly (at least for past 4 hours)



I could get my Gpay back!!!

Thank UUUUUUU
 
Last edited:
  • Love
Reactions: Nick James

AtoZ0to9

Senior Member
Jul 27, 2007
9,705
3,030
OnePlus 5T
OnePlus 9
Gonna give this boot a shot also. I can't use OOS anymore without root, and probably won't use it anymore after long since the device controls broke. BUT. I have to break some **** first.

All this MSM, oem unlock, factory reset crap is tedious. I miss the days of swift backup or migrate to get a new ROM setup.

I'm honestly just thinking of switching to a different brand but I've been true to OP since the 1+1. Had a nexus one. I like pure unadulterated, easy to root, and ROM, with plenty of development. That doesn't seem to exist anymore.

Samung. Dog****. Super bloated software, knox, tons of red tape.

Pixel phones. Seems like the pixel 6 series is plagued with bugs. And no roms?

So what is the go-to phone now for development? It used to be pixel / OP, now I'm not so sure.
 

AtoZ0to9

Senior Member
Jul 27, 2007
9,705
3,030
OnePlus 5T
OnePlus 9
Successfully rooted C.61 fastboot booting the posted patched .img and direct install. Now to figure out why titanium backup and root explorer won't delete system apps. Guess I'll have a look at the debloat guide.
 
Post #1264

Op9, LE2115, unlocked boatloader, C.61
Can confirm that this works.

Just got a 1+9 to upgrade from a 1+7t and at one point I thought I f**ked up everything after bricking the device, but after using MSM to flash the 1+9Pro indian variant, then MSM flashing the 1+9 EU variant and then upgrading the firmware to C.47 (EU), I was hesitant in upgrading to C.61 potentially losing root privileges, but this patch from the equivalent on the 1+9Pro seems to have done the job.

I booted into it from fastboot without flashing at first to check, running Magisk & a root checker seemed to work fine so I then went back into fastboot to flash the boot image and so far so good. If anything screws up in the next few days I'll post it here, but thanks for the tip as well as the guides that meant I didn't need to send my new phone to OnePlus for repair. 👍
 

xHalt

Member
Mar 5, 2011
9
3
OnePlus Nord
Method confirmed to work for OnePlus 9 EU (LE2113) and OnePlus 9 Global (LE2115) - Enjoy!

Update rooted C.47 to C.61:
  1. Open magisk, click 'Uninstall magisk'
  2. Reboot
  3. Updated via standard system update to C.61 . (At first it failed at 99% for me, but on second try it completed successfully). Alternatively: try the Oxygen updater to download the C.61 OTA incremental update.
  4. Reboot

Easy way to root C.61:
  1. Download the patched boot.img:
    • EU (LE2113 - Europe) from Mega
    • or Global (LE2115) from GDrive or Mega
  2. Place the downloaded boot file in the same folder as your adb.
  3. Open a terminal or command prompt in that folder and execute: "adb reboot bootloader"
  4. Execute "fastboot boot .\C.61_boot_magisk_patched-25100_Bvj5U.img" to temporarily boot the patched boot file.
  5. Download & install Magisk 25.1.
  6. Open Magisk. If it indicates 'Installed Magisk: n/a', you're device was not correctly rooted. If it says 25.1, you can patch your boot to make the root stay:
  7. Select 'Direct Install' and reboot.
  8. Congrats!

DIY way:

All files here on a Mega folder if it helps you guys save time :)
  1. Download C.61 OTA incremental update from the cellphone (both in-built system update and Oneplus Updater give the same download).
  2. Use Payload dumper to extract the stock boot.img and copy it to your phone.
  3. Download and install Magisk 25.1 on your phone, use 'Select and Patch a File' to patch the stock boot.img which creates magisk_patched-25100_4vi6c.img
  4. Copy this file to your desktop and run the following commands to boot the patch:
    • boot in fastboot: "adb reboot bootloader" in terminal
    • temporarily boot the patched boot file: "fastboot boot .\magisk_patched-25100_4vi6c.img"
  5. After reboot, open Magisk. If it indicates 'Installed Magisk: n/a', you're device was not correctly rooted. If it says 25.1, you can patch your boot to make the root stay:
  6. Select 'Direct Install' and reboot.
  7. Congrats!

(Optional) Way to extract your current boot file from a rooted phone:
  1. Ensure you're rooted
  2. Execute "adb reboot bootloader" on your pc
  3. To check the current active boot partition execute "fastboot getvar all" on your pc and look for "(bootloader) current-slot:a" meaning you'll be using boot_a.img later on or "(bootloader) current-slot:b" for boot_b.img
  4. Execute the following commands on your pc:
    • adb shell
    • su
    • dd if=/dev/block/bootdevice/by-name/boot_a of=/sdcard/Download/boot_a.img
    • dd if=/dev/block/bootdevice/by-name/boot_b of=/sdcard/Download/boot_b.img
    • exit
    • adb pull /sdcard/Download/boot_a.img boot_a.img
    • adb pull /sdcard/Download/boot_b.img boot_b.img
  5. Whichever boot partition was active in step 3 is the one you want
 
  • Like
Reactions: AxelM and Ivixmax

Nick James

Senior Member
Feb 5, 2011
491
129
OnePlus 9
Google Pixel 7 Pro
Method confirmed to work for OnePlus 9 EU (LE2113) and OnePlus 9 Global (LE2115) - Enjoy!

Update rooted C.47 to C.61:
  1. Open magisk, click 'Uninstall magisk'
  2. Reboot
  3. Updated via standard system update to C.61 . (At first it failed at 99% for me, but on second try it completed successfully). Alternatively: try the Oxygen updater to download the C.61 OTA incremental update.
  4. Reboot

Easy way to root C.61:
  1. Download the patched boot.img:
    • EU (LE2113 - Europe) from Mega
    • or Global (LE2115) from GDrive or Mega
  2. Place the downloaded boot file in the same folder as your adb.
  3. Open a terminal or command prompt in that folder and execute: "adb reboot bootloader"
  4. Execute "fastboot boot .\C.61_boot_magisk_patched-25100_Bvj5U.img" to temporarily boot the patched boot file.
  5. Download & install Magisk 25.1.
  6. Open Magisk. If it indicates 'Installed Magisk: n/a', you're device was not correctly rooted. If it says 25.1, you can patch your boot to make the root stay:
  7. Select 'Direct Install' and reboot.
  8. Congrats!

DIY way:

All files here on a Mega folder if it helps you guys save time :)
  1. Download C.61 OTA incremental update from the cellphone (both in-built system update and Oneplus Updater give the same download).
  2. Use Payload dumper to extract the stock boot.img and copy it to your phone.
  3. Download and install Magisk 25.1 on your phone, use 'Select and Patch a File' to patch the stock boot.img which creates magisk_patched-25100_4vi6c.img
  4. Copy this file to your desktop and run the following commands to boot the patch:
    • boot in fastboot: "adb reboot bootloader" in terminal
    • temporarily boot the patched boot file: "fastboot boot .\magisk_patched-25100_4vi6c.img"
  5. After reboot, open Magisk. If it indicates 'Installed Magisk: n/a', you're device was not correctly rooted. If it says 25.1, you can patch your boot to make the root stay:
  6. Select 'Direct Install' and reboot.
  7. Congrats!

(Optional) Way to extract your current boot file from a rooted phone:
  1. Ensure you're rooted
  2. Execute "adb reboot bootloader" on your pc
  3. To check the current active boot partition execute "fastboot getvar all" on your pc and look for "(bootloader) current-slot:a" meaning you'll be using boot_a.img later on or "(bootloader) current-slot:b" for boot_b.img
  4. Execute the following commands on your pc:
    • adb shell
    • su
    • dd if=/dev/block/bootdevice/by-name/boot_a of=/sdcard/Download/boot_a.img
    • dd if=/dev/block/bootdevice/by-name/boot_b of=/sdcard/Download/boot_b.img
    • exit
    • adb pull /sdcard/Download/boot_a.img boot_a.img
    • adb pull /sdcard/Download/boot_b.img boot_b.img
  5. Whichever boot partition was active in step 3 is the one you want
Can you confirm where you got the patched boot.img for 2115 global from? The reason I ask is the one I got for the OP9 Pro has the same matching MD5 as the one you provided. I have been unable to find a OP9 non-Pro 2115 global patched boot.img and would like to confirm if OP9 and OP9 Pro have the same boot.img. Thanks
 

AxelM

Senior Member
Jul 10, 2007
143
14
OnePlus 9
Well for me this works great. I had to reinstall c.47 first, otherwise the update was not installed properly. Now almost everything is fine...just the camera.app from oneplus is gone. Did you know where I could get the apk?
 

Nick James

Senior Member
Feb 5, 2011
491
129
OnePlus 9
Google Pixel 7 Pro
Well for me this works great. I had to reinstall c.47 first, otherwise the update was not installed properly. Now almost everything is fine...just the camera.app from oneplus is gone. Did you know where I could get the apk?
I remember going through this originally when I was updating to c.47. If the camera app is gone I would think about the integrity of the install/upgrade. It shouldn't disappear like that. I'm vaguely recalling that it could be hidden in the system. Search on XDA for my username and you'll find a history of what I ran into (I've already forgotten 😆)

Otherwise, no, I don't have a link to the APK.

Method confirmed to work for OnePlus 9 EU (LE2113) and OnePlus 9 Global (LE2115) - Enjoy!

Update rooted C.47 to C.61:
  1. Open magisk, click 'Uninstall magisk'
  2. Reboot
  3. Updated via standard system update to C.61 . (At first it failed at 99% for me, but on second try it completed successfully). Alternatively: try the Oxygen updater to download the C.61 OTA incremental update.
  4. Reboot

Easy way to root C.61:
  1. Download the patched boot.img:
    • EU (LE2113 - Europe) from Mega
    • or Global (LE2115) from GDrive or Mega
  2. Place the downloaded boot file in the same folder as your adb.
  3. Open a terminal or command prompt in that folder and execute: "adb reboot bootloader"
  4. Execute "fastboot boot .\C.61_boot_magisk_patched-25100_Bvj5U.img" to temporarily boot the patched boot file.
  5. Download & install Magisk 25.1.
  6. Open Magisk. If it indicates 'Installed Magisk: n/a', you're device was not correctly rooted. If it says 25.1, you can patch your boot to make the root stay:
  7. Select 'Direct Install' and reboot.
  8. Congrats!

DIY way:

All files here on a Mega folder if it helps you guys save time :)
  1. Download C.61 OTA incremental update from the cellphone (both in-built system update and Oneplus Updater give the same download).
  2. Use Payload dumper to extract the stock boot.img and copy it to your phone.
  3. Download and install Magisk 25.1 on your phone, use 'Select and Patch a File' to patch the stock boot.img which creates magisk_patched-25100_4vi6c.img
  4. Copy this file to your desktop and run the following commands to boot the patch:
    • boot in fastboot: "adb reboot bootloader" in terminal
    • temporarily boot the patched boot file: "fastboot boot .\magisk_patched-25100_4vi6c.img"
  5. After reboot, open Magisk. If it indicates 'Installed Magisk: n/a', you're device was not correctly rooted. If it says 25.1, you can patch your boot to make the root stay:
  6. Select 'Direct Install' and reboot.
  7. Congrats!

(Optional) Way to extract your current boot file from a rooted phone:
  1. Ensure you're rooted
  2. Execute "adb reboot bootloader" on your pc
  3. To check the current active boot partition execute "fastboot getvar all" on your pc and look for "(bootloader) current-slot:a" meaning you'll be using boot_a.img later on or "(bootloader) current-slot:b" for boot_b.img
  4. Execute the following commands on your pc:
    • adb shell
    • su
    • dd if=/dev/block/bootdevice/by-name/boot_a of=/sdcard/Download/boot_a.img
    • dd if=/dev/block/bootdevice/by-name/boot_b of=/sdcard/Download/boot_b.img
    • exit
    • adb pull /sdcard/Download/boot_a.img boot_a.img
    • adb pull /sdcard/Download/boot_b.img boot_b.img
  5. Whichever boot partition was active in step 3 is the one you want
Bumping this again -- Where did the Global OP9 C.61 patched boot.img come from. The MD5 on it matches the OP9 Pro boot.img that I got.
 
  • Like
Reactions: AxelM

AtoZ0to9

Senior Member
Jul 27, 2007
9,705
3,030
OnePlus 5T
OnePlus 9
Global LE2115, I presume that we are uninstalling root to go from C.61 to C.62, then rerooting, since the modified boot.img is available. I've yet to be successful preserving root with an OTA. Follow the proven path and just unroot, update, reroot?, or is there a working preservation technique?
 

arebelspy

Senior Member
Nov 18, 2003
99
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. So I always fail at the first step of updating (before even trying to root).

Well for me this works great. I had to reinstall c.47 first, otherwise the update was not installed properly.

How did you do a reinstall?
 

AxelM

Senior Member
Jul 10, 2007
143
14
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. So I always fail at the first step of updating (before even trying to root).



How did you do a reinstall?
I used the full variant from c.47 and installed it via the update app (OPLocalUpdate_For_Android12.apk). From there on I downloaded the incremental update and installed it afterwards.
 

arebelspy

Senior Member
Nov 18, 2003
99
9
I used the full variant from c.47 and installed it via the update app (OPLocalUpdate_For_Android12.apk). From there on I downloaded the incremental update and installed it afterwards.
Thanks! I was finally able to update my device by doing this full install method (with .c48, what I was on), which finally let me OTA update, and then use the patched boot. On .c62 rooted. Cheers!
 

morfances

Senior Member
Jun 10, 2013
1,956
498
Rome
OnePlus 5
OnePlus 9
I remember going through this originally when I was updating to c.47. If the camera app is gone I would think about the integrity of the install/upgrade. It shouldn't disappear like that. I'm vaguely recalling that it could be hidden in the system. Search on XDA for my username and you'll find a history of what I ran into (I've already forgotten 😆)

Otherwise, no, I don't have a link to the APK.


Bumping this again -- Where did the Global OP9 C.61 patched boot.img come from. The MD5 on it matches the OP9 Pro boot.img that I got.
I remember going through this originally when I was updating to c.47. If the camera app is gone I would think about the integrity of the install/upgrade. It shouldn't disappear like that. I'm vaguely recalling that it could be hidden in the system. Search on XDA for my username and you'll find a history of what I ran into (I've already forgotten 😆)

Otherwise, no, I don't have a link to the APK.


Bumping this again -- Where did the Global OP9 C.61 patched boot.img come from. The MD5 on it matches the OP9 Pro boot.img that I got.
LINK MAGISK not available
 

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: