This page explains how to install the various tools used with Replicant. It is assumed that you are running a GNU/Linux operating system.
ADB can be installed from the repositories of your GNU/Linux distribution (if available) or from our released tools.
Note: you may need to run ADB as root if your current user doesn't have USB access privileges.
apt-get install android-tools-adb
pacman -S android-tools
1. Download the adb tool, the adb.asc signature and the checksum from ReplicantImages for the latest image
2. Make sure you have added the Replicant release key of the latest version to your GPG keyring
3. Check the signature of the adb tool:
gpg --armor --verify path/to/adb.asc path/to/adb
adb tool:sha256sum -c tools.sha256
adb, do not run the binary if it doesn't!
As adb is built as a 32 bit binary, you will need to install compatibility libraries for 32 bits executables if your computer is running on a 64 bit architecture.
7. Make sure adb can be executed:
chmod a+x adb
Fastboot can be installed from the repositories of your GNU/Linux distribution (if available) or from our released tools.
Note: you may need to run fastboot as root if your current user doesn't have USB access privileges.
apt-get install android-tools-fastboot
1. Download the fastboot tool, the fastboot.asc signature and the checksum from ReplicantImages for the latest image
2. Make sure you have added the Replicant release key of the latest version to your GPG keyring
3. Check the signature of the fastboot tool:
gpg --armor --verify path/to/fastboot.asc path/to/fastboot
fastboot tool:sha256sum -c tools.sha256
fastboot, do not run the binary if it doesn't!
As fastboot is built as a 32 bit binary, you will need to install compatibility libraries for 32 bits executables if your computer is running on a 64 bit architecture.
7. Make sure fastboot can be executed:
chmod a+x fastboot
Heimdall can be installed from the repositories of your GNU/Linux distribution (if available) or from our released tools.
Note: you may need to run heimdall as root if your current user doesn't have USB access privileges.
apt-get install heimdall-flash
pacman -S heimdall
1. Download the heimdall tool, the heimdall.asc signature and the checksum from ReplicantImages for the latest image
2. Make sure you have added the Replicant release key of the latest version to your GPG keyring
3. Check the signature of the heimdall tool:
gpg --armor --verify path/to/heimdall.asc path/to/heimdall
heimdall tool:sha256sum -c tools.sha256
heimdall, do not run the binary if it doesn't!
As heimdall is built as a 32 bit binary, you will need to install compatibility libraries for 32 bits executables if your computer is running on a 64 bit architecture.
7. Make sure heimdall can be executed:
chmod a+x heimdall
mkbootimg and unpackbootimg can be installed from the repositories of your GNU/Linux distribution (if available) or from our released tools.
Note: Older versions of unpackbootimg are called unbootimg and behave differently.
1. Download the mkbootimg and unpackbootimg tools, the mkbootimg.asc and unpackbootimg.asc signatures and the checksum from ReplicantImages for the latest image
2. Make sure you have added the Replicant release key of the latest version to your GPG keyring
3. Check the signature of the mkbootimg and unpackbootimg tools:
gpg --armor --verify path/to/mkbootimg.asc path/to/mkbootimg gpg --armor --verify path/to/unpackbootimg.asc path/to/unpackbootimg
sha256sum -c tools.sha256
mkbootimg and unpackbootimg, do not run the binary if it doesn't!
As mkbootimg and unpackbootimg are built as 32 bit binaries, you will need to install compatibility libraries for 32 bits executables if your computer is running on a 64 bit architecture.
7. Make sure mkbootimg and unpackbootimg can be executed:
chmod a+x mkbootimg chmod a+x unpackbootimg