I wanted to install a custom rom on my Xiaomi Mi A3, so I had to install the twrp. I enabled oem unlock from the developer settings of the phone and rebooted into bootloader mode, but when I ran the command "fastboot oem unlock" it gave me as a result
FAILED (remote: 'unknown command')
fastboot: error: Command failed
(this on linux)
Then I tried on windows, but fastboot did not recognize my device, while windows and adb yes. Any solution?