You seem to have the process understood. As long as by red button you mean inside the Magisk app itself, yes. It should give you the option to unroot via "restore images." After that and a reboot... Following that set of instructions should land you on C22 Android 13 unrooted, then you can reroot as you've said.Got it! Thanks for fast reply and fixing my steps.
To unroot - on the phone; using magisk manager disable/delete modules ( i have only systemless hosts) uninstall magisk itself with red button, reboot to phone and it should be unrooted, right?
Also if im going to make new root, not keeping old one - so again i need to use payload dumper after downloading firmware via oxygen + (extracting the boot.img)
then installing firmware c22 with local oneplus apk -> copy boot.img to /sdcard (at this point i should reboot to phone to check clean no-root Android 13?)
then using magisk manager (latest version) to patch copied boot file / then flash patched_magisk.img to inactive slot aaand reboot to phone.
Are we no issues this scenario? And Im at c22 android 13 rooted?