https://developer.android.com/tools/releases/platform-tools

adb devices
adb shell
adb push termux-app_v0.118.3+github-debug_x86_64.apk /storage/emulated/0/Download/.
adb reboot bootloader
fastboot devices
adb push boot.img /storage/emulated/0/Download/.

Patch with magisk app

adb pull /storage/emulated/0/Download/magisk_patched-30700_uOekq.img
adb reboot bootloader
fastboot flash boot magisk_patched-30700_uOekq.img
adb shell
su -
printf "\x07\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00" > /sys/firmware/efi/efivars/OsIndications-8be4df61-93ca-11d2-aa0d-00e098032b8c
reboot
Device manager -> System setup -> South cluster configuration -> Usb configuration
  Default DRD CONFIG -> HostMode
  Usb VBUS -> On

Device manager -> System setup -> Boot
  Fast Boot -> Disable
  Secure Boot -> Disable
  
Commit changes and Exit

Source