Installation » History » Version 22
Mark Matney, 07/25/2019 05:07 AM
improve wording
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 | 22 | Mark Matney | Each step must be performed in sequence. |
17 | |||
18 | 20 | Mark Matney | h2. Obtain a supported device |
19 | |||
20 | 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. |
21 | 18 | Mark Matney | |
22 | *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.). |
||
23 | |||
24 | 1 | Denis 'GNUtoo' Carikli | h2. Backup the device |
25 | |||
26 | 22 | Mark Matney | If your device storage contains any data that is important to you, back it up now. All existing data will be erased during the installation. |
27 | 1 | Denis 'GNUtoo' Carikli | |
28 | 21 | Mark Matney | h2. Install the recovery image |
29 | 1 | Denis 'GNUtoo' Carikli | |
30 | To install the [[RecoveryImage|Replicant recovery image]], follow the instructions on the [[RecoveryInstallationWithHeimdall|Recovery installation with Heimdall]] wiki page. |
||
31 | 21 | Mark Matney | |
32 | 22 | Mark Matney | After flashing the recovery image to your device, it should have rebooted into the recovery. |
33 | |||
34 | 9 | Denis 'GNUtoo' Carikli | h2. Wipe the storage volume partitions |
35 | 1 | Denis 'GNUtoo' Carikli | |
36 | 22 | Mark Matney | To ensure that the new partitions are formatted correctly, you must wipe the existing partitions. |
37 | 15 | Mark Matney | |
38 | 1 | Denis 'GNUtoo' Carikli | h3. Wipe system partition |
39 | |||
40 | 22 | Mark Matney | To wipe the system partition, from the recovery main menu: |
41 | 15 | Mark Matney | |
42 | 22 | Mark Matney | # Select *Advanced*. |
43 | # Select *Wipe system partition*. |
||
44 | # It will ask you to confirm the wipe, so you will need to select *Yes* to confirm it. |
||
45 | # Press the back key to get back to the recovery main menu. |
||
46 | 9 | Denis 'GNUtoo' Carikli | |
47 | 1 | Denis 'GNUtoo' Carikli | h3. Wipe cache and data partitions |
48 | |||
49 | 22 | Mark Matney | To wipe the cache and data partitions, from the recovery main menu: |
50 | 15 | Mark Matney | |
51 | 22 | Mark Matney | # Select *Factory reset*. |
52 | # Select *Wipe data (keep media)*. |
||
53 | # It will ask you to confirm the wipe, so you will need to select *Yes* to confirm it. |
||
54 | # Press the back key to get back to the recovery main menu. |
||
55 | 1 | Denis 'GNUtoo' Carikli | |
56 | h2. Install the operating system |
||
57 | |||
58 | 22 | Mark Matney | Choose one of the following installation methods: |
59 | |||
60 | * [[InstallOrUpgradeReplicantWithoutAComputer|downloading the installation files directly to the device, without the need of a computer]] |
||
61 | 1 | Denis 'GNUtoo' Carikli | * [[InstallOrUpgradeReplicantFromMicroSD|using a computer and a microSD]] |
62 | 16 | Mark Matney | * [[InstallOrUpgradeReplicantFromInternalStorage|using a computer and the internal storage to store the installation files]] |
63 | |||
64 | h2. Factory reset the device |
||
65 | |||
66 | 22 | Mark Matney | To perform a factory reset, from the recovery main menu: |
67 | 1 | Denis 'GNUtoo' Carikli | |
68 | 22 | Mark Matney | # Select *Factory reset*. |
69 | # Select *Wipe data (keep media)*. |
||
70 | # It will ask you to confirm the wipe, so you will need to select *Yes* to confirm it. |
||
71 | # Press the back key to get back to the recovery main menu. |
||
72 | 14 | Denis 'GNUtoo' Carikli | |
73 | 17 | Mark Matney | h2. Reboot the device |
74 | |||
75 | 22 | Mark Matney | From the recovery main menu, select *Reboot system now*. |
76 | 1 | Denis 'GNUtoo' Carikli | |
77 | 22 | Mark Matney | Congratulations, you have successfully installed Replicant! |
78 | 14 | Denis 'GNUtoo' Carikli | |
79 | 11 | Denis 'GNUtoo' Carikli | h2. Backup the modem data partition (EFS) |
80 | |||
81 | 14 | Denis 'GNUtoo' Carikli | Some of the devices supported by Replicant have a partition that contains the modem data (called EFS). |
82 | 1 | Denis 'GNUtoo' Carikli | |
83 | Now that Replicant is installed, it's a good idea to do a backup of it if your device has one. |
||
84 | |||
85 | 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). |
||
86 | |||
87 | 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. |