- 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
The images can be found at https://www.archlinux.org/download/
The image can be flashed onto a USB with any software (like balenaEtcher or simply dd
) or burned to a CD/DVD.
Boot the image device (via BIOS preferrably as it is that bit easier to setup than UEFI and makes no difference otherwise)
Heimdall v1.4.2 | |
Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna | |
http://www.glassechidna.com.au/ | |
This software is provided free of charge. Copying and redistribution is | |
encouraged. | |
If you appreciate this software and you would like to support future | |
development please consider donating: |
Heimdall v1.4.2 | |
Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna | |
http://www.glassechidna.com.au/ | |
This software is provided free of charge. Copying and redistribution is | |
encouraged. | |
If you appreciate this software and you would like to support future | |
development please consider donating: |
This guide is based off some articles from Fedora Magazine by Alexander Wellbrock. What you see here brings together information from multiple articles to give this one specific use-case succinctly and contiguously in one guide.
Note
While this guide is specific to Fedora and it's EL derivatives, it can easily be adjusted to other distributions by substituting commands and packages as necessary (i.e. On Debian derivatives, swap DNF for apt)
Install dependencies:
[…]$ sudo dnf install fido2-tools dracut