1. Enable developer mod
  2. Enable USB debugging
  3. Enable wireless adb

Note: to connect to adb using wireless, it seems you need to contact once before using usb

adb usb
adb tcpip 5555
adb connect ${my_phone_ip}
adb shell

To remove the 1+ account connection in setup:

pm uninstall -k --user 0 com.oneplus.account

If parallel app has been enabled by mistake, it has created a user with id 999, it can be removed using:

pm remove-user 999

Force application optimization, otherwise it is only performed when device is plugged in, charging, full battery, turned on, is not in use and is not in motion.

cmd package bg-dexopt-job