- Download the fastboot ROM suitable for your device from the XM 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
- Download the fastboot ROM suitable for your device from Lolinet and extract the downloaded archive.
cd
into the directory where it was extracted, as this is where you'll be doing everything in this guide.
Note
Lolinet's storage is sorted by the phones year of production and region. There is a description in each year's folder which will show you the codename/folder for each phone in that production year. You might want to stick to the Retail ROMs (starting with RET), either Global (RETAIL) or specific for your region (RETAPAC for Asia-Pacific) to help avoid carrier specific apps etc.
- 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
(comp