Project

General

Profile

FastbootInstallation » History » Version 3

Drtan Samos, 12/13/2012 09:11 PM

1 1 Paul Kocialkowski
h1. Fastboot Installation
2
3
*Warning: flashing another operating system like Replicant may void your warranty and will erase the data stored on the device.*
4
5
This guide assumes your phone is supported by fastboot.
6
7
h2. Download the files
8
9
* Refer to your device page to find a link to the latest images (*Last images* part of the table).
10
* Download the images *and the md5 checksum*
11 2 Drtan Samos
* Download fastboot from the latest images @tools@ directory (it is a prebuilt x86 binary for GNU/Linux). Note that you can still use this binary on a system with different hardware architecture as long as you have 32-bit version of needed libraries installed. It is known to work with 32-bit version of GNU C Library and legacy GNU Standard C++ Library version 3 installed. 
12 1 Paul Kocialkowski
* Make sure fastboot is executable:
13
<pre>
14
chmod a+x fastboot
15
</pre>
16 3 Drtan Samos
* System permissions are needed to access the device with fastboot. You will see it stops on '<waiting for device>' message when you are missing permissions while flashing. Unless you are going to use root account for running fastboot you will need to setup udev rules and add your user to plugdev group.
17 1 Paul Kocialkowski
18
h2. Key combinations for fastboot mode
19
20
| *Device* | *Keys (held together)* |
21
| *HTC Dream/HTC Magic* | BACK, POWER |
22
| *Nexus One* | Trackball, POWER |
23
| *Nexus S* | VOL+, POWER |
24
| *Galaxy Nexus* | VOL-, VOL+, POWER |
25
26
h2. Flash the images
27
28
# Flash the images using fastboot:
29
<pre>
30
./fastboot flash boot boot.img
31
./fastboot flash recovery recovery.img
32
./fastboot flash system system.img
33
./fastboot flash userdata userdata.img
34
</pre>
35
# Clear cache:
36
<pre>
37
./fastboot erase cache
38
</pre>
39
# Reboot:
40
<pre>
41
./fastboot reboot
42
</pre>
43
44
*Your device should now be running Replicant!*