Samsung Galaxy S9+ from /e/ Oreo to /e/ Q, but how?

The same applies to your SM-G965F.