- Download the fastboot ROM suitable for your device from the Xiaomi Firmware Updater and extract the downloaded archive
- Download and extract the official Android SDK Platform Tools or install them using your package manager of choice.
- If you are using the official platform tools, make sure
adb
andfastboot
(components of platform-tools) are in your path
- If you are using the official platform tools, make sure