fastboot boot <recovery.img>
If it asks you to run it once again, do so
adb shell msc
Once the Pad 5 is detected as a disk
diskpart
Use
list volume
to find it, it's the one named "WINNABU"
select volume <number>
assign letter x
exit
You can download Drivers here
If it writes
"Automatic WINNABU detection failed! Enter Drive Letter manually"
typeX
Open the folder with Drivers and run OfflineUpdater.cmd
Or if your UEFI has already been flashed, simply reboot with
adb reboot
adb reboot bootloader
Replace <uefi.img> with the actual path of the UEFI image
fastboot flash boot <uefi.img>