Install the Magisk app and select > Select and Patch a File .
with the binary from reputable sources like SamFW . Ensure the baseband version matches your device exactly to avoid bricking. Unlock the Bootloader :
Enable by tapping "Build Number" seven times in Settings. Turn on OEM Unlocking and USB Debugging .