[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] SohrabHamza:
To Install Recovery

Boot to bootloader

type in: fastboot flash recovery <pathtoyourecoveryimage> (Don't include the '<>')

Boot into recovery, click on advanced and click 'enter fastboot'

Prep before installing

Download payload dumper go

Open a command prompt window (preferable if you open it in a known directory (by typing in cmd into the top bar of windows file explorer or else the extracted files will go to system3d afaik)

Drag in the payload-dumper-go.exe (after extracing the folder) to the command prompt

Now extract the ROM zip and drag in the payload.bin to the window and press enter.

You can find the files where your command prompt opened.

To Install ROM

For clean flash: Just do a fastboot -w and a factory reset in the recovery (just to be safe lol.) before and after. If you're just updating you can skip. (I came from XTENDED XS ROM)Refer to the first line for cleanflashing.

Enter these commands

If you do not want to drag in all the images to your platform tools folder, you can either create an environmental variable for you platform tools or you can open cmd in your platform tools folder and drag in each image.

fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash odm odm.img
fastboot flash product product.img
fastboot flash system system.img
fastboot flash system_ext system_ext.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vendor vendor.img

Now if you're clean flashing, you must wipe (fastboot -w + factory reset in recovery is my go to) or 9 times out of 10, it will not boot.

Then you can reboot and enjoy this wonderful ROM :)

---

Usually it just works to boot into recovery>adb sideload>enter adb sideload <rom.zip> but for some reason it doesn't this time.

---

If you want to install magisk, download it from github and rename the .apk file to .zip.

Then you have to boot into lineage os recovery (download it from https://download.lineageos.org/ and enter fastboot boot <recovery.img> (this will not replace your existinig recovery) in bootloader) as it will just say signature verification failed in the derp recovery.

Then you can just go to adb sideload and sidealod the magisk.zip.

Easier than patching the boot image imo.

---

If you want to use gpay with magisk follow sam beckmans video.

TLDR:

(after installing latest magisk (v25 afaik)) Download Magisk Hide Props and flash it as a magisk module (in the magisk app)

Download and open termux from the play store and type in su -c props

Select force basic key attestation. Then select google, then nexus 6p, apply and reboot.

Enable zygisk and hide all banking apps, gpay and google play services (enable show system apps) (Make sure you hide all the processes of the apps (first click the app then the check box))

Then download Universal Safety Net Fix and flash it as a magisk module and reboot.

Gpay should work now but if it doesn't, clear its data and google play services data and reboot.

---

If you want Oneplus camera, go to the KOSP telegram group, find and download the .zip file from notes. (enter #notes and look for op_cam_somethingsomtehing idr). Flash it as a magisk module, reboot and enjoy.

Macro mode does not work (probably because it thinks that your phone is a 7/pro), video doesn't work and portrait on the back camera doesn't work.