Oneplus 9 pro, tips & tricks

  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

1
2
3
4
adb usb
adb tcpip 5555
adb connect ${my_phone_ip}
adb shell

To remove the 1+ account connection in setup:

1
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:

1
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.

1
cmd package bg-dexopt-job