Unlock BootLoader

  1. Enable Unlock OEM Lock in Settings
  2. Reboot to bootloader.
  3. Execute fastboot flashing unlock.

Flash TWRP

  1. Execute fastboot flash recovery twrp.img

Disable Boot Verification

  1. fastboot flash vbmetta vbmeta.img
  2. Reboot into recovery.
  3. Format data and clean

Flash Magisk

  1. Put magisk 21.4 to storage.
  2. Install it in Recovery mode.
  3. Reboot.