Project

General

Profile

DeprecatedHeimdallRecoveryInstallation » History » Version 6

Paul Kocialkowski, 05/04/2013 10:40 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 5 Paul Kocialkowski
| *Galaxy Tab 2 10.1* | VOL+, POWER |
34
| *Galaxy Tab 2 7.0* | VOL- |
35 2 Paul Kocialkowski
36 1 Paul Kocialkowski
h2. Prepare the phone
37
38 4 Paul Kocialkowski
# Turn the phone off, disconnect any USB cable
39
# Hold the key combination for Download mode (release only when in Download mode)
40 1 Paul Kocialkowski
# You should be in Download mode. If not, remove the battery and retry the steps above
41
# You might need to confirm that you want to _download a custom OS_
42 4 Paul Kocialkowski
# Once the Download screen is waiting, plug the USB cable
43
44
h2. Flash the images
45
46
# Flash the recovery image using heimdall:
47 1 Paul Kocialkowski
<pre>
48 4 Paul Kocialkowski
./heimdall flash --kernel path/to/recovery.img
49 1 Paul Kocialkowski
</pre>
50
# The phone should reboot and heimdall indicate that the operation was successful
51
# Wait until recovery boots
52
# You should be in recovery mode. If not, remove the battery and retry the steps above
53
# Select *flash images*
54 4 Paul Kocialkowski
# Choose the location of the images (internal sdcard is the phone's internal memory, sdcard is the µSD card)
55 1 Paul Kocialkowski
# Confirm flash
56
# Get back to the general menu
57
# Select *wipe data/factory reset*
58
# Confirm wipe
59
# Get back to the general menu
60
# Reboot
61
62
*Your device should now be running Replicant!*