Since you cannot flash the patched image via Fastboot without a PC, you must use a custom Recovery (like TWRP) or a flashing tool APK.
After reboot:
: From your downloaded firmware on the , locate and extract the file named boot.img . root redmi 9a without pc patched