Project

General

Profile

DeprecatedHeimdallRecoveryInstallation » History » Version 8

Paul Kocialkowski, 07/21/2013 09:45 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 8 Paul Kocialkowski
* Download and install "heimdall":http://www.glassechidna.com.au/products/heimdall/ (version *1.4 RC1* or later)
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 8 Paul Kocialkowski
h2. Device specificities table
29 1 Paul Kocialkowski
30 8 Paul Kocialkowski
Each device has its own set of keys to enter different boot modes and specific partition names.
31
Moreover, a specific partition name has to be specified to heimdall when flashing.
32 2 Paul Kocialkowski
33 8 Paul Kocialkowski
|_. Device |_. Keys for Download mode |_. Keys for recovery mode |_. Kernel partition |_. Recovery partition |
34
| *Galaxy S* | Volume-, Select, Power | Not available | kernel | Not available |
35
| *Galaxy S2* | Volume-, Select, Power | Not available | kernel | Not available |
36
| *Galaxy S3* | Volume-, Select, Power | Volume+, Select, Power | BOOT | RECOVERY |
37
| *Galaxy Tab 2 10.1* | Volume+, Power | Volume-, Power | kernel | recovery |
38
| *Galaxy Tab 2 7.0* | Volume- | Volume+, Power | kernel | recovery |
39
40 1 Paul Kocialkowski
h2. Prepare the phone
41 4 Paul Kocialkowski
42
# Turn the phone off, disconnect any USB cable
43 1 Paul Kocialkowski
# Hold the key combination for Download mode (release only when in Download mode)
44
# You should be in Download mode. If not, remove the battery and retry the steps above
45
# You might need to confirm that you want to _download a custom OS_
46
# Once the Download screen is waiting, plug the USB cable
47
48
h2. Flash the images
49
50
# Flash the recovery image using heimdall:
51 8 Paul Kocialkowski
If the recovery partition is available for your device, you can install recovery to the recovery partition:
52 4 Paul Kocialkowski
<pre>
53 8 Paul Kocialkowski
heimdall flash --[RECOVERY PARTITION] path/to/recovery.img
54 4 Paul Kocialkowski
</pre>
55 8 Paul Kocialkowski
If it is not available, flash recovery on the kernel partition:
56
<pre>
57
heimdall flash --[KERNEL PARTITION] path/to/recovery.img
58
</pre>
59 1 Paul Kocialkowski
# The phone should reboot and heimdall indicate that the operation was successful
60 8 Paul Kocialkowski
# If you flashed to the recovery partition, hit the recovery mode keys quickly, or you'll have to power off the phone and hit the recovery mode keys then
61 1 Paul Kocialkowski
# Wait until recovery boots
62
# You should be in recovery mode. If not, remove the battery and retry the steps above
63
# Select *flash images*
64 4 Paul Kocialkowski
# Choose the location of the images (internal sdcard is the phone's internal memory, sdcard is the µSD card)
65 1 Paul Kocialkowski
# Confirm flash
66
# Get back to the general menu
67
# Select *wipe data/factory reset*
68
# Confirm wipe
69
# Get back to the general menu
70
# Reboot
71
72
*Your device should now be running Replicant!*