• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[MAGISK]Root OnePlus 7 Pro With Patched Boot Image 9.5.3 | 9.5.4

Search This thread

acervenky

Recognized Contributor
Mar 25, 2012
2,325
4,920
Mumbai
POCO M2 Pro
Xiaomi Mi 10T / 10T Pro
Prerequisites :
Running Stock OOS
Unlocked Bootloader
Fastboot

Disclaimer : I am not responsible for any damage to your device.

Download : [ALL VARIANTS]
OOS Patched Boot Images (Credits : @Bradl79 for maintaining the folder)

9.5.4 Boot Images :
OOS 9.5.4 Patched [EU Version/1913]
OOS 9.5.4 Patched [Global | Indian Version /1917 | 1911]



Want To Maintain Root On New OTAs?:
#171

Patched Boot Image Not Available For Your Model Yet? :
#6

Instructions :
  • Download the patched boot image
  • Install the latest version of Magisk Manager
  • Reboot the phone in fastboot mode
  • Use the following command via command prompt :
    Code:
    fastboot flash boot boot_patched.img
    fastboot reboot
    The phone will reboot into system, this may take some time be patient
  • Open Magisk & Install it again[Direct Install]
  • You've got a rooted OnePlus 7 Pro.

Credits :
gururoop (Stock Firmware)
b1czu (Instructions)

Regards,
acervenky
 
Last edited:

zanderzone

Senior Member
Sep 14, 2011
194
49
It seems that the size difference is vast, so I would request one of you to download the stock boot.img from the repository, patch it and rechceck the file size.
You can try the patched boot.img and inform whether it works, for any issues/help PM me.

Link to repository : Github

Regards,
acervenky

I am upgrading the firmware to 9.5.3 right now. As soon as it finishes, I would try and report back

EDIT : The patched boot image on my phone is 56.32 MB so yes there is substantial size difference. Let me try booting from it
 
Last edited:

GoodSoul

Senior Member
Oct 10, 2010
242
313
▂ ▃ ▅ ▆ █
www.google.com
You can also patch the boot.img yourself.

Here is how:
.) Download latest Stock OOS
.) Extract boot.img using payload.bin dumper (needs python)
.) Install Magisk Manager on your device
.) Copy boot.img to your device
.) Patch boot.img using Magisk Manager
.) Copy patched boot.img to your pc, reboot your phone to fastmode and use 'fastboot boot patched_boot.img' to boot from patches bootimage.
.) Run Magisk Manager, choose direct install
-> Voila, you have a rooted OP7pro.
 
Last edited:

acervenky

Recognized Contributor
Mar 25, 2012
2,325
4,920
Mumbai
POCO M2 Pro
Xiaomi Mi 10T / 10T Pro
Am Trying To Port OnePlus 6T TWRP Recovery. Just Got My Hands On The Stock Recovery. Will Update If It Works

I am upgrading the firmware to 9.5.3 right now. As soon as it finishes, I would try and report back

EDIT : The patched boot image on my phone is 56.32 MB so yes there is substantial size difference. Let me try booting from it

Please post the screenshots if you guys have successfully rooted, will update the OP accordingly :)

You can also patch the boot.img yourself.

Here is how:
.) Download latest Stock OOS
.) Extract boot.img using payload.bin extractor (needs python)
.) Install Magisk Manager on your device
.) Copy boot.img to your device
.) Patch boot.img using Magisk Manager
.) Copy patched boot.img to your pc, reboot your phone to fastmode and use 'fastboot boot patched_boot.img' to boot from patches bootimage.
.) Run Magisk Manager, choose direct install
-> Voila, you have a rooted OP7pro.
Yes if you're on another version of OOS, this method works :)

Regards,
acervenky
 

GoodSoul

Senior Member
Oct 10, 2010
242
313
▂ ▃ ▅ ▆ █
www.google.com

b0uNz

Senior Member
Feb 23, 2010
162
72
Dusseldorf
Thanks for the patched boot.img but this command did not work for me

Code:
fastboot boot patched_boot.img

For me this has worked

1. Install Magisk Manager
2.. Reboot device to bootloader
3.. open cmd at the location of the extracted patched_boot.img
4.. In cmd type
Code:
fastboot flash boot_a patched_boot.img
5.. In cmd type
Code:
fastboot flash boot_b patched_boot.img
6.. In cmd type
Code:
fastboot reboot
7.. Open Magisk Manager, it will prompt you with additional files are needed to complete Magisk install, go ahead and download the files.
8. After a few seconds, install will be complete and you will be rooted!
 
Apr 18, 2011
14
2
Thanks for the patched boot.img but this command did not work for me

Code:
fastboot boot patched_boot.img

For me this has worked

1. Install Magisk Manager
2.. Reboot device to bootloader
3.. open cmd at the location of the extracted patched_boot.img
4.. In cmd type
Code:
fastboot flash boot_a patched_boot.img
5.. In cmd type
Code:
fastboot flash boot_b patched_boot.img
6.. In cmd type
Code:
fastboot reboot
7.. Open Magisk Manager, it will prompt you with additional files are needed to complete Magisk install, go ahead and download the files.
8. After a few seconds, install will be complete and you will be rooted!

Hey man

Thanks for this, your commands worked but unfortunately I messed up my phone. Kinda new to rooting. Just realized I was on 9.5.4 on a GM1913. The patched boot image on here for 9.5.3 broke my wifi and the settings app completely unstable, it crashes constantly.

Not sure if the problem was that I used the boot image for 9.5.3 on 9.5.4 or because the patched boot image on here was intendend for other versions of the OP7P and not the European GM1913.

Does anyone have a flashable zip for the GM1913? Alternatively a stock or patched boot image intended for 9.5.4 GM1913? Any help would be much appreciated, still no OP7 here https://www.oneplus.com/support/softwareupgrade so I am stuck with a non working phone :(
 

SkandaH

XDA Portal Supporter
Jun 8, 2013
969
2,566
@acervenky @b0uNz @GoodSoul

Unlike older OnePlus phones, the current bootloader of the OnePlus 7 Pro doesn't allow 'fastboot boot' (also known as tethered booting) command. The situation is same as Essential PH-1 as well some other phones.

You will get something like the following:
Code:
downloading 'boot.img'...
OKAY [  1.215s]
booting...
FAILED (remote: unknown command)
 
Last edited:
Apr 18, 2011
14
2
@acervenky @b0uNz @GoodSoul

Unlike older OnePlus phones, the current bootloader of the OnePlus 7 Pro doesn't allow 'fastboot boot' (also known as tethered booting) command. The situation is same as Essential PH-1 as well some other phones.

You will get something like the following:
Code:
downloading 'boot.img'...
OKAY [  1.215s]
booting...
FAILED (remote: unknown command)

Yep, that's the same error I got initially. Do you have any idea as to what went wrong with my phone?

I am wondering if I messed up because I flashed the patched boot.img for 9.5.3 while being on 9.5.4, or if it's because it was for the wrong version, I have a GM1913.
Are boot images unique for each model, like GM1913, GM1917 etc?
 

acervenky

Recognized Contributor
Mar 25, 2012
2,325
4,920
Mumbai
POCO M2 Pro
Xiaomi Mi 10T / 10T Pro
@acervenky @b0uNz @GoodSoul

Unlike older OnePlus phones, the current bootloader of the OnePlus 7 Pro doesn't allow 'fastboot boot' (also known as tethered booting) command. The situation is same as Essential PH-1 as well some other phones.

You will get something like the following:
Code:
downloading 'boot.img'...
OKAY [  1.215s]
booting...
FAILED (remote: unknown command)
Thanks for reporting, I'll update the OP accordingly.

Regards,
acervenky
 
  • Like
Reactions: Titokhan
Apr 18, 2011
14
2
Hey guys, for anyone that has OOS 9.5.4. Here is a patched boot image for it! https://www.androidfilehost.com/?fid=1395089523397968832

Hey man, thank you! :good::good::D You might have just saved my day. Quick question before I flash it though, is this for the GM1913 or GM1917?

---------- Post added at 10:12 PM ---------- Previous post was at 10:03 PM ----------

Hey guys, for anyone that has OOS 9.5.4. Here is a patched boot image for it! https://www.androidfilehost.com/?fid=1395089523397968832

Never mind, I couldn't wait so I tried it and my phone is fixed! I am rooted and wifi and the settings are working again. Thank you so much.

@acervenky, could you add the 9.5.4 boot image to the OP? Just to avoid any other noobs like myself messing up their brand new phone like I did with the wrong boot image..
Also does anyone know if boot images are specific to different models? Are they different on GM1913, 1915, 1917 etc? Would be good to mention that in the OP too if so.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 59
    Prerequisites :
    Running Stock OOS
    Unlocked Bootloader
    Fastboot

    Disclaimer : I am not responsible for any damage to your device.

    Download : [ALL VARIANTS]
    OOS Patched Boot Images (Credits : @Bradl79 for maintaining the folder)

    9.5.4 Boot Images :
    OOS 9.5.4 Patched [EU Version/1913]
    OOS 9.5.4 Patched [Global | Indian Version /1917 | 1911]



    Want To Maintain Root On New OTAs?:
    #171

    Patched Boot Image Not Available For Your Model Yet? :
    #6

    Instructions :
    • Download the patched boot image
    • Install the latest version of Magisk Manager
    • Reboot the phone in fastboot mode
    • Use the following command via command prompt :
      Code:
      fastboot flash boot boot_patched.img
      fastboot reboot
      The phone will reboot into system, this may take some time be patient
    • Open Magisk & Install it again[Direct Install]
    • You've got a rooted OnePlus 7 Pro.

    Credits :
    gururoop (Stock Firmware)
    b1czu (Instructions)

    Regards,
    acervenky
    36
    Has anyone tried this last option here, before rebooting after installing OTA?View attachment 4765801

    Sent from my GM1913 using Tapatalk
    Okay, I just tried it, and it works perfectly!

    1. Check for updates.
    2. Click update (or install)
    3. DO NOT REBOOT
    4. Go to Magisk
    5. Press install and select the after OTA option
    6. Reboot
    7. Profit!

    Sent from my GM1913 using Tapatalk
    32
    You can also patch the boot.img yourself.

    Here is how:
    .) Download latest Stock OOS
    .) Extract boot.img using payload.bin dumper (needs python)
    .) Install Magisk Manager on your device
    .) Copy boot.img to your device
    .) Patch boot.img using Magisk Manager
    .) Copy patched boot.img to your pc, reboot your phone to fastmode and use 'fastboot boot patched_boot.img' to boot from patches bootimage.
    .) Run Magisk Manager, choose direct install
    -> Voila, you have a rooted OP7pro.
    8
    Thanks for the patched boot.img but this command did not work for me

    Code:
    fastboot boot patched_boot.img

    For me this has worked

    1. Install Magisk Manager
    2.. Reboot device to bootloader
    3.. open cmd at the location of the extracted patched_boot.img
    4.. In cmd type
    Code:
    fastboot flash boot_a patched_boot.img
    5.. In cmd type
    Code:
    fastboot flash boot_b patched_boot.img
    6.. In cmd type
    Code:
    fastboot reboot
    7.. Open Magisk Manager, it will prompt you with additional files are needed to complete Magisk install, go ahead and download the files.
    8. After a few seconds, install will be complete and you will be rooted!