The installation of Replicant involves several steps:
Each step must be performed in sequence.
Replicant can only be installed on one of the 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 Galaxy S 2, you must obtain the GT-I9100 model (not SGH-I777, etc.).
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.
To install the Replicant recovery image, follow the instructions on the Recovery installation with Heimdall wiki page.
After flashing the recovery image to your device, it should have rebooted into the recovery.
To ensure that the new partitions are formatted correctly, you must wipe the existing partitions.
To wipe the system partition, from the recovery main menu:
To wipe the cache and data partitions, from the recovery main menu:
Choose one of the following installation methods:
To perform a factory reset, from the recovery main menu:
From the recovery main menu, select Reboot system now.
Congratulations, you have successfully installed Replicant!
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).
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 wiki page.