Power off the phone. Hold and connect it to your PC to enter Download Mode .

Tap . Choose the AP_ file you transferred.

Any mistake can "brick" (permanently disable) your device. Preparation & Requirements

Unlocking the bootloader permanently trips Knox , which may void your warranty and disable features like Samsung Pay or Secure Folder.

Download the latest version of the Odin tool

Open Magisk; it may ask to perform "Additional Setup." Tap and let it reboot one last time.

Extract the firmware zip on your PC. Locate the file starting with .

with on Android 10 involves unlocking the bootloader and patching the stock firmware with Magisk . Since custom "pre-made" root files can be unreliable or contain malware, the most secure method is to create your own patched file from the official firmware. ⚠️ Critical Warnings