Most "AIO" functions require the phone to be in EDL mode. This is usually achieved by:
Removing FRP on the Redmi Note 8 using the AIO Tool is a straightforward process: redmi note 8 aio tool unlock bootloaderremove hot