These video guides provide visual walk-throughs for unlocking the bootloader and flashing the A217F U7 root files:
After the phone boots, install the Magisk APK to manage root permissions .
A pre-patched, fixed root file for the A217F U7 Android 11 version (which specifically addresses the "Hang on Logo" issue) is available through community sources like MobileChaCha .