Use smart switch or titanium backup to save the rom state. Depends on what your want to upgrade to?
Yes same can apply to S22I'm not sure if search on XDA is messed up or what. No mention of the S22 in the thread.
Can anyone verify if this works for the S22 as well?
Use latest magisk canary, I have rooted my S21 Ultra.
Read the very first bullet, lol