A custom recovery like TWRP is usually preferred while flashing custom ROMs/kernels, taking Nandroid backups, wiping device partitions, etc. But if none of that is your concern and you just want to root your phone, then there’s no need to install TWRP on your OnePlus 7 device at all. In this guide, will show you how to Root OnePlus 7/OnePlus 7 Pro without TWRP Recovery.
The process is quite easy. All you’d need to do is, download the stock boot image for your OnePlus 7 (Pro), patch it using the latest Magisk Manager, and then flash the patched boot image to your device via fastboot.
Page Contents
Prerequisites
- Make a complete backup of all your data as your internal storage would be wiped. You could also have a look at our guide for the same.
- Make sure to charge your device up to a safe battery percentage. Minimum 50-60% is recommended. This will ensure that the device does not suddenly turn off during the rooting process.
- Rooting your OnePlus 7/OnePlus 7 Pro will require an unlocked bootloader. If you haven’t unlocked yet, then follow the instructions in this guide.
- The instructions in this guide involve using the fastboot tool, which is part of the Android SDK platform-tools package. You can download the latest platform-tools package for your Windows, macOS, or Linux PC from here and install the tools to a suitable location on the PC.
- Also, make sure to install the latest OnePlus USB Drivers on your PC.
Make sure that you fulfill all the requirements above before you proceed to the instructions below to root OnePlus 7/7 Pro without TWRP recovery.
→ Recommended: Download Google Camera Port for OnePlus 7 and OnePlus 7 Pro
Download OnePlus 7 (Pro) Stock Boot Images
Below we have provided stock boot images for all OxygenOS versions for both the OnePlus 7 and OnePlus 7 Pro (Global, European, and European 5G variants). Ensure that you download the version corresponding to the OxygenOS version installed on your phone.
Although we could have provided pre-patched boot images, we decided not to do so. That’s because when you patch the stock boot image by yourself, Magisk Manager takes a backup of your phone’s stock boot image. This makes it easier to further install OTA updates on your rooted OnePlus 7 device and also important should you want to uninstall Magisk and unroot completely.
If you have got your hands on a full ROM package of a more recent OxygenOS version, then use this tutorial to extract the payload.bin file. This will help you get the stock boot image for the latest OxygenOS version.
OnePlus 7
- Global variant (GM1901 and GM1905 model number):
- OxygenOS 10.0.2: stock_boot_oos_10.0.2_oneplus7_global.img
- OxygenOS 10.0.1: stock_boot_oos_10.0.1_oneplus7_global.img
- OxygenOS 10.0: stock_boot_oos_10.0_oneplus7_global.img
- OxygenOS 9.5.8: stock_boot_oos_9.5.8_oneplus7_global.img
- OxygenOS 9.5.7: stock_boot_oos_9.5.7_oneplus7_global.img
- European variant (GM1903 model number):
- OxygenOS 10.0.2: stock_boot_oos_10.0.2_oneplus7_eu.img
- OxygenOS 10.0.1: stock_boot_oos_10.0.1_oneplus7_eu.img
- OxygenOS 10.0: stock_boot_oos_10.0_oneplus7_eu.img
- OxygenOS 9.5.8: stock_boot_oos_9.5.8_oneplus7_eu.img
- OxygenOS 9.5.7: stock_boot_oos_9.5.7_oneplus7_eu.img
OnePlus 7 Pro
- Global variant (GM1911 and GM1917 model number):
- OxygenOS 10.0.2: stock_boot_oos_10.0.2_oneplus7pro_global.img
- OxygenOS 10.0.1: stock_boot_oos_10.0.1_oneplus7pro_global.img
- OxygenOS 10.0: stock_boot_oos_10.0_oneplus7pro_global.img
- OxygenOS 9.5.13: stock_boot_oos_9.5.13_oneplus7pro_global.img
- OxygenOS 9.5.11: stock_boot_oos_9.5.11_oneplus7pro_global.img
- EU Version (GM1913 model number):
- OxygenOS 10.0.2: stock_boot_oos_10.0.2_oneplus7pro_eu.img
- OxygenOS 10.0.1: stock_boot_oos_10.0.1_oneplus7pro_eu.img
- OxygenOS 10.0: stock_boot_oos_10.0_oneplus7pro_eu.img
- OxygenOS 9.5.11: stock_boot_oos_9.5.11_oneplus7pro_eu.img
- OxygenOS 9.5.10: stock_boot_oos_9.5.10_oneplus7pro_eu.img
- EU 5G (GM1920 model number):
- OxygenOS 9.5.11: stock_boot_oos_9.5.11_oneplus7pro_eu_5g.img
- OxygenOS 9.5.10: stock_boot_oos_9.5.10_oneplus7pro_eu_5g.img
- OxygenOS 9.5.7: stock_boot_oos_9.5.7_oneplus7pro_eu_5g.img
- OxygenOS 9.5.5: stock_boot_oos_9.5.5_oneplus7pro_eu_5g.img
Steps to Root OnePlus 7 (Pro) without TWRP Recovery
For your convenience and a better understanding of the method, we have split the instructions into different steps. Make sure that you follow them in the given order and do not do anything that deviates from the listed steps.
Step 1: Patch the Stock Boot Image using Magisk Manager
- Download the stock boot image for your OnePlus 7/OnePlus 7 Pro.
- Transfer the downloaded image file to your phone’s storage.
- Now download the latest Magisk Manager APK on your phone.
- Use a file browser app and install the downloaded APK file.
- Next, go to the app drawer and launch the ‘Magisk Manager‘ app.
- Tap on the ‘Install‘ button and select ‘Install‘.
- Select the ‘Select and Patch a File‘ option.
- Navigate through the phone’s storage and select the stock boot image file (e.g. stock_boot_oos_10.0.1_oneplus7_global.img).
- Magisk Manager will now start the patching process.
- Once finished, the resultant Magisk-patched boot image (magisk_patched.img) file would be placed in ‘[internal storage]\Download‘ of your phone.
Now that you have the Magisk Patched Boot Image, move down to the final step to root OnePlus 7/7 Pro without TWRP.
Step 2: Flash Magisk Patched Boot Image to root OnePlus 7/OnePlus 7 Pro
- Transfer the ‘magisk_patched.img‘ file to the directory on the PC where the Android SDK platform-tools (ADB and fastboot) are present.
- Boot your OnePlus 7/7 Pro into Bootloader Mode by pressing and holding the Volume Down and Power buttons together.
- Connect your phone to the PC using the USB cable once it is in Bootloader Mode.
- Launch the command-line tool on your PC:
- PowerShell on Windows: Hold the SHIFT key and right-click on an empty space inside the ‘platform-tools’ folder, then select ‘Open PowerShell window here’.
- Terminal on macOS/Linux: ‘cd’ to the ‘platform-tools’ folder. For example: If you extracted the payload_dumper.zip’ to the ‘Documents’ folder, then the command should look like:
cd Documents/platform-tools
- PowerShell on Windows: Hold the SHIFT key and right-click on an empty space inside the ‘platform-tools’ folder, then select ‘Open PowerShell window here’.
- Enter the following code to flash the patched boot image and root OnePlus 7/7 Pro using Magisk.
- Since the OnePlus 7 devices support the A/B partition scheme, Magisk will only be installed on your phone’s current active slot; leaving the inactive slot untouched.
- Finally, reboot your phone into the OS by entering the following code:
fastboot reboot
That’s it. Your phone is now be rooted. Go ahead and give tons of Magisk modules a try or use the Magisk Hide feature to hide root from various banking apps or games like Pokemon Go, etc. You could also download Xposed Framework and customize your device with the help of available frameworks or even theme your device via the Substratum Theme Engine.
So, this was our guide on how to root OnePlus 7/OnePlus 7 Pro without TWRP Recovery. Do note that this post will be updated with the latest stock and patched boot images as soon as it gets released. Meanwhile, if you have any queries, drop them in the comments section below.
Hi. Do you have the 9.5.11 boot IMG for One Plus 7 Pro 5G EE?
Thanks
Hi Mark. Do you mean the OP7 Pro 5G EU variant? If yes, then I have just uploaded the file and added the link to it above. Please check now.
i have successfully rooted my device but i can’t turn on my wifi
Hi. This is majorly caused by incompatible boot images. Please let me know your phone’s model number, along with the software build number installed on it. Also, which image did you use for your device?
Hello, successfully rooted, but wifi and bluetooh are not working. Model is GM1913, Build number is 10.0.1.GM21AA, and the image used is “stock_boot_oos_10.0.1_oneplus7pro_eu.img”.
Didn’t find a solution yet.
Hi. Did you flash the Unlocked OxygenOS on your EU variant?
Hey, Can you update the new stock image for OnePlus 7 Pro – v10.0.2
Hi Kevin. I have uploaded the boot images for OxygenOS 10.0.2, for all OnePlus 7 and 7 Pro variants. Please check now.
hi,
Nothing for GM1910 variant ?
thanks
Hi Mani. I believe you’re referring to the Chinese variant. If so, I think you have HydrogenOS (not OxygenOS) installed on it, am I right?
You right it’s a chinese variant but with OxygenOs .
I also installed the EU oxygen ( 10.0.2.GM21AA ).
So do I have to install stockboot from GM1913 ?
GM21AA software tag is for Indian (GM1911) and Global/US Unlocked (GM1917) variants. Not EU. Are you sure you have GM21AA and not GM21BA?
Hi,
sorry yes I have GM21BA variant installed
Hi,I have Oxygen OS 10.0.1 GM21AA on Model 1910 I’m wandering which stock boot should I use to root my phone ?
Hi Fahad. Did your OP7 Pro come with HydrogenOS installed out-of-the-box?
Great! Then you can download the boot images for the OnePlus 7 Pro (EU variant).
Thanks, worked like charm. Could you share for Open beta as well
Hi Kevin. From now on, I will do it for Open Beta as well. Thanks for the suggestion!
You forgot “boot” in the line (.\fastboot flash magisk_patched.img has no boot in it)
with boot it worked!
Great guide nonetheless!
Hi Dragony. Thanks a lot for pointing it out. I have corrected it now.
My OnePlus 7 pro rooted with this method so how to install twrp afterthen rooted
Hi Sairam. First of all, let me know which variant you have? EU or Global? Also, please share the OxygenOS version which is installed and rooted.
So what do we download if we are on the new update for the Android 10??????
Hi Antonio. I have updated the download links and revised the method, so that you can self-patch the stock boot image. Patching the boot image by yourself will allow Magisk to take a backup of the stock boot image, in case you want to uninstall Magisk in future.