Project

General

Profile

ToolsInstallation » History » Version 6

Denis 'GNUtoo' Carikli, 06/07/2016 05:43 PM

1 5 Paul Kocialkowski
h1. Tools installation
2 1 Paul Kocialkowski
3
This page explains how to install the various tools used with Replicant. It is assumed that you are running a GNU/Linux operating system.
4
5
h2. ADB
6
7
ADB can be installed from the repositories of your GNU/Linux distribution (if available) or from our released tools.
8 2 Paul Kocialkowski
Note: you may need to run ADB as root if your current user doesn't have USB access privileges.
9 1 Paul Kocialkowski
10
h3. From GNU/Linux distributions repositories
11
12
h4. Debian
13
14
<pre>
15
apt-get install android-tools-adb
16
</pre>
17
18 6 Denis 'GNUtoo' Carikli
h4. Parabola
19
<pre>
20
pacman -S android-tools
21
</pre>
22
23 1 Paul Kocialkowski
h3. From our released tools
24
25 4 Paul Kocialkowski
1. Download the @adb@ tool, the @adb.asc@ signature and the checksum from [[ReplicantImages]] for the latest image
26 1 Paul Kocialkowski
2. Make sure you have added the [[ReplicantReleaseKey|Replicant release key]] to your GPG keyring
27
3. Check the signature of the @adb@ tool:
28
<pre>
29 4 Paul Kocialkowski
gpg --armor --verify path/to/adb.asc path/to/adb
30 1 Paul Kocialkowski
</pre>
31
4. Make sure the check succeeds, *do not run the binary if it doesn't*!
32
5. Check the checksum of the @adb@ tool:
33
<pre>
34
md5sum -c tools.md5
35
</pre>
36
6. Make sure the check succeeds for @adb@, *do not run the binary if it doesn't*!
37
38
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.
39
7. Make sure @adb@ can be executed:
40
<pre>
41
chmod a+x adb
42
</pre>
43
44
h2. Fastboot
45
46
Fastboot can be installed from the repositories of your GNU/Linux distribution (if available) or from our released tools.
47 2 Paul Kocialkowski
Note: you may need to run fastboot as root if your current user doesn't have USB access privileges.
48 1 Paul Kocialkowski
49
h3. From GNU/Linux distributions repositories
50
51
h4. Debian
52
53
<pre>
54
apt-get install android-tools-fastboot
55
</pre>
56
57
h3. From our released tools
58
59 4 Paul Kocialkowski
1. Download the @fastboot@ tool, the @fasboot.asc@ signature and the checksum from [[ReplicantImages]] for the latest image
60 1 Paul Kocialkowski
2. Make sure you have added the [[ReplicantReleaseKey|Replicant release key]] to your GPG keyring
61
3. Check the signature of the @fastboot@ tool:
62
<pre>
63 4 Paul Kocialkowski
gpg --armor --verify path/to/fastboot.asc path/to/fastboot
64 1 Paul Kocialkowski
</pre>
65
4. Make sure the check succeeds, *do not run the binary if it doesn't*!
66
5. Check the checksum of the @fastboot@ tool:
67
<pre>
68
md5sum -c tools.md5
69
</pre>
70
6. Make sure the check succeeds for @fastboot@, *do not run the binary if it doesn't*!
71
72
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.
73
7. Make sure @fastboot@ can be executed:
74
<pre>
75
chmod a+x fastboot
76
</pre>
77
78
h2. Heimdall
79
80
Heimdall can be installed from the repositories of your GNU/Linux distribution (if available), from our released tools or from the developer's website.
81 2 Paul Kocialkowski
Note: you may need to run heimdall as root if your current user doesn't have USB access privileges.
82 1 Paul Kocialkowski
83
h3. From GNU/Linux distributions repositories
84
85
h4. Debian
86
87
<pre>
88
apt-get install heimdall-flash
89
</pre>
90
91
h3. From our released tools
92
93 4 Paul Kocialkowski
1. Download the @heimdall@ tool, the @heimdall.asc@ signature and the checksum from [[ReplicantImages]] for the latest image
94 1 Paul Kocialkowski
2. Make sure you have added the [[ReplicantReleaseKey|Replicant release key]] to your GPG keyring
95
3. Check the signature of the @heimdall@ tool:
96
<pre>
97 4 Paul Kocialkowski
gpg --armor --verify path/to/heimdall.asc path/to/heimdall
98 1 Paul Kocialkowski
</pre>
99
4. Make sure the check succeeds, *do not run the binary if it doesn't*!
100
5. Check the checksum of the @heimdall@ tool:
101
<pre>
102
md5sum -c tools.md5
103
</pre>
104
6. Make sure the check succeeds for @heimdall@, *do not run the binary if it doesn't*!
105
106 3 Paul Kocialkowski
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.
107
7. Make sure @heimdall@ can be executed:
108 1 Paul Kocialkowski
<pre>
109
chmod a+x heimdall
110
</pre>
111
112
h3. From the developer's website
113
114
Instructions to install heimdall can be found on the developer's website: http://glassechidna.com.au/heimdall/