Project

General

Profile

DeprecatedHeimdallRecoveryInstallation » History » Version 7

Paul Kocialkowski, 07/21/2013 11:06 AM

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 6 Paul Kocialkowski
* System permissions are needed to access the device with heimdall. You can either lunch heimdall as root, for instance using sudo, or setup udev rules for your user.
13 1 Paul Kocialkowski
14
h2. Copy the files to the device
15
16
h3. Using the internal memory 
17
18
# Mount usb storage from the current system of your phone
19
# Create a directory *at the root* of the usb storage
20
# Copy the downloaded images *and md5 checksum* to this directory
21
22
h3. Using a µSD card
23
24
# Mount the µSD card, make sure it's fat32
25
# Create a directory *at the root* of the µSD card
26
# Copy the downloaded images *and md5 checksum* to this directory
27
28 2 Paul Kocialkowski
h2. Key combinations for Download mode
29
30
| *Device* | *Keys (held together)* |
31
| *Galaxy S* | VOL-, SELECT, POWER |
32
| *Galaxy S2* | VOL-, SELECT, POWER |
33 7 Paul Kocialkowski
| *Galaxy S3* | VOL-, SELECT, POWER |
34 5 Paul Kocialkowski
| *Galaxy Tab 2 10.1* | VOL+, POWER |
35
| *Galaxy Tab 2 7.0* | VOL- |
36 2 Paul Kocialkowski
37 1 Paul Kocialkowski
h2. Prepare the phone
38
39 4 Paul Kocialkowski
# Turn the phone off, disconnect any USB cable
40
# Hold the key combination for Download mode (release only when in Download mode)
41 1 Paul Kocialkowski
# You should be in Download mode. If not, remove the battery and retry the steps above
42
# You might need to confirm that you want to _download a custom OS_
43 4 Paul Kocialkowski
# Once the Download screen is waiting, plug the USB cable
44
45
h2. Flash the images
46
47
# Flash the recovery image using heimdall:
48 1 Paul Kocialkowski
<pre>
49 4 Paul Kocialkowski
./heimdall flash --kernel path/to/recovery.img
50 1 Paul Kocialkowski
</pre>
51
# The phone should reboot and heimdall indicate that the operation was successful
52
# Wait until recovery boots
53
# You should be in recovery mode. If not, remove the battery and retry the steps above
54
# Select *flash images*
55 4 Paul Kocialkowski
# Choose the location of the images (internal sdcard is the phone's internal memory, sdcard is the µSD card)
56 1 Paul Kocialkowski
# Confirm flash
57
# Get back to the general menu
58
# Select *wipe data/factory reset*
59
# Confirm wipe
60
# Get back to the general menu
61
# Reboot
62
63
*Your device should now be running Replicant!*