[OnePlus 7 Guides, News, & Discussion] trueToastedCode:
### Disclaimer ###

I am not responsible for damages of any kind. Follow at your own risk!

### Warning ###

- READ EVERYTHING at least once carefully before approching it yourself!

- Sync your clouds apps and backup all local data. It will be erased during the process!

### (My) Starting point ###

I installed OOS10 with the MSM OOS tool (If u're on clean OOS11 already then there is no need for that), then updated to OOS 11 (Bootloader locked and not rooted). At this point i had no problems with Widevine or anything. You may want't to backup your persistent partition with the MSM OOS tool (driver) since users reported that it was corrupted randomly while using the phone.

### Windows ###

You may need to install ADB driver manually... Download latest usb driver windows and install like that (I needed that when my device was in the bootloader)

### OS Download ###

Download your current os with the Oxygen Updater using the Full update option. Store it on your computer.

### OEM Unlock ###

(1) Activate Dev mode in Android, activate USB Debugging and OEM Unlock in Dev settings

(2) Using the platform tools send adb devices and accept ADB on your phone. Then send adb reboot bootloader

(3) Send fastboot oem unlock and confirm on your device

(4) Set it up but don't connect to any network yet (/remove Sim card). I think its just easier for getting your device thorugh SaftyNet without having anything to reset.

### Wallpaper and repair stuff after unlock ###

(1) Make a local update with firmware from ### OS Download ###

(2) (It's almost not noticeable but i want't it to be perfect) Tap long onto the sttings app -> select edit -> Press on the icon -> Choose the Oxygen settings icon -> OK

### Root ###

*** OOS 11.0.0.2 - 11.0.8.1 - Download stock and self patch for root or get the Magisk patched boot image i've already made: ***

Warning: Make sure it's from the same OS

##################### GLOBAL following

OOS 11.0.0.2 Global/India (GM57AA) OnePlus7Oxygen_14.P.36_OTA_0360_all_2104141941_be82fa

boot.img

boot_magiskv23.img

---------------------

OOS 11.0.1.1 Global/India (GM57AA) OnePlus7Oxygen_14.P.37_OTA_0370_all_2105200029_a16a6e209711c4

boot.img

boot_magiskv23.img

---------------------

OOS 11.0.2.1 Global/India (GM57AA) OnePlus7Oxygen_14.P.38_OTA_0380_all_2107172357_5ea7fb8772

boot.img

boot_magiskv23.img

---------------------

OOS 11.0.3.1 Global/India (GM57AA) OnePlus7Oxygen_14.P.39_OTA_0390_all_2108161936_fc8965052d

boot.img

boot_magiskv23.img

---------------------

OOS 11.0.4.1 Global/India (GM57AA) OnePlus7Oxygen_14.P.40_OTA_0400_all_2110211514_b5e667

boot.img

boot_magiskv23.img

---------------------

OOS 11.0.5.1 Global/India (GM57AA) OnePlus7Oxygen_14.P.41_OTA_0410_all_2112101753_01a2

boot.img

boot_magiskv23.img

---------------------

OOS 11.0.7.1 Global/India (GM57AA) OnePlus7Oxygen_14.P.43_OTA_0430_all_2204061200_03fb7e

boot.img

boot_magiskv24-3.img

---------------------

OOS 11.0.8.1 Global/India (GM57AA) OnePlus7Oxygen_14.P.44_OTA_0440_all_2205261923_742274f6d32

boot.img

boot_magiskv25-2.img

##################### EU following

OOS 11.0.0.2 EU (GM57BA) OnePlus7Oxygen_14.E.36_OTA_0360_all_2104141855_a11487c39a48527

boot.img

boot_magiskv23.img

---------------------

OOS 11.0.1.1 EU (GM57BA) OnePlus7Oxygen_14.E.37_OTA_0370_all_2105200030_7bc275fc0c425ef

boot.img

boot_magiskv23.img

---------------------

OOS 11.0.2.1 EU (GM57BA) OnePlus7Oxygen_14.E.38_OTA_0380_all_2107180005_0df0eac86

boot.img

boot_magiskv23.img

---------------------

OOS 11.0.3.1 EU (GM57BA) OnePlus7Oxygen_14.E.39_OTA_0390_all_2109061612_debe435dde1872

boot.img

boot_magiskv23.img

---------------------

OOS 11.0.4.1 EU (GM57BA) OnePlus7Oxygen_14.E.40_OTA_0400_all_2110211514_f44a7ad

boot.img

boot_magiskv23.img

---------------------

OOS 11.0.7.1 EU (GM57BA) OnePlus7Oxygen_14.E.43_OTA_0430_all_2204061213_bb3f7d6c3

boot.img

---------------------

OOS 11.0.8.1 EU (GM57BA) OnePlus7Oxygen_14.E.44_OTA_0440_all_2205261921_937f89c270

boot.img

boot_magiskv25-2.img

(Of course you need to extract the image from zip)

With boot.img -> Proceed to Patch

With boot_magiskv23.img -> Proceed to flash

*** Other than OOS 11.0.0.2-11.0.8.1 -> Extract boot.img: ***

(1) Install the Visual Studio Build Tools from the Visual Studio Installer

(2) Install Python 3

(3) Download Payload Extractor, in the folder to keep things clean setup python venv with python -m venv venv && venv\Scripts\pip install -r requirements.txt

(4) Extract the payload.bin from your ### OS Download ### into the Payload Extractor folder

(5) venv\Scripts\python payload_dumper.py payload.bin. Once the boot has been dumped you can abord the script and only keep the boot.img in the output folder

*** Other than OOS 11.0.0.2-11.0.8.1 or self patch -> Patch boot.img: ***

(1) Install Magisk APK adb install Magisk-XY.apk

(2) Copy the boot.img onto your device, open Magisk, select install -> Choose file -> Press the three lines in the right top and select OnePlus7, then the boot.img

(3) Copy the patched boot.img to your pc (You may need to reconnect the USB connection to see the file)

View attachment 5308017View attachment 5308019

*** Flash ***

(1) adb reboot bootloader

(2) fastboot flash boot boot_magisk.img

(3) fastboot reboot

*** Completing the setup ***

(1) Open Magisk or install Magisk APK if it's not present. It should be rootet. Activate Magisk Hide in the settings.

(2) Open the playstore and follow the instruction to connect to a network. Then login to your Google Account.

(4) Activate zygisk in magisk settings

(3) Install Universal SafetyNet Fix (magisk module) to pass saftynet

(4) For banking apps: Block in magisk deny list AND disable Magisk when u want open u're banking app(s) with Disable Application

### Summary ###

My device was rootet, i had no SaftyNet issues and Widevine L1 and Netflix playback were completly working. You may want't to backup your persistent partition with the MSM OOS tool (driver) since users reported that it was corrupted randomly while using the phone.

View attachment 5308025View attachment 5308023View attachment 5308027View attachment 5308029