Since oneplus stopped releasing firmware Zips it's very troublesome to root their devices. I created this repo to help people have fast access to the needed files for rooting the devices.
It's relatively easy, you can do it yourself but I will try to keep this repo updated with the latest files. The way I get the boot file is from downloading the full OTA zip from OxygenUpdater for the 10T then extracting the payload.bin and from that one i can get the boot.img with payload-dumper-go
Command for payload-dumper-go
payload-dumper-go.exe -p boot payload.bin
After that I just take the stock boot image and patch it from within the magisk app.
I assume you already know that you need to have unlocked bootloader to do this. After that you just need to flash to current A/B active slot by running the following command
fastboot flash boot magisk_patched-boot.img
This should flash on the currently active slot but if you want to know which it is you have to fastboot getvar all
and look for current-slot
after which you can use boot_a
and boot_b
accordingly in the previously mentioned flash command instead of just boot
Oneplus broke fastboot with the first OOS14 update and you cannot get into fastboot anymore. Not from key pressed combination nor from adb reboot bootloader. You can still flash the patched image by booting into the phone, enabling adb and booting into fastbootd with the following command
adb reboot fastboot
when you are there you have to flash the boot image with
fastboot flash boot magisk_patched-boot.img
Or Kitsune Magisk
fastboot flash boot kitsune_patched-boot.img
You can restore the fastboot by flashing via fastbootd the abl.elf file in this repo.
fastboot flash abl abl.elf
You can patch the boot image without using fastboot and therefore use the files in this repository only as a fallback. To keep the root you need to run the OTA update through OneplusLocalUpgrade then you have to open Magisk app BEFORE rebooting the device after the OTA installation completed and from there use the option Install
-> Install to Inactive Slot
. Else you'll have to flash again the patched boot image from here or after you extracted your own
All files are available from releases
I am not responsible for bricked devices or other issues. The images are releases as is and generally tested on my own device beforehand.