[OnePlus 8T Guides, News, & Discussion] HELLBOY017:
Unlock bootloader in ur OP8T (For T-Mobile and Verizon variants u need unlock code) (This guide is for non T-Mobile and non Verizon variants)

:-

1. Enable Developer options by going to settings-About Phone and then keep tapping build number until a dialogue comes saying developer options are enabled/unlocked/on.

2. Go to Developer options by :-

Settings-system-Developer options.

3. Enable OEM Unlocking.

4. Enable USB debugging.

5. Now be on ur PC.

6. Install latest adb and fastboot drivers. (U can install these):-

https://www.androidfilehost.com/?fid=746010030569952951

7. Reboot ur OP8T to bootloader after shutting down ur phone by holding power button+ both the volume buttons.

8. Open command prompt in ur PC and connect ur OP8T to ur PC via a USB cable and enter fastboot.

9. Enter

10.After that Enter

11. Enjoy! Ur bootloader is unlocked.

Steps to ROOT OP8T (Make sure that ur bootloader is unlocked)(Use USB Cable in the whole process)

:-

1. Download the Full Stock ROM (not incremental) whose version matches the Oxygen OS version running on ur phone,Download the ROM thru Oxygen Updater (If ur gonna download the ROM thru Oxygen Updater make sure ur on the latest software update) (here is the link):-

https://play.google.com/store/apps/details?id=com.arjanvlek.oxygenupdater

-----OR (If Oxygen Updater aint working for u)-----

U can follow this semi-twrp method to extract the boot.img and patch it with magisk later (Skip to Step 11 if u follow twrp method):-

https://xdaforums.com/showpost.php?p=83762929&postcount=17.

2. Transfer the ROM zip file to ur PC.

3. Download and install Python3 in ur PC (here is the link)(This link is for windows only):-

Python Releases for Windows

The official home of the Python Programming Language

www.python.org

TICK THE ADD PYTHON TO PATH OPTION IN PYTHON SETUP.

4. Download and install Payload dumper in ur PC (download from this link if ur running windows) (u can find others for linux and MacOS as well).

https://androidfilehost.com/?fid=818070582850510260

5. Extract the Payload dumper zip.

6. Extract the ROM u transferred to ur PC.

7. Put payload.bin from the folder where u extracted the ROM to "payload_input" folder (payload_input folder will be there where u have extarced payload dumper zip)

8. Run payload_dumper.exe

9. The files which are present in payload.bin will be extracted in payload_output folder.(it will be in payload dumper folder which we extracted earlier).

10. Now, copy boot.img from payload_output and paste it in ur OP8T.

11. Download and install Magisk manager apk from here:-

https://raw.githubusercontent.com/topjohnwu/magisk_files/canary/app-debug.apk

12. Open Magisk manager.

13. Go to settings.

14. Click on update channel.

15. Select canary.

16. Go back and Click on install button.

17. Click on "Select and patch a file" and select boot.img .

18. The magisk_patched.img will be saved in ur internal storage find it and transfer it to ur PC.

19. Now open command prompt in ur PC where u have copied that patched boot.img and reboot ur OP8T to bootloader.

20. Connect ur OP8T to ur PC and enter

21. Enter

Or for safe method without bricking or bootloop

22. The magisk_patched.img will be flashed/booted.

23. Now reboot (if ur in fastboot reboot by fastboot reboot).

24. Now go and open magisk app and see if it says installed then ur rooted if u did the safe method in step 21 then go to magisk and click on direct install and reboot.

25. Done! Ur phone is rooted!

If u have the error that python is not recognised as a internal or external command then follow this video:-

Enjoy!