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