Installation » History » Version 32
Denis 'GNUtoo' Carikli, 10/21/2020 03:36 PM
installing is more commonly understood than flashing
| 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 | 31 | 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 II]], you must obtain the GT-I9100 model (not SGH-I777, etc.). |
| 12 | 27 | Denis 'GNUtoo' Carikli | |
| 13 | 31 | Denis 'GNUtoo' Carikli | 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 | 32 | Denis 'GNUtoo' Carikli | After installing the recovery image to your device, it should have rebooted into the recovery. |
| 24 | 22 | Mark Matney | |
| 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 | 1 | Denis 'GNUtoo' Carikli | * [[InstallOrUpgradeReplicantFromMicroSD|using a computer and a microSD]] |
| 52 | * [[InstallOrUpgradeReplicantWithADB|using a computer, and USB cable and the command line to do the installation]] |
||
| 53 | 30 | Denis 'GNUtoo' Carikli | * -[[InstallOrUpgradeReplicantWithoutAComputer|downloading the installation files directly to the device, without the need of a computer]]- |
| 54 | * -[[InstallOrUpgradeReplicantFromInternalStorage|using a computer and the internal storage to store the installation files]]- |
||
| 55 | |||
| 56 | 16 | Mark Matney | |
| 57 | h2. Factory reset the device |
||
| 58 | |||
| 59 | 22 | Mark Matney | To perform a factory reset, from the recovery main menu: |
| 60 | 1 | Denis 'GNUtoo' Carikli | |
| 61 | 22 | Mark Matney | # Select *Factory reset*. |
| 62 | 23 | Mark Matney | # Select *Full factory reset*. |
| 63 | # It will ask you to confirm the reset, so you will need to select *Yes* to confirm it. |
||
| 64 | 22 | Mark Matney | # Press the back key to get back to the recovery main menu. |
| 65 | 14 | Denis 'GNUtoo' Carikli | |
| 66 | 17 | Mark Matney | h2. Reboot the device |
| 67 | |||
| 68 | 22 | Mark Matney | From the recovery main menu, select *Reboot system now*. |
| 69 | 1 | Denis 'GNUtoo' Carikli | |
| 70 | 22 | Mark Matney | Congratulations, you have successfully installed Replicant! |
| 71 | 14 | Denis 'GNUtoo' Carikli | |
| 72 | 11 | Denis 'GNUtoo' Carikli | h2. Backup the modem data partition (EFS) |
| 73 | |||
| 74 | 14 | Denis 'GNUtoo' Carikli | Some of the devices supported by Replicant have a partition that contains the modem data (called EFS). |
| 75 | 1 | Denis 'GNUtoo' Carikli | |
| 76 | Now that Replicant is installed, it's a good idea to do a backup of it if your device has one. |
||
| 77 | |||
| 78 | 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). |
||
| 79 | |||
| 80 | 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. |