Immediately switch to to enter TWRP. Select Wipe > Format Data (type 'yes'). Transfer the Magisk ZIP and RMM Fix to the phone. Select Install > Flash Magisk. Select Install > Flash RMM Fix. Reboot to System. ⚠️ Important Notes
Rooting permanently trips Knox, voiding your warranty. Immediately switch to to enter TWRP
Many "GSM Tool" packages provide one-click root kernels (CF-Auto-Root), but these are often less stable than the Magisk method on Android 8.1. Immediately switch to to enter TWRP