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