Install any custom rom & miui recovery rom through fastboot
1. Extract Fastboot OTA Tool. Put the ROM zip in it's root.
2. Run the flash script.
3. Wait till the script asks for device.
4. Boot device to fastboot & connect.
After Installation, it'll be headed to recovery:
You can format to start fresh (or)
Just boot up, for dirty flash way
Make sure you have usb drivers installed through manual method. This is done only once.
Refer this on how to install them... Download USB Drivers from here.
Linux users: Must have latest python & pip
For Ubuntu distros:
sudo apt install python python-pip
And have an alias into ~/.bashrc or ~/.bash_aliases file:
For Arch based distros:
sudo pacman -S python python-pip
sudo dnf install snapd python3.9 python3-pip
For Mac users, make sure you allow img2simg tool from Privacy & Security to work. Or Disable Gatekeeper temperorily.
Thanks to @LoV432 for his auto extraction idea.
& @lyoko_xana to bringup Mac issues.
If you have any trouble using this tool, please feel free to reply here...