Project

General

Profile

Installation » History » Version 21

Mark Matney, 07/25/2019 04:32 AM
improve section titles and update installation overview

1 1 Denis 'GNUtoo' Carikli
h1. ReplicantInstallation
2
3
h2. Installation overview
4
5 21 Mark Matney
The installation of Replicant involves several steps:
6 1 Denis 'GNUtoo' Carikli
7 21 Mark Matney
# Obtain a supported device
8
# Backup the device
9
# Install the recovery image
10
# Wipe the storage volume partitions
11
# Install the operating system
12
# Factory reset the device
13
# Reboot the device
14
# Backup the modem data partition (EFS)
15
16 20 Mark Matney
h2. Obtain a supported device
17
18 1 Denis 'GNUtoo' Carikli
Replicant can only be installed on one of the [[Index#Supported-devices|supported devices]]. Please make sure that you have the correct device model before proceeding.
19 18 Mark Matney
20
*The model number on your device must exactly match the model number specified on the Replicant wiki page for that device.* For example, if you want to use the [[GalaxyS2I9100|Galaxy S 2]], you must obtain the GT-I9100 model (not SGH-I777, etc.).
21
22 21 Mark Matney
h2. Backup the device
23 1 Denis 'GNUtoo' Carikli
24
Before attempting to install Replicant, you need to backup everything you can from the device as most of the data will be erased during the installation.
25
26 18 Mark Matney
You can skip this step if you have no data you want to keep.
27 1 Denis 'GNUtoo' Carikli
28 21 Mark Matney
h2. Install the recovery image
29 1 Denis 'GNUtoo' Carikli
30 21 Mark Matney
To install the [[RecoveryImage|Replicant recovery image]], follow the instructions on the [[RecoveryInstallationWithHeimdall|Recovery installation with Heimdall]] wiki page.
31 1 Denis 'GNUtoo' Carikli
32 21 Mark Matney
h2. Wipe the storage volume partitions
33 9 Denis 'GNUtoo' Carikli
34 10 Denis 'GNUtoo' Carikli
Once this is done, you then need to wipe the existing system, cache and data partitions. This is to ensure that the partitions are formatted correctly.
35 9 Denis 'GNUtoo' Carikli
36 15 Mark Matney
h3. Wipe system partition
37
38 1 Denis 'GNUtoo' Carikli
To wipe the system partition, once you are in the recovery:
39
40 15 Mark Matney
# Select Advanced
41
# Select Wipe system partition
42
# It will ask you to confirm the wipe, so you will need to select Yes to confirm it.
43
# Press the back key to get back to the general menu
44
45
h3. Wipe cache and data partitions
46 1 Denis 'GNUtoo' Carikli
47 9 Denis 'GNUtoo' Carikli
To then wipe the cache and data partitions:
48 15 Mark Matney
49
# Select Factory reset
50
# Select Wipe data (keep media)
51
# It will ask you to confirm the wipe, so you will need to select Yes to confirm it.
52 4 Denis 'GNUtoo' Carikli
# Press the back key to get back to the general menu
53
54 21 Mark Matney
h2. Install the operating system
55 4 Denis 'GNUtoo' Carikli
56 1 Denis 'GNUtoo' Carikli
Installing Replicant can be done either by:
57
* [[InstallOrUpgradeReplicantWithoutAComputer|downloading the installation files the device, without the need of a computer]]
58
* [[InstallOrUpgradeReplicantFromMicroSD|using a computer and a microSD]]
59
* [[InstallOrUpgradeReplicantFromInternalStorage|using a computer and the internal storage to store the installation files]]
60
61
Once this is done, you will need to do a factory reset.
62
63 21 Mark Matney
h2. Factory reset the device
64 1 Denis 'GNUtoo' Carikli
65
To do a Factory reset, you need to be in the recovery.
66 16 Mark Matney
67
# Select Factory reset
68
# Select Wipe data (keep media)
69
# It will ask you to confirm the wipe, so you will need to select Yes to confirm it.
70 6 Denis 'GNUtoo' Carikli
# Press the back key to get back to the general menu
71 1 Denis 'GNUtoo' Carikli
72 6 Denis 'GNUtoo' Carikli
h2. Reboot the device
73
74 1 Denis 'GNUtoo' Carikli
Once the factory reset is done, you can then reboot the device.
75 7 Denis 'GNUtoo' Carikli
76 14 Denis 'GNUtoo' Carikli
In the recovery:
77 17 Mark Matney
78
# Select Reboot system now to reboot the device
79
# Your device now has Replicant installed!
80 1 Denis 'GNUtoo' Carikli
81 21 Mark Matney
h2. Backup the modem data partition (EFS)
82 14 Denis 'GNUtoo' Carikli
83 11 Denis 'GNUtoo' Carikli
Some of the devices supported by Replicant have a partition that contains the modem data (called EFS).
84
85 14 Denis 'GNUtoo' Carikli
Now that Replicant is installed, it's a good idea to do a backup of it if your device has one.
86 1 Denis 'GNUtoo' Carikli
87
This way it would be way easier to restore it if it becomes corrupted ("it can sometimes happen with Replicant":https://redmine.replicant.us/issues/1869).
88
89
For a list of devices that have a modem data partition, and for instructions on how to do a backup of it, see the [[BackupTheEFS|BackupTheEFS]] wiki page.