• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GUIDE] How to Root OnePlus 8 Pro without TWRP

Search This thread

mauronofrio

Recognized Developer
Jun 29, 2012
4,359
13,713
25
Castellana Grotte
toolaio.tk
So today with some testers i managed to make root on OnePlus 8 Pro, I want to specify that 95% of the work was done by @topjohnwu (Magisk creator).

I will explain 2 different guides:

First Root Guide:

This guide is for a specific rom version, so you will need to use a specific patched boot.img

- Download the patched_boot.img
- Reboot your device in bootloader-fastboot mode
- Flash the patched_boot.img in the boot partition:
Code:
fastboot flash boot boot.img
replace "boot.img" with the patched_boot.img path

- Reboot the device
- Install Magisk Manager



Second Root Guide:

This guide is more generic than the first one, you should use this one if you are unable to find a specific patched boot.img

- Download a patched_boot.img (you should try with the latest one)
- Reboot your device in bootloader-fastboot mode
- Boot the patched_boot.img:
Code:
fastboot boot boot.img
replace "boot.img" with the patched_boot.img path

- Reboot the device
- Install Magisk Manager
- Click on Install, then direct install and wait the end of the process
- Reboot the device


TIPS:

You can get the stock boot images from the fastboot rom: Fastboot ROMs

HOW TO UPDATE a ROM and KEEP ROOT:
Before all Disable all magisk modules
Be sure to use the latest stable Magisk
You can update a stock rom from phone settings with local upgrade:
- Update the Rom WITHOUT REBOOT;
- Open Magisk Manager;
- In Magisk Manager, click on Install/Install/Direct Install;
- Again in Magisk Manager, click on Install/Install/Inactive Slot;
- Reboot.


Download:

Patched/Stock Boot Images:
https://www.androidfilehost.com/?w=files&flid=308380
or
https://sourceforge.net/projects/fastbootroms/files/OnePlus 8 Pro/Patched-Stock-Boot/

Reccomended ADB and Fastboot binaries:

Adb and Fastboot Installer

Donations:



Credits:
 
Last edited:

pijiman

Member
Dec 22, 2010
37
4
First of all, thank you for the awesome work!

Could you explain a bit what are the modifications made to boot.img?
 

Neurom67

Senior Member
Oct 3, 2014
130
50
Google Pixel 6 Pro
Many thanks for the quick Root my Device
 

Attachments

  • Screenshot_20200417-153858.jpg
    Screenshot_20200417-153858.jpg
    246.5 KB · Views: 4,372

xByt3z

Senior Member
Aug 3, 2013
100
74
Awesome, I had a bit of a struggle trying to find the full stock ROM link, thanks.
 

pijiman

Member
Dec 22, 2010
37
4
I have a follow up question: what are the features needed from Magisk and Magisk Manager that require the Canary release? I can't find anything in their changelog and my curiosity is getting the best of me :D
 

Top Liked Posts