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