Project

General

Profile

Installation » History » Version 14

Denis 'GNUtoo' Carikli, 05/11/2019 07:40 PM
Improve explanation on the EFS

1 1 Denis 'GNUtoo' Carikli
h1. ReplicantInstallation
2
3
h2. Backup your data
4
5
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.
6
7
You can skip this step if you have no data you want to keep.
8
9 7 Denis 'GNUtoo' Carikli
h2. Installation overview
10 1 Denis 'GNUtoo' Carikli
11
The installation of Replicant is several steps:
12
* First you install a Replicant recovery. It's a very minimalist operating system that is dedicated to the installation of Replicant.
13
* Then you download Replicant and use the recovery to install it.
14
15
h2. Recovery installation
16
17
To install the Replicant recovery, follow the instructions on the [[RecoveryInstallationWithHeimdall|Recovery installation with Heimdall]] wiki page.
18
19 10 Denis 'GNUtoo' Carikli
h2. Wipe the existing system, cache and data partitions
20 9 Denis 'GNUtoo' Carikli
21 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.
22 9 Denis 'GNUtoo' Carikli
23 10 Denis 'GNUtoo' Carikli
To wipe the system partition, once you are in the recovery:
24 1 Denis 'GNUtoo' Carikli
1. Select Advanced
25
2. Select Wipe system partition
26 10 Denis 'GNUtoo' Carikli
3. It will ask you to confirm the wipe, so you will need to select Yes to confirm it.
27
4. Press the back key to get back to the general menu
28
29
To then wipe the cache and data partitions:
30
1. Select Factory reset
31
2. Select Wipe data (keep media)
32 9 Denis 'GNUtoo' Carikli
3. It will ask you to confirm the wipe, so you will need to select Yes to confirm it.
33
4. Press the back key to get back to the general menu
34
35 1 Denis 'GNUtoo' Carikli
h2. Using the recovery to install Replicant
36
37 4 Denis 'GNUtoo' Carikli
Installing Replicant can be done either by:
38
* [[InstallOrUpgradeReplicantWithoutAComputer|downloading the installation files the device, without the need of a computer]]
39
* [[InstallOrUpgradeReplicantFromMicroSD|using a computer and a microSD]]
40
* [[InstallOrUpgradeReplicantFromInternalStorage|using a computer and the internal storage to store the installation files]]
41 1 Denis 'GNUtoo' Carikli
42
Once this is done, you will need to do a factory reset.
43
44
h2. Factory reset
45
46
To do a Factory reset, you need to be in the recovery.
47
48
1. Select Factory reset
49
2. Select Wipe data (keep media)
50
3. It will ask you to confirm the wipe, so you will need to select Yes to confirm it.
51
4. Press the back key to get back to the general menu
52 6 Denis 'GNUtoo' Carikli
53
h2. Reboot the device
54
55
Once the factory reset is done, you can then reboot the device.
56
57
In the recovery:
58
1. Select Reboot system now to reboot the device
59 1 Denis 'GNUtoo' Carikli
2. Your device now has Replicant installed!
60 7 Denis 'GNUtoo' Carikli
61 14 Denis 'GNUtoo' Carikli
h2. Backup the modem data partition (called EFS)
62 7 Denis 'GNUtoo' Carikli
63 14 Denis 'GNUtoo' Carikli
Some of the devices supported by Replicant have a partition that contains the modem data (called EFS).
64 1 Denis 'GNUtoo' Carikli
65 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.
66
67 11 Denis 'GNUtoo' Carikli
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).
68
69 14 Denis 'GNUtoo' Carikli
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.