How To Guide Root OnePlus 9

Search This thread

shadabkiani

Senior Member
Mar 2, 2018
647
269
Pakistan
HTC 10
OnePlus 9
Thanks.
How do I disable the notification from Google Play Services that an OTA Android 13 update will be automatically installed by May 15, 2023?

Edit: Went to settings/apps and selected Google Play Services, unchecked notifications. I'll see if this works.

Edit 2: now I'm getting notifications from system update. I don't see a way to turn that off?
When there's a notification, long tap on the notification and go to that notification's settings. Maybe you can disable fron there.
 

gullzway

Senior Member
Nov 17, 2007
431
84
When there's a notification, long tap on the notification and go to that notification's settings. Maybe you can disable fron there.
It actually just shows up on screen, not as a notification. If you swipe up as if you were going to make it go away you can see that it's from system update, but it does not show up in notification history. And I don't see any way to change settings for system update notifications.
 

Attachments

  • Screenshot_2023-06-11-17-44-46-15_f7aa348215f5d566f9e4ca860f474209.jpg
    Screenshot_2023-06-11-17-44-46-15_f7aa348215f5d566f9e4ca860f474209.jpg
    500.8 KB · Views: 16
  • Screenshot_2023-06-11-17-44-57-26_b783bf344239542886fee7b48fa4b892.jpg
    Screenshot_2023-06-11-17-44-57-26_b783bf344239542886fee7b48fa4b892.jpg
    358.7 KB · Views: 17

shadabkiani

Senior Member
Mar 2, 2018
647
269
Pakistan
HTC 10
OnePlus 9
It actually just shows up on screen, not as a notification. If you swipe up as if you were going to make it go away you can see that it's from system update, but it does not show up in notification history. And I don't see any way to change settings for system update notifications.
It seems Automatic System Update option was already enabled in Developer Options, and by the time you disabled it, it had already been done. Have you rebooted your phone? What happens if you do?
 

gullzway

Senior Member
Nov 17, 2007
431
84
It seems Automatic System Update option was already enabled in Developer Options, and by the time you disabled it, it had already been done. Have you rebooted your phone? What happens if you do?
I have not, I'll do that and see what happens . I've had Auto update in developer options disabled for over a year.
 

MattsSoScene

Member
Mar 5, 2011
12
7
I recently rooted my OnePlus 9 and I was wondering if anyone had a list of safe to remove programs for the phone. I have basically turned it into a mobile handheld for gaming, so I really do not need anything that isn't absolutely crucial for that.
 

gullzway

Senior Member
Nov 17, 2007
431
84
Updated anyway?
 

Attachments

  • Screenshot_2023-06-12-18-16-49-63_f7aa348215f5d566f9e4ca860f474209.jpg
    Screenshot_2023-06-12-18-16-49-63_f7aa348215f5d566f9e4ca860f474209.jpg
    122.6 KB · Views: 13

gullzway

Senior Member
Nov 17, 2007
431
84
Since you are rooted, the update will fail
Well, so much for that.
I hit restart the next time that message popped up.

Rooted with Magisk and my phone updated to Android 13.

Looks like my phone is No Longer rooted as well?
Edit: I guess the good news is : Tethering bypasses I had installed with magisk modules is still working(not counting hotspot data) and Screen2Auto still working. May just run unrooted for a while.

Assume I can just extract the new boot.img with MSM Tool, patch, and boot to get rooted again?
 

Attachments

  • Screenshot_2023-06-12-18-16-40-40_fc704e6b13c4fb26bf5e411f75da84f2.jpg
    Screenshot_2023-06-12-18-16-40-40_fc704e6b13c4fb26bf5e411f75da84f2.jpg
    240 KB · Views: 22
Last edited:

Z-Blade

Senior Member
Jan 29, 2012
832
382
Perth
I recently rooted my OnePlus 9 and I was wondering if anyone had a list of safe to remove programs for the phone. I have basically turned it into a mobile handheld for gaming, so I really do not need anything that isn't absolutely crucial for that.
Us the universal debloater to debloat your phone. You don't need root for this but you do need a computer. Each item will have a description of what it does so you at least have a rough idea if you need it or not however, some apps will have dependencies to other apps and services so still be careful of what you decide to remove.

 
  • Like
Reactions: forestnew

shadabkiani

Senior Member
Mar 2, 2018
647
269
Pakistan
HTC 10
OnePlus 9
Well, so much for that.
I hit restart the next time that message popped up.

Rooted with Magisk and my phone updated to Android 13.

Looks like my phone is No Longer rooted as well?
Edit: I guess the good news is : Tethering bypasses I had installed with magisk modules is still working(not counting hotspot data) and Screen2Auto still working. May just run unrooted for a while.

Assume I can just extract the new boot.img with MSM Tool, patch, and boot to get rooted again?
You were rooted and update still went ahead? Weird. It fails if boot partition is patched.
 

shadabkiani

Senior Member
Mar 2, 2018
647
269
Pakistan
HTC 10
OnePlus 9

TimmyP

Senior Member
Mar 5, 2008
554
109
I recently rooted my OnePlus 9 and I was wondering if anyone had a list of safe to remove programs for the phone. I have basically turned it into a mobile handheld for gaming, so I really do not need anything that isn't absolutely crucial for that.

Dont remove anything its a waste unless you must keep the rooted OP firmware for some reason. Just install LineageOS. There is zero reason to debloat this phone considering the ease of rooting and official LineageOS support, and even if you tried you wont strip as much as Lineage does.
 
Jul 7, 2023
5
0
Can you please give me the stock latest boot img. i wanna root. Oxygen os 13.1 and build number is LE2115_13.1.0.582(EX01), my device is OnePlus 9 5G single sim global. Please give me the right boot img.
Screenshot_2023-07-07-10-44-52-73_fc704e6b13c4fb26bf5e411f75da84f2.jpg
 

Attachments

  • Screenshot_2023-07-07-18-43-25-68_fc704e6b13c4fb26bf5e411f75da84f2.jpg
    Screenshot_2023-07-07-18-43-25-68_fc704e6b13c4fb26bf5e411f75da84f2.jpg
    201.3 KB · Views: 14
  • Screenshot_2023-07-07-12-24-37-71_054ec268530ec348fc1d6bdef494c2ee.jpg
    Screenshot_2023-07-07-12-24-37-71_054ec268530ec348fc1d6bdef494c2ee.jpg
    379.9 KB · Views: 18
  • Screenshot_2023-07-07-14-05-20-44_fc704e6b13c4fb26bf5e411f75da84f2.jpg
    Screenshot_2023-07-07-14-05-20-44_fc704e6b13c4fb26bf5e411f75da84f2.jpg
    268.9 KB · Views: 15

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Sorry, I don't exactly understand what you mean.

    I'm currently rooted with magisk.
    So I can update without rebooting and install magisk in inactive slot?

    I'm still working this out myself, but I'll attempt to elaborate a bit more.

    The only way to successfully complete an OTA update is if your boot partition is untouched, but magisk modifies boot image, hence your problem.

    The solution is for Magisk to temporarily restore the boot partition to its original state, using the instructions offered by @shadabkiani. However as he said, this is only assuming that magisk made a copy of your original image when you installed it, which depends on whether you did so using the recommended method of temporarily booting the patched image and allowing Magisk to make a backup before permanent install.

    But even if you did not use this method you may be able to find the correct clean boot image shared on this thread and flash it manually, which should allow the OTA update to Android 14
    1
    @shadabkiani I'm curious to know the origin of this method. I see you've been kindly recommending it throughout this forum, and Magisk itself seems designed for it (since it detects and automatically backs up the clean boot image) but the official instructions still recommend flashing, as well as this very guide, and if it wasn't for you explicitly recommending that I use the temp method I would've made the same mistake as everyone else.

    And I'm assuming this isn't specific to OP9 - just a quick glance at the Magisk forum shows people complaining as recently as a few days ago about how difficult it is to navigate ROM updates using the official instructions.
    I read it in this thread or something similar about rooting OnePlus 9. The reason that official method asks for flashing directly is because not all phones support temporarily booting a given boot.img/recovery.img. My HTC 10 can't temporarily boot a patched img. I have to flash it. Also, even if you flash the patched image, you should still have original boot.img somewhere cause that's what you used to patch in the first place. But people often tend to lose/delete original boot.img once they get root without realising they would still need it later in order for OTA to proceed. That's why temporarily boot the patched img and then using direct install from Magisk is a more convenient way cause it will take original backup and store on the phone in /data.
  • 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: