FastbootInstallation » History » Version 8
Wolfgang Wiedmeyer, 05/07/2017 10:21 PM
link to tools installation page for fastboot installation
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 | 8 | Wolfgang Wiedmeyer | First, you need to [[ToolsInstallation#Fastboot|install fastboot]]. |
8 | 1 | Paul Kocialkowski | |
9 | h2. Key combinations for fastboot mode |
||
10 | |||
11 | | *Device* | *Keys (held together)* | |
||
12 | | *HTC Dream/HTC Magic* | BACK, POWER | |
||
13 | | *Nexus One* | Trackball, POWER | |
||
14 | | *Nexus S* | VOL+, POWER | |
||
15 | | *Galaxy Nexus* | VOL-, VOL+, POWER | |
||
16 | |||
17 | 6 | Paul Kocialkowski | h2. Prepare the phone |
18 | |||
19 | # Turn the phone off, disconnect any USB cable |
||
20 | # Hold the key combination for fastboot mode (release only when in fastboot mode) |
||
21 | # You should be in fastboot mode. If not, remove the battery and retry the steps above |
||
22 | # Once the fastboot screen is waiting, plug the USB cable |
||
23 | |||
24 | 4 | Paul Kocialkowski | h2. Unlocking the bootloader |
25 | |||
26 | If this is the first time you reflash your phone, you will need to unlock the bootloader. This is done using fastboot: |
||
27 | <pre> |
||
28 | ./fastboot oem unlock |
||
29 | </pre> |
||
30 | 6 | Paul Kocialkowski | |
31 | *Warning:* This will erase all the data stored on the phone, including the data stored on the internal memory! |
||
32 | 4 | Paul Kocialkowski | |
33 | 1 | Paul Kocialkowski | h2. Flash the images |
34 | |||
35 | # Flash the images using fastboot: |
||
36 | <pre> |
||
37 | ./fastboot flash boot boot.img |
||
38 | ./fastboot flash recovery recovery.img |
||
39 | ./fastboot flash system system.img |
||
40 | ./fastboot flash userdata userdata.img |
||
41 | </pre> |
||
42 | # Clear cache: |
||
43 | <pre> |
||
44 | ./fastboot erase cache |
||
45 | </pre> |
||
46 | # Reboot: |
||
47 | <pre> |
||
48 | ./fastboot reboot |
||
49 | </pre> |
||
50 | |||
51 | *Your device should now be running Replicant!* |