: Unlocking the bootloader and rooting will factory reset your device.
Reboot to Download Mode and follow the on-screen prompts to unlock the bootloader (this will ). Patch the Firmware : : Unlocking the bootloader and rooting will factory
on sites like TWRPBuilder. Once TWRP is flashed via Odin, you can simply flash the Magisk.zip file directly from the recovery menu. : Unlocking the bootloader and rooting will factory
Select your AP file and wait for Magisk to create a new magisk_patched_*.tar file. : Transfer the patched file back to your PC. : Unlocking the bootloader and rooting will factory
Open Odin on your PC and place the patched file in the slot.