Rooting the on Android 11 with Binary 7 (U7) requires unlocking the bootloader and flashing a patched firmware file . Direct Download Link
Download the that matches your current build .
Extract the AP file and patch it using the on your phone, or use a pre-patched A217F U7 Root File . Flash with Odin : Put the phone back into Download Mode .
Turn on and USB Debugging . If OEM Unlocking is missing, connect to Wi-Fi and adjust the system date back a few months to force it to appear .