Project

General

Profile

Installation » History » Revision 22

Revision 21 (Mark Matney, 07/25/2019 04:32 AM) → Revision 22/32 (Mark Matney, 07/25/2019 05:07 AM)

h1. ReplicantInstallation 

 h2. Installation overview 

 The installation of Replicant involves several steps: 

 # Obtain a supported device 
 # Backup the device 
 # Install the recovery image 
 # Wipe the storage volume partitions 
 # Install the operating system 
 # Factory reset the device 
 # Reboot the device 
 # Backup the modem data partition (EFS) 

 Each step must be performed in sequence. 

 h2. Obtain a supported device 

 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. 

 *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.). 

 h2. Backup the device 

 If your Before attempting to install Replicant, you need to backup everything you can from the device storage contains any as most of the data that is important to you, back it up now. All existing data will be erased during the installation. 

 You can skip this step if you have no data you want to keep. 

 h2. Install the recovery image 

 To install the [[RecoveryImage|Replicant recovery image]], follow the instructions on the [[RecoveryInstallationWithHeimdall|Recovery installation with Heimdall]] wiki page. 

 After flashing the recovery image to your device, it should have rebooted into the recovery. 

 h2. Wipe the storage volume partitions 

 To Once this is done, you then need to wipe the existing system, cache and data partitions. This is to ensure that the new partitions are formatted correctly, you must wipe the existing partitions. correctly. 

 h3. Wipe system partition 

 To wipe the system partition, from once you are in the recovery main menu: recovery: 

 # Select *Advanced*. Advanced 
 # Select *Wipe Wipe system partition*. partition 
 # It will ask you to confirm the wipe, so you will need to select *Yes* Yes to confirm it. 
 # Press the back key to get back to the recovery main menu. general menu 

 h3. Wipe cache and data partitions 

 To then wipe the cache and data partitions, from the recovery main menu: partitions: 

 # Select *Factory reset*. Factory reset 
 # Select *Wipe Wipe data (keep media)*. media) 
 # It will ask you to confirm the wipe, so you will need to select *Yes* Yes to confirm it. 
 # Press the back key to get back to the recovery main menu. general menu 

 h2. Install the operating system 

 Choose one of the following installation methods: 

 Installing Replicant can be done either by: 
 * [[InstallOrUpgradeReplicantWithoutAComputer|downloading the installation files directly to the device, without the need of a computer]] 
 * [[InstallOrUpgradeReplicantFromMicroSD|using a computer and a microSD]] 
 * [[InstallOrUpgradeReplicantFromInternalStorage|using a computer and the internal storage to store the installation files]] 

 Once this is done, you will need to do a factory reset. 

 h2. Factory reset the device 

 To perform do a factory Factory reset, from you need to be in the recovery main menu: recovery. 

 # Select *Factory reset*. Factory reset 
 # Select *Wipe Wipe data (keep media)*. media) 
 # It will ask you to confirm the wipe, so you will need to select *Yes* Yes to confirm it. 
 # Press the back key to get back to the recovery main menu. general menu 

 h2. Reboot the device 

 From Once the recovery main menu, select *Reboot factory reset is done, you can then reboot the device. 

 In the recovery: 

 # Select Reboot system now*. 

 Congratulations, you have successfully installed Replicant! now to reboot the device 
 # Your device now has Replicant installed! 

 h2. Backup the modem data partition (EFS) 

 Some of the devices supported by Replicant have a partition that contains the modem data (called EFS). 

 Now that Replicant is installed, it's a good idea to do a backup of it if your device has one. 

 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). 

 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.