Project

General

Profile

ToolsInstallation » History » Version 1

Paul Kocialkowski, 01/21/2014 04:09 PM

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