Project

General

Profile

DeprecatedHeimdallRecoveryInstallation » History » Version 3

Paul Kocialkowski, 11/11/2012 06:47 PM

1 1 Paul Kocialkowski
h1. Heimdall/Recovery 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 Heimdall and installation is to be done using recovery.
6
7
h2. Download the files
8
9 3 Paul Kocialkowski
* Refer to your device page to find a link to the latest images (*Last images* part of the table).
10 1 Paul Kocialkowski
* Download the images *and the md5 checksum*
11
* Download and install heimdall: http://www.glassechidna.com.au/products/heimdall/
12
13
h2. Copy the files to the device
14
15
h3. Using the internal memory 
16
17
# Mount usb storage from the current system of your phone
18
# Create a directory *at the root* of the usb storage
19
# Copy the downloaded images *and md5 checksum* to this directory
20
21
h3. Using a µSD card
22
23
# Mount the µSD card, make sure it's fat32
24
# Create a directory *at the root* of the µSD card
25
# Copy the downloaded images *and md5 checksum* to this directory
26
27 2 Paul Kocialkowski
h2. Key combinations for Download mode
28
29
| *Device* | *Keys (held together)* |
30
| *Galaxy S* | VOL-, SELECT, POWER |
31
| *Galaxy S2* | VOL-, SELECT, POWER |
32
33 1 Paul Kocialkowski
h2. Prepare the phone
34
35
# On your current system, reboot in recovery mode (@adb reboot recovery@ can work too)
36 2 Paul Kocialkowski
# A soon as the *Rebooting* dialog is displayed, hold the key combination for Download mode (release only when in Download mode)
37 1 Paul Kocialkowski
# You should be in Download mode. If not, remove the battery and retry the steps above
38
# You might need to confirm that you want to _download a custom OS_
39
# Once the Download screen is waiting, plug the USB cable (if not plugged already)
40
# Flash the boot image using heimdall:
41
<pre>
42
./heimdall flash --kernel path/to/boot.img
43
</pre>
44
# The phone should reboot and heimdall indicate that the operation was successful
45
# Wait until recovery boots
46
47
h2. Flash the images
48
49
# You should be in recovery mode. If not, remove the battery and retry the steps above
50
# Select *flash images*
51
# Choose the location of the images
52
# Confirm flash
53
# Get back to the general menu
54
# Select *wipe data/factory reset*
55
# Confirm wipe
56
# Get back to the general menu
57
# Reboot
58
59
*Your device should now be running Replicant!*