OnePlus 7 Pro [type:GM1910,code:guacamole]

Download ADB tools from Google

Unlock

adb reboot bootloader

fastboot oem unlock

Upgrade system with ROOT

  1. download & install new version and DONT reboot
  2. install RTWP in magisk
  3. install magisk in A/B mode
  4. reboot normally

Wireless adb connection

refer:

Android 10 tl;dr: start adb server and connect with host & port

su
setprop service.adb.tcp.port 5555
stop adbd
start adbd

Control from PC

use scrcpy