The summary of the process is this. Your build number says that you are currently on F.21 firmware. In order to obtain root, you need "
boot.img" from F.21 firmware so that you can patch this
boot.img from
Magisk app, then
temporarily boot this newly
"patched_boot.img" and then
root permanently from Magisk app's
Direct Install option.
Follow these steps. You need PC for the process. I assume you already have proper drivers for OnePlus installed on your PC.
First you need to obtain
boot.img for F.21 firmware (or whatever firmware you are currently on). You can either ask someone to share the boot.img for F.21; or (even better) you can extract it yourself from your phone using
MSM Tool. To extract it yourself, download MSM Tool from this
link (choose the Global version since your firmware is Global). Meanwhile it's downloading, go to your phone, reboot to fastboot mode, check your current active slot by this command
fastboot getvar current-slot and note/remember the output from the command (whether _a or _b). Turn off your phone and
DO NOT connect to PC yet. Now once MSM is downloaded, run MSM Tool exe. Press F8 and select either
boot_a or
boot_b depending on your current slot as checked from fastboot before. In the password section, enter
oneplus then go ahead and click Readback. It will say waiting for device. Now come back to your turned off phone, hold both vol- and vol+ buttons and connect phone to PC. The PC will recignize the device but phone screen will still be black. MSM tool will read the phone and extract the selected
boot.img to
C: drive, and phone will reboot.
Now copy that extracted
boot.img from
C: to your phone. Install
Magisk app. Patch that
boot.img. The app will create
magisk_patched_boot.img in your phone's
Download folder. Copy that newly patched boot.img to your PC. Reboot your phone to fastboot mode, and run this command to temporarily boot the patched boot.img:
fastboot boot <your_patched_boot.img>
Once you phone boots up, go to Magisk app, choose Install and select Direct Install. This will permanently root your current firmware.
Note: When there is a new OTA update, the system will show it's available but it will fail to install because of root. So when there is a new OTA, go to Magisk app, uninstall and restore images. Then proceed with OTA, and after successfull update, extract boot.img again and get root following the above steps.