Samsung Odin Pangu -
On Samsung (Exynos or Snapdragon depending on region), go to Settings → Developer Options → OEM Unlocking. Toggle ON. This voids warranty and trips Knox to 0x1 (Samsung Pay, Secure Folder will break).
Install Magisk app again. You’ll be prompted with "Additional setup" – let it reboot. Congratulations – you now have a "Pangu-rooted" Samsung device. samsung odin pangu